/* ============================================================================
   THE STANDING LEDGER  ·  Frank C. Artz, CPA  ·  Direction B (the final)
   Heritage / editorial / ledger-ruled. Warm ivory paper, deep card-navy
   bands, and one royal-blue accent drawn from Frank's business card
   (Blue 1 "Card Royal" — the room's unanimous blue ask, 2026-07-10).
   Hand-rolled. No framework.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------
   Display: Georgia (the office's ask, 2026-09-18: the previous face's F/J/S alternates read as
   "messed up"). local() uses the installed Georgia on Windows/macOS/iOS; where it is
   absent (Android, this container) the browser downloads Gelasio, the Georgia-metric-
   compatible open font, so layout is identical everywhere. Body stays Newsreader. */
@font-face {
  font-family: 'Georgia Web';
  src: local('Georgia'), url('../fonts/gelasio.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Georgia Web';
  src: local('Georgia Bold'), local('Georgia-Bold'), url('../fonts/gelasio.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Georgia Web';
  src: local('Georgia Italic'), local('Georgia-Italic'), url('../fonts/gelasio-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --paper:      #F4EFE6;   /* warm ivory ground                              */
  --paper-deep: #ECE4D6;   /* deeper band / card fill                        */
  --paper-card: #FBF8F2;   /* lifted card on deep bands                      */
  --ink:        #211C18;   /* warm near-black text        14.7:1 on paper    */
  --ink-soft:   #5E5446;   /* secondary text               6.5:1 on paper    */
  --accent:     #2B4B9C;   /* card royal-blue accent  6.2:1 on paper, 8.1:1 white-on */
  --accent-deep:#20397B;   /* hover / pressed                                */
  --accent-tint:#B9C8EA;   /* light steel, for accents on the navy bands     */
  --forest:     #1C2E5A;   /* deep card-navy band ground                     */
  --scrim:      27 42 82;  /* pond-band scrim rgb, a shade lighter than --forest (Nick 2026-09-26) */
  --rule:       #8F7F62;   /* structural ledger rule      ~3.4:1 (non-text)  */
  --rule-strong: var(--accent); /* the accent rule — always tracks --accent  */
  --principal-photo: 240px; /* Frank's photo column; also the 900px clamp   */
  --rule-faint: #D8CFBE;   /* DECORATIVE ONLY (never a sole separator)       */

  --font-display: 'Georgia Web', Georgia, 'Times New Roman', Times, serif;
  --font-body:    'Newsreader', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;

  --maxw: 1160px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --header-h: 64px;

  /* Type scale — seven steps, the office's "more cohesive, less variation" ask (2026-09-18).
     Every font-size in this file maps to one of these; tune here, never per rule. Nav, buttons,
     inputs and table cells sit at a literal 1rem (table cells drop to --fs-small on phones) so the header never re-enters its 961-1150px
     squeeze (the hamburger menu's links stay a literal 1.15rem for the tap target). Phone numbers are set in the body face: Georgia's default figures are old-style
     (descending), which is the wrong shape for a number a 60+ caller has to read. */
  --fs-eyebrow: 0.74rem;
  --fs-small:   0.9rem;
  --fs-body:    clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-lede:    clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-h2:      clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  --fs-display: clamp(1.9rem, 1.3rem + 2.2vw, 2.6rem);
}

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---- Accessibility helpers ---------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--forest); color: var(--paper); padding: 0.7rem 1.1rem;
  font-family: var(--font-display); text-decoration: none; border-radius: 0 0 3px 3px;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: var(--paper); }

/* ---- Layout primitives --------------------------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.band--deep { background: var(--paper-deep); }
[id] { scroll-margin-top: calc(var(--header-h) + 14px); } /* anchor jumps clear the sticky header */
body { overflow-x: clip; }                 /* contain the full-bleed photo bands */
.bleed { margin-inline: calc(50% - 50vw); } /* break out of .wrap to viewport width */

/* Section folio: roman numeral (accent color) + plain word label (small-caps) ----- */
.folio {
  display: flex; align-items: baseline; gap: 0.7rem;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow); font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}
.folio__num { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.folio::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
  align-self: center; margin-left: 0.5rem;
}

.section-title {
  font-size: var(--fs-display);
  max-width: 22ch; margin-bottom: 0.6rem;
}
.lede { font-size: var(--fs-lede); color: var(--ink-soft); max-width: 60ch; }

