/* ════════════════════════════════════════════
   UREÑA STUDIO — style.css v32
   Palette: Noir & Terracotta
   Direction A: Radial Depth
   ════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg:        oklch(16% 0.02 40);
  --bg-deep:   oklch(14% 0.02 40);
  --bg-mid:    oklch(18% 0.02 40);
  --text:      oklch(93% 0.015 60);
  --muted:     oklch(65% 0.02 50);
  --accent:    oklch(58% 0.1 30);
  --rule:      oklch(26% 0.02 40);
  --form-border: oklch(30% 0.02 40);
  --gold:      oklch(58% 0.1 30);
  --body:      oklch(75% 0.02 55);
  --sans:      'Public Sans', sans-serif;
  --serif:     'Newsreader', Georgia, serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden; /* Safari ≤15 fallback */
  overflow-x: clip;   /* modern: does not propagate to viewport scroll container */
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ── GLOBAL AMBIENT WARM GLOW ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 12% 88%, oklch(58% 0.1 30 / 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 12%, oklch(40% 0.08 30 / 0.03) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* ── FILM GRAIN ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(2) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2px, 1px); }
  50%  { transform: translate(1px, -2px); }
  75%  { transform: translate(-1px, 2px); }
  100% { transform: translate(2px, -1px); }
}


/* ════════════════════════════════════════════
   NAV — Fix 1: strict 3-column, height 56px
   ════════════════════════════════════════════ */
nav#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 48px;
  background: var(--bg);
  transition: background .5s ease, border-color .5s ease;
  border-bottom: 1px solid var(--rule);
}
nav#nav.scrolled {
  background: var(--bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
  position: relative;
}
.nav-left a:hover, .nav-right a:hover { color: var(--gold); }
.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-left a:hover::after, .nav-right a:hover::after { transform: scaleX(1); }
.wordmark {
  grid-column: 2;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  justify-self: center;
}

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-direction: column;
  gap: 5px;
  z-index: 501;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 499;
  background: var(--bg);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 32px 48px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  transition: color .2s;
}
.nav-mobile-menu a:hover { color: var(--gold); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 140px 80px 90px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background: var(--bg);
}
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero-hed {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--text);
}
.hed-line { display: block; overflow: visible; padding-bottom: 0.08em; }
.hed-line.italic { font-style: italic; color: var(--gold); }
.word { display: inline-block; }
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: charReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 0.035s + 0.1s);
  transition: color .15s ease;
}
.char:hover { color: var(--gold); }
.char.em { font-style: italic; color: var(--gold); }
@keyframes charReveal { to { opacity: 1; transform: translateY(0); } }
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero-sub {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.7;
  max-width: 520px;
  letter-spacing: 0;
}
.hero-cta-group { display: flex; align-items: center; gap: 18px; }
.hero-cta-primary {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--gold);
  padding: 15px 30px;
  transition: background .2s;
  white-space: nowrap;
  display: inline-block;
}
.hero-cta-primary:hover { background: oklch(48% 0.1 30); }

/* ════════════════════════════════════════════
   THE GAP
   ════════════════════════════════════════════ */
.gap-section { padding: 100px 0; background: var(--bg); }
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.gap-hed {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}
.gap-hed em { font-style: italic; color: var(--gold); }
.gap-right p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.85;
}
.gap-rule {
  height: 1px;
  background: var(--rule);
  margin: 28px 0;
}

/* ════════════════════════════════════════════
   HOW WE WORK / PROCESS
   ════════════════════════════════════════════ */
.process { padding: 100px 0; background: var(--bg); }
.process-hed {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 64px;
  max-width: 680px;
}
.process-hed em { font-style: italic; color: var(--gold); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--rule);
}
.process-card {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  transition: background .3s;
}
.process-card:last-child { border-right: none; }
.process-card:hover { background: oklch(58% 0.1 30 / 0.06); }
.process-num {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
}
.process-card h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.process-card p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.75;
}


