/* ============================================
   Chaudhry Law, PLLC — shared stylesheet
   Palette: Modern Advocacy (deep teal + terracotta + cream)
   Type:    Newsreader (display) + IBM Plex Sans (body)
   ============================================ */

:root {
  /* Brand palette — edit these four values to re-skin the site */
  --c-ink:        #0E2E2C;   /* deep teal, primary surface */
  --c-accent:     #C8633D;   /* terracotta, accent */
  --c-paper:      #F2EBDD;   /* cream, paper */
  --c-neutral:    #1F2826;   /* near-black neutral */

  /* Derived */
  --c-ink-soft:   #1A3937;
  --c-ink-line:   #2A4845;
  --c-paper-warm: #EDE3D0;
  --c-paper-cool: #F7F2E8;
  --c-mute:       #6B6157;
  --c-mute-soft:  #9A8F84;
  --c-line:       #DCD2BE;
  --c-rule:       #C8BBA3;
  --c-accent-deep:#A24E2E;
  --c-accent-soft:#E8B79A;

  /* Type */
  --f-display: "Newsreader", "Source Serif 4", Georgia, serif;
  --f-body:    "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.81rem + 0.10vw, 0.89rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.16vw, 1.05rem);
  --step-1:  clamp(1.10rem, 1.05rem + 0.27vw, 1.25rem);
  --step-2:  clamp(1.30rem, 1.20rem + 0.50vw, 1.55rem);
  --step-3:  clamp(1.55rem, 1.40rem + 0.80vw, 1.95rem);
  --step-4:  clamp(1.90rem, 1.65rem + 1.30vw, 2.55rem);
  --step-5:  clamp(2.30rem, 1.90rem + 2.00vw, 3.30rem);
  --step-6:  clamp(2.80rem, 2.20rem + 3.00vw, 4.50rem);
  --step-7:  clamp(3.50rem, 2.60rem + 4.50vw, 6.20rem);

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --container: 1240px;
  --container-narrow: 840px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--c-neutral);
  background: var(--c-paper);
  font-feature-settings: "kern", "liga", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--c-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--c-rule); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--c-accent-deep); text-decoration-color: var(--c-accent); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; color: var(--c-ink); margin: 0 0 .4em; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--step-6); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); line-height: 1.08; }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); line-height: 1.25; }

p { margin: 0 0 1em; text-wrap: pretty; max-width: 68ch; }
strong { font-weight: 600; color: var(--c-ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; max-width: 68ch; }
hr { border: 0; border-top: 1px solid var(--c-rule); margin: var(--sp-7) 0; }

::selection { background: var(--c-ink); color: var(--c-paper); }

/* Skip link */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--c-ink); color: var(--c-paper);
  padding: .6rem 1rem; border-radius: var(--r-sm);
  z-index: 1000; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Layout containers */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.wrap-narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-5); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242,235,221,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4) 0;
  justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none;
  color: var(--c-ink);
}
.brand:hover { color: var(--c-ink); }
/* Header brand mark — black on transparent, sits directly on cream paper.
   No badge needed: black-on-cream contrast is strong on its own. */
.brand__mark {
  width: auto;
  height: 42px;
  flex: 0 0 auto;
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}
.brand:hover .brand__mark {
  transform: scale(1.04);
}
@media (max-width: 1023px) { .brand__mark { height: 38px; } }
@media (max-width: 639px)  { .brand__mark { height: 34px; } }

/* Footer is dark teal — needs the white version of the mark */
.site-footer .brand__mark {
  height: 40px;
  /* The footer HTML uses src="logo-mark-white.png" so this is just sizing */
}
.brand__name {
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-mute);
  margin-top: 3px;
  display: block;
}

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav__list { display: flex; gap: var(--sp-5); list-style: none; padding: 0; margin: 0; align-items: center; }
.nav__link {
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
  padding: .4rem 0;
  position: relative;
}
.nav__link:hover { color: var(--c-accent-deep); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--c-accent);
}

/* Services dropdown */
.has-dropdown { position: relative; }
.has-dropdown__btn {
  background: none; border: 0; padding: .4rem 0;
  font: inherit; font-weight: 500; color: var(--c-ink);
  display: inline-flex; align-items: center; gap: .3rem;
}
.has-dropdown__menu {
  position: absolute; top: calc(100% + .8rem); left: -1rem;
  min-width: 320px;
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  box-shadow: 0 18px 40px -20px rgba(14,46,44,.25);
  display: none;
  list-style: none; margin: 0;
}
.has-dropdown:hover .has-dropdown__menu,
.has-dropdown:focus-within .has-dropdown__menu { display: block; }
.has-dropdown__menu a {
  display: block;
  padding: .55rem .75rem;
  font-size: .9rem;
  text-decoration: none;
  color: var(--c-ink);
  border-radius: var(--r-sm);
}
.has-dropdown__menu a:hover { background: var(--c-paper-warm); color: var(--c-accent-deep); }

.nav__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem;
  border: 1px solid var(--c-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--c-ink);
  font-weight: 500; font-size: .9rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--c-ink); color: var(--c-paper); }

.nav__phone {
  font-family: var(--f-mono);
  font-size: .85rem;
  text-decoration: none;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  display: none;
}
@media (min-width: 1080px) { .nav__phone { display: inline-block; } }

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--c-ink);
  background: transparent;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--c-ink);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 50%; transform: translateY(-50%); display: block; }
.nav-toggle__bars::after { bottom: 0; }

@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav-open .nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--c-paper);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-7) var(--sp-5) var(--sp-5);
    z-index: 60;
    overflow-y: auto;
  }
  .mobile-nav-open .nav__list { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .mobile-nav-open .nav__link { font-size: 1.4rem; font-family: var(--f-display); }
  .mobile-nav-open .has-dropdown__btn { font-size: 1.4rem; font-family: var(--f-display); }
  .mobile-nav-open .has-dropdown__menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 .5rem; min-width: 0; background: transparent; }
  .mobile-nav-open .has-dropdown__menu a { font-size: .95rem; padding: .35rem 0; }
  .mobile-nav-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--c-ink);
    border-radius: var(--r-sm);
    font-size: 1.3rem;
  }
}
@media (min-width: 961px) {
  .mobile-nav-close { display: none; }
}

/* ===== Sections ===== */
section { padding: var(--sp-9) 0; }
.section-tight { padding: var(--sp-8) 0; }
.section-ink { background: var(--c-ink); color: var(--c-paper-warm); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: var(--c-paper); }
.section-ink a { color: var(--c-paper); text-decoration-color: rgba(242,235,221,.4); }
.section-ink a:hover { color: var(--c-accent-soft); }
.section-warm { background: var(--c-paper-warm); }
.section-cool { background: var(--c-paper-cool); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-mute);
  margin-bottom: var(--sp-4);
}
.eyebrow::before { content: "§ "; color: var(--c-accent); }
.section-ink .eyebrow { color: var(--c-accent-soft); }

/* ===== Hero ===== */
.hero {
  padding: var(--sp-8) 0 var(--sp-9);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-7);
  align-items: end;
}
@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.hero__wordmark {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: .75rem;
  color: var(--c-mute);
  margin-bottom: var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-3);
}
.hero__wordmark::before {
  content: ""; width: 32px; height: 1px; background: var(--c-accent);
}
.hero__title {
  font-size: var(--step-7);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 var(--sp-5);
  font-weight: 400;
}
.hero__title em {
  font-style: italic;
  color: var(--c-accent-deep);
}
.hero__lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--c-mute);
  max-width: 36ch;
  margin: 0 0 var(--sp-6);
}
.hero__attrib {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-rule);
  max-width: 36ch;
}
.hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
}

