/* ═══════════════════════════════════════════════════════════════════════
   David Alonso & Associates · cpadda.com
   Aesthetic: Mexico City Cross-Border Boutique
   Warm cream paper × deep ink × terracota × ink blue
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Color (Committed strategy, warm-leaning) ── */
  --paper:        oklch(0.953 0.013 75);     /* warm cream, primary surface */
  --paper-2:      oklch(0.918 0.018 72);     /* warm tan for section breaks */
  --paper-deep:   oklch(0.870 0.025 65);     /* deeper paper for hero block */
  --ink:          oklch(0.180 0.008 70);     /* warm-tinted deep charcoal */
  --ink-2:        oklch(0.300 0.011 70);     /* secondary text */
  --ink-3:        oklch(0.520 0.012 70);     /* tertiary text, captions */
  --ink-4:        oklch(0.720 0.010 70);     /* hairline borders */
  --terracota:    oklch(0.520 0.135 45);     /* matches David's tie; primary accent */
  --terracota-deep:oklch(0.420 0.125 42);    /* hover / depth */
  --terracota-soft:oklch(0.940 0.030 50);    /* very light terracota tint */
  --ink-blue:     oklch(0.350 0.080 245);    /* secondary accent, american precision */
  --paper-dark:   oklch(0.175 0.010 70);     /* deep dark surface, footer */
  --paper-dark-2: oklch(0.245 0.012 65);     /* footer borders */

  /* ── Typography ── */
  --serif: 'Newsreader', Cambria, Georgia, serif;
  --sans:  'Manrope', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* ── Geometry ── */
  --maxw: 1240px;
  --maxw-prose: 65ch;

  /* ── Spacing scale (semantic, rem-based) ── */
  --space-1: 0.5rem;       /*  8 */
  --space-2: 1rem;         /* 16 */
  --space-3: 1.5rem;       /* 24 */
  --space-4: 2.25rem;      /* 36 */
  --space-5: 3.5rem;       /* 56 */
  --space-6: 5.5rem;       /* 88 — standard section */
  --space-7: 8rem;         /* 128 — major section breaks */

  /* ── Type scale (1.25 ratio, refined) ── */
  --t-display: clamp(2.5rem, 5.2vw, 4.125rem);   /* hero title */
  --t-h2:      clamp(2rem, 3.8vw, 2.875rem);     /* section title */
  --t-h3:      clamp(1.375rem, 1.7vw, 1.5rem);   /* practice / step title */
  --t-lead:    clamp(1.0625rem, 1.15vw, 1.1875rem);
  --t-body:    0.9375rem;
  --t-small:   0.8125rem;
  --t-micro:   0.6875rem;
}

/* ═══════════════════════════ RESET ═══════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 0; list-style: none; }

/* Paper grain — extremely subtle, gives warmth to the cream */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* ═══════════════════════════ NAV ═══════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 320ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
              padding 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.is-scrolled {
  background: color-mix(in oklch, var(--paper) 96%, transparent);
  border-bottom-color: color-mix(in oklch, var(--ink-4) 60%, transparent);
}
.nav.is-scrolled .nav__inner { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.125rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__brand { display: flex; align-items: baseline; gap: 0.875rem; flex-shrink: 0; }
.nav__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--terracota);
  border: 1px solid var(--terracota);
  padding: 0.25rem 0.625rem;
  border-radius: 1px;
}
.nav__name {
  font-family: var(--serif);
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.005em;
}
.nav__links { display: flex; gap: 2.125rem; margin: 0; }
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 0.25rem 0;
  transition: color 200ms;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--terracota);
  transition: width 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1.75rem; flex-shrink: 0; }