/* ════════════════════════════════════════════
   SHARED / LAYOUT
   ════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}
.label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  opacity: 1;
}
.rule {
  height: 1px;
  background: var(--rule);
  margin: 0;
  transform-origin: left;
  transform: scaleX(0);
}
.rule.shimmer {
  animation: ruleShimmer 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ruleShimmer {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
section { padding: 100px 0; }
h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 48px;
}
h2 em {
  font-style: italic;
  color: var(--gold);
}
.text-link {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body);
  border-bottom: 1px solid var(--body);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--gold); border-color: var(--gold); }

/* ════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════ */
.services { padding: 100px 0; background: var(--bg); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 0;
  border: 1px solid var(--rule);
}
.svc-card {
  padding: 48px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background .3s;
}
.svc-card:hover { background: oklch(58% 0.1 30 / 0.08); }
.svc-card:hover h3 { color: var(--gold); }
.svc-card:nth-child(2n) { border-right: none; }
.svc-card:nth-child(3), .svc-card:nth-child(4) { border-bottom: none; }
.svc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.svc-num {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.svc-price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.svc-card h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
}
.svc-card p {
  font-size: 13px;
  color: var(--body);
  line-height: 1.75;
  max-width: 320px;
}

/* ════════════════════════════════════════════
   WORK / CASE STUDIES — Fix 2
   ════════════════════════════════════════════ */
.work { padding: 100px 0; background: var(--bg); }
.case-study {
  border: 1px solid var(--rule);
  padding: 48px;
  margin-bottom: 2px;
  transition: background .3s;
}
.case-study:hover { background: oklch(58% 0.1 30 / 0.04); }
.case-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.case-tag {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}
.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.case-left h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--gold);
}
.case-detail {
  border-left: 2px solid oklch(58% 0.1 30 / 0.25);
  padding-left: 20px;
}
.case-client {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.case-detail-lbl {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 1;
  margin-bottom: 12px;
}
.case-detail p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
}
.case-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
/* Fix 2 — More Work → link */
.work-more-link {
  display: block;
  margin-top: 32px;
  margin-bottom: 60px;
  text-align: right;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.work-more-link:hover { color: var(--gold); }

/* ════════════════════════════════════════════
   ABOUT — Fix 3: true 50/50 magazine split
   ════════════════════════════════════════════ */
.about { padding: 60px 0; background: var(--bg); }
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 80px;
  max-width: 1440px;
  margin: 0 auto;
}
.about-photo-slot {
  max-height: 480px;
  align-self: start;
  border: 1px dashed oklch(58% 0.1 30 / 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: oklch(58% 0.1 30 / 0.05);
  text-align: center;
}
.about-photo-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: oklch(58% 0.1 30 / 0.55);
}
.about-photo-hint {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-text-col h2 {
  font-size: clamp(32px, 3.5vw, 56px);
  margin-bottom: 36px;
}
.about-copy p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 24px;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-conviction {
  color: var(--gold);
  font-size: 18px;
  font-style: italic;
  font-family: var(--serif);
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   CLIENTS / TESTIMONIALS
   ════════════════════════════════════════════ */
.testimonials { padding: 80px 0; background: var(--bg); }
.client-ref {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--body);
  letter-spacing: 0;
  max-width: 600px;
}

/* ════════════════════════════════════════════
   SEGMENTS — WHO WE SERVE
   ════════════════════════════════════════════ */
.segments { padding: 100px 0; background: var(--bg); }
.seg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 0;
}
.seg-card {
  border: 1px solid var(--rule);
  padding: 44px 38px;
  background: transparent;
  opacity: 1;
  transition: background .3s;
}
.seg-card:hover { background: oklch(58% 0.1 30 / 0.08); }
.seg-card:hover h3 { color: var(--gold); }
/* Ensure no nth-child variation ever affects seg-cards */
.seg-card:nth-child(n) { opacity: 1; background: transparent; }
.seg-num {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  margin-bottom: 14px;
  opacity: 1;
}
.seg-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gold);
  transition: color .2s;
}
.seg-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
}
.seg-price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-top: 20px;
  display: inline-block;
}