/* (Old hero side-by-side card pattern removed — superseded by .hero--bleed
   which uses a full-bleed photo with overlaid text.) */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.btn--primary:hover { background: var(--c-accent-deep); border-color: var(--c-accent-deep); color: var(--c-paper); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-paper); }
.btn--accent { background: var(--c-accent); color: var(--c-paper); border-color: var(--c-accent); }
.btn--accent:hover { background: var(--c-accent-deep); border-color: var(--c-accent-deep); }
.btn--on-ink { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-paper); }
.btn--on-ink:hover { background: var(--c-accent); color: var(--c-paper); border-color: var(--c-accent); }
.btn .arr { font-family: var(--f-mono); transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ===== Bento grid (services on home) ===== */
.bento {
  display: grid;
  /* minmax(0, 1fr) lets columns shrink below content width.
     Without this, a long un-wrappable word would force a track wide,
     blowing out the grid layout. */
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.bento__card {
  position: relative;
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  text-decoration: none;
  color: var(--c-ink);
  display: flex; flex-direction: column;
  min-height: 200px;
  /* Allow the card to shrink below its content's intrinsic width. */
  min-width: 0;
  transition: background .2s, transform .2s, border-color .2s;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.bento__card:hover { background: var(--c-paper-warm); border-color: var(--c-accent); transform: translateY(-2px); }
.bento__num {
  font-family: var(--f-mono);
  font-size: .7rem;
  color: var(--c-mute);
  letter-spacing: .14em;
}
.bento__card h3 {
  font-size: 1.45rem;
  margin: var(--sp-5) 0 var(--sp-2);
  line-height: 1.15;
}
.bento__card p {
  font-size: .9rem;
  color: var(--c-mute);
  margin: 0;
  flex: 1;
}
.bento__card .arr {
  font-family: var(--f-mono);
  margin-top: var(--sp-4);
  color: var(--c-accent-deep);
  font-size: .85rem;
}

/* span variants for bento variety */
.bento__card--big { grid-column: span 3; min-height: 280px; background: var(--c-ink); color: var(--c-paper-warm); border-color: var(--c-ink); }
.bento__card--big h3 { color: var(--c-paper); font-size: 2rem; }
.bento__card--big p { color: rgba(242,235,221,.75); }
.bento__card--big .bento__num { color: var(--c-accent-soft); }
.bento__card--big .arr { color: var(--c-accent-soft); }
.bento__card--wide { grid-column: span 4; }
.bento__card--reg { grid-column: span 2; }
.bento__card--accent { grid-column: span 2; background: var(--c-accent); color: var(--c-paper); border-color: var(--c-accent); }
.bento__card--accent h3 { color: var(--c-paper); }
.bento__card--accent p { color: rgba(242,235,221,.85); }
.bento__card--accent .bento__num { color: rgba(242,235,221,.7); }
.bento__card--accent .arr { color: var(--c-paper); }

/* (Old 880px bento rules removed — superseded by the explicit
   responsive cascade further down at 1023px / 639px.) */

/* ===== Generic 2-col ===== */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--sp-7);
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: var(--sp-5); } }
.two-col__head h2 { margin-top: 0; }

/* ===== Process steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  counter-reset: step;
  margin-top: var(--sp-6);
}
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-rule);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -.5rem;
  background: var(--c-paper);
  padding-right: var(--sp-3);
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--c-accent-deep);
  letter-spacing: .1em;
}
.step h3 { font-size: 1.4rem; margin-bottom: var(--sp-2); }
.step p { font-size: .95rem; color: var(--c-mute); }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--c-rule); }
.faq__item { border-bottom: 1px solid var(--c-rule); }
.faq__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: var(--sp-5) 0;
  font: inherit;
  font-size: var(--step-1);
  color: var(--c-ink);
  font-family: var(--f-display);
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-4);
  cursor: pointer;
}
.faq__btn::after {
  content: "+";
  font-family: var(--f-mono);
  color: var(--c-accent);
  font-size: 1.4rem;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq__item[open] .faq__btn::after { content: "—"; }
.faq__panel {
  padding: 0 0 var(--sp-5);
  max-width: 60ch;
  color: var(--c-mute);
}
.faq__panel p:last-child { margin-bottom: 0; }

/* ===== CTA band ===== */
.cta-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
@media (max-width: 720px) { .cta-band { grid-template-columns: repeat(2, 1fr); } }
.cta-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: var(--sp-5);
  background: rgba(242,235,221,.06);
  border: 1px solid rgba(242,235,221,.2);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--c-paper);
  min-height: 180px;
  justify-content: space-between;
  transition: background .2s, border-color .2s;
}
.cta-card:hover { background: rgba(200,99,61,.18); border-color: var(--c-accent); color: var(--c-paper); }
.cta-card__label {
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--c-accent-soft);
}
.cta-card__value {
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.15;
}

/* ===== Article (service pages, about) ===== */
.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: var(--sp-7);
  align-items: start;
}
@media (max-width: 980px) { .article { grid-template-columns: 1fr; } }
.article__body h2 { margin-top: var(--sp-7); font-size: var(--step-3); }
.article__body h2:first-child { margin-top: 0; }
.article__body h3 { font-size: var(--step-1); margin-top: var(--sp-5); }
.article__body p, .article__body li { font-size: 1.04rem; line-height: 1.7; color: var(--c-neutral); }
.article__body ol li, .article__body ul li { margin-bottom: .6em; }
.article__body blockquote {
  border-left: 3px solid var(--c-accent);
  margin: var(--sp-5) 0;
  padding: 0 var(--sp-5);
  font-style: italic;
  color: var(--c-ink);
  font-family: var(--f-display);
  font-size: 1.2rem;
}

.article__aside {
  position: sticky;
  top: 100px;
  padding: var(--sp-5);
  background: var(--c-paper-warm);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  font-size: .92rem;
}
.article__aside h4 {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: var(--sp-3);
}
.article__aside ul { list-style: none; padding: 0; margin: 0; }
.article__aside li { margin-bottom: .5em; }
.article__aside a { font-size: .92rem; }
.article__aside .divider { height: 1px; background: var(--c-rule); margin: var(--sp-4) 0; }

@media (max-width: 980px) { .article__aside { position: static; } }

/* Service hero */
.service-hero { padding: var(--sp-8) 0 var(--sp-7); }
.service-hero__crumbs {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: var(--sp-5);
}
.service-hero__crumbs a { text-decoration: none; color: var(--c-mute); }
.service-hero__crumbs a:hover { color: var(--c-accent-deep); }
.service-hero h1 { max-width: 18ch; }
.service-hero__lede {
  max-width: 56ch;
  font-size: var(--step-1);
  color: var(--c-mute);
  margin-top: var(--sp-4);
}

/* Cards / lists for service hub */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  display: flex; flex-direction: column;
  padding: var(--sp-5);
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--c-ink);
  min-height: 200px;
  transition: background .2s, border-color .2s, transform .2s;
}
.svc-card:hover { background: var(--c-paper-warm); border-color: var(--c-accent); transform: translateY(-2px); }
.svc-card__num { font-family: var(--f-mono); font-size: .7rem; color: var(--c-mute); letter-spacing: .14em; }
.svc-card h3 { font-size: 1.3rem; margin: var(--sp-4) 0 var(--sp-2); }
.svc-card p { font-size: .92rem; color: var(--c-mute); margin: 0; flex: 1; }
.svc-card .arr { margin-top: var(--sp-4); color: var(--c-accent-deep); font-family: var(--f-mono); font-size: .85rem; }