.lang {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  display: inline-flex;
  gap: 0.375rem;
  padding: 0;
  letter-spacing: 0.08em;
}
.lang__opt { padding: 0.125rem 0.0625rem; transition: color 200ms; }
.lang__opt.is-active { color: var(--ink); border-bottom: 1.5px solid var(--terracota); padding-bottom: 0; }
.lang__sep { color: var(--ink-4); }
.nav__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 0.625rem 1.125rem;
  transition: background 220ms, color 220ms;
  letter-spacing: 0.01em;
}
.nav__cta:hover { background: var(--ink); color: var(--paper); }

/* ═══════════════════════════ HERO ═══════════════════════════ */
.hero {
  position: relative;
  background: var(--paper);
  padding: var(--space-5) 2rem 0;
}
.hero__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 5rem;
  align-items: center;
}

.hero__portrait {
  position: relative;
  aspect-ratio: 9 / 10;
  max-width: 360px;
  margin: 0 auto;
}
.hero__portrait-block {
  position: absolute;
  top: 6%;
  left: 7%;
  width: 100%;
  height: 100%;
  background: var(--terracota);
  z-index: 0;
}
.hero__portrait-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.02);
}
.hero__portrait-caption {
  position: absolute;
  z-index: 2;
  bottom: -3rem;
  left: -1rem;
  background: var(--paper);
  border: 1px solid var(--ink-4);
  padding: 0.875rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  box-shadow: 0 2px 24px -8px color-mix(in oklch, var(--ink) 30%, transparent);
}
.portrait-caption__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
}
.portrait-caption__title {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2rem;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--terracota);
  border-radius: 50%;
  display: inline-block;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  max-width: 15ch;
  font-variation-settings: "opsz" 72;
}
.hero__title-em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--terracota);
  font-variation-settings: "opsz" 72;
}
.hero__lede {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 0 var(--space-4);
}
.hero__cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════ TRUST STRIP ═══════════════════════════ */
.trust {
  max-width: var(--maxw);
  margin: var(--space-6) auto 0;
  padding: var(--space-3) 2rem;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink-4);
  display: grid;
  grid-template-columns: repeat(11, auto);
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}
.trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}
.trust__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 36;
}
.trust__value--mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--ink-blue);
  letter-spacing: 0.04em;
  line-height: 1.55;
}
.trust__value--link {
  color: var(--terracota);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  line-height: 1.45;
  border-bottom: 1px solid color-mix(in oklch, var(--terracota) 40%, transparent);
  transition: border-color 220ms;
  align-self: flex-start;
}
.trust__value--link:hover { border-bottom-color: var(--terracota); }
.trust__label {
  font-family: var(--sans);
  font-size: var(--t-small);
  color: var(--ink-3);
  max-width: 17ch;
  line-height: 1.4;
  font-weight: 400;
}
.trust__divider {
  width: 1px;
  align-self: stretch;
  background: var(--ink-4);
  opacity: 0.5;
}

/* ═══════════════════════════ BUTTONS ═══════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 1rem 1.5rem;
  border-radius: 1px;
  border: none;
  cursor: pointer;
  transition: background 220ms, color 220ms, transform 220ms;
  letter-spacing: 0.005em;
}
.btn__arrow {
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--terracota); }
.btn--lg { padding: 1.125rem 1.75rem; font-size: 1rem; }
.btn--quiet {
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--ink-4);
  transition: border-color 220ms, color 220ms;
}
.btn--quiet:hover { border-bottom-color: var(--terracota); }
.btn__mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════ SECTION COMMON ═══════════════════════════ */
.section__kicker {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

/* ─── Editorial section marks ── A small geometric mark before each kicker.
   Pattern varies by section, creates a custom dingbat system that reads
   like book design rather than template marketing. ─── */
.kicker__mark {
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  width: 14px;
  height: 14px;
}
.kicker__mark--diamond {
  width: 9px;
  height: 9px;
  background: var(--terracota);
  transform: rotate(45deg);
}
.kicker__mark--line {
  width: 18px;
  height: 1.5px;
  background: var(--terracota);
}
.kicker__mark--triangle {
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--terracota);
  background: transparent;
}
.kicker__mark--circle {
  width: 10px;
  height: 10px;
  background: transparent;
  border: 1.5px solid var(--terracota);
  border-radius: 50%;
}
.kicker__mark--arrow {
  width: 16px;
  height: 1.5px;
  background: var(--terracota);
}
.kicker__mark--arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 1.5px solid var(--terracota);
  border-right: 1.5px solid var(--terracota);
}
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 48;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracota);
}
.section__title--small {
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
}

