/* Direction 4, The Process. Phancao & Shaffer, LLP, trading as the Asset Protection & Elder Law Center.
   One typeface (EB Garamond, SIL OFL 1.1, self-hosted), near-white ground, charcoal text,
   the logo's own gold used only as a filled marker or on a dark ground. Gold is never text on white. */

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-normal-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e8;
  --white: #ffffff;
  --ink: #262624;
  --ink-2: #5a574f;
  --rule: #d9d4c7;
  --rule-2: #ebe7dd;
  --gold: #efd038;
  --gold-press: #e4c62a;
  --navy: #0d476c;
  --dark: #1e1e1c;
  --dark-2: #2a2a27;
  --serif: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --measure: 36rem;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--rule); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--navy); }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.5rem; font-weight: 600; }
.lede { font-size: 1.3125rem; color: var(--ink-2); line-height: 1.5; }
.measure { max-width: var(--measure); }
.wrap { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.sc { font-variant-caps: small-caps; letter-spacing: .06em; font-feature-settings: "smcp", "kern"; }
.muted { color: var(--ink-2); }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #111; padding: .5em 1em; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Buttons. Gold is a filled block carrying black type, 13.75:1. */
.btn {
  display: inline-block;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
  padding: .85em 1.35em;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #111; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-press); border-color: var(--gold-press); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-quiet:hover { border-color: var(--ink); }
.btn-dark { background: var(--gold); color: #111; }

/* Navigation. Thin, sticky, shrinks on scroll. Nav height and headline size share one budget:
   64px bar, 52px once scrolled, headline capped at 56px. */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-2);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--nav-h);
  transition: height .28s var(--ease);
}
.nav.is-compact .wrap { height: 52px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; transition: height .28s var(--ease); }
.nav.is-compact .brand img { height: 26px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; margin: 0 1.6rem 0 auto; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; font-size: 1rem; }
.nav-links a:hover { text-decoration: underline; text-decoration-color: var(--navy); }
.nav-phone { font-size: 1rem; padding: .6em 1em; }
.nav-toggle {
  display: none; font: inherit; font-size: 1rem; background: none; border: 1px solid var(--rule);
  border-radius: 2px; padding: .45em .8em; color: var(--ink); cursor: pointer;
}