/* About */
.about-hero { padding: var(--sp-8) 0 var(--sp-7); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--sp-7);
  align-items: start;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-portrait {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, var(--c-ink) 0%, var(--c-ink-soft) 100%);
  border-radius: var(--r-md);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(242,235,221,.7);
}
.about-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(242,235,221,.025) 0 1px, transparent 1px 12px);
}
/* (Removed .about-portrait__label — was for the old text placeholder
   block, now replaced by the actual headshot image and figcaption.) */

/* Contact */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6);
  margin-top: var(--sp-6);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  padding: var(--sp-5);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  background: var(--c-paper-cool);
  text-decoration: none;
  color: var(--c-ink);
  display: flex; flex-direction: column; gap: var(--sp-3);
  transition: background .2s, border-color .2s;
}
.contact-card:hover { background: var(--c-paper-warm); border-color: var(--c-accent); }
.contact-card__label {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-mute);
}
.contact-card__value { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.15; }
.contact-card__sub { font-size: .9rem; color: var(--c-mute); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-3); }
.hours-table th, .hours-table td {
  text-align: left; padding: .5rem 0;
  border-bottom: 1px solid var(--c-rule);
  font-size: .92rem;
}
.hours-table th { font-weight: 500; color: var(--c-ink); width: 40%; }
.hours-table td { color: var(--c-mute); font-family: var(--f-mono); font-size: .85rem; }

/* Forms */
.form-row { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }
label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: .3rem; color: var(--c-ink); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-sm);
  background: var(--c-paper-cool);
  font: inherit;
  font-size: .95rem;
  color: var(--c-ink);
}
input:focus, textarea:focus, select:focus { border-color: var(--c-accent); }
textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer {
  background: var(--c-ink);
  color: rgba(242,235,221,.75);
  padding: var(--sp-9) 0 var(--sp-5);
  margin-top: var(--sp-9);
}
.site-footer h4 {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  margin-bottom: var(--sp-4);
  font-weight: 500;
}
.site-footer a { color: rgba(242,235,221,.85); text-decoration: none; }
.site-footer a:hover { color: var(--c-accent-soft); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-6);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand__name { color: var(--c-paper); font-size: 1.5rem; }
.footer-brand p { color: rgba(242,235,221,.65); font-size: .9rem; margin-top: var(--sp-3); max-width: 32ch; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .4em; font-size: .9rem; }

.footer-meta {
  border-top: 1px solid rgba(242,235,221,.15);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  font-size: .78rem;
  color: rgba(242,235,221,.55);
  display: grid; gap: var(--sp-2);
}
.footer-meta p { max-width: none; margin: 0; line-height: 1.55; }
.footer-meta .tiny { font-size: .72rem; opacity: .7; }

/* Trust signals row */
.trust-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
@media (max-width: 720px) { .trust-row { grid-template-columns: 1fr; } }
.trust-item__num {
  font-family: var(--f-display);
  font-size: var(--step-5);
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.trust-item__num em { color: var(--c-accent-deep); font-style: italic; }
.trust-item__label {
  font-family: var(--f-mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-mute);
}

/* Quote */
.quote-block {
  font-family: var(--f-display);
  font-size: var(--step-3);
  line-height: 1.25;
  max-width: 22ch;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}
.quote-block em { color: var(--c-accent-deep); }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }

  /* Staggered reveal of bento cards */
  .bento.is-visible .bento__card {
    animation: cardIn .7s cubic-bezier(.2,.7,.2,1) both;
  }
  .bento.is-visible .bento__card:nth-child(1)  { animation-delay: 0ms; }
  .bento.is-visible .bento__card:nth-child(2)  { animation-delay: 60ms; }
  .bento.is-visible .bento__card:nth-child(3)  { animation-delay: 120ms; }
  .bento.is-visible .bento__card:nth-child(4)  { animation-delay: 180ms; }
  .bento.is-visible .bento__card:nth-child(5)  { animation-delay: 240ms; }
  .bento.is-visible .bento__card:nth-child(6)  { animation-delay: 300ms; }
  .bento.is-visible .bento__card:nth-child(7)  { animation-delay: 360ms; }
  .bento.is-visible .bento__card:nth-child(8)  { animation-delay: 420ms; }
  .bento.is-visible .bento__card:nth-child(9)  { animation-delay: 480ms; }
  .bento.is-visible .bento__card:nth-child(10) { animation-delay: 540ms; }
  .bento.is-visible .bento__card:nth-child(11) { animation-delay: 600ms; }
  .bento.is-visible .bento__card:nth-child(12) { animation-delay: 660ms; }

  @keyframes cardIn {
    from { opacity: 0; transform: translateY(24px) scale(.98); }
    to   { opacity: 1; transform: none; }
  }
}

/* Misc */
.lede { font-size: var(--step-1); line-height: 1.55; max-width: 56ch; color: var(--c-mute); }
.note {
  background: var(--c-paper-warm);
  border-left: 3px solid var(--c-accent);
  padding: var(--sp-4) var(--sp-5);
  font-size: .92rem;
  color: var(--c-ink);
  margin: var(--sp-5) 0;
}
.note strong { color: var(--c-ink); }

/* USCIS / source link styling */
.src-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--c-accent-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 1px;
}
.src-link:hover { color: var(--c-ink); border-bottom-color: var(--c-ink); }

/* Two columns within service body */
.col-2 { columns: 2; column-gap: var(--sp-6); }
@media (max-width: 720px) { .col-2 { columns: 1; } }

/* Map placeholder */
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r-md);
  background: var(--c-paper-warm);
  display: block;
}

/* ============================================
   Image / media patterns
   Photos get a quiet, editorial treatment so they
   feel cohesive with the cream + teal palette
   instead of dropped-in stock.
   ============================================ */

/* Base photo wrapper. Adds a subtle warm tint and a
   thin paper border. The img itself is slightly
   desaturated and warmed. */
.media,
.media--ratio-16-9,
.media--ratio-3-2,
.media--ratio-4-5,
.media--ratio-1-1 {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-paper-warm);
  border: 1px solid var(--c-rule);
}
.media img,
.media--ratio-16-9 img,
.media--ratio-3-2 img,
.media--ratio-4-5 img,
.media--ratio-1-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.02);
}
.media--ratio-16-9 { aspect-ratio: 16 / 9; }
.media--ratio-3-2  { aspect-ratio: 3 / 2; }
.media--ratio-4-5  { aspect-ratio: 4 / 5; }
.media--ratio-1-1  { aspect-ratio: 1 / 1; }

/* Warm-paper overlay so photos sit on the cream surface */
.media--warm::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,46,44,0.06), rgba(14,46,44,0.0) 40%, rgba(14,46,44,0.18)),
    radial-gradient(ellipse at 80% 100%, rgba(200,99,61,0.10), transparent 60%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Ink-side photos (over dark sections) get a teal wash */
.media--ink::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,46,44,0.20), rgba(14,46,44,0.45));
  pointer-events: none;
}