/* ═══════════════════════════ PULL QUOTE — David's voice ═══════════════════════════ */
.pullquote {
  background: var(--paper);
  padding: var(--space-7) 2rem var(--space-6);
}
.pullquote__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}
.pullquote__glyph {
  color: var(--terracota);
  flex-shrink: 0;
  opacity: 0.85;
}
.pullquote__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  max-width: 30ch;
  font-variation-settings: "opsz" 48;
}
.pullquote__sig {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink-4);
  font-style: normal;
}
.pullquote__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--t-body);
  color: var(--ink);
  letter-spacing: 0.005em;
}
.pullquote__role {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ═══════════════════════════ ACROSS BORDERS ═══════════════════════════ */
.across {
  background: var(--paper-2);
  padding: var(--space-7) 2rem;
  position: relative;
}
.across__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.across__head {
  text-align: center;
  margin-bottom: 5rem;
}
.across__head .section__title { max-width: 24ch; margin: 0 auto; }
.across__cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}
.jurisdiction {
  background: var(--paper);
  border: 1px solid var(--ink-4);
  padding: 2.5rem 2.25rem;
}
.jurisdiction__flag {
  display: flex;
  align-items: baseline;
  gap: 0.875rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--ink-4);
}
.flag-tag { font-size: 1.5rem; line-height: 1; }
.jurisdiction__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.jurisdiction__list { display: flex; flex-direction: column; gap: 1.125rem; margin: 0; }
.jurisdiction__list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in oklch, var(--ink-4) 40%, transparent);
}
.jurisdiction__list li:last-child { border-bottom: none; padding-bottom: 0; }
.jurisdiction__form {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--ink-blue);
  letter-spacing: 0.02em;
}
.jurisdiction__what {
  font-size: 0.9375rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.across__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 5rem;
  min-height: 100%;
}
.bridge__line {
  width: 1px;
  height: 80px;
  background: var(--terracota);
}
.bridge__text {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--terracota);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 0.5rem 0;
}

