/* ============================================================
   AMICUS — fictional law firm template
   Warm, precise, controlled. Light theme, serif-led.
   Effects budget: transform/opacity only. No layout reads in
   hot paths. Reveals via one IntersectionObserver.
   ============================================================ */

:root {
  --paper:     #f6f1e8;
  --paper-2:   #efe7d9;
  --card:      #fdfaf3;
  --ink:       #211d18;
  --ink-soft:  #6b6357;
  --clay:      #9c4a2f;
  --clay-deep: #7c3922;
  --line:      rgba(33, 29, 24, 0.14);
  --line-soft: rgba(33, 29, 24, 0.08);
  --shadow:    0 1px 2px rgba(33, 29, 24, .05), 0 12px 32px -12px rgba(33, 29, 24, .18);
  --serif:     "Newsreader", Georgia, serif;
  --sans:      "Instrument Sans", system-ui, sans-serif;
  --ease:      cubic-bezier(.22, .8, .3, 1);
  --wrap:      1200px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(156, 74, 47, .22); }

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

a { color: inherit; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.skip-link {
  position: fixed; top: -3rem; left: 1rem; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: .6rem 1rem; border-radius: 0 0 10px 10px;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

/* ---------- type helpers ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }

h1 em, h2 em { font-style: italic; color: var(--clay); }

.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--clay);
  margin-bottom: 1.1rem;
}
.eyebrow em { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .02em; text-transform: none; font-weight: 400; }

.section { padding: clamp(5rem, 10vw, 8.5rem) clamp(1.25rem, 5vw, 4rem); }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: var(--wrap); margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18em; }
.section-sub { max-width: 34em; margin-top: 1.2rem; color: var(--ink-soft); }

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

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 1rem 1.6rem; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: .68rem 1.15rem; font-size: .92rem; }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.08rem; }

.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--clay-deep); }

.btn-ghost { border: 1px solid var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}

.nav-inner {
  max-width: calc(var(--wrap) + 4rem);
  margin: 0 auto;
  display: flex; align-items: center; gap: 2rem;
  padding: 1rem clamp(1.25rem, 4vw, 2rem);
}

.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: 1.06rem; letter-spacing: .16em;
  text-decoration: none; color: var(--ink);
}
.logo-mark { width: 30px; height: 30px; color: var(--ink); }

.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a {
  font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  background-image: linear-gradient(var(--clay), var(--clay));
  background-repeat: no-repeat; background-size: 0% 1.5px; background-position: 0 100%;
  padding-bottom: 3px;
  transition: color .25s var(--ease), background-size .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); background-size: 100% 1.5px; }

.nav-actions { display: flex; align-items: center; gap: 1.2rem; }
.nav-phone { font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.nav-phone:hover { color: var(--clay); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .6rem .2rem; }
.nav-burger i { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-burger[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-phone { display: none; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
    padding: .5rem 1.25rem 1rem;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.menu-open { background: var(--card); }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero { padding: clamp(7rem, 14vh, 9.5rem) clamp(1.25rem, 5vw, 4rem) 0; }

.hero-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  max-width: 9.5em;
  text-wrap: balance;
}

.hero-sub {
  margin-top: 1.6rem; max-width: 30em;
  font-size: 1.125rem; color: var(--ink-soft);
}

.hero-proof {
  list-style: none; margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
}
.hero-proof li {
  font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: .5rem;
}
.hero-proof li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--clay); flex-shrink: 0;
}
.hero-proof sup { font-size: .7em; }

/* stagger the hero children a touch */
.hero-copy .reveal:nth-child(1) { transition-delay: .05s; }
.hero-copy .reveal:nth-child(2) { transition-delay: .12s; }
.hero-copy .reveal:nth-child(3) { transition-delay: .2s; }
.hero-copy .reveal:nth-child(4) { transition-delay: .28s; }
.intake.reveal { transition-delay: .34s; }

/* ---------- intake card ---------- */

.intake { scroll-margin-top: 6rem; }

.intake-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  position: relative;
}

.intake-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  margin-bottom: 1.4rem;
}
.intake-kicker { font-family: var(--serif); font-size: 1.45rem; }
.intake-step { font-size: .82rem; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }

.intake-pane { border: 0; display: none; }
.intake-pane.is-active { display: block; animation: pane-in .4s var(--ease); }
@keyframes pane-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intake-pane.is-active { animation: none; } }

.intake-q { font-weight: 600; font-size: .98rem; margin-bottom: 1rem; }

.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.chip {
  padding: .85rem 1rem; border-radius: 12px;
  border: 1px solid var(--line);
  font-size: .95rem; font-weight: 500; text-align: left;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--clay); background: rgba(156, 74, 47, .06); transform: translateY(-1px); }
.chip:active { transform: none; }