/* Caption strip below a photo */
.media-caption {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: var(--sp-3);
  display: flex; gap: var(--sp-3); align-items: baseline;
}
.media-caption::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--c-accent);
  display: inline-block;
}

/* ===== Hero visual: replace the case-card panel with a real photo ===== */
/* (Removed .hero__photo* rules — superseded by .hero__media inside .hero--bleed.) */

/* ===== About portrait — real photo replaces the placeholder ===== */
.about-portrait {
  /* override the gradient placeholder when an image is inside */
  background: var(--c-paper-warm);
}
.about-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}
.about-portrait::before {
  /* Soft warm wash on the portrait */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(242,235,221,0) 60%, rgba(14,46,44,0.18) 100%),
    linear-gradient(135deg, rgba(200,99,61,0.06), transparent 50%);
  z-index: 1;
  pointer-events: none;
}
/* hide the old placeholder pattern when an image is present */
.about-portrait:has(img)::after {
  display: none;
}
.about-portrait__caption {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 2;
  font-family: var(--f-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-paper);
  background: rgba(14,46,44,.55);
  padding: .35rem .6rem;
  border-radius: var(--r-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* About-page small inset photo (e.g., supporting image) */
.about-inset {
  margin: var(--sp-6) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}

/* ===== Service-page hero banner ===== */
.service-banner {
  position: relative;
  margin-top: var(--sp-5);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--c-paper-warm);
  border: 1px solid var(--c-rule);
}
.service-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.03);
}
.service-banner::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(14,46,44,0.20), transparent 45%),
    linear-gradient(0deg, rgba(14,46,44,0.20), transparent 35%);
  pointer-events: none;
}
.service-banner__tag {
  position: absolute;
  top: var(--sp-4); left: var(--sp-4);
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-paper);
  background: rgba(14,46,44,.7);
  padding: .35rem .6rem;
  border-radius: var(--r-sm);
}

/* ===== Hub page split (services/index, contact) ===== */
.media-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--sp-7);
  align-items: stretch;
  margin-top: var(--sp-6);
}
.media-split__copy { align-self: center; }
.media-split__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-paper-warm);
  border: 1px solid var(--c-rule);
}
.media-split__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.88) contrast(1.04);
}
.media-split__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,46,44,0) 55%, rgba(14,46,44,0.30) 100%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .media-split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .media-split__photo { aspect-ratio: 16 / 10; }
}

/* ===== Full-bleed image band (used as section background) ===== */
.media-band {
  position: relative;
  height: 380px;
  overflow: hidden;
  margin: 0;
}
.media-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) contrast(1.04);
}
.media-band::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,46,44,0.40), rgba(14,46,44,0.65));
  pointer-events: none;
}
.media-band__caption {
  position: absolute;
  left: 50%; bottom: var(--sp-6);
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--c-paper);
  font-family: var(--f-display);
  font-size: var(--step-2);
  line-height: 1.2;
  max-width: 30ch;
  padding: 0 var(--sp-5);
}
.media-band__eyebrow {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  display: block;
  margin-bottom: var(--sp-2);
}

/* ===== Author byline used in the about-preview block ===== */
.byline {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding-top: var(--sp-5);
  margin-top: var(--sp-5);
  border-top: 1px solid var(--c-rule);
}
.byline__avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--c-paper-warm);
  border: 1px solid var(--c-rule);
  position: relative;
}
.byline__avatar img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92) contrast(1.04);
}
.byline__name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  color: var(--c-ink);
  line-height: 1.2;
}
.byline__role {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: 4px;
}
@media (max-width: 540px) {
  .byline { grid-template-columns: 64px 1fr; }
  .byline__avatar { width: 64px; height: 64px; }
}

/* ===== Service-page sticky aside thumbnail ===== */
.aside-photo {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: var(--sp-4);
}
.aside-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) contrast(1.04);
}
.aside-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,46,44,0.30));
  pointer-events: none;
}

/* Reduce-motion safety: nothing animates here, but explicit override for filter shifts on hover */
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .service-banner img, .media-band img,
  .about-portrait img, .media-split__photo img,
  .aside-photo img, .byline__avatar img,
  .media img, .media--ratio-3-2 img, .media--ratio-4-5 img, .media--ratio-16-9 img {
    transition: none;
  }
}

/* ============================================
   RESPONSIVE LAYER
   Three explicit tiers:
     Desktop  >= 1024px  — full layouts
     Tablet   640-1023px — 2-col bridges
     Mobile   < 640px    — single column, condensed
   This block lives at the bottom of the file
   so it consistently overrides layout rules above.
   ============================================ */

/* Container padding scales down with viewport */
@media (max-width: 1023px) {
  .wrap, .wrap-narrow { padding-left: var(--sp-5); padding-right: var(--sp-5); }
}
@media (max-width: 639px) {
  .wrap, .wrap-narrow { padding-left: var(--sp-4); padding-right: var(--sp-4); }
}

/* Section vertical rhythm tightens at smaller sizes */
@media (max-width: 1023px) {
  section { padding: var(--sp-8) 0; }
  .section-tight { padding: var(--sp-7) 0; }
  .site-footer { padding: var(--sp-8) 0 var(--sp-5); margin-top: var(--sp-8); }
}
@media (max-width: 639px) {
  section { padding: var(--sp-7) 0; }
  .section-tight { padding: var(--sp-6) 0; }
  .site-footer { padding: var(--sp-7) 0 var(--sp-5); margin-top: var(--sp-7); }
}

/* Typography: cap headings on smaller viewports so they don't overflow */
@media (max-width: 1023px) {
  h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
}
@media (max-width: 639px) {
  h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.05; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  h3 { font-size: 1.2rem; }
  .lede, .service-hero__lede, .hero__lede { font-size: 1.02rem; }
  .quote-block { font-size: 1.4rem; }
}

/* ===== Header ===== */
@media (max-width: 1023px) {
  .site-header__inner { padding: var(--sp-3) 0; gap: var(--sp-3); }
  .brand__name { font-size: 1.2rem; }
  .brand__sub { font-size: 0.62rem; letter-spacing: .12em; }
}
@media (max-width: 639px) {
  .brand__sub { display: none; }
  .brand__mark { width: 24px; height: 30px; }
  .brand__name { font-size: 1.15rem; }
}

/* Mobile nav: keep at <= 1023px so tablet uses the full menu drawer too,
   since the inline nav was getting cramped between 880-960. */
@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  /* When the drawer is open, neutralize the header's backdrop-filter.
     A backdrop-filter on a parent creates a containing block for any
     position:fixed descendant, which would clip the drawer to the
     header instead of the viewport. */
  body.mobile-nav-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--c-paper);
  }
  /* Hide the WhatsApp FAB while the drawer is open so it doesn't
     stack over the nav (FAB is z-index:100, nav is z-index:60+). */
  body.mobile-nav-open .wa-fab { display: none; }

  .mobile-nav-open .nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--c-paper);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-8) var(--sp-5) var(--sp-5);
    z-index: 200; /* above sticky header (50) and FAB (100) */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-nav-open .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .mobile-nav-open .nav__list > li { width: 100%; }
  .mobile-nav-open .nav__link,
  .mobile-nav-open .has-dropdown__btn {
    font-size: 1.4rem;
    font-family: var(--f-display);
    padding: .55rem 0;
    width: 100%;
    text-align: left;
  }
  .mobile-nav-open .has-dropdown__menu {
    display: block;
    position: static;
    box-shadow: none;
    border: 0;
    padding: var(--sp-2) 0 var(--sp-3) var(--sp-4);
    min-width: 0;
    background: transparent;
    list-style: none;
    margin: 0;
  }
  .mobile-nav-open .has-dropdown__menu a {
    font-size: 1rem;
    padding: .4rem 0;
    color: var(--c-mute);
  }
  .mobile-nav-open .has-dropdown__menu a:hover { color: var(--c-accent-deep); }
  .mobile-nav-open .nav__phone,
  .mobile-nav-open .nav__cta {
    font-size: 1.05rem;
    margin-top: var(--sp-4);
    align-self: flex-start;
  }
  .mobile-nav-close {
    display: inline-flex;
    align-items: center; justify-content: center;
    position: absolute;
    top: var(--sp-4); right: var(--sp-4);
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--c-ink);
    border-radius: var(--r-sm);
    font-size: 1.4rem;
    color: var(--c-ink);
    z-index: 1;
  }
}
@media (min-width: 1024px) {
  .mobile-nav-close { display: none; }
}