/* ═══════════════════════════ PRACTICE ═══════════════════════════ */
.practice {
  padding: var(--space-7) 2rem;
  background: var(--paper);
}
.practice__head {
  max-width: var(--maxw);
  margin: 0 auto 5rem;
}
.practice__head .section__title { max-width: 18ch; }
.practice__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: 2px;
  background: var(--ink-4);
}
.practice__item {
  background: var(--paper);
  padding: 2.625rem 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.practice__item:hover { background: var(--terracota-soft); }
/* Featured first practice item — spans full width with editorial weight */
.practice__item--featured {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  padding: 3.5rem 3rem;
  align-items: start;
}
.practice__item--featured:hover { background: var(--paper-dark); }
/* Second featured variant — terracota tone for representation/closer */
.practice__item--terracota {
  background: var(--terracota);
}
.practice__item--terracota:hover { background: var(--terracota-deep); }
.practice__item--terracota .practice__num { color: var(--paper); opacity: 0.75; }
.practice__item--terracota .practice__title { color: var(--paper); }
.practice__item--terracota .practice__body { color: color-mix(in oklch, var(--paper) 92%, transparent); }
.practice__item--terracota .practice__tag { color: color-mix(in oklch, var(--paper) 80%, transparent); border-top-color: color-mix(in oklch, var(--paper) 20%, transparent); }
.practice__item--featured .practice__num { color: var(--terracota); font-size: var(--t-small); }
.practice__item--featured .practice__title {
  color: var(--paper);
  font-size: clamp(1.75rem, 2.3vw, 2.125rem);
  font-variation-settings: "opsz" 36;
  max-width: none;
  grid-row: 1;
  grid-column: 1;
  margin: 0;
}
.practice__item--featured .practice__body {
  color: color-mix(in oklch, var(--paper) 85%, transparent);
  font-size: var(--t-lead);
  max-width: 56ch;
  grid-row: 1;
  grid-column: 2;
  margin: 0;
}
.practice__item--featured .practice__num {
  grid-row: 1;
  grid-column: 1;
  align-self: start;
  position: absolute;
  top: 2.5rem;
  left: 3rem;
}
.practice__item--featured .practice__tag {
  color: var(--terracota);
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-dark-2);
}
.practice__num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--terracota);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.practice__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
  font-variation-settings: "opsz" 24;
}
.practice__body {
  font-size: var(--t-body);
  line-height: 1.62;
  color: var(--ink-2);
  margin: 0;
  max-width: 48ch;
}
.practice__tag {
  margin-top: auto;
  padding-top: var(--space-3);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ═══════════════════════════ APPROACH ═══════════════════════════ */
.approach {
  background: var(--paper-deep);
  padding: var(--space-7) 2rem;
  color: var(--ink);
}
.approach__inner { max-width: var(--maxw); margin: 0 auto; }
.approach__head {
  margin-bottom: 4.5rem;
  max-width: 32ch;
}
.steps { display: grid; gap: 3rem; }
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--ink-4);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step__num {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 3rem;
  color: var(--terracota);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.step__body { padding-top: 0.5rem; }
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-h3);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.875rem;
  font-variation-settings: "opsz" 24;
}
.step__desc {
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

/* ═══════════════════════════ TESTIMONIALS ═══════════════════════════ */
.testimonials {
  background: var(--paper);
  padding: var(--space-7) 2rem;
}
.testimonials__head {
  max-width: var(--maxw);
  margin: 0 auto 4.5rem;
  text-align: center;
}
.testimonials__head .section__title { max-width: 18ch; margin: 0 auto; }
.testimonials__rating {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}
.rating-stars { display: inline-flex; gap: 0.25rem; }
.rating-stars span {
  width: 18px; height: 18px;
  background: var(--terracota);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.rating__text {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

.testimonials__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--ink-4);
}
.testimonial {
  background: var(--paper);
  padding: 3rem 2.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: background 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial:hover { background: var(--paper-2); }
/* Editorial drop quote on first testimonial */
.testimonial:first-child::before {
  content: '“';
  position: absolute;
  top: 1.4rem;
  left: 1.8rem;
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--terracota);
  opacity: 0.45;
  font-variation-settings: "opsz" 144;
  pointer-events: none;
  letter-spacing: -0.04em;
}
.testimonial:first-child .testimonial__text {
  padding-top: 1.5rem;
}
.testimonial__text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 24;
}
.testimonial__cite {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-4);
}
.cite__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.cite__meta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════ OFFICE / MAP (overlay treatment) ═══════════════════════════ */
.office {
  position: relative;
  background: var(--paper);
}
.office__map {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: hidden;
  background: var(--paper-2);
}
.office__map iframe {
  width: 100%;
  height: 100%;
  filter: saturate(0.7) contrast(0.95) sepia(0.12);
}
.office__map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, color-mix(in oklch, var(--paper) 35%, transparent), transparent 30%, transparent 70%, color-mix(in oklch, var(--paper) 25%, transparent));
  pointer-events: none;
}
.office__card {
  position: absolute;
  top: 50%;
  right: 6rem;
  transform: translateY(-50%);
  width: min(420px, calc(100% - 4rem));
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem 2.5rem 2.25rem;
  box-shadow:
    0 1px 0 color-mix(in oklch, var(--paper-dark-2) 100%, transparent),
    0 24px 64px -16px color-mix(in oklch, var(--ink) 50%, transparent),
    0 8px 24px -8px color-mix(in oklch, var(--ink) 30%, transparent);
  z-index: 2;
}
.office__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 1.25rem;
}
.office__card-dot {
  width: 6px; height: 6px;
  background: var(--terracota);
  border-radius: 50%;
  display: inline-block;
}
.office__card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.125rem;
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--paper);
  margin: 0 0 1rem;
  font-variation-settings: "opsz" 48;
}
.office__card-title em { font-style: italic; font-weight: 400; color: var(--terracota); }
.office__card-desc {
  font-size: var(--t-body);
  line-height: 1.6;
  color: color-mix(in oklch, var(--paper) 80%, transparent);
  margin: 0 0 1.5rem;
}
.office__details {
  margin: 0;
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--paper-dark-2);
  border-bottom: 1px solid var(--paper-dark-2);
}
.office__details div {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.office__details dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: color-mix(in oklch, var(--paper) 55%, transparent);
  text-transform: uppercase;
  font-weight: 500;
}
.office__details dd {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: color-mix(in oklch, var(--paper) 92%, transparent);
  margin: 0;
}
.office__details a {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--paper);
  border-bottom: 1px solid var(--terracota);
  padding-bottom: 1px;
  transition: color 200ms;
}
.office__details a:hover { color: var(--terracota); }
.office__directions {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--terracota);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 220ms;
  align-self: flex-start;
}
.office__directions:hover { border-bottom-color: var(--terracota); }