/* ---- Ruling lines (the signature device) --------------------------------- */
.rule        { height: 1px; background: var(--rule); border: 0; }
.rule-double { border: 0; height: 6px; background:
  linear-gradient(var(--accent) 0 2px, transparent 2px 100%),
  linear-gradient(to bottom, transparent 0 5px, var(--rule-faint) 5px 6px); }
/* an accent-color rule that draws itself across on scroll-in */
.draw-rule {
  height: 2px; background: var(--accent); transform-origin: left center;
  transition: transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.js .draw-rule:not(.in) { transform: scaleX(0); } /* hidden only when JS is present */

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
  padding: 0.85rem 1.5rem; border: 1.5px solid transparent; border-radius: 2px;
  text-decoration: none; transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  min-height: 48px;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 var(--accent-deep); }
.btn--primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: var(--paper); }
.btn__small { font-family: var(--font-body); font-size: 1.18em; opacity: 1; font-weight: 500; font-variant-numeric: tabular-nums; } /* hero phone number, sized up so the number leads */

/* link with an accent-color underline that draws in on hover */
.link-draw { position: relative; text-decoration: none; font-family: var(--font-display); white-space: nowrap; }
.link-draw::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--accent); transition: right 0.3s ease;
}
.link-draw:hover::after { right: 0; }

/* ============================================================================
   HEADER  ·  letterhead
   ========================================================================== */
/* Slim address strip above the sticky bar (the room's ask: address + a Google Maps
   link right in the header). Not sticky — it scrolls away and the lean bar takes over. */
.topbar { background: var(--forest); color: var(--paper); font-size: var(--fs-small); }
.topbar-inner {  /* container geometry comes from the shared .wrap class on the same div */
  padding-block: 0.42rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover, .topbar a:focus-visible { color: var(--accent-tint); }
.topbar__addr { display: inline-flex; gap: 0.6rem; align-items: baseline; letter-spacing: 0.02em; min-width: 0; }
.topbar__addr-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* padding-block grows the tap target to ~40px without changing the strip's visual
   height (the links overlap the strip's own padding); margin-block cancels the growth. */
.topbar__dir, .topbar__portal {
  font-family: var(--font-display); font-weight: 400; text-decoration: underline;
  text-underline-offset: 3px; white-space: nowrap;
  padding-block: 0.72rem; margin-block: -0.72rem;
}
@media (max-width: 600px) { .topbar__addr-text { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; gap: 1.5rem;
  transition: height 0.25s ease;
}
.is-shrunk .header-inner { height: 54px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); margin-right: auto; }
/* Free-floating F per Frank (7/21 email): no box. The mark is a CSS mask of the original
   F silhouette painted with var(--accent), so it tracks the accent token
   and stays crisp at any size (his "not crisp" complaint was the small boxed raster).
   NOTE: resizing? The ≤480px block at the END of the responsive section clamps the same
   values for small phones — keep them in step. */
.brand__mark {
  width: 34px; height: 38px; flex: none; background: var(--accent);
  -webkit-mask: url(../img/logo-f-mask.png) center / contain no-repeat;
  mask: url(../img/logo-f-mask.png) center / contain no-repeat;
}
/* Single-line lockup (meeting 3): "Frank C. Artz, CPA" — short enough to sit on one line,
   so the old two-tier split (and .brand__tag) is gone with the LLC name. */
.brand__name { font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; line-height: 1; letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.0rem; position: relative; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--accent); transition: right 0.25s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  font-family: var(--font-body); font-weight: 500; color: var(--ink); text-decoration: none;
  font-variant-numeric: tabular-nums; white-space: nowrap; display: flex; align-items: center; gap: 0.4rem;
}
.header-phone strong { color: var(--accent); }
.header-phone:hover { color: var(--accent); }
.nav-toggle { display: none; }
.nav__phone, .nav__portal { display: none; } /* surfaced only inside the mobile menu */

/* ============================================================================
   HERO
   ========================================================================== */
.hero { padding-top: clamp(1.6rem, 3vw, 2.6rem); padding-bottom: var(--section-y); }
/* head / media / text grid areas (meeting 3): desktop keeps the two-column look, the ≤900px
   block reorders to title → photo → CTA → body so the photo is no longer below the fold. */
.hero__inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  grid-template-areas: "head media" "text media";
  column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: 0; align-items: center;
}
.hero__head  { grid-area: head; align-self: end; }
.hero__text  { grid-area: text; align-self: start; }
.hero__media { grid-area: media; align-self: center; }
.hero__masthead { text-transform: uppercase; letter-spacing: 0.26em; font-size: var(--fs-eyebrow); color: var(--ink-soft); font-family: var(--font-display); font-weight: 700; }
.hero__rule { margin: 0.8rem 0 1.4rem; }
/* Scale tuned down 2026-07-22 (and again 2026-07-28) for Frank's longer tagline + 79-word
   paragraph: the goal is 3 title lines at 1440 and the CTAs above the fold at 900px tall. */