/* Hero. Text only, on purpose. The photograph comes next, on white, where its baked-in fade reads as intended. */
.hero { padding: clamp(3.25rem, 8vw, 6.5rem) 0 clamp(2.25rem, 5vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero-aside .q { max-width: 26rem; }
.hero h1 { max-width: 20ch; margin-bottom: .55em; }
.hero .lede { max-width: 40rem; margin-bottom: 1.6em; font-size: clamp(1.2rem, 1.9vw, 1.375rem); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-bottom: 2.25rem; }
.identity { font-size: 1rem; color: var(--ink-2); }
.identity span::after { content: "\00a0\00b7\00a0"; }
.identity span:last-child::after { content: ""; }

/* The team photograph. 1300 px native, never upscaled, white fade baked into the file.
   It sits on a pure-white band and the CSS finishes the fade the file starts. */
.team { background: var(--white); padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(1.25rem, 2.5vw, 2rem); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.team figure { margin: 0 auto; max-width: 1300px; }
.team-frame { position: relative; }
.team-frame::before, .team-frame::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 16%; pointer-events: none;
}
.team-frame::before { left: 0; background: linear-gradient(to right, var(--white), rgba(255, 255, 255, 0)); }
.team-frame::after { right: 0; background: linear-gradient(to left, var(--white), rgba(255, 255, 255, 0)); }
.team figcaption { text-align: center; font-size: 1rem; color: var(--ink-2); margin-top: 1rem; }

/* Divider: the logo's own gold rule, broken for the ampersand. Motif surface one. */
.divider { display: flex; align-items: center; gap: 1.25rem; margin: 0 auto; max-width: 74rem; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.divider::before, .divider::after { content: ""; flex: 1; height: 2px; background: var(--gold); }
.divider svg { width: 44px; height: auto; flex: none; }

/* Permission block. Two S-hook quotes beside two plain sentences of ours. */
.permission { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote-stack { display: grid; gap: 1.75rem; }

/* Quotes. Their words, in italic, with the attribution in small caps. Never in a carousel. */
.q { margin: 0; padding: 0; }
.q p { font-style: italic; font-size: 1.25rem; line-height: 1.5; margin: 0 0 .5em; }
.q p::before { content: "\201C"; }
.q p::after { content: "\201D"; }
.q footer { font-style: normal; font-size: .95rem; color: var(--ink-2); }
.q.q-large p { font-size: clamp(1.35rem, 2.1vw, 1.625rem); line-height: 1.45; }
.q.q-rule { border-top: 2px solid var(--gold); padding-top: 1.1rem; }

/* Placeholders: visibly unfinished by design. An invented fact looks exactly like a real one. */
.ph {
  display: inline-block;
  background: #fff6cf;
  border: 1px dashed #b89a12;
  color: #4a3f00;
  padding: .12em .5em;
  font-size: .92em;
  font-style: normal;
  line-height: 1.4;
  border-radius: 2px;
}

/* The sequence. One line from the first call to lifetime guidance, drawn as you scroll.
   Gold discs mark the steps. No numerals: the line carries the order. */
.how { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 4rem); }
.how-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.how-head .lede { max-width: 40rem; }
.how-head h2 { max-width: 20ch; }
.path { list-style: none; margin: 0; padding: 0; position: relative; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 clamp(1rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.step:last-child { padding-bottom: 1rem; }
.step-rail { position: relative; }
.step-rail::before {
  content: ""; position: absolute; left: calc(1.25rem - 1px); top: 1.1rem; bottom: -1.1rem; width: 2px; background: var(--rule);
}
.step:last-child .step-rail::before { display: none; }
.step-rail::after {
  content: ""; position: absolute; left: calc(1.25rem - 1px); top: 1.1rem; bottom: -1.1rem; width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease);
}
.step:last-child .step-rail::after { display: none; }
.step.is-seen .step-rail::after { transform: scaleY(1); }
.marker {
  display: block; position: relative; z-index: 1;
  width: 1.1rem; height: 1.1rem; margin: .55rem auto 0;
  border-radius: 50%; border: 2px solid var(--gold); background: var(--paper);
  transition: background-color .5s var(--ease) .15s;
}
.step.is-seen .marker { background: var(--gold); }
.step-body { min-width: 0; }
.step-body h3 { margin-bottom: .35em; }
.step-body .sub { font-size: 1.25rem; color: var(--ink-2); margin: -.25em 0 .9em; }
.step-body .measure { max-width: 40rem; }
.step-body .measure > p:last-child { margin-bottom: 0; }
.step-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.portrait { margin: 0; }
.portrait img { border-radius: 3px; width: 100%; }
.portrait figcaption { font-size: .95rem; color: var(--ink-2); margin-top: .6rem; }
.step-quotes { display: grid; gap: 1.5rem; margin-top: 1.5rem; max-width: 40rem; }
.end-mark { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.5rem; color: var(--ink-2); font-size: 1.1rem; max-width: 40rem; }
.end-mark svg { width: 58px; height: auto; flex: none; }

/* One client's whole story. */
.story { background: var(--paper-2); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.story h2 { max-width: 22ch; }
.story .q { max-width: 52rem; border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.story .q p { font-size: 1.3rem; }

/* What the fee includes. Two clusters of her own list, and the questions left open. */
.includes { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.includes h2 { max-width: 20ch; }
.incl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 2rem; }
.incl-list { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.incl-list li { position: relative; padding-left: 2rem; margin-bottom: .45em; }
.incl-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.15rem; height: .78rem;
  background: url("assets/amp.svg") no-repeat center / contain;
}
.incl-group h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .5em; }
.fee-block { margin: 0; }
.fee-block dt { font-weight: 600; margin-top: 1.1em; }
.fee-block dt:first-child { margin-top: 0; }
.fee-block dd { margin: .2em 0 0; }

/* A person, not a number. Three quotes, side by side, no cards. */
.proof { background: var(--paper-2); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2rem; }

/* Who you will meet. Four portraits, square crops, no cards. */
.people { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2.25rem; }
.person { margin: 0; }
.person img { border-radius: 3px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.person figcaption { margin-top: .85rem; }
.person .name { font-size: 1.25rem; font-weight: 600; display: block; }
.person .role { font-size: 1rem; color: var(--ink-2); display: block; margin-top: .15em; }
.people-notes { margin-top: 2rem; max-width: 44rem; }

/* If someone has just died. A quieter band, its own entrance, no urgency except the real kind. */
.after { background: var(--white); border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.after .inner { max-width: 44rem; border-left: 3px solid var(--gold); padding-left: clamp(1.25rem, 3vw, 2.25rem); }
.after h2 { max-width: 22ch; }

/* Read first, call later. */
.library { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.library h2 { max-width: 22ch; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 3rem); margin: 2.25rem 0; padding: 1.5rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.facts dt { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; font-weight: 500; }
.facts dd { margin: .3em 0 0; font-size: 1rem; color: var(--ink-2); }

/* Closing band. Dark ground, gold as accent, the ampersand as a watermark. Motif surface three. */
.closing { position: relative; overflow: hidden; background: var(--dark); color: #f4f1e8; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.closing::after {
  content: ""; position: absolute; right: -4%; top: -10%; width: min(44vw, 520px); aspect-ratio: 82.52 / 55.7;
  background: url("assets/amp.svg") no-repeat center / contain; opacity: .11; pointer-events: none;
}
.closing .wrap { position: relative; }
.closing h2 { max-width: 22ch; color: #ffffff; }
.closing .lede { color: #d8d3c6; max-width: 34rem; }
.closing .phone { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; color: var(--gold); text-decoration: none; margin: 1.25rem 0 .35rem; line-height: 1.1; }
.closing .phone:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.closing .offices { color: #d8d3c6; font-size: 1rem; margin-bottom: 2rem; }
.closing .btn-quiet { color: #f4f1e8; border-color: #6b6a63; }
.closing .btn-quiet:hover { border-color: #f4f1e8; }

/* Footer. Light, the mark as printed, the settled contact block. */
.foot { padding: clamp(2.5rem, 6vw, 4rem) 0 2.5rem; font-size: 1rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.foot img { height: 34px; width: auto; margin-bottom: 1rem; }
.foot h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: .4em; }
.foot p { margin: 0 0 .6em; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: .95rem; }

/* Responsive. */
@media (max-width: 62rem) {
  .two-col, .incl-grid, .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-aside .q { max-width: 40rem; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid { grid-template-columns: minmax(0, 1fr); }
  .step-grid .portrait { max-width: 16rem; }
}
@media (max-width: 48rem) {
  body { font-size: 1.125rem; }
  :root { --nav-h: 58px; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.25rem; gap: .9rem;
  }
  .nav-links.is-open a { font-size: 1.125rem; }
  .nav-toggle { display: inline-block; }
  .brand img { height: 24px; }
  .nav.is-compact .brand img { height: 22px; }
  .nav-phone { margin-left: auto; font-size: .95rem; padding: .55em .75em; }
  .nav-toggle { margin-left: .5rem; }
  .step { grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0 1rem; }
  .step-rail::before, .step-rail::after { left: calc(.875rem - 1px); }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .person .name { font-size: 1.1rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .closing::after { width: 70vw; right: -20%; top: auto; bottom: -12%; }
  .team-frame::before, .team-frame::after { width: 10%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step-rail::after, .marker, .nav .wrap, .brand img, .btn { transition: none; }
  .step .step-rail::after { transform: scaleY(1); }
  .step .marker { background: var(--gold); }
}