.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: .75rem .9rem; resize: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(107, 99, 87, .65); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(156, 74, 47, .14);
}
.field input.is-invalid { border-color: #a33a2a; box-shadow: 0 0 0 3px rgba(163, 58, 42, .12); }

.field-error { font-size: .85rem; color: #a33a2a; margin: -.2rem 0 .6rem; }

.intake-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.intake-nav .btn-solid { flex: 1; }

.intake-done { text-align: center; padding: 1rem 0 .5rem; }
.done-mark { width: 52px; height: 52px; color: var(--clay); margin: 0 auto 1rem; }
.intake-done h3 { font-size: 1.7rem; margin-bottom: .6rem; }
.intake-done p { color: var(--ink-soft); font-size: .98rem; max-width: 26em; margin: 0 auto; }
.intake-done a { color: var(--clay-deep); font-weight: 600; }

.intake-fine {
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft);
  font-size: .8rem; color: var(--ink-soft); text-align: center;
}

/* ---------- trust bar ---------- */

.trustbar { border-top: 1px solid var(--line); }
.trust-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.8rem, 3.5vw, 2.6rem) 0;
  gap: 1.5rem;
}
.trust-item dt { font-size: .85rem; color: var(--ink-soft); order: 2; }
.trust-item dd {
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin-bottom: .2rem;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item:nth-child(2) { transition-delay: .08s; }
.trust-item:nth-child(3) { transition-delay: .16s; }
.trust-item:nth-child(4) { transition-delay: .24s; }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 14em; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .chip-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}

/* ============================================================
   PRACTICE
   ============================================================ */

.practice-list { max-width: var(--wrap); margin: 0 auto; list-style: none; border-top: 1px solid var(--line); }

.practice-row a {
  display: grid;
  grid-template-columns: 3.5rem 15rem 1fr 3rem;
  align-items: baseline; gap: 1.5rem;
  padding: 1.7rem .8rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  transition: padding-left .35s var(--ease), background-color .35s var(--ease);
}
.practice-row a:hover { background: rgba(156, 74, 47, .05); padding-left: 1.6rem; }

.p-num { font-size: .85rem; font-weight: 600; color: var(--clay); font-variant-numeric: tabular-nums; }
.p-name { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; }
.p-desc { color: var(--ink-soft); font-size: .98rem; max-width: 36em; }
.p-arrow { justify-self: end; align-self: center; width: 22px; height: 22px; color: var(--clay); opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.p-arrow svg { width: 100%; height: 100%; }
.practice-row a:hover .p-arrow { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .practice-row a { grid-template-columns: 2.5rem 1fr 2rem; grid-template-rows: auto auto; }
  .p-name { grid-column: 2; }
  .p-desc { grid-column: 2; grid-row: 2; }
  .p-arrow { grid-column: 3; grid-row: 1; }
}

/* ============================================================
   CASE RESULTS (ledger)
   ============================================================ */

.ledger { max-width: var(--wrap); margin: 0 auto; border-top: 1px solid var(--line); }

.case h3 { font: inherit; }

.case-row {
  width: 100%;
  display: grid;
  grid-template-columns: 11rem 1fr auto 2.5rem;
  align-items: baseline; gap: 1.5rem;
  padding: 1.6rem .8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: background-color .3s var(--ease);
}
.case-row:hover { background: rgba(33, 29, 24, .035); }

.c-result { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--clay-deep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.c-matter { font-size: 1.05rem; font-weight: 500; }
.c-meta { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }

.c-toggle { position: relative; width: 20px; height: 20px; justify-self: end; align-self: center; }
.c-toggle::before, .c-toggle::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--ink); border-radius: 1px;
  transition: transform .35s var(--ease);
}
.c-toggle::before { width: 14px; height: 2px; }
.c-toggle::after { width: 2px; height: 14px; }
.case-row[aria-expanded="true"] .c-toggle::after { transform: rotate(90deg); }
.case-row[aria-expanded="true"] .c-toggle::before { transform: rotate(180deg); }

/* grid-rows accordion: animates without measuring heights */
.case-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
  border-bottom: 0 solid var(--line);
}
.case.is-open .case-body { grid-template-rows: 1fr; border-bottom-width: 1px; }
.case-body-inner { overflow: hidden; }
.case.is-open .case-body-inner { padding: 1.6rem .8rem 2rem; }
.case-body-inner { max-width: 44em; }
.case-body-inner p { margin-bottom: .9rem; color: var(--ink-soft); }
.case-body-inner strong { color: var(--ink); font-weight: 600; }
.case-body-inner blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.4;
  color: var(--clay-deep);
  border-left: 2px solid var(--clay);
  padding-left: 1.1rem; margin-top: 1.2rem;
}
@media (prefers-reduced-motion: reduce) { .case-body { transition: none; } }

@media (max-width: 760px) {
  .case-row { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .3rem 1rem; }
  .c-result { grid-column: 1; }
  .c-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .c-matter { grid-column: 1; grid-row: 2; }
  .c-meta { display: none; }
}

/* ============================================================
   PEOPLE
   ============================================================ */

