/* ==========================================================================
   Benson Wanjama — Portfolio
   Design tokens taken from the Crafto "Digital Agency" reference:
   Space Grotesk (headings) + Inter (body) + Roboto Medium (labels),
   1220px container, pill buttons, #2D2C2B / #727272 palette with
   soft pastel section accents.
   ========================================================================== */

:root {
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-label: "Roboto", sans-serif;

  --color-dark: #2D2C2B;
  --color-darker: #1E1D1D;
  --color-text: #727272;
  --color-white: #FFFFFF;
  --color-accent: #61CE70;
  --color-tan: #C8B2AB;
  --color-line: #E4E4E4;

  --bg-mint: #DBF2E7;
  --bg-blush: #FFEDED;
  --bg-grey: #F7F7F7;

  --container-max: 1220px;
  --gutter: 15px;

  --section-pad: 120px;
  --section-pad-mobile: 64px;

  --radius-pill: 50px;
  --radius-card: 20px;

  --shadow-soft: 0px 5px 20px 0px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0px 8px 30px 0px rgba(0, 0, 0, 0.15);

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 30px;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color .25s var(--ease);
}
a:hover { color: var(--color-dark); }

ul { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 600;
  margin: 0 0 20px;
}

h1 { font-size: 4.375rem; line-height: 1.05; letter-spacing: -3px; }
h2 { font-size: 3.438rem; line-height: 1.08; letter-spacing: -3px; }
h3 { font-size: 2.813rem; line-height: 1.15; letter-spacing: -2px; }
h4 { font-size: 2.375rem; line-height: 1.2; letter-spacing: -1.5px; }
h5 { font-size: 2rem; line-height: 1.2; letter-spacing: -1px; }
h6 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -1px; }

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

.section-pad { padding: var(--section-pad) 0; }
.section-pad-top { padding-top: var(--section-pad); }
.section-pad-bottom { padding-bottom: var(--section-pad); }

