*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1A2340;
  --slate: #2E3F6E;
  --gold: #C49A2B;
  --gold-light: #E8C96A;
  --parchment: #F5F3EE;
  --surface: #ECEAE3;
  --surface-2: #E4E1D8;
  --text-primary: #1A2340;
  --text-secondary: #4A5568;
  --text-muted: #8892A4;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--parchment);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,35,64,0.08);
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #fff;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover { background: var(--slate); transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-gold:hover { background: #b08820; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 6px;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  padding: 68px 5% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left { padding-top: 40px; }

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-ctas .btn-gold {
  background: #b08820;
}

.hero-ctas .btn-gold:hover {
  background: #9f7918;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 68px;
  position: relative;
}

.hero-photo-wrap {
  position: relative;
  width: 420px;
  max-width: 100%;
  min-height: 380px;
}

.hero-photo-bg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 380px;
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--surface-2);
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(26, 35, 64, 0.15);
}

.hero-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 22%;
}

.hero-quote-card {
  position: absolute;
  bottom: 44px;
  right: -34px;
  background: rgba(10, 15, 35, 0.82);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  max-width: 200px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(0) scale(1);
  opacity: 0;
  animation: quoteCardEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 420ms both, quoteCardIdle 4.8s ease-in-out 1300ms infinite alternate;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease, border-color 300ms ease;
  will-change: transform, opacity;
}

.hero-quote-card:hover {
  animation-play-state: paused, paused;
  transform: translateY(-12px) translateX(-2px) scale(1.028);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.hero-quote-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

.hero-quote-card .quote-attr {
  font-size: 11px;
  color: var(--gold-light);
  margin-top: 8px;
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: 0.05em;
}

@keyframes quoteCardEnter {
  from {
    opacity: 0;
    right: -14px;
    bottom: 56px;
  }
  to {
    opacity: 1;
    right: -34px;
    bottom: 44px;
  }
}

@keyframes quoteCardIdle {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-2px) scale(1.006);
  }
}

@keyframes quoteCardEnterMobile {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-quote-card,
  .hero-quote-card:hover {
    transform: none;
    transition: none;
    animation: none;
    opacity: 1;
  }
}

/* ─── CLIENTS STRIP ─── */
.clients-strip {
  background: var(--parchment);
  border-top: 1px solid rgba(26, 35, 64, 0.25);
  border-bottom: 1px solid rgba(26, 35, 64, 0.25);
  padding: 24px 5%;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  overflow: hidden;
}

.clients-label {
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  color: var(--navy);
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 72px);
  flex: 1 1 auto;
  max-width: 75%;
  min-width: 0;
  margin-inline: auto;
  flex-wrap: wrap;
}

.client-logo-img {
  max-height: 48px;
  height: auto;
  width: auto;
  max-width: min(200px, 22vw);
  object-fit: contain;
  object-position: center;
  display: block;
  flex: 0 1 auto;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.client-logo-img:hover {
  opacity: 1;
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.full-width-section {
  max-width: 100%;
  padding: 100px 5%;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
}

.section-h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-h2 em { font-style: italic; color: var(--gold); }

.section-intro {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* ─── ABOUT ─── */
#about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px 60px;
  align-items: start;
}

.about-header {
  grid-column: 1 / -1;
}

.about-header .section-h2 {
  margin-bottom: 0;
  max-width: 920px;
}

#about .about-body.fade-up {
  transition-delay: 0.1s;
}

#about .about-credentials.fade-up {
  transition-delay: 0.2s;
}

.about-body {
  grid-column: 1 / -1;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.about-cta {
  margin-top: 8px;
}

.about-list-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
}

.about-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.about-list li {
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-credentials {
  grid-column: 1 / -1;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
}

.knowledge-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
}

.knowledge-row-primary {
  border-top: 1px solid var(--surface-2);
  padding-top: 24px;
}

.knowledge-item {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.knowledge-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.knowledge-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.2s;
}

.knowledge-title:hover {
  color: var(--gold);
}

.knowledge-stats {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0;
}

