/* Walch In Practice design system
   Brand: gold abacus · ink black · paper white · "…it adds up"
   Type: Aptos-first sans stack, no webfonts.
   Motif: section dividers are abacus rods, hairlines with gold beads. */

:root {
  --paper: #faf9f5;
  --paper-strong: #ffffff;
  --ink: #16130b;
  --muted: #6b6455;
  --gold: #8a6f14;
  --gold-strong: #6b5610;
  --gold-bright: #c9a437;
  --gold-soft: #f1ead1;
  --hairline: rgba(22, 19, 11, 0.16);
  --shadow: 0 18px 50px rgba(35, 30, 12, 0.09);
  --radius: 22px;
  --container: 1640px;
  --font-body: Aptos, "Aptos Display", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  /* three gold beads on a rod, used on section rules */
  --beads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 14'%3E%3Cg fill='%238a6f14'%3E%3Crect width='22' height='14' rx='7'/%3E%3Crect x='26' width='22' height='14' rx='7'/%3E%3Crect x='52' width='22' height='14' rx='7'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

::selection {
  background: var(--gold-soft);
}

.site-shell {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

/* ── Top bar ────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  background: rgba(250, 249, 245, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 2.3rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-text strong {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav a {
  position: relative;
  padding: 0.2rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.2rem;
  height: 2px;
  background: var(--gold);
  transition: right 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.nav-toggle {
  display: none;
}

/* Move notice, inline in the topbar gap. Temporary: remove around October 2026. */
.notice-inline {
  flex: 1;
  min-width: 0;
  margin: 0 1.4rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(138, 111, 20, 0.3);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-strong);
  font-size: 0.82rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Drop the secondary sentence first as the bar narrows */
@media (max-width: 1360px) {
  .notice-extra {
    display: none;
  }
}

/* ── Shared primitives ──────────────────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
}

.display {
  margin: 0;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 36em;
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-strong);
}

.button-secondary {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--gold);
}

section[id],
article[id] {
  scroll-margin-top: 5.5rem;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  padding: 1.4rem 0 0;
}

.hero-media {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 3rem;
  min-height: 44vh;
  padding: 2.6rem 3rem;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  background: linear-gradient(150deg, #241f12 0%, #14110a 72%);
  box-shadow: var(--shadow);
}

/* Brand abacus watermark, texture only; the proof card sits over it */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/logo.svg") right -6% bottom -22% / 38% auto no-repeat;
  opacity: 0.09;
}

/* Legibility gradient, keeps text readable once a photo sits behind it */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 12, 7, 0.92) 0%,
    rgba(15, 12, 7, 0.45) 55%,
    rgba(15, 12, 7, 0.12) 100%
  );
}

/* Drop a real hero image in with this class to replace the placeholder look */
.hero-media img.hero-photo {
  position: absolute;
  top: -18%;
  left: 0;
  z-index: -3;
  width: 100%;
  height: 136%;
  object-fit: cover;
  will-change: transform;
}