.bg-dark { background: var(--color-dark); color: #C9C8C7; }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 { color: var(--color-white); }
.bg-dark p { color: #C9C8C7; }
.bg-dark .sector-cloud span { color: var(--color-white); border-color: rgba(255,255,255,0.18); }
.bg-dark a:not(.btn) { color: #C9C8C7; }
.bg-dark a:not(.btn):hover { color: var(--color-white); }
.bg-mint { background: var(--bg-mint); }
.bg-blush { background: var(--bg-blush); }
.bg-grey { background: var(--bg-grey); }

/* -------------------------------------------------------------------------
   Eyebrow labels
   ------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex: none;
}
.bg-dark .eyebrow { color: var(--color-white); }

.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 18px; line-height: 32px; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 32px;
  padding: 15px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.btn-primary { background: var(--color-dark); color: var(--color-white); }
.btn-primary:hover { background: var(--color-darker); color: var(--color-white); }

.btn-outline { background: transparent; color: var(--color-dark); border-color: var(--color-dark); box-shadow: none; }
.btn-outline:hover { background: var(--color-dark); color: var(--color-white); }

.btn-accent { background: var(--color-accent); color: var(--color-dark); }
.btn-accent:hover { background: var(--color-dark); color: var(--color-white); }

.btn-sm { padding: 10px 24px; font-size: 12px; }

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--color-dark);
  letter-spacing: -0.5px;
  min-width: 0;
  flex: none;
}
.brand img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.brand span { display: block; min-width: 0; white-space: nowrap; }
.brand small { display: block; font-family: var(--font-label); font-weight: 400; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-text); white-space: nowrap; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 42px;
}

.nav-main a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
  padding: 4px 0;
}
.nav-main a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--color-dark);
  transition: right .3s var(--ease);
}
.nav-main a:hover::after,
.nav-main a.active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-dark); display: block; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */

.hero {
  padding: 90px 0 70px;
}

.hero .eyebrow { justify-content: center; }

.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4.6rem;
  margin-bottom: 28px;
}

.hero-lead {
  font-size: 19px;
  line-height: 33px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 44px;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-dark);
}
.hero-tags span { display: inline-flex; align-items: center; }
.hero-tags span:not(:last-child)::after {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--color-tan);
  margin-left: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Client strip */

.clients {
  padding: 50px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.clients-label {
  text-align: center;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 32px;
}

.clients-track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.clients-row {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.clients-row span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-dark);
  opacity: 0.45;
  white-space: nowrap;
  transition: opacity .25s var(--ease);
}
.clients-row span:hover { opacity: 1; }

.clients-row img.client-logo {
  height: 34px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.clients-row img.client-logo:hover { opacity: 1; filter: grayscale(0); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------------------------------------------------------------------------
   Introduction
   ------------------------------------------------------------------------- */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-list {
  columns: 2;
  column-gap: 40px;
  margin: 28px 0;
}
.intro-list li {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-line);
  break-inside: avoid;
}

.intro-question {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-dark);
  letter-spacing: -1px;
  margin-top: 28px;
}

/* -------------------------------------------------------------------------
   About
   ------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 70px;
  align-items: start;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-copy p { font-size: 18px; line-height: 32px; }
.about-copy p.lede { font-family: var(--font-heading); font-size: 1.5rem; letter-spacing: -0.5px; color: var(--color-dark); line-height: 1.4; }

/* -------------------------------------------------------------------------
   Approach / principles
   ------------------------------------------------------------------------- */

.philosophy-statement {
  max-width: 820px;
  margin: 0 auto 70px;
  text-align: center;
}
.philosophy-statement h2 { margin-bottom: 24px; }
.philosophy-statement .lead-line {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principle-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 40px 34px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.principle-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

.principle-num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: block;
}

.principle-card h5 { font-size: 1.35rem; margin-bottom: 14px; letter-spacing: -0.5px; }
.principle-card p { font-size: 16px; line-height: 27px; margin: 0; }

/* -------------------------------------------------------------------------
   Services
   ------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border-radius: var(--radius-card);
  padding: 38px 34px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.service-card .num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--color-text);
  margin-bottom: 22px;
  display: block;
}

.service-card h5 { font-size: 1.4rem; margin-bottom: 12px; letter-spacing: -0.5px; }
.service-card > p { font-size: 16px; line-height: 26px; margin-bottom: 20px; }

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--color-line);
}
.service-tags span {
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--color-dark);
  background: var(--bg-grey);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.service-card:nth-child(3n+1) .service-tags span { background: var(--bg-mint); }
.service-card:nth-child(3n+2) .service-tags span { background: var(--bg-blush); }

/* -------------------------------------------------------------------------
   Work / portfolio
   ------------------------------------------------------------------------- */

.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.work-filters button {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark);
  background: var(--bg-grey);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 11px 24px;
  transition: all .25s var(--ease);
}
.work-filters button:hover { border-color: var(--color-dark); }
.work-filters button.active { background: var(--color-dark); color: var(--color-white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.work-card {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  display: block;
}

.work-thumb {
  display: block;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
  background: var(--bg-grey);
}

.work-meta {
  display: block;
}
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.work-card:hover .work-thumb img { transform: scale(1.06); }

.work-thumb .view {
  position: absolute;
  right: 18px; bottom: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(14px);
  opacity: 0;
  transition: all .3s var(--ease);
}
.work-card:hover .view { transform: translateY(0); opacity: 1; }

.work-meta .cat {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}
.work-meta h5 { font-size: 1.35rem; margin-bottom: 4px; letter-spacing: -0.5px; }
.work-meta .client { font-size: 15px; color: var(--color-text); }

/* Work modal */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  background: rgba(30, 29, 29, 0.72);
}
.work-modal.open { display: flex; }

.work-modal-panel {
  background: var(--color-white);
  border-radius: 24px;
  max-width: 900px;
  width: 100%;
  padding: 50px;
  position: relative;
}

.work-modal-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-grey);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--color-dark);
}

.work-modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 34px;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.work-modal-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 14px; }

.work-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.work-modal-meta span {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--bg-mint);
  color: var(--color-dark);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.work-modal-panel h3 { margin-bottom: 6px; }
.work-modal-client { font-size: 15px; margin-bottom: 30px; color: var(--color-text); }

.work-modal-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.work-modal-blocks h6 {
  font-size: 14px;
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.work-modal-blocks p { font-size: 16px; line-height: 26px; }

/* -------------------------------------------------------------------------
   Download gate modal
   ------------------------------------------------------------------------- */

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(30, 29, 29, 0.72);
}
.download-modal.open { display: flex; }

.download-modal-panel {
  background: var(--color-white);
  border-radius: 24px;
  max-width: 460px;
  width: 100%;
  padding: 46px 40px;
  position: relative;
  text-align: center;
}

.download-modal-panel h4 { margin-bottom: 14px; }
.download-modal-panel p { font-size: 16px; line-height: 26px; margin-bottom: 28px; }
.download-modal-panel .eyebrow { justify-content: center; }

.download-modal-panel .form-group { text-align: left; margin-bottom: 18px; }
.download-modal-panel .btn { width: 100%; }
.download-modal-panel .form-status { text-align: left; }