/* ═══════════════════════════ BOOK (Calendly inline embed) ═══════════════════════════ */
.book {
  background: var(--paper);
  padding: var(--space-7) 2rem;
}
.book__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-5);
  align-items: start;
}
.book__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin: 0 0 var(--space-3);
  font-variation-settings: "opsz" 48;
}
.book__title em { font-style: italic; font-weight: 400; color: var(--terracota); }
.book__lede {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 42ch;
  margin: 0 0 var(--space-4);
}
.book__alt-block {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink-4);
  max-width: 28ch;
}
.book__alt-line {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin: 0;
}
.book__phone {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--terracota);
  align-self: flex-start;
  padding-bottom: 2px;
}
.book__phone:hover { color: var(--terracota); }
.book__embed {
  background: var(--paper-2);
  border: 1px solid var(--ink-4);
  padding: 1.25rem 1.25rem 0;
}
.book__embed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 1rem;
}
.book__embed-label {
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.book__embed-dot {
  width: 8px; height: 8px;
  background: var(--terracota);
  border-radius: 50%;
  animation: pulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.45; }
}

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
.foot {
  background: var(--paper-dark);
  color: color-mix(in oklch, var(--paper) 78%, transparent);
  padding: 5rem 2rem 2rem;
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--paper-dark-2);
}
.foot__col--brand { padding-right: 2rem; }
.foot__mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  color: var(--terracota);
  border: 1px solid var(--terracota);
  padding: 0.25rem 0.625rem;
  border-radius: 1px;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.foot__brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--paper);
  margin-bottom: 1.25rem;
  letter-spacing: -0.005em;
}
.foot__brand-line {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: color-mix(in oklch, var(--paper) 65%, transparent);
  margin: 0;
  max-width: 36ch;
}
.foot__heading {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.foot__list { display: flex; flex-direction: column; gap: 0.625rem; margin: 0; }
.foot__list li {
  font-size: 0.9375rem;
  color: color-mix(in oklch, var(--paper) 80%, transparent);
}
.foot__list a:hover { color: var(--terracota); }
.foot__list--mono li { font-family: var(--mono); font-size: 0.8125rem; }
.foot__address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: color-mix(in oklch, var(--paper) 80%, transparent);
}
.foot__address a { color: var(--paper); border-bottom: 1px solid var(--terracota); }
.foot__calendar {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding: 0;
}
.foot__calendar-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: color-mix(in oklch, var(--paper) 75%, transparent);
  line-height: 1.6;
}
.foot__calendar-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--terracota);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
}
.foot__calendar-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--terracota);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.foot__calendar-text {
  color: color-mix(in oklch, var(--paper) 70%, transparent);
}