.hero-tag {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(245, 242, 232, 0.28);
  border-radius: 999px;
  color: rgba(245, 242, 232, 0.6);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content {
  max-width: 47rem;
  color: #f7f4ea;
}

.hero-content .eyebrow {
  color: var(--gold-bright);
}

.hero-content .eyebrow::before {
  background: var(--gold-bright);
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  /* Wide enough that each sentence holds one line at desktop widths */
  max-width: 22ch;
}

/* Each sentence gets its own line so the two ideas do not run together */
.hero-content h1 em {
  display: block;
  font-style: normal;
  color: var(--gold-bright);
}

/* Social proof panel, fills the hero's right column */
.hero-proof {
  border-left: 2px solid var(--gold-bright);
  padding: 0.2rem 0 0.2rem 1.5rem;
  color: rgba(247, 244, 234, 0.9);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hero-rating .stars {
  letter-spacing: 0.1em;
}

.hero-rating:hover span:last-child,
.hero-rating:focus-visible span:last-child {
  text-decoration: underline;
}

.hero-proof blockquote p {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(247, 244, 234, 0.86);
}

.hero-proof blockquote cite {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 234, 0.5);
}

.hero-content .lede {
  max-width: 42em;
  color: rgba(247, 244, 234, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

/* Reassurance directly under the primary CTA, where hesitation happens */
.hero-note {
  margin-top: 1.05rem;
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(247, 244, 234, 0.6);
}

.hero-note a {
  color: rgba(247, 244, 234, 0.92);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-bright);
  white-space: nowrap;
}

.hero-content .button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-content .button-secondary:hover,
.hero-content .button-secondary:focus-visible {
  border-color: var(--gold-bright);
}

/* ── Section rules with abacus beads ────────────────────── */

.section {
  position: relative;
  border-top: 1px solid var(--hairline);
  margin-top: 3rem;
  padding: 2.6rem 0 0;
}

.section::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 74px;
  height: 14px;
  background: var(--beads) no-repeat;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

/* ── Ledger strip (facts) ───────────────────────────────── */

.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.ledger article {
  padding: 1.25rem 1.4rem 1.25rem 0;
}

.ledger article + article {
  padding-left: 1.4rem;
  border-left: 1px solid var(--hairline);
}

.ledger strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ledger span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* ── Service index (ledger rows) ────────────────────────── */

.index-list {
  counter-reset: svc;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.index-row {
  counter-increment: svc;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper-strong);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.index-row::before {
  content: counter(svc, decimal-leading-zero);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
}

.index-row h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.index-row p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.index-row .index-arrow {
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.index-row:hover,
.index-row:focus-visible {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.index-row:hover .index-arrow,
.index-row:focus-visible .index-arrow {
  transform: translateX(5px);
}

/* Dark call-to-action tile that completes the grid */
.index-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 12%, rgba(201, 164, 55, 0.25), transparent 55%),
    linear-gradient(155deg, #201b0f, #14110a);
  color: #f5f2e8;
  text-decoration: none;
  transition: transform 180ms ease;
}

.index-cta strong {
  font-size: 1.14rem;
  font-weight: 800;
}

.index-cta span {
  flex: 1;
  color: rgba(245, 242, 232, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.index-cta .index-arrow {
  margin-top: 0.4rem;
  color: var(--gold-bright);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.index-cta:hover,
.index-cta:focus-visible {
  transform: translateY(-3px);
}

.index-cta:hover .index-arrow,
.index-cta:focus-visible .index-arrow {
  transform: translateX(5px);
}

/* Full-width variant: sits under the four pillar cards as a slim bar */
.index-cta-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
  padding: 1.15rem 1.6rem;
}

.index-cta-wide span:not(.index-arrow) {
  flex: 1;
}

.index-cta-wide .index-arrow {
  flex: 0 0 auto;
  margin-top: 0;
}

/* Secondary services line under the pillar grid */
.services-also {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-also a {
  color: var(--gold-strong);
  font-weight: 600;
  text-decoration-color: var(--gold);
}

/* ── About / pull quote ─────────────────────────────────── */

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: start;
}

.split-layout h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.stack > * + * {
  margin-top: 0.9rem;
}

.stack p {
  margin: 0;
  color: var(--muted);
}

.pullquote {
  margin: 1.6rem 0 0;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 3px solid var(--gold);
}

.pullquote p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.pullquote cite {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Approach steps ─────────────────────────────────────── */

/* ── Why choose us ──────────────────────────────────────── */

/* About: brand motto panel, stands in until a real office photo exists */
.motto-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 2.6rem 2.8rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 164, 55, 0.22), transparent 50%),
    linear-gradient(150deg, #241f12 0%, #14110a 72%);
  box-shadow: var(--shadow);
}

.motto-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/logo.svg") right -10% bottom -24% / 52% auto no-repeat;
  opacity: 0.08;
}

.motto-text {
  margin: 0;
  color: #fff;
  font-size: clamp(1.45rem, 2.1vw, 2.05rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.motto-text::before {
  content: "\201C";
  display: block;
  color: var(--gold-bright);
  font-size: 2.6em;
  line-height: 0.55;
  margin-bottom: 0.25em;
}

.motto-cite {
  margin: 1rem 0 0;
  color: rgba(247, 244, 234, 0.55);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* auto-fit: 5 across at full width, stepping down to 4/3/2 as it narrows */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-grid article {
  padding-top: 1.1rem;
  border-top: 2px solid var(--gold);
}

.why-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ── Contact ────────────────────────────────────────────── */

.contact-section {
  padding-bottom: 3rem;
}

/* Low-pressure booking option under the phone number */
.contact-alt {
  margin: 0.7rem 0 0;
  font-size: 0.95rem;
  color: rgba(245, 242, 232, 0.72);
}

.contact-alt a {
  color: var(--gold-bright);
  font-weight: 700;
  text-decoration: none;
}

.contact-alt a:hover,
.contact-alt a:focus-visible {
  text-decoration: underline;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: 2.2rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 164, 55, 0.25), transparent 45%),
    linear-gradient(160deg, #201b0f, #14110a);
  color: #f5f2e8;
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow {
  color: var(--gold-bright);
}

.contact-panel .eyebrow::before {
  background: var(--gold-bright);
}

.contact-panel h2 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.contact-panel > div > p {
  max-width: 34em;
  color: rgba(245, 242, 232, 0.75);
}

.contact-phone {
  display: inline-block;
  margin-top: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}

.contact-phone:hover,
.contact-phone:focus-visible {
  color: var(--gold-bright);
}

/* Compact one-per-line details under the phone number */
.contact-lines {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245, 242, 232, 0.18);
}

.contact-lines p {
  margin: 0 0 0.45rem;
  color: rgba(245, 242, 232, 0.8);
  font-size: 0.95rem;
}

.contact-lines p:last-child {
  margin-bottom: 0;
}

.contact-lines a {
  color: #fff;
  text-decoration-color: var(--gold-bright);
}

/* Map column inside the dark contact panel */
.contact-map {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.contact-map .map-embed {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
}

.map-note {
  margin: 0.9rem 0 0;
  color: rgba(245, 242, 232, 0.65);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--hairline);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.1rem 0 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold);
}

/* ── Subpages ───────────────────────────────────────────── */

.page-head {
  position: relative;
  padding: 2.6rem 0 2.2rem;
  border-bottom: 1px solid var(--hairline);
}

.page-head::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 74px;
  height: 14px;
  background: var(--beads) no-repeat;
}

.page-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 20ch;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.anchor-nav a {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.anchor-nav a:hover,
.anchor-nav a:focus-visible {
  color: var(--ink);
  border-color: var(--gold);
}

.svc {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 2.4rem;
  padding: 2.4rem 0;
  border-bottom: 1px solid var(--hairline);
}

/* People page: profiles as side-by-side cards */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  padding: 2.4rem 0 0;
}

.person-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  padding: 1.8rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

/* Two-column card only once a real headshot figure exists */
.person-card:has(.photo-frame) {
  grid-template-columns: 190px 1fr;
}

.person-card .photo-frame {
  margin: 0;
  width: 100%;
  max-width: none;
  align-self: start;
}

.person-body {
  display: flex;
  flex-direction: column;
}

.person-body h2 {
  margin: 0.1rem 0 0.6rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.person-body .prose {
  flex: 1;
}

.person-body .button {
  align-self: flex-start;
  margin-top: 0.4rem;
}

.svc-head {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

.svc-num {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.svc h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

.svc .page-cta {
  margin-top: 1.2rem;
}

.prose > p:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
}

.prose ul li {
  padding-left: 0.25rem;
}

.prose ul li::marker {
  color: var(--gold);
}

.prose ul li + li {
  margin-top: 0.3rem;
}

.prose a {
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration-color: var(--gold);
}

/* ── Xero band ──────────────────────────────────────────── */

.xero-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.6rem;
  align-items: center;
  padding: 2.4rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(241, 234, 209, 0.85), rgba(255, 255, 255, 0.55));
}

.xero-lead h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
}

.xero-lead p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.xero-lead .button {
  margin-top: 1.3rem;
}

.xero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.xero-badge::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--gold);
}

.xero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem 1.8rem;
}