.hero__title {
  font-size: var(--fs-display);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1.15rem;
}
.hero__title em { font-style: normal; color: var(--accent); }
/* Frank's verbatim paragraph runs 79 words — set it calm and readable, not display-sized. */
.hero__sub { font-size: var(--fs-body); line-height: 1.55; color: var(--ink-soft); max-width: 52ch; margin-bottom: 0.85rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 0.95rem; }
/* .hero__trust deleted with its markup (meeting 3: the three bullets duplicated header + bio). */

/* hero media: the ledger photograph as a field, Frank's plate layered over it */
.hero__media { position: relative; margin: 0; }
.hero__field { position: relative; margin: 0; }
.hero__field img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 52px -26px rgba(33,28,24,0.6); }
.hero__field-cap {
  position: absolute; top: 0.9rem; right: 0.9rem;
  background: color-mix(in srgb, var(--forest) 82%, transparent); color: var(--paper);
  font-family: var(--font-display); font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.4rem 0.65rem; border-radius: 2px; backdrop-filter: blur(2px);
}
.hero__frame { position: absolute; inset: -10px; border: 1px solid var(--rule); border-radius: 6px; pointer-events: none; }
/* Compact host card (2026-07-28, was a 43%-width plate): the photo carries the hero,
   Frank introduces it — small square portrait + name pill, bottom-left. */
.hero__card {
  position: absolute; left: clamp(0.6rem, 2vw, 1.2rem); bottom: clamp(0.6rem, 2vw, 1.2rem);
  display: flex; align-items: center; gap: 0.55rem; margin: 0;
  background: color-mix(in srgb, var(--forest) 90%, transparent); color: var(--paper);
  padding: 0.35rem 0.8rem 0.35rem 0.35rem; border-radius: 3px;
  backdrop-filter: blur(2px); box-shadow: 0 14px 30px -16px rgba(33,28,24,0.65);
}
/* Meeting 3: much smaller (the staging-a host-card size) — the room's "double photo" objection
   was size/interruption, answered by shrinking rather than removing (Nick's call). */
.hero__card img {
  width: 48px; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: 2px; border: 2px solid var(--paper-card);
}
.hero__card figcaption { font-family: var(--font-display); font-size: var(--fs-small); line-height: 1.3; display: grid; gap: 0.1rem; }
.hero__card figcaption small { font-size: var(--fs-eyebrow); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.82; }

/* ============================================================================
   TWO LANES
   ========================================================================== */
.lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.lane { padding: clamp(1.6rem, 3vw, 2.6rem); background: var(--paper-card); }
.lane + .lane { border-left: 1px solid var(--rule); }
/* Meeting 3: the business lane goes blue with white text (was paper-deep, which sank into the
   band behind it). 2026-08-05 — Nick: the CTA-button accent read too bright at card scale, so
   the fill is now --forest, the same ground as the "Thinking of becoming a client?" section,
   which also ties the two become-a-client beats together. White on --forest: 13.2:1;
   the card separates from the paper-deep band at 10.5:1. */