.download-modal-panel .form-group label { color: var(--color-text); }
.download-modal-panel .form-group input {
  background: var(--bg-grey);
  border: 1px solid var(--color-line);
  color: var(--color-dark);
}
.download-modal-panel .form-group input::placeholder { color: #a8a8a8; }
.download-modal-panel .form-group input:focus { border-color: var(--color-dark); }
.download-modal-panel .form-status.success { color: #1f9a3a; }
.download-modal-panel .form-status.error { color: #d13c3c; }

/* -------------------------------------------------------------------------
   Experience / sectors
   ------------------------------------------------------------------------- */

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sector-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sector-cloud span {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark);
  border: 1px solid var(--color-line);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
}

/* -------------------------------------------------------------------------
   Process
   ------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}

.process-step { position: relative; padding-top: 6px; }
.process-step .step-index {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-dark);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.process-step h5 { font-size: 1.35rem; margin-bottom: 10px; letter-spacing: -0.5px; }
.process-step p { font-size: 16px; line-height: 26px; }

/* -------------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------------- */

.testimonial-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}
.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(560px, 100%);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 44px;
}
.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: 26px;
}
.testimonial-person { font-family: var(--font-label); font-size: 14px; font-weight: 500; color: var(--color-dark); }
.testimonial-person span { display: block; font-weight: 400; color: var(--color-text); margin-top: 2px; }
.testimonial-card.is-placeholder { border-style: dashed; opacity: 0.75; }

/* -------------------------------------------------------------------------
   Insights
   ------------------------------------------------------------------------- */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.insight-chip {
  border-radius: var(--radius-card);
  padding: 34px 26px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  color: var(--color-dark);
  transition: all .3s var(--ease);
}
.insight-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.insight-chip:nth-child(4n+1) { background: var(--bg-mint); }
.insight-chip:nth-child(4n+2) { background: var(--bg-blush); }
.insight-chip:nth-child(4n+3) { background: var(--bg-grey); }

.insights-note {
  margin-top: 30px;
  font-size: 15px;
  color: var(--color-text);
}

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */

.faq-list { max-width: 860px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--color-line);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: -0.3px;
  color: var(--color-dark);
}
.faq-question .icon {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.faq-question .icon::before,
.faq-question .icon::after {
  content: "";
  position: absolute;
  background: var(--color-dark);
  transition: transform .3s var(--ease);
}
.faq-question .icon::before { width: 12px; height: 1.5px; }
.faq-question .icon::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-question .icon::after { transform: scaleY(0); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-answer-inner { padding-bottom: 26px; font-size: 16px; line-height: 27px; }

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
}

.contact-info-item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-item .label {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 10px;
}
.contact-info-item a, .contact-info-item span.value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  letter-spacing: -0.5px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #C9C8C7;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 15px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-white);
  transition: border-color .25s var(--ease);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #8a8988; }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-accent); }

.form-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-status {
  margin-top: 18px;
  font-size: 14px;
  display: none;
}
.form-status.show { display: block; }
.form-status.success { color: var(--color-accent); }
.form-status.error { color: #ff9b9b; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-darker);
  color: #97968f;
  padding: 90px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand { color: var(--color-white); margin-bottom: 18px; }
.footer-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-roles span {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  color: #C9C8C7;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.footer-col h6 {
  color: var(--color-white);
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: #97968f; font-size: 15px; }
.footer-col ul a:hover { color: var(--color-white); }

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: #C9C8C7;
}
.footer-social a:hover { background: var(--color-white); color: var(--color-darker); }

/* -------------------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  :root { --container-max: 960px; --section-pad: 100px; }
  h1 { font-size: 3.6rem; }
  .hero h1 { font-size: 3.8rem; }
  .services-grid, .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 340px 1fr; gap: 44px; }
}

@media (max-width: 991px) {
  :root { --container-max: 720px; --section-pad: 80px; }
  .nav-main { display: none; }
  .nav-toggle { display: flex; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  .hero h1 { font-size: 3rem; }
  .intro-grid, .about-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .intro-list { columns: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --container-max: 540px; --section-pad: var(--section-pad-mobile); }
  h1 { font-size: 2.4rem; letter-spacing: -1px; }
  h2 { font-size: 2rem; letter-spacing: -1px; }
  h3 { font-size: 1.7rem; letter-spacing: -1px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-lead { font-size: 17px; line-height: 28px; }
  .services-grid, .principles-grid, .work-grid, .insights-grid, .process-grid { grid-template-columns: 1fr; }
  .work-modal-blocks { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .work-modal-panel { padding: 30px 22px; }

  .site-header .container { min-height: 70px; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { font-size: 15px; }
  .site-header .brand small { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { padding: 9px 16px; font-size: 11px; }

  .about-grid, .intro-grid, .experience-grid, .contact-grid { gap: 36px; }
  .about-photo { max-width: 260px; }
}

@media (max-width: 420px) {
  .header-actions .btn-primary { display: none; }
}