/* (Old hero responsive rules removed — the new .hero--bleed has its
   own complete responsive cascade further down in this file.) */

/* ===== Trust row ===== */
@media (max-width: 880px) {
  .trust-row { grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
}
@media (max-width: 639px) {
  .trust-row { grid-template-columns: 1fr; padding: var(--sp-5) 0; gap: var(--sp-4); }
  .trust-item__num { font-size: 2rem; }
}

/* ===== Bento grid responsive cascade =====
   Desktop (>= 1024px):  6 columns  — big=3, wide=4, accent/reg=2
   Tablet  (640-1023px): 2 columns  — big/wide/photo=2, everything else=1
   Mobile  (< 640px):    1 column   — every card full width

   IMPORTANT: every variant must be listed explicitly here so a card with
   a custom modifier (e.g. --photo, --warm, --ink, --gradient, --special)
   gets a sensible span at every breakpoint. Otherwise auto-flow can
   produce single-letter "narrow" cards. */
@media (max-width: 1023px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-3);
  }
  /* Default span 1 for every regular variant */
  .bento__card,
  .bento__card--reg,
  .bento__card--accent,
  .bento__card--warm,
  .bento__card--ink,
  .bento__card--gradient,
  .bento__card--special {
    grid-column: span 1;
    min-height: 200px;
  }
  /* Big / wide / photo always span both columns at this size */
  .bento__card--big,
  .bento__card--wide,
  .bento__card--photo {
    grid-column: span 2;
    min-height: 240px;
  }
  .bento__card--big h3 { font-size: 1.7rem; }
  .bento__card--big { padding: var(--sp-5); }
  .bento__card--photo { padding: var(--sp-5); min-height: 220px; }
}
@media (max-width: 639px) {
  .bento {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
  }
  /* Single column — everything spans the full row */
  .bento__card,
  .bento__card--reg,
  .bento__card--accent,
  .bento__card--warm,
  .bento__card--ink,
  .bento__card--gradient,
  .bento__card--special,
  .bento__card--big,
  .bento__card--wide,
  .bento__card--photo {
    grid-column: 1 / -1;
    min-height: 160px;
    padding: var(--sp-4);
  }
  .bento__card--big,
  .bento__card--photo { min-height: 200px; }
  .bento__card h3 { font-size: 1.2rem; margin: var(--sp-3) 0 var(--sp-2); }
  .bento__card--big h3 { font-size: 1.4rem; }
  .bento__card--photo h3 { font-size: 1.3rem; }
  .bento__card p { font-size: .9rem; }
}

/* ===== Service grid: 3 → 2 → 1 ===== */
@media (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .svc-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .svc-card { min-height: auto; padding: var(--sp-4); }
  .svc-card h3 { font-size: 1.15rem; margin: var(--sp-3) 0 var(--sp-2); }
}

/* ===== Article (service body + sticky aside) ===== */
@media (max-width: 1023px) {
  .article { grid-template-columns: 1fr; gap: var(--sp-5); }
  .article__aside { position: static; }
}
@media (max-width: 639px) {
  .article__body p, .article__body li { font-size: 1rem; line-height: 1.65; }
  .article__body h2 { margin-top: var(--sp-6); }
  .article__body blockquote { padding: 0 var(--sp-4); font-size: 1.05rem; }
}

/* ===== About grid ===== */
@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .about-portrait { aspect-ratio: 4 / 5; max-width: 480px; }
}