.lane--business { background: var(--forest); }
/* .lane.lane--business outranks the later `.lane p` rule (same class count would lose on order) */
.lane.lane--business p { color: rgba(255,255,255,0.92); }
.lane--business .lane__tag { color: #fff; }
.lane--business a { color: #fff; }
.lane--business a:hover { color: var(--accent-tint); }
.lane--business .link-draw::after { background: #fff; }
.lane--business :focus-visible { outline-color: #fff; }
.lane__tag { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--fs-eyebrow); color: var(--accent); font-weight: 700; margin-bottom: 0.8rem; }
.lane h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.95rem); margin-bottom: 0.7rem; }
.lane p { color: var(--ink-soft); }
.lane__link { margin-top: 0.5rem; display: inline-block; }

/* ============================================================================
   SWITCHING beat
   ========================================================================== */
.switch { background: var(--forest); color: var(--paper); position: relative; isolation: isolate; overflow: hidden; }
.switch__tex { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.14; filter: saturate(0.55); z-index: -1; }
.switch__inner { position: relative; }
.switch .folio { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.switch .folio__num { color: var(--accent-tint); }
.switch .folio::after { background: color-mix(in srgb, var(--paper) 30%, transparent); }
/* Meeting 3 (Angie's approved live preview): title + body stretch full width — the block reads
   as two lines instead of four — with an extra line of air before "We understand". */
.switch__title { color: var(--paper); font-size: var(--fs-display); max-width: none; margin-bottom: 1em; }
.switch__body { color: color-mix(in srgb, var(--paper) 82%, transparent); max-width: none; font-size: var(--fs-body); }
.switch__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.switch__step { border-top: 2px solid var(--accent-tint); padding-top: 0.9rem; }
.switch__step b { font-family: var(--font-display); display: block; font-size: var(--fs-lede); font-weight: 400; margin-bottom: 0.3rem; color: var(--paper); }
.switch__step span { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: var(--fs-small); }

/* ============================================================================
   SERVICES  ·  four ledger cards (07-10 graft: C's list content, E's card format)
   ========================================================================== */
/* Meeting 3 (Angie [43:09]): the aside image column is gone, so the cards run full width
   as a uniform 3×2 grid. .services__aside-col and its flex rules went with the markup. */
.services__grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: 1.5rem; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-content: start; }
.svc-card {
  position: relative; background: var(--paper-card);
  border: 1px solid var(--rule-faint); border-top: 2px solid var(--rule-strong);
  border-radius: 2px; padding: 1.35rem 1.3rem 1.15rem;
}
.svc-card__tag {
  font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0 0 0.5rem;
}
.svc-card__name { font-size: var(--fs-h3); font-weight: 400; margin-bottom: 0.45rem; }
.svc-card__desc { color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.55; margin: 0; }
/* 3 across only while there is room; 2 on tablets, 1 on phones. The 640 rule must stay
   AFTER the 900 rule — same specificity, so source order decides at narrow widths. */
@media (max-width: 900px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-cards { grid-template-columns: 1fr; } }
/* margin-top dropped with the aside column: the .services__grid gap now supplies the space,
   and keeping both stacked ~5.5rem of dead air under the cards. */
.services__aside {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: baseline;
  font-size: var(--fs-body); color: var(--ink-soft);
}
.services__aside b { font-family: var(--font-display); color: var(--ink); font-weight: 400; }

/* ---- Framed feature image (shared) -------------------------------------- */
.framed { margin: 0; position: relative; border-radius: 4px; overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 16px 36px -24px rgba(33,28,24,0.5); }
.framed img { width: 100%; display: block; }
.framed figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, color-mix(in srgb, var(--forest) 88%, transparent)); color: var(--paper); font-family: var(--font-display); font-style: italic; font-size: 0.9rem; padding: 1.6rem 0.9rem 0.7rem; }

/* ============================================================================
   THE FIRM  ·  team
   ========================================================================== */
.firm__intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: end; margin-bottom: 2.5rem; }
.firm__intro p { color: var(--ink-soft); max-width: 52ch; }
.firm__fact { border-left: 2px solid var(--accent); padding-left: 1.1rem; color: var(--ink-soft); font-size: var(--fs-body); }
.firm__fact b { font-family: var(--font-display); color: var(--ink); }

/* Frank lead block */
/* Frank at his true size (Allison/Kaelynn, 07-10 scoresheets: "make Frank the size he is",
   "proportions are off") — a notch bigger than the team rows, no longer a wall.
   align-items: start, not center (Nick 2026-09-26): the taller 4:5 photo hung below his name when
   centred. Top-aligned, his card reads like every team row. */
.principal { display: grid; grid-template-columns: var(--principal-photo) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  background: var(--paper-card); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(1.4rem, 3vw, 2.4rem); margin-bottom: 3rem; }
.principal__photo { position: relative; margin: 0; }
.principal__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; } /* 4:5 with the team tiles (Nick 2026-09-26); the hero name card has its own square file, frank-card-sq* (2026-09-28) */
.principal__photo::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(251,248,242,0.5); border-radius: 2px; pointer-events: none; }
.principal__name { font-size: var(--fs-h2); font-weight: 400; }
.principal__role { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--fs-eyebrow); color: var(--accent); font-weight: 700; margin: 0.5rem 0 1rem; }
.principal__bio { color: var(--ink-soft); max-width: 56ch; }
/* .principal__sign (the italic "Frank / FROM THE PRESIDENT" sign-off) deleted 2026-09-26, Nick:
   a signature under a third-person bio he did not sign. His name and title are already the heading. */