.foot__legal {
  max-width: var(--maxw);
  margin: 1.75rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklch, var(--paper-dark-2) 70%, transparent);
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: color-mix(in oklch, var(--paper) 45%, transparent);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════ */
@media (max-width: 960px) {
  .nav__inner { padding: 0.875rem 1.25rem; gap: 1rem; }
  .nav__links { display: none; }
  .nav__name { display: none; }
  .nav__cta { display: none; }

  .hero { padding: 3rem 1.25rem 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 4rem; }
  .hero__portrait { max-width: 380px; }
  .hero__portrait-caption { bottom: -2rem; left: 0; right: 0; max-width: 320px; }
  .hero__cta { flex-direction: column; align-items: flex-start; gap: 1.125rem; }

  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
    margin-top: 5rem;
    padding: 2rem 1.25rem;
  }
  .trust__divider { display: none; }
  .trust__value { font-size: 1.75rem; }

  .across { padding: 5rem 1.25rem; }
  .across__cols { grid-template-columns: 1fr; gap: 1rem; }
  .across__bridge { flex-direction: row; padding: 1rem 0; min-height: auto; }
  .bridge__line { width: 60px; height: 1px; }
  .bridge__text { writing-mode: horizontal-tb; transform: none; padding: 0 1rem; }

  .practice { padding: 5rem 1.25rem; }
  .practice__grid { grid-template-columns: 1fr; }
  .practice__item { padding: 2.25rem 1.5rem 2rem; }

  .approach { padding: 5rem 1.25rem; }
  .step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .step__num { font-size: 2.25rem; }

  .testimonials { padding: 5rem 1.25rem; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .testimonial { padding: 2.25rem 1.5rem; }

  .office__map { height: 460px; }
  .office__card {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: auto;
    margin: -3rem 1.25rem 0;
    padding: 2rem 1.75rem;
  }
  .office__card-title { font-size: 1.75rem; }

  .book { padding: 5rem 1.25rem; }
  .book__inner { grid-template-columns: 1fr; gap: 3rem; }

  .foot__inner { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; padding-bottom: 3rem; }
  .foot__col--brand { grid-column: 1 / -1; padding-right: 0; }
  .foot { padding: 4rem 1.25rem 2rem; }
}

@media (max-width: 600px) {
  .trust { grid-template-columns: 1fr; gap: 1.5rem; }
  .jurisdiction__list li { grid-template-columns: 1fr; gap: 0.375rem; }
}

/* ═══════════════════════════ REVEAL / MOTION ═══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Hero entrance — staggered with optical-size variable serif breathing in */
.hero__title,
.hero__lede,
.hero__cta,
.hero__portrait,
.hero__eyebrow {
  animation: heroEntry 900ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero__eyebrow  { animation-delay:  120ms; }
.hero__title    { animation-delay:  240ms; }
.hero__lede     { animation-delay:  420ms; }
.hero__cta      { animation-delay:  560ms; }
.hero__portrait { animation-delay:    0ms; animation-duration: 1100ms; }

@keyframes heroEntry {
  from {
    opacity: 0;
    transform: translateY(18px);
    font-variation-settings: "opsz" 18;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    font-variation-settings: "opsz" 72;
  }
}

@keyframes heroPortraitEntry {
  from { opacity: 0; transform: translate(-12px, 8px); }
  to   { opacity: 1; transform: translate(0,0); }
}
.hero__portrait { animation-name: heroPortraitEntry; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .reveal,
  .hero__title, .hero__lede, .hero__cta, .hero__portrait, .hero__eyebrow {
    opacity: 1; transform: none;
  }
}