.knowledge-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ─── SERVICES ─── */
#services {
  background: var(--navy);
  max-width: 100%;
  padding: 100px 5%;
}

#services .section-eyebrow { color: var(--gold-light); }
#services .section-eyebrow::before { background: var(--gold-light); }
#services .section-h2 { color: #fff; }
#services .section-h2 em { color: var(--gold-light); }
#services .section-intro { color: rgba(255,255,255,0.65); }

.services-inner { max-width: 1200px; margin: 0 auto; }

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

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.service-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(196,154,43,0.4);
  transform: translateY(-3px);
}

.service-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  color: rgba(196,154,43,0.25);
  line-height: 1;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.25;
}

.service-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.service-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  background: rgba(196,154,43,0.12);
  border: 1px solid rgba(196,154,43,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ─── WORK ─── */
#work { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.work-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,35,64,0.12);
}

.work-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.work-img {
  background: var(--navy);
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-card.featured .work-img { height: 100%; min-height: 280px; }

.work-img-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(196,154,43,0.18);
  border: 1px solid rgba(196,154,43,0.3);
  padding: 4px 10px;
  border-radius: 4px;
}

.work-img-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.work-body { padding: 28px 32px; }

.work-category {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.work-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}

.work-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.work-result {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.work-result::before {
  content: '↑';
  font-size: 14px;
}

.work-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  margin-top: 16px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.work-card:hover .work-arrow { background: var(--gold); transform: translateX(3px); }

/* ─── CLIENT SITES (service business portfolio strip) ─── */
.client-sites-section {
  background: #141a24;
  max-width: 100%;
  padding: 100px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-sites-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.client-sites-eyebrow {
  color: var(--gold-light);
}

.client-sites-eyebrow::before {
  background: var(--gold-light);
}

.client-sites-h2 {
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
}

.client-sites-h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.client-sites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.client-site-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.client-site-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 154, 43, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.client-site-thumb {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.client-site-thumb--has-img {
  padding: 0;
  min-height: 220px;
}

.client-site-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.client-site-thumb--forest {
  background: linear-gradient(160deg, #1a3d32 0%, #0f241c 100%);
}

.client-site-thumb--slate {
  background: linear-gradient(160deg, #1e2a44 0%, #121a2e 100%);
}

.client-site-thumb--navy {
  background: linear-gradient(160deg, #1a2744 0%, #0f1628 100%);
}

.client-site-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-site-graphic--triangle {
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  color: rgba(232, 201, 106, 0.12);
  -webkit-text-stroke: 2px #e8c96a;
  paint-order: stroke fill;
}

.client-site-graphic--pipe {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #3d6ea8;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.client-site-graphic--pipe::after {
  content: '→';
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}

.client-site-graphic--bolt {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #e8c96a;
}

.client-site-graphic--bolt::after {
  content: '+';
  font-size: 28px;
  font-weight: 300;
  color: #e8c96a;
  line-height: 1;
}

.client-site-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8c96a;
  max-width: 14em;
  line-height: 1.35;
}

.client-site-brand--cool {
  color: #7eb8ff;
}

.client-site-body {
  background: #1c2433;
  padding: 22px 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.client-site-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 10px;
}

.client-site-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.client-site-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  margin: 0 0 18px;
}

.client-site-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s, gap 0.2s;
}

.client-site-link:hover {
  color: #fff;
  gap: 12px;
}

.client-site-link-arrow {
  font-size: 14px;
  line-height: 1;
}

.client-sites-footnote {
  margin: 36px 0 0;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.5;
}

/* ─── PROCESS ─── */
#process { background: var(--surface); max-width: 100%; padding: 100px 5%; }
.process-inner { max-width: 1200px; margin: 0 auto; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.process-step {
  background: var(--parchment);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.process-step:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.step-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: rgba(26,35,64,0.1);
  line-height: 1;
  margin-bottom: 12px;
}

.step-icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.step-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.step-tagline {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
  margin: 0 0 12px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-note {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.process-note p {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
}

.process-note p strong {
  color: var(--navy);
  font-style: normal;
  font-weight: 500;
}

/* ─── CONTACT ─── */
#contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left .section-h2 { margin-bottom: 20px; }

.contact-left p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-left .contact-note p {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.65;
}

.contact-left .contact-note p:last-child {
  margin-bottom: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1.5px solid var(--surface-2);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--navy);
}

.form-textarea { height: 120px; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-logo span { color: var(--gold-light); }

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ─── ANIMATIONS ─── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HAMBURGER (mobile) ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.2s;
}

.hamburger span:nth-child(1) { transform-origin: center; }
.hamburger span:nth-child(3) { transform-origin: center; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root {
    --section-pad-y-mobile: 44px;
    --strip-pad-y-mobile: 10px;
  }

  /* Tighter vertical rhythm on mobile (one knob for all main sections) */
  #about,
  #work,
  #contact,
  #services,
  #client-sites,
  #process {
    padding-top: var(--section-pad-y-mobile);
    padding-bottom: var(--section-pad-y-mobile);
  }

  footer {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  /* Full-bleed photo: drop horizontal padding on hero; keep inset on copy only */
  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 68px 0 0;
  }

  .hero-left {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-sub { margin: 0 auto 36px; }
  .hero-ctas { justify-content: center; margin-bottom: 0; }
  .hero-right {
    padding-top: 0;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
  }

  .hero-photo-wrap {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-photo-bg {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    height: min(72vh, 440px);
    min-height: 280px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }

  .hero-photo {
    object-position: center 18%;
  }

  /* Quote as tagline strip below image (no overlay) */
  .hero-quote-card {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 14px 5% 16px;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: none;
    border-right: none;
    box-shadow: none;
    opacity: 0;
    animation: quoteCardEnterMobile 0.75s cubic-bezier(0.22, 1, 0.36, 1) 420ms both;
    transition: transform 260ms ease, box-shadow 260ms ease;
    will-change: auto;
  }

  .hero-quote-card:hover {
    animation-play-state: running;
    transform: none;
    box-shadow: none;
  }

  .hero-quote-card p {
    font-size: 13px;
    line-height: 1.45;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-quote-card .quote-attr {
    margin-top: 6px;
  }

  /* Clients strip: label on top, logos in a grid (not squeezed beside label) */
  .clients-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: var(--strip-pad-y-mobile);
    padding-bottom: calc(var(--strip-pad-y-mobile) * 0.85);
  }

  .clients-label {
    white-space: normal;
    text-align: center;
    align-self: center;
    line-height: 1.3;
    max-width: 18em;
    font-size: clamp(1.1rem, 3.6vw, 1.3rem);
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.14em;
    color: #0f172a;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
  }

  .clients-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 10px;
    align-items: center;
    justify-items: center;
    max-width: 100%;
    width: 100%;
    flex: none;
    margin-inline: 0;
  }

  .client-logo-img {
    max-height: 36px;
    max-width: min(120px, 100%);
  }

  #about {
    grid-template-columns: 1fr;
    gap: 36px;
    row-gap: 36px;
  }
  .about-header .section-h2 { max-width: none; }
  .about-body { max-width: none; }
  .knowledge-list { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .client-sites-grid { grid-template-columns: 1fr; }
  .work-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .work-card.featured .work-img { min-height: 200px; }
  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  #contact { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav.nav-open .nav-links {
    display: flex;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 8px 5% 20px;
    background: rgba(245, 243, 238, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 35, 64, 0.1);
    box-shadow: 0 16px 32px rgba(26, 35, 64, 0.12);
  }

  nav.nav-open .nav-links li {
    border-bottom: 1px solid rgba(26, 35, 64, 0.08);
  }

  nav.nav-open .nav-links li:last-child {
    border-bottom: none;
    padding-top: 8px;
  }

  nav.nav-open .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  nav.nav-open .nav-links a.btn-primary {
    text-align: center;
    padding: 12px 20px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    z-index: 101;
  }

  nav.nav-open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  nav.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  nav.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .knowledge-list { grid-template-columns: 1fr; }
  .clients-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 8px;
  }
  .client-logo-img { max-height: 32px; max-width: min(200px, 100%); }
}