.people-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.lawyer:nth-child(2) { transition-delay: .07s; }
.lawyer:nth-child(3) { transition-delay: .14s; }
.lawyer:nth-child(4) { transition-delay: .21s; }

.lawyer-photo {
  border-radius: 16px; overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 1.2rem;
}
.lawyer-photo img {
  aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
  transition: transform .6s var(--ease);
}
.lawyer:hover .lawyer-photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .lawyer:hover .lawyer-photo img { transform: none; } }

.lawyer h3 {
  font-size: 1.55rem; display: inline-block;
  background-image: linear-gradient(var(--clay), var(--clay));
  background-repeat: no-repeat; background-size: 0% 2px; background-position: 0 100%;
  padding-bottom: 4px;
  transition: background-size .4s var(--ease);
}
.lawyer:hover h3 { background-size: 100% 2px; }

.lawyer-role { font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--clay); margin: .3rem 0 .7rem; }
.lawyer-bio { font-size: .95rem; color: var(--ink-soft); }
.lawyer-why { margin-top: .8rem; font-family: var(--serif); font-size: 1.06rem; line-height: 1.45; }

@media (max-width: 1020px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .people-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS
   ============================================================ */

.process-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.process-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }

.office-shot { margin-top: 2.4rem; }
.office-shot img { border-radius: 16px; box-shadow: var(--shadow); }
.office-shot figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .7rem; }

.steps { list-style: none; display: grid; gap: clamp(1.8rem, 3.5vw, 2.8rem); padding-top: .5rem; }

.step { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1.2rem; position: relative; }
.step:nth-child(2) { transition-delay: .08s; }
.step:nth-child(3) { transition-delay: .16s; }

.step-num {
  font-family: var(--serif); font-size: 2.2rem; line-height: 1;
  color: var(--clay); font-variant-numeric: tabular-nums;
  padding-top: .2rem;
}
.step h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.step p { color: var(--ink-soft); max-width: 30em; }

/* connecting rule between steps */
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 1rem; top: 3.4rem; bottom: -1.9rem;
  width: 1px; background: var(--line);
}

@media (max-width: 1020px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.voices .section-head { text-align: center; }
.voices .section-head h2 { margin: 0 auto; }

.quote-stage {
  max-width: 760px; margin: 0 auto; position: relative;
  text-align: center;
  display: grid;
}

.quote {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
  padding-bottom: 4.5rem;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .quote { transition: none; } }

.quote blockquote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35; text-wrap: balance;
}
.quote figcaption { margin-top: 1.4rem; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

.quote-nav {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
}
.q-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.q-btn:hover { border-color: var(--ink); background: var(--card); }
.q-btn:active { transform: scale(.94); }
.q-btn svg { width: 18px; height: 18px; }

.q-dots { display: flex; gap: .55rem; }
.q-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line); padding: 0;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.q-dot[aria-selected="true"] { background: var(--clay); transform: scale(1.3); }

/* ============================================================
   INSIGHTS
   ============================================================ */

.insight-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.insight {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.4rem;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.insight:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .insight:hover { transform: none; } }

.insight:nth-child(3n+2) { transition-delay: .07s; }
.insight:nth-child(3n+3) { transition-delay: .14s; }

.i-tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--clay); background: rgba(156, 74, 47, .09);
  padding: .28rem .6rem; border-radius: 999px;
}
.insight h3 { font-size: 1.45rem; line-height: 1.2; }
.insight p { font-size: .93rem; color: var(--ink-soft); flex: 1; }

.i-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .9rem; border-top: 1px solid var(--line-soft);
  font-size: .84rem; color: var(--ink-soft);
}
.i-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; color: var(--ink);
}
.i-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.insight:hover .i-arrow svg { transform: translateX(4px); }

@media (max-width: 1020px) { .insight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .insight-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA + FOOTER
   ============================================================ */

.cta { text-align: center; padding-bottom: clamp(5rem, 9vw, 8rem); }
.cta-inner { max-width: 780px; margin: 0 auto; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.cta p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.1rem; }
.cta-actions { margin-top: 2.2rem; display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.cta-phone { font-weight: 600; color: var(--clay-deep); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer { background: var(--ink); color: rgba(246, 241, 232, .8); }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.logo-footer { color: var(--paper); }
.logo-footer .logo-mark { color: var(--paper); }
.footer-brand p { margin-top: 1.2rem; font-size: .95rem; line-height: 1.7; }
.footer-brand a { color: var(--paper); text-decoration: none; }
.footer-brand a:hover { color: #d9a08a; }

.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a { text-decoration: none; font-size: .95rem; transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--paper); }

.footer-note { font-size: .82rem; line-height: 1.65; color: rgba(246, 241, 232, .55); }
.footer-note p { margin-bottom: .8rem; }
.footer-note strong { color: rgba(246, 241, 232, .8); }
.footer-copy { padding-top: .6rem; }

@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