/* ===== Two-column generic ===== */
@media (max-width: 1023px) {
  .two-col { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ===== Process steps ===== */
@media (max-width: 1023px) {
  .steps { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}
@media (max-width: 639px) {
  .steps { grid-template-columns: 1fr; }
}

/* ===== Contact grid ===== */
@media (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .contact-card { padding: var(--sp-4); }
  .contact-card__value { font-size: 1.2rem; }
}

/* ===== Forms ===== */
@media (max-width: 639px) {
  .form-row--2 { grid-template-columns: 1fr; }
  input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    padding: .65rem .8rem;
    font-size: 16px; /* prevents iOS zoom on focus */
  }
}

/* ===== CTA band ===== */
@media (max-width: 1023px) {
  .cta-band { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 539px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-card { min-height: 140px; padding: var(--sp-4); }
  .cta-card__value { font-size: 1.1rem; }
}

/* ===== Footer ===== */
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-brand { grid-column: span 1; }
  .site-footer h4 { margin-bottom: var(--sp-3); }
  .footer-list li { font-size: .88rem; }
}

/* ===== Image patterns (responsive scaling) ===== */
@media (max-width: 1023px) {
  .service-banner { aspect-ratio: 16 / 9; }
  .media-band { height: 320px; }
  .media-split { grid-template-columns: 1fr; gap: var(--sp-5); }
  .media-split__photo { aspect-ratio: 16 / 10; max-height: 360px; }
}
@media (max-width: 639px) {
  .service-banner { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
  .service-banner__tag { font-size: .6rem; padding: .25rem .5rem; top: var(--sp-3); left: var(--sp-3); }
  .media-band { height: 240px; }
  .media-band__caption { font-size: 1.1rem; max-width: 90%; }
  .media-band__eyebrow { font-size: .6rem; }
  .byline { grid-template-columns: 60px 1fr; gap: var(--sp-3); }
  .byline__avatar { width: 60px; height: 60px; }
  .byline__name { font-size: 1.05rem; }
  .byline__role { font-size: .65rem; }
  .about-portrait__caption { font-size: .58rem; padding: .25rem .5rem; }
}

/* ===== FAQ button ===== */
@media (max-width: 639px) {
  .faq__btn { font-size: 1.05rem; padding: var(--sp-4) 0; gap: var(--sp-3); }
  .faq__panel { padding-bottom: var(--sp-4); font-size: .95rem; }
}

/* ===== Map ===== */
@media (max-width: 639px) {
  .map-frame { aspect-ratio: 4 / 3; }
}

/* ===== Touch-target sizing on mobile ===== */
@media (max-width: 639px) {
  .btn { padding: .8rem 1.15rem; font-size: .92rem; min-height: 44px; }
  .nav__link { font-size: 1.3rem; padding: .5rem 0; min-height: 44px; display: flex; align-items: center; }
  a { text-underline-offset: 2px; }
}

/* Prevent any horizontal overflow at any size */
html, body { overflow-x: hidden; }
img { max-width: 100%; }

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switch {
  position: relative;
  display: inline-flex;
}
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: transparent;
  border: 1px solid var(--c-rule);
  border-radius: var(--r-sm);
  padding: .45rem .65rem;
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--c-ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.lang-switch__btn:hover {
  border-color: var(--c-ink);
  background: var(--c-paper-warm);
}
.lang-switch__icon {
  width: 16px; height: 16px;
  flex: 0 0 auto;
  color: var(--c-mute);
}
.lang-switch__btn:hover .lang-switch__icon { color: var(--c-ink); }
.lang-switch__current { font-weight: 500; }
.lang-switch__caret {
  font-size: .65rem;
  color: var(--c-mute);
  margin-left: .15rem;
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 200px;
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px -20px rgba(14,46,44,.30);
  padding: var(--sp-2);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 80;
}
.lang-switch[aria-expanded="true"] .lang-switch__menu,
.lang-switch__btn[aria-expanded="true"] + .lang-switch__menu {
  display: block;
}
.lang-switch__menu li { margin: 0; padding: 0; }
.lang-switch__menu button {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  font: inherit;
  font-size: .92rem;
  color: var(--c-ink);
  padding: .55rem .65rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  transition: background .15s, color .15s;
}
.lang-switch__menu button:hover {
  background: var(--c-paper-warm);
  color: var(--c-accent-deep);
}
.lang-switch__menu button[data-active="true"] {
  background: var(--c-paper-warm);
  font-weight: 600;
}
.lang-switch__menu button[data-active="true"]::before {
  content: "✓";
  margin-right: .4rem;
  color: var(--c-accent-deep);
}
.lang-switch__code {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--c-mute);
}

/* Mobile: language switcher inside the drawer */
@media (max-width: 1023px) {
  .mobile-nav-open .lang-switch {
    margin-top: var(--sp-4);
    align-self: flex-start;
  }
  .mobile-nav-open .lang-switch__btn {
    padding: .65rem .9rem;
    font-size: .9rem;
  }
  .mobile-nav-open .lang-switch__menu {
    right: auto; left: 0;
  }
}

/* Hide Google Translate's default UI elements that it injects */
.goog-te-banner-frame.skiptranslate,
.goog-logo-link,
.goog-te-gadget span,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
.goog-te-gadget { color: transparent !important; font-size: 0 !important; }
body { top: 0 !important; }
.skiptranslate iframe { display: none !important; }

/* RTL support for Arabic */
html[dir="rtl"] .nav__list { flex-direction: row-reverse; }
html[dir="rtl"] .lang-switch__menu { right: auto; left: 0; }
html[dir="rtl"] .hero__content { text-align: right; }

/* Translation notice banner */
.translate-notice {
  position: fixed;
  bottom: 90px;
  right: 20px;
  max-width: 320px;
  background: var(--c-ink);
  color: var(--c-paper);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: .82rem;
  line-height: 1.45;
  box-shadow: 0 16px 36px -12px rgba(14,46,44,.45);
  z-index: 99;
  border: 1px solid var(--c-accent);
}
.translate-notice strong { color: var(--c-accent-soft); }
.translate-notice button {
  margin-top: var(--sp-3);
  background: transparent;
  border: 1px solid rgba(242,235,221,.4);
  color: var(--c-paper);
  padding: .35rem .8rem;
  border-radius: var(--r-sm);
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.translate-notice button:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
@media (max-width: 639px) {
  .translate-notice { left: 14px; right: 14px; bottom: 80px; max-width: none; }
}

/* ============================================
   REVIEWS & SOCIAL SECTION
   ============================================ */
.reviews { padding: var(--sp-9) 0; }
.reviews__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--sp-7);
  align-items: center;
}
@media (max-width: 1023px) {
  .reviews__inner { grid-template-columns: 1fr; gap: var(--sp-5); }
}
.reviews__head h2 { max-width: 16ch; }
.reviews__head .lede { max-width: 38ch; }

.reviews__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: var(--sp-3);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--c-ink);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 160px;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(14,46,44,.25);
  border-color: var(--c-accent);
}
.review-card__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-paper-warm);
  border-radius: 50%;
  color: var(--c-ink);
  flex: 0 0 auto;
  border: 1px solid var(--c-line);
}
.review-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.review-card__label {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.review-card__title {
  font-family: var(--f-display);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--c-ink);
}
.review-card__cta {
  margin-top: auto;
  padding-top: var(--sp-3);
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--c-accent-deep);
}
.review-card__cta .arr {
  transition: transform .2s ease;
  display: inline-block;
}
.review-card:hover .review-card__cta .arr { transform: translateX(3px); }

/* Instagram-specific gradient on hover */
.review-card--instagram .review-card__icon {
  background: linear-gradient(135deg, #FFD86F 0%, #FC6E51 50%, #C13584 100%);
  color: #fff;
  border-color: transparent;
}
.review-card--facebook .review-card__icon {
  background: #1877F2;
  color: #fff;
  border-color: transparent;
}

/* ============================================
   FOOTER SOCIAL ICONS
   ============================================ */
.footer-social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
  flex-wrap: wrap;
}
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242,235,221,.22);
  border-radius: 50%;
  color: rgba(242,235,221,.85);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.footer-social a:hover {
  background: var(--c-accent);
  color: var(--c-paper);
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.5), 0 4px 12px -2px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease, padding .25s ease, gap .25s ease;
  overflow: hidden;
  border: 0;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.02);
  color: #fff;
  box-shadow: 0 18px 36px -8px rgba(37,211,102,.65), 0 6px 16px -2px rgba(0,0,0,.2);
  padding-right: 22px;
  gap: 10px;
}
.wa-fab:focus-visible {
  outline: 3px solid #128C7E;
  outline-offset: 3px;
}
.wa-fab__icon {
  width: 36px; height: 36px;
  flex: 0 0 auto;
  margin: 12px;
  position: relative;
  z-index: 2;
}
.wa-fab__label {
  font-family: var(--f-body);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .25s ease, opacity .2s ease;
  position: relative; z-index: 2;
}
.wa-fab:hover .wa-fab__label {
  max-width: 220px;
  opacity: 1;
}
/* Pulse ring animation around the button */
.wa-fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25D366;
  opacity: .6;
  z-index: 1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab__pulse { animation: none; opacity: 0; }
  .wa-fab { transition: none; }
  .wa-fab:hover { transform: none; }
}
/* On small viewports always show the label compactly */
@media (max-width: 639px) {
  .wa-fab { right: 14px; bottom: 14px; height: 56px; }
  .wa-fab__icon { width: 32px; height: 32px; margin: 12px; }
  .wa-fab__label { display: none; }
  /* Avoid covering the footer-meta on very tall pages — the user can scroll past */
}

/* ============================================
   BENTO REWORK — bolder, more variety, more soul
   ============================================ */
/* Section eyebrow + headline upgrade */
.bento-eyebrow-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.bento-eyebrow-row__cta {
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 2px;
  white-space: nowrap;
}
.bento-eyebrow-row__cta:hover { color: var(--c-accent-deep); }
@media (max-width: 639px) {
  .bento-eyebrow-row { grid-template-columns: 1fr; }
}

/* Upgrade the bento card itself: stronger surface, an accent stripe at top,
   icon slot, larger numerals, interactive hover. */