/* team grid */
/* Team as horizontal photo + bio rows (Angie, meeting 2: "ours also go horizontal instead
   of like little squares", with the team a notch smaller than Frank). Photos are SQUARE and
   breathe: loose natural crops, no grade/filter, backgrounds visible (the room's ask). */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 2.5vw, 2rem) clamp(1.6rem, 3vw, 2.6rem); }
.member { display: grid; grid-template-columns: 192px 1fr; gap: 1.1rem; align-items: start; margin: 0; }
.member__photo { position: relative; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; background: var(--paper-deep); }
.member__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; } /* 4:5 since staging-f (Nick 2026-09-26): every source is portrait-capable, the bios are taller than the tile anyway */
.member figcaption { padding-top: 0; }
.member__name { font-family: var(--font-display); font-size: var(--fs-lede); font-weight: 400; line-height: 1.15; }
.member__role { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.13em; font-size: var(--fs-eyebrow); font-weight: 700; color: var(--accent); margin: 0.3rem 0 0.55rem; }
.member__bio { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.5; margin: 0; }
.member__bio + .member__bio { margin-top: 0.7rem; }

/* The external review's #1 point was homepage length, and seven verbatim bios are its single
   biggest cause. Nick's spec: collapse past 15 LINES (not sentences) — hence a max-height in
   line units, not -webkit-line-clamp, which mangles Danielle's two-<p> bio. ledger.js adds the
   clamp + toggle ONLY where the text actually overflows, so short bios never show a dead
   "Read more", and the set re-evaluates on resize (a narrower column overflows sooner).
   No JS → no clamp → full text, which is the safe default. Frank's words are never cut, only
   visually collapsed: every word stays in the DOM for readers, screen readers, and crawlers. */
.js .member__bios--clamp { max-height: calc(15 * 1.5 * var(--fs-small)); overflow: hidden; position: relative; }
.js .member__bios--clamp::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3rem; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--paper-deep));
}
.bio-more {
  appearance: none; background: none; border: 0; padding: 0; margin-top: 0.55rem; cursor: pointer;
  font-family: var(--font-display); font-size: var(--fs-small); font-weight: 400; color: var(--accent);
  letter-spacing: 0.02em; border-bottom: 1px solid currentColor; line-height: 1.3;
}
.bio-more:hover { color: var(--accent-deep); }

/* Mission & Values band type (formerly the lake-tradition caption) */
.mission { max-width: 58ch; }
.mission__eyebrow {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: var(--fs-eyebrow); font-weight: 700; color: var(--accent-tint); margin: 0 0 1.15rem;
}
.mission > p { color: var(--paper); font-size: var(--fs-body); line-height: 1.6; margin: 0 0 0.9rem; }
.mission > p:last-child { margin-bottom: 0; }

/* full-bleed photographic band (real office-park pond, color-graded) */
.photoband { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 8vw, 6.5rem); margin-top: 3.5rem; background: var(--forest); color: var(--paper); } /* solid fallback so the text stays legible even if the photo fails */
.photoband__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photoband__scrim { position: absolute; inset: 0; z-index: -1; }
/* dark across the text column (left ~58ch) so the mission holds AA white-on-photo, then lets the pond, the
   building and the sunset show at right. Nick 2026-09-26: the old ramp (0.72 at 74%, 0.22 at the edge) still
   read as a blue wash where there is no text. The stops are in px from the left because the 58ch text
   column is a fixed ~700px wide at every desktop width: 0.90 to its edge, then a long eased fall over the
   next ~500px, all offset by the centred .wrap's left edge (--band-x) so wide screens keep the text on the dark part (Nick 2026-09-26: the two-stop version looked abrupt). Narrow desktops show less pond, wide
   ones more; the text always sits on the >=0.90 part. Contrast re-measured after the change (journal W39). */