/* ════════════════════════════════════════════
   CREDENTIALS
   ════════════════════════════════════════════ */
.credentials {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.cred-item {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  text-align: left;
}
.cred-item:last-child { border-right: none; }
.cred-stat {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.cred-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 1;
}

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq { padding: 100px 0; background: var(--bg); }
.faq-list { list-style: none; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 26px 0;
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.faq-q::after {
  content: '+';
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 14px;
  color: var(--body);
  line-height: 1.65;
  max-width: 640px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-item.open .faq-a { max-height: 600px; }

/* ════════════════════════════════════════════
   CTA / CONTACT
   ════════════════════════════════════════════ */
.cta { padding: 120px 0; background: var(--bg); }
.cta-hed {
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0;
}
.cta-hed em { font-style: italic; color: var(--gold); }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-copy {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  max-width: 400px;
  margin-top: 28px;
  margin-bottom: 30px;
}
.cta-email {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s;
}
.cta-email:hover { color: var(--gold); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--form-border);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  padding: 16px 18px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); opacity: 0.8; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form select option { background: var(--bg); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--gold);
  border: none;
  padding: 16px 34px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.btn-submit:hover { background: oklch(48% 0.1 30); }
.btn-submit:active { transform: translateY(1px); }
.form-success {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
  padding: 20px 0;
  display: none;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  background: var(--bg);
  font-size: 12px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--body);
}
.footer-copy {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-links a {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  opacity: 1;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-links a.footer-portal-link {
  color: var(--gold);
  border-left: 1px solid var(--rule);
  padding-left: 20px;
  margin-left: 0;
}
.footer-links a.footer-portal-link:hover { color: oklch(70% 0.1 30); }

/* ════════════════════════════════════════════
   MOBILE BANNER
   ════════════════════════════════════════════ */
.mobile-banner {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  text-align: center;
}
.mobile-banner-wordmark {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text);
}
.mobile-banner-msg {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.mobile-banner-note {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: oklch(50% 0.02 50);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
/* Mobile banner retired — the responsive layout below is now served on all
   screen sizes so visitors from Instagram / LinkedIn (mobile-first) get the
   full site and can reach the inquiry form. */

@media (max-width: 1200px) {
  .container { padding: 0 48px; }
  .hero { padding: 96px 48px 64px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: none; }
  .svc-card:nth-child(n) { border-bottom: 1px solid var(--rule); }
  .svc-card:last-child { border-bottom: none; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-item:nth-child(2) { border-right: none; }
  .cred-item:nth-child(3) { border-right: 1px solid var(--rule); }
  .about-container { padding: 60px 48px; gap: 60px; }
  .gap-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-right: none; }
  .process-card:nth-child(3) { border-right: 1px solid var(--rule); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .hero { padding: 96px 32px 48px; }
  .container { padding: 0 32px; }
  nav#nav { padding: 18px 24px; }
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .hero-hed { max-width: 100%; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-sub { max-width: 100%; }
  .hero-cta-group { flex-wrap: wrap; }
  .case-body { grid-template-columns: 1fr; gap: 32px; }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .seg-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .about-container { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .about-photo-slot { min-height: 280px; height: 280px; align-self: auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { border-right: none; border-bottom: 1px solid var(--rule); }
  .process-card:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  /* keep large display type from overflowing narrow phones */
  .hero-hed { font-size: clamp(32px, 9vw, 44px); }
  .hero { padding: 88px 22px 40px; }
  .container { padding: 0 22px; }
  nav#nav { padding: 16px 22px; }
  .hero-cta-primary { padding: 15px 24px; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { flex-wrap: wrap; gap: 14px; }
  .nav-mobile-menu { padding: 32px 32px; gap: 22px; }
  .nav-mobile-menu a { font-size: 22px; }
}