.bento__card {
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(14,46,44,.04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.bento__card::before {
  /* a thin accent rule on top that grows on hover */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 3px;
  background: var(--c-accent);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -16px rgba(14,46,44,.25);
  border-color: var(--c-accent);
}
.bento__card:hover::before { width: 100%; }
.bento__num {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-mute);
  display: flex; align-items: center; gap: var(--sp-2);
}
.bento__icon {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-paper-warm);
  color: var(--c-accent-deep);
  border-radius: 50%;
  flex: 0 0 auto;
  margin-bottom: var(--sp-3);
  border: 1px solid var(--c-line);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.bento__card:hover .bento__icon { transform: rotate(-6deg) scale(1.06); background: var(--c-accent); color: var(--c-paper); }
.bento__icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* Variant: large dark hero card with a photo backdrop */
.bento__card--big {
  grid-column: span 3;
  min-height: 320px;
  background: var(--c-ink);
  color: var(--c-paper-warm);
  border-color: transparent;
  padding: var(--sp-6);
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento__card--big::before { background: var(--c-accent); height: 4px; }
.bento__card--big .bento-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.bento__card--big .bento-bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .35;
  filter: saturate(.6) contrast(1.05);
}
.bento__card--big .bento-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(14,46,44,.92) 0%, rgba(14,46,44,.55) 60%, rgba(200,99,61,.18) 100%);
}
.bento__card--big > * { position: relative; z-index: 1; }
.bento__card--big h3 { color: var(--c-paper); font-size: 2.2rem; line-height: 1.05; max-width: 14ch; }
.bento__card--big p { color: rgba(242,235,221,.82); font-size: 1rem; max-width: 36ch; }
.bento__card--big .bento__num { color: var(--c-accent-soft); }
.bento__card--big .bento__icon { background: rgba(242,235,221,.08); border-color: rgba(242,235,221,.22); color: var(--c-accent-soft); }
.bento__card--big:hover .bento__icon { background: var(--c-accent); color: var(--c-paper); }
.bento__card--big .arr { color: var(--c-accent-soft); font-size: .95rem; }

/* Variant: terracotta accent (was already there, energize it) */
.bento__card--accent {
  background: var(--c-accent);
  color: var(--c-paper);
  border-color: var(--c-accent);
}
.bento__card--accent::before { background: var(--c-paper); height: 4px; }
.bento__card--accent .bento__num { color: rgba(242,235,221,.85); }
.bento__card--accent h3 { color: var(--c-paper); }
.bento__card--accent p { color: rgba(242,235,221,.92); }
.bento__card--accent .bento__icon { background: rgba(242,235,221,.18); color: var(--c-paper); border-color: rgba(242,235,221,.3); }
.bento__card--accent:hover .bento__icon { background: var(--c-paper); color: var(--c-accent-deep); }
.bento__card--accent .arr { color: var(--c-paper); }
.bento__card--accent:hover { transform: translateY(-4px); border-color: var(--c-accent-deep); }

/* New variant: warm-cream with terracotta number */
.bento__card--warm {
  background: var(--c-paper-warm);
  border-color: var(--c-line);
}
.bento__card--warm .bento__num { color: var(--c-accent-deep); }

/* New variant: ink-on-dark mid card */
.bento__card--ink {
  background: var(--c-ink-soft);
  color: var(--c-paper-warm);
  border-color: var(--c-ink-line);
}
.bento__card--ink::before { background: var(--c-accent-soft); }
.bento__card--ink h3 { color: var(--c-paper); }
.bento__card--ink p { color: rgba(242,235,221,.78); }
.bento__card--ink .bento__num { color: var(--c-accent-soft); }
.bento__card--ink .bento__icon { background: rgba(242,235,221,.06); border-color: rgba(242,235,221,.18); color: var(--c-accent-soft); }
.bento__card--ink:hover .bento__icon { background: var(--c-accent); color: var(--c-paper); }
.bento__card--ink .arr { color: var(--c-accent-soft); }

/* New variant: gradient (gold + terracotta) */
.bento__card--gradient {
  background: linear-gradient(135deg, #D8A05A 0%, var(--c-accent) 100%);
  color: var(--c-paper);
  border-color: transparent;
}
.bento__card--gradient::before { background: var(--c-paper); }
.bento__card--gradient h3 { color: var(--c-paper); }
.bento__card--gradient p { color: rgba(242,235,221,.92); }
.bento__card--gradient .bento__num { color: rgba(242,235,221,.85); }
.bento__card--gradient .bento__icon { background: rgba(242,235,221,.2); color: var(--c-paper); border-color: rgba(242,235,221,.3); }
.bento__card--gradient .arr { color: var(--c-paper); }

/* New variant: photo background on the WIDE asylum card */
.bento__card--photo {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: transparent;
  min-height: 240px;
  padding: var(--sp-6);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bento__card--photo .bento-bg {
  position: absolute; inset: 0; z-index: 0;
}
.bento__card--photo .bento-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.7) contrast(1.05);
  opacity: .55;
}
.bento__card--photo .bento-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,46,44,.30) 0%, rgba(14,46,44,.85) 100%);
}
.bento__card--photo > * { position: relative; z-index: 1; }
.bento__card--photo h3 { color: var(--c-paper); font-size: 1.8rem; }
.bento__card--photo p { color: rgba(242,235,221,.85); }
.bento__card--photo .bento__num { color: var(--c-accent-soft); }
.bento__card--photo::before { background: var(--c-accent); height: 4px; }

/* The "case review" final card gets a special border ribbon treatment */
.bento__card--special {
  background: var(--c-paper-cool);
  border: 2px dashed var(--c-accent);
}
.bento__card--special::before { background: transparent; height: 0; }
.bento__card--special .bento__num { color: var(--c-accent-deep); }
.bento__card--special:hover { background: var(--c-paper-warm); border-style: solid; }

/* Force darker-card body text on small screens */
@media (max-width: 639px) {
  .bento__card--big { padding: var(--sp-5); min-height: 220px; }
  .bento__card--big h3 { font-size: 1.5rem; }
  .bento__card--photo { min-height: 200px; padding: var(--sp-5); }
  .bento__card--photo h3 { font-size: 1.4rem; }
}

/* Slim down section padding above the bento on mobile so it doesn't feel empty */
@media (max-width: 639px) {
  .bento { margin-top: var(--sp-4); }
}

/* ============================================
   BOLDER PASS — hero, trust row, sections
   ============================================ */

/* Big italic accent on the hero title gets a richer color */
.hero__title em {
  background: linear-gradient(120deg, #C8633D 0%, #D8A05A 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

/* Hero CTAs: stronger primary button */
.btn--primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-paper);
  box-shadow: 0 8px 22px -8px rgba(200,99,61,.55);
}
.btn--primary:hover {
  background: var(--c-accent-deep);
  border-color: var(--c-accent-deep);
  box-shadow: 0 14px 28px -8px rgba(200,99,61,.7);
}

/* (Removed dead .hero__photo overrides — now handled by .hero__media in .hero--bleed.) */

/* A subtle decorative grid line behind the hero on desktop only */
@media (min-width: 1024px) {
  .hero::before {
    content: "";
    position: absolute; inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(to right, rgba(14,46,44,.06) 1px, transparent 1px);
    background-size: 8.333% 100%;
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    z-index: 0;
  }
  .hero .wrap { position: relative; z-index: 1; }
}