.photoband--lake .photoband__scrim { --band-x: max(0px, 50% - 580px); /* the .wrap's left edge: 0 until the 1160px max-width centres it */ background: linear-gradient(90deg, rgb(var(--scrim) / 0.92) calc(var(--band-x) + 0px), rgb(var(--scrim) / 0.90) calc(var(--band-x) + 660px), rgb(var(--scrim) / 0.84) calc(var(--band-x) + 760px), rgb(var(--scrim) / 0.70) calc(var(--band-x) + 860px), rgb(var(--scrim) / 0.52) calc(var(--band-x) + 960px), rgb(var(--scrim) / 0.36) calc(var(--band-x) + 1070px), rgb(var(--scrim) / 0.22) calc(var(--band-x) + 1200px), rgb(var(--scrim) / 0.12) calc(var(--band-x) + 1400px), rgb(var(--scrim) / 0.10) 100%); }
.photoband__content { position: relative; }
@media (max-width: 860px) {
  /* narrow: the text spans the full width, so darken the whole frame top-to-bottom instead of left-to-right */
  .photoband--lake .photoband__scrim { background: linear-gradient(180deg, rgb(var(--scrim) / 0.66) 0%, rgb(var(--scrim) / 0.86) 32%, rgb(var(--scrim) / 0.88) 100%); }
  .mission { max-width: none; }
}

/* ============================================================================
   WHAT TO BRING
   ========================================================================== */
.bring { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.bring__photo { align-self: start; }
.bring__photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.checklist { list-style: none; }
.checklist li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-body);
}
.checklist li::before {
  content: "\2713"; color: var(--accent); font-weight: 700; font-family: var(--font-display);
  border: 1.5px solid var(--rule); width: 1.7rem; height: 1.7rem; border-radius: 3px;
  display: grid; place-items: center; font-size: 0.95rem;
}
.checklist b { font-family: var(--font-display); font-weight: 400; }
.checklist small { color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* ============================================================================
   CLIENT REACTIONS + CTA  (FAQ section + its CSS deleted at meeting 3)
   ========================================================================== */
/* External review 7/29 asked for the quotes "in a different color box". Deliberately NOT a box:
   this section already sits on its own paper-deep band, and boxing testimonials next to the one
   card that earns a fill (.cta-card, an action) would put four rectangles in a two-column grid
   and read as buttons. The real complaint was separation, so the band is deepened a step and
   each quote gets a left accent rule — the ledger's own vocabulary doing testimonial work.
   Type max 2.3rem → 2rem (Nick): three headline-scale quotes were a real share of the page
   length the same reviewer complained about. */
/* Two declarations on purpose: a browser without color-mix drops the second and keeps the
   plain band. Without the fallback the whole section would lose its background, not just
   the extra step of depth. */
.proof { background: var(--paper-deep); background: color-mix(in srgb, var(--paper-deep) 88%, var(--rule)); }
.proof__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.quote { margin: 0; border-left: 3px solid var(--accent); padding-left: clamp(1rem, 2vw, 1.5rem); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: var(--fs-h2); font-weight: 400; line-height: 1.22; }
.quote + .quote { margin-top: 2rem; }
/* Meeting 3: the CTA card goes accent-blue with white text (was forest). */
.cta-card { background: var(--accent); color: var(--paper); border-radius: 4px; padding: clamp(1.6rem,3vw,2.4rem); }
.cta-card :focus-visible { outline-color: #fff; }
.cta-card h3 { color: var(--paper); font-size: var(--fs-h3); margin-bottom: 0.6rem; }
.cta-card p { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.cta-card .btn--primary { width: 100%; justify-content: center; margin-top: 0.8rem; }
.cta-card__phone { display: block; text-align: center; margin-top: 0.9rem; color: var(--paper); text-decoration: none; font-family: var(--font-body); font-size: var(--fs-h3); font-variant-numeric: tabular-nums; }
.cta-card__phone:hover { color: var(--accent-tint); }
/* Primary buttons on a forest band: invert to ivory so they don't disappear accent-on-accent */
.cta-card .btn--primary, .article-cta .btn--primary { background: var(--paper); color: var(--accent); box-shadow: 0 1px 0 rgba(0,0,0,0.18); }
.cta-card .btn--primary:hover, .article-cta .btn--primary:hover { background: var(--accent-tint); color: var(--accent-deep); }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem,5vw,4rem); }
.nap { font-size: var(--fs-body); }
.nap dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--fs-eyebrow); color: var(--ink-soft); margin-top: 1.3rem; font-weight: 700; }
.nap dd { margin: 0.3rem 0 0; font-size: var(--fs-lede); }
.nap dd a { text-decoration: none; }
.nap__phone { font-family: var(--font-body); font-size: var(--fs-h3); color: var(--accent); font-variant-numeric: tabular-nums; }
.nap__phone:hover { color: var(--accent-deep); }