.xero-points li {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.xero-points strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1rem;
  font-weight: 800;
}

.xero-points span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── Photo placeholders ─────────────────────────────────── */
/* Premium dark placeholder with the gold abacus watermark and a
   caption. When the real photo is ready, add an <img> inside the
   figure and add the .has-photo class to strip the placeholder look. */

.photo-frame {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #241f12 0%, #14110a 75%);
  box-shadow: var(--shadow);
}

.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/logo.svg") center / 66% auto no-repeat;
  opacity: 0.14;
}

.photo-frame span {
  padding: 0.9rem 1rem;
  color: rgba(245, 242, 232, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}

.photo-frame.has-photo {
  background: none;
  box-shadow: var(--shadow);
}

.photo-frame.has-photo::before {
  display: none;
}

.photo-frame.has-photo span {
  display: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-landscape {
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 30rem;
}

.photo-portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 15rem;
}

.svc-head .photo-portrait {
  margin-top: 1.3rem;
}

.about-media {
  margin-top: 1.6rem;
}

/* ── Credentials strip ──────────────────────────────────── */

.creds {
  padding: 1.4rem 0 0;
}

.creds-list {
  list-style: none;
  margin: 0;
  padding: 1.1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.cred {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--paper-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cred::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Two generations ────────────────────────────────────── */

.gen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.gen-card {
  padding: 1.7rem;
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.gen-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.gen-role {
  margin: 0.2rem 0 0.9rem;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gen-card p:last-child {
  margin: 0;
  color: var(--muted);
}

/* ── Testimonials ───────────────────────────────────────── */

.rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem !important;
  color: var(--ink);
  font-weight: 700;
}

.rating .stars {
  color: var(--gold);
  letter-spacing: 0.1em;
}

.rating span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Auto-scrolling reviews carousel */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 55s linear infinite;
  }
  .marquee:hover .marquee-track,
  .marquee:focus-within .marquee-track {
    animation-play-state: paused;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    overflow-x: auto;
  }
}

.quote {
  flex: 0 0 auto;
  width: 340px;
  margin: 0;
  padding: 1.7rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper-strong);
  display: flex;
  flex-direction: column;
}

.quote::before {
  content: "\201C";
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--gold);
}