/* Trust row: bigger numbers, accent underline */
.trust-row {
  background: linear-gradient(180deg, transparent 0%, rgba(200,99,61,.04) 100%);
  border-top: 1px solid var(--c-accent);
  border-bottom: 1px solid var(--c-rule);
  padding: var(--sp-7) 0;
  position: relative;
}
.trust-item {
  position: relative;
  padding-left: var(--sp-5);
  border-left: 2px solid var(--c-rule);
  transition: border-color .3s;
}
.trust-item:hover { border-left-color: var(--c-accent); }
.trust-item__num {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 500;
  color: var(--c-ink);
  line-height: 0.95;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}
.trust-item__num em {
  font-style: italic;
  color: var(--c-accent-deep);
  font-weight: 400;
}
@media (max-width: 880px) {
  .trust-item { border-left: 0; padding-left: 0; padding-top: var(--sp-4); border-top: 2px solid var(--c-rule); }
  .trust-item:hover { border-top-color: var(--c-accent); border-left-color: transparent; }
}

/* "How we work" steps: bigger numerals, accent dot, hover lift */
.step {
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  background: var(--c-paper-cool);
  border: 1px solid var(--c-rule);
  border-radius: var(--r-md);
  border-top: 3px solid var(--c-accent);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.step::before {
  position: static;
  display: block;
  background: transparent;
  font-size: 2.4rem;
  font-family: var(--f-display);
  color: var(--c-accent-deep);
  margin-bottom: var(--sp-2);
  padding-right: 0;
  letter-spacing: -0.01em;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -16px rgba(14,46,44,.22);
  border-color: var(--c-accent);
  border-top-color: var(--c-accent-deep);
}
.step h3 { font-size: 1.5rem; }

/* Quote-block in about preview: bigger, more confident */
.quote-block {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  max-width: 22ch;
  position: relative;
  padding-left: var(--sp-5);
  border-left: 3px solid var(--c-accent);
}

/* CTA band: nicer typography on dark */
.section-ink h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}
.cta-card {
  background: rgba(242,235,221,.06);
  border: 1px solid rgba(242,235,221,.22);
  transition: transform .3s ease, background .3s, border-color .3s;
}
.cta-card:hover {
  transform: translateY(-3px);
  background: rgba(200,99,61,.20);
  border-color: var(--c-accent);
}

/* Service banner: a little punchier on the home/services pages */
.service-banner img { filter: saturate(0.95) contrast(1.06); }
.service-banner::after {
  background:
    linear-gradient(135deg, rgba(14,46,44,0.16), transparent 50%),
    linear-gradient(0deg, rgba(14,46,44,0.16), transparent 30%);
}

/* Hero attrib: small accent dot before */
.hero__attrib { position: relative; }

/* (No automatic section dividers — relying on background contrast instead.) */

/* ============================================
   EDGE-TO-EDGE HERO
   ============================================ */
.hero--bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 86vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--c-ink);
  color: var(--c-paper);
  isolation: isolate;
}
.hero--bleed::before { display: none; }

/* Full-bleed photo */
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  filter: saturate(0.95) contrast(1.05);
  /* slow ken-burns push for life */
  animation: heroKen 18s ease-out forwards;
}
@keyframes heroKen {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none; }
}

/* Strong asymmetric scrim — heavy on left for text legibility */
.hero__scrim {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(95deg,
      rgba(14,46,44,.95) 0%,
      rgba(14,46,44,.85) 30%,
      rgba(14,46,44,.55) 55%,
      rgba(14,46,44,.20) 80%,
      rgba(14,46,44,.05) 100%
    ),
    linear-gradient(180deg,
      rgba(14,46,44,.10) 0%,
      transparent 30%,
      rgba(14,46,44,.30) 100%
    );
}
/* Subtle gold ambient glow lower-right */
.hero--bleed::after {
  content: "";
  position: absolute;
  right: -10%; bottom: -20%;
  width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(216,160,90,.25), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Inner content area */
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--sp-9) 0 var(--sp-8);
}
.hero__content {
  max-width: 720px;
  width: 100%;
}
.hero__content .hero__wordmark {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: .78rem;
  color: var(--c-accent-soft);
  margin-bottom: var(--sp-5);
  display: flex; align-items: center; gap: var(--sp-3);
}
.hero__content .hero__wordmark::before {
  content: "";
  width: 40px; height: 1px;
  background: var(--c-accent);
}
.hero--bleed .hero__title {
  font-size: clamp(2.6rem, 6.5vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--c-paper);
  margin: 0 0 var(--sp-5);
  font-weight: 400;
  text-wrap: balance;
}
.hero--bleed .hero__title em {
  background: linear-gradient(120deg, #E8B79A 0%, #D8A05A 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.hero--bleed .hero__lede {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: rgba(242,235,221,.88);
  max-width: 38ch;
  margin: 0 0 var(--sp-5);
}
.hero--bleed .hero__attrib {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent-soft);
  margin: 0 0 var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(242,235,221,.22);
  max-width: 38ch;
}
.hero--bleed .hero__ctas {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
}
/* A "ghost-light" button variant for use on dark backgrounds */
.btn--ghost-light {
  background: transparent;
  color: var(--c-paper);
  border: 1px solid rgba(242,235,221,.55);
  padding: .85rem 1.4rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn--ghost-light:hover {
  background: var(--c-paper);
  color: var(--c-ink);
  border-color: var(--c-paper);
  transform: translateY(-1px);
}

/* Bottom meta bar — small mono strip across the bottom of the hero */
.hero__meta {
  position: relative;
  z-index: 2;
  padding-bottom: var(--sp-6);
}
.hero__meta-row {
  border-top: 1px solid rgba(242,235,221,.18);
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242,235,221,.78);
  flex-wrap: wrap;
}
.hero__meta-label { color: var(--c-accent-soft); white-space: nowrap; }
.hero__meta-tags { display: flex; gap: var(--sp-3); flex-wrap: wrap; flex: 1; }
.hero__meta-tags span {
  display: inline-flex; align-items: center;
  padding: .25rem .55rem;
  background: rgba(242,235,221,.06);
  border: 1px solid rgba(242,235,221,.18);
  border-radius: 4px;
  color: var(--c-paper);
  letter-spacing: .12em;
}
.hero__meta-loc { color: rgba(242,235,221,.55); white-space: nowrap; }

/* Responsive */
@media (max-width: 1023px) {
  .hero--bleed { min-height: 70vh; }
  .hero__media img { object-position: center 30%; }
  .hero__scrim {
    background:
      linear-gradient(180deg,
        rgba(14,46,44,.45) 0%,
        rgba(14,46,44,.75) 60%,
        rgba(14,46,44,.95) 100%
      );
  }
  .hero__inner { padding: var(--sp-8) 0 var(--sp-6); align-items: flex-end; }
  .hero__content { max-width: 100%; }
  .hero__meta-row { gap: var(--sp-3); }
}
@media (max-width: 639px) {
  .hero--bleed { min-height: 78vh; }
  .hero__inner { padding: var(--sp-7) 0 var(--sp-5); }
  .hero--bleed .hero__title {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.02;
  }
  .hero__content .hero__wordmark { font-size: .68rem; }
  .hero--bleed .hero__lede { font-size: .98rem; }
  .hero--bleed .hero__attrib { font-size: .68rem; }
  .hero__meta { padding-bottom: var(--sp-4); }
  .hero__meta-row { font-size: .62rem; gap: var(--sp-2); }
  .hero__meta-tags span { padding: .15rem .35rem; }
  .hero__meta-loc { display: none; }
}