.form { background: var(--paper-card); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(1.4rem,3vw,2.2rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-size: var(--fs-small); margin-bottom: 0.4rem; font-weight: 400; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 0.75rem 0.9rem;
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: 2px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.field textarea { min-height: 120px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__consent { font-size: var(--fs-small); color: var(--ink-soft); margin: 0 0 1.1rem; }
.form .btn--primary { width: 100%; justify-content: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Inline contact-form status (set by ledger.js / the Pages Function fallback) */
.form-status {
  margin: 0 0 1.2rem; padding: 0.9rem 1.1rem; border-radius: 3px;
  font-family: var(--font-display); font-size: var(--fs-body); line-height: 1.45; border: 1px solid var(--rule);
}
.form-status.is-ok  { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.form-status.is-err { background: #FBEFD6; color: #6B4A12; border-color: #C8A24E; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--forest); color: var(--paper); padding-block: clamp(3rem,6vw,5rem) 2rem; }
.footer-rule { height: 2px; background: var(--accent-tint); margin-bottom: 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem clamp(1.5rem,4vw,3rem); }
.footer-brand .brand__name { color: var(--paper); font-size: var(--fs-lede); }
.footer-brand p { color: color-mix(in srgb, var(--paper) 70%, transparent); font-size: var(--fs-small); max-width: 34ch; margin-top: 0.8rem; }
/* The F mark in the footer (meeting 3): same mask technique as the header, painted paper so it
   reads on the forest ground. Inherits the mask from .brand__mark. */
.brand__mark--footer { display: block; background: var(--paper); width: 40px; height: 44px; margin-bottom: 0.9rem; }
.footer-col h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: var(--fs-eyebrow); color: var(--accent-tint); margin: 0 0 1rem; font-weight: 700; line-height: 1.2; }
.footer-col a, .footer-col address { display: block; color: color-mix(in srgb, var(--paper) 82%, transparent); text-decoration: none; font-style: normal; margin-bottom: 0.6rem; font-size: 1rem; }
.footer-col a:hover { color: var(--paper); }
.footer-phone { color: var(--paper) !important; font-family: var(--font-body); font-size: var(--fs-h3); font-variant-numeric: tabular-nums; }
.footer-legal {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center;
  font-size: var(--fs-small); color: color-mix(in srgb, var(--paper) 62%, transparent);
}
.footer-legal a { color: color-mix(in srgb, var(--paper) 75%, transparent); }
.footer-legal .disclaimer { flex-basis: 100%; line-height: 1.5; }

/* ============================================================================
   INNER PAGES  ·  sub-page hero, prose, tables, byline, callouts
   ========================================================================== */
.inner-hero { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.breadcrumb { font-family: var(--font-display); font-size: var(--fs-small); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; text-decoration: none; display: inline-flex; gap: 0.5rem; }
.breadcrumb:hover { color: var(--accent); }
.inner-hero h1 { font-size: var(--fs-display); font-weight: 400; margin: 1.2rem 0 0.8rem; max-width: 20ch; text-wrap: balance; } /* no one-word last line ("S-Corp / status?") */
.inner-hero .lede { max-width: 56ch; }

.prose { max-width: 70ch; font-size: var(--fs-body); }
.prose h2 { font-size: var(--fs-h2); font-weight: 400; margin: 2.6rem 0 0.8rem; }
.prose h2 .q { color: var(--accent); font-variant-numeric: tabular-nums; }
.prose h3 { font-size: var(--fs-h3); font-weight: 400; margin: 1.8rem 0 0.6rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; padding-left: 0.3rem; }
.prose li::marker { color: var(--accent); }
.prose a { font-family: inherit; }
.prose strong { font-weight: 600; }
.prose .answer { font-size: 1.12em; border-left: 2px solid var(--accent); padding-left: 1.1rem; color: var(--ink); }

.byline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; align-items: center; font-size: var(--fs-small); color: var(--ink-soft); margin: 1.4rem 0; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.byline b { font-family: var(--font-display); color: var(--ink); font-weight: 400; }

.callout { background: var(--paper-deep); border-left: 3px solid var(--accent); border-radius: 0 3px 3px 0; padding: 1.1rem 1.3rem; margin: 1.6rem 0; font-size: var(--fs-small); color: var(--ink-soft); }
.callout--note { font-style: italic; }
.callout b { font-family: var(--font-display); color: var(--ink); font-style: normal; }

/* The LLC-vs-S-Corp table is intrinsically ~383px wide at desktop sizing; the scroll container
   is the safety net below ~340px so it never overflows the page (pre-existing ≤360px bug). */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; }
.table-scroll .ledger-table { margin: 0; min-width: 380px; }
.ledger-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 1rem; }
.ledger-table caption { text-align: left; font-family: var(--font-display); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); margin-bottom: 0.7rem; font-weight: 700; }
.ledger-table th, .ledger-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger-table thead th { font-family: var(--font-display); border-bottom: 2px solid var(--accent); font-weight: 700; }
.ledger-table tbody th { font-weight: 500; color: var(--ink-soft); font-family: var(--font-body); }
.ledger-table tbody tr:last-child td, .ledger-table tbody tr:last-child th { border-bottom: 0; }
/* Phones: fit the table instead of scrolling it. At 390px the 380px floor clipped the whole
   "With an S-Corp election" column with no scroll hint (Nick 2026-09-28). Small type + tighter
   cells measure 350px at 390 and 320px at 360, so nothing is cut off.
   Sits AFTER the base .ledger-table rules: same specificity, so source order is what makes it win. */
@media (max-width: 600px) {
  .table-scroll .ledger-table { min-width: 0; }
  .ledger-table { font-size: var(--fs-small); }
  .ledger-table th, .ledger-table td { padding: 0.7rem 0.55rem; }
}

.article-cta { margin: 2.5rem 0 0; background: var(--forest); color: var(--paper); border-radius: 4px; padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.article-cta p { margin: 0; color: var(--paper); font-family: var(--font-display); font-size: var(--fs-lede); max-width: 30ch; }
.article-cta .btn--primary { flex: none; }

.checklist-group { margin-bottom: 2.2rem; }
/* The 01-04 numerals + their .n rule dropped at meeting 3 (the checkmarks carry the list). */
.checklist-group h2 { font-size: var(--fs-h3); font-weight: 400; margin-bottom: 0.3rem; }

/* ============================================================================
   Mobile sticky tap-to-call
   ========================================================================== */
.tap-call {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--accent); color: #fff; text-align: center; text-decoration: none;
  font-family: var(--font-body); font-size: var(--fs-lede); padding: 0.95rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 -4px 20px -8px rgba(33,28,24,0.5);
}
.tap-call:hover, .tap-call:focus { color: #fff; background: var(--accent-deep); }

/* ============================================================================
   Reveal animation (JS-driven, reduced-motion safe)
   ========================================================================== */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); } /* visible by default; hidden only with JS */

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  /* Meeting-3 mobile order: title → photo → call/send-a-note → body text. */
  .hero__inner { grid-template-columns: 1fr; grid-template-areas: "head" "media" "text"; }
  .hero__media { max-width: 520px; margin-top: 1.1rem; }
  /* The Call row rides above Frank's paragraphs so the #1 action stays on the first
     screen. Visual order only — DOM/reading order unchanged. */
  .hero__text { display: flex; flex-direction: column; align-items: flex-start; margin-top: 1.2rem; }
  .hero__sub { order: 1; }
  .hero__cta { margin-top: 0; margin-bottom: 1.2rem; }
  .lanes { grid-template-columns: 1fr; }
  .lane + .lane { border-left: 0; border-top: 1px solid var(--rule); }
  .switch__steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .firm__intro, .principal, .bring, .proof__grid, .contact__grid { grid-template-columns: 1fr; }
  .principal { text-align: left; }
  .principal__photo { max-width: var(--principal-photo); }
  .bring__photo { max-width: 440px; }
}
@media (max-width: 960px) {
  .nav, .header-phone { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto;
    background: transparent; border: 1.5px solid var(--rule); border-radius: 3px;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: 0.2s;
  }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
  .site-header.menu-open .nav-toggle span { background: transparent; }
  .site-header.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
  .site-header.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
  .header-inner { gap: 0.8rem; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 0.5rem var(--gutter) 1.5rem;
  }
  .site-header.menu-open .nav { display: flex; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px solid var(--rule-faint); font-size: 1.15rem; }
  .nav .nav__phone, .nav .nav__portal { display: block; }
  .tap-call { display: block; }
  body { padding-bottom: 56px; }
  .form__row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* Narrowest last, so these clamps outrank the wider blocks above. */
@media (max-width: 480px) {
  .member { grid-template-columns: 112px 1fr; gap: 0.9rem; }
  /* "Frank renders too big on mobile" (meeting 2): clamp the wordmark on small phones */
  .brand__name { font-size: 1.12rem; }
  .brand__mark { width: 29px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
  .js .draw-rule:not(.in) { transform: scaleX(1); }
}