.quote p {
  margin: 0.6rem 0 1rem;
  flex: 1;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.quote cite .via {
  color: var(--gold-strong);
  font-weight: 700;
}

a.rating {
  text-decoration: none;
  width: fit-content;
}

a.rating:hover span:last-child,
a.rating:focus-visible span:last-child {
  color: var(--ink);
  text-decoration: underline;
}

.reviews-cta {
  margin-top: 1.5rem;
}

/* ── FAQ ────────────────────────────────────────────────── */

.faq-list {
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.2rem;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 0 1.15rem;
  max-width: 70ch;
  color: var(--muted);
}

/* ── Location map ───────────────────────────────────────── */

.map-embed {
  aspect-ratio: 16 / 6;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-strong);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-address {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-weight: 600;
}

.map-address a {
  color: var(--gold-strong);
  text-decoration-color: var(--gold);
}

/* ── Quick-contact dialog ───────────────────────────────── */

.talk-modal {
  border: 0;
  border-radius: var(--radius);
  padding: 2.1rem 2.2rem 1.9rem;
  max-width: 24rem;
  width: calc(100% - 2rem);
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.talk-modal::backdrop {
  background: rgba(22, 19, 11, 0.55);
}

.talk-modal h3 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.talk-modal > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.talk-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: 0;
  background: none;
  padding: 0.2rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.talk-close:hover,
.talk-close:focus-visible {
  color: var(--ink);
}

.talk-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.talk-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 16px;
}

.talk-call a {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.copy-number {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: none;
  padding: 0.35rem 0.9rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}

.copy-number:hover,
.copy-number:focus-visible {
  border-color: var(--gold);
  color: var(--gold-strong);
}

.talk-book {
  width: 100%;
}

.talk-email {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.talk-email a {
  color: var(--gold-strong);
  font-weight: 600;
}

/* ── Motion: smooth scroll, reveals, page transitions ───── */

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  /* whole-section reveal (sections without a stagger grid) */
  .has-js .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .has-js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* staggered children (cards, rows, quotes) cascade in */
  .has-js .stagger {
    opacity: 0;
    transform: translateY(38px) scale(0.985);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms),
      transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
  }

  .has-js .is-visible .stagger {
    opacity: 1;
    transform: none;
  }

  /* about image reveals with a slow zoom */
  .has-js .about-media img {
    transform: scale(1.12);
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .has-js .is-visible .about-media img,
  .has-js .reveal.is-visible .about-media img {
    transform: scale(1);
  }

  /* hero animates in on load */
  .hero-content > * {
    animation: rise-in 0.7s ease both;
  }
  .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.16s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.28s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.4s; }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }

  body {
    animation: page-fade-in 0.5s ease both;
  }

  @keyframes page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

/* Smooth cross-page transitions in supporting browsers */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.4s;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 960px) {
  .split-layout,
  .contact-panel,
  .svc,
  .xero-panel,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 42vh;
    padding: 2rem;
  }

  .hero-proof {
    max-width: 46rem;
  }

  .svc {
    gap: 1.3rem;
    padding: 2rem 0;
  }

  .svc-head {
    position: static;
  }

  .index-list,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .site-shell {
    width: min(calc(100% - 1.6rem), var(--container));
  }

  .topbar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.55rem 1.05rem;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  /* Notice becomes its own full-width row under the logo/menu row */
  .notice-inline {
    order: 5;
    flex-basis: 100%;
    margin: 0.7rem 0 0.2rem;
    white-space: normal;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 0 0.3rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-text strong {
    font-size: 0.76rem;
  }

  .ledger,
  .why-grid,
  .xero-points,
  .index-list,
  .gen-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    gap: 1.2rem;
    padding: 1.4rem;
  }

  .person-card:has(.photo-frame) {
    grid-template-columns: 130px 1fr;
  }

  .ledger article {
    padding: 1rem 0;
  }

  .ledger article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .map-embed {
    aspect-ratio: 4 / 3;
  }

  .hero-media {
    min-height: auto;
    padding: 1.5rem;
  }

  .section {
    margin-top: 2.2rem;
    padding-top: 2rem;
  }

  .page-head {
    padding-top: 2rem;
  }
}
