
  :root {
    --paper:  #f4f1ea;
    --paper2: #ede9df;
    --ink:    #24231f;
    --ink2:   #1c1b18;
    --gold:   #beaf87;
    --gold-deep: #8a7551;
    --line:   #d4d0c5;
    --line-ink: rgba(190,175,135,0.16);
    --muted:  #6b675c;
    --cream:  #ded7c3;
    --silver: #c4c4c5;
    --serif: 'Newsreader', Georgia, serif;
    --sans:  'Lexend', 'Segoe UI', sans-serif;
    --mono:  'Consolas', monospace;
    --ease: cubic-bezier(.16,1,.3,1);
    --ease2: cubic-bezier(.22,1,.36,1);
  }
  html { background: var(--paper); scroll-behavior: smooth; }
  body {
    font-family: var(--sans); font-weight: 300;
    background: var(--paper); color: var(--ink);
    font-size: 17px; line-height: 1.65;
    -webkit-font-smoothing: antialiased; overflow-x: clip;
  }
  ::selection { background: var(--gold); color: var(--ink); }
  body::before {
    content:''; position: fixed; inset: -60px; pointer-events:none; z-index: 90; opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 0.9s steps(2) infinite;
  }
  @keyframes grain { 0%{transform:translate(0,0)} 50%{transform:translate(-18px,12px)} 100%{transform:translate(12px,-18px)} }

  #prog { position: fixed; top:0; left:0; height:2px; background: var(--gold-deep); width:0; z-index:95; }
  #cur { position: fixed; top:0; left:0; width:7px; height:7px; border-radius:50%; background: var(--ink); pointer-events:none; z-index:100; }
  #curRing { position: fixed; top:0; left:0; width:32px; height:32px; border-radius:50%; border:1px solid rgba(36,35,31,0.3); pointer-events:none; z-index:100; transition: width 300ms var(--ease), height 300ms var(--ease), border-color 300ms; }
  #curRing.hot { width: 52px; height: 52px; border-color: var(--gold-deep); }
  .on-ink #cur { background: var(--gold); }
  @media (hover:none) { #cur,#curRing{display:none} }

  .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }


  .micro { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); }

  nav { display:flex; justify-content: space-between; align-items: center; padding: 30px 0 26px; border-bottom: 1px solid var(--line); }
  .nav-mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
  .nav-seal { height: 34px; width: auto; display: block; }
  .nav-reg { font-size: 9px; color: var(--muted); margin: -14px 0 0 -8px; }
  .nav-lockup { display: flex; flex-direction: column; line-height: 1.15; }
  .nav-top { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: -0.008em; }
  .nav-bottom { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 400; }
  .nav-bottom em { font-style: italic; text-transform: none; font-family: var(--serif); font-size: 12px; }
  .nav-links { display:flex; gap: 30px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; color: var(--muted); text-decoration:none; transition: color 250ms; }
  .nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); outline:none; }

  .fn { position: relative; display: flex; align-items: center; }
  .fn-trigger { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); cursor: pointer; display: grid; place-items: center; padding: 0; transition: border-color 250ms, transform 350ms var(--ease); }
  .fn-trigger img { width: 32px; height: 32px; object-fit: contain; display: block; border-radius: 50%; }
  .fn-trigger:hover { border-color: var(--gold-deep); }
  .fn-trigger:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
  .fn.open .fn-trigger { transform: rotate(90deg); border-color: var(--gold-deep); }
  .fn-items { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); display: flex; gap: 24px; align-items: center; pointer-events: none; z-index: 40; }
  .fn-items a { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; color: var(--muted); text-decoration: none; opacity: 0; transform: translateX(14px); transition: opacity 350ms var(--ease), transform 350ms var(--ease), color 250ms; transition-delay: calc(var(--i) * 40ms); white-space: nowrap; }
  .fn.open .fn-items { pointer-events: auto; }
  .fn.open .fn-items a { opacity: 1; transform: none; }
  .fn-items a:hover { color: var(--ink); }
  @media (max-width: 960px) {
    .fn-items { position: fixed; inset: 0; background: rgba(244,241,234,0.97); flex-direction: column; justify-content: center; transform: none; right: auto; }
    .fn-items a { font-size: 17px; }
  }


  /* HERO */
  .hero { padding: 80px 0 0; position: relative; }
  .hero .wrap > .hero-pill, .hero .wrap > h1, .hero .wrap > .hero-sub, .hero .wrap > .hero-cta { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-pill { display: table; font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--line); border-radius: 100px; padding: 9px 22px; margin: 0 auto 34px; background: rgba(255,255,255,0.4); }
  .hero-cta { justify-content: center; }
  h1 {
    font-family: var(--serif); font-weight: 500;
    font-size: clamp(3rem, 7.4vw, 6.6rem);
    line-height: 1.02; letter-spacing: -0.012em; color: var(--ink);
    max-width: 13ch; margin: 0 auto;
  }
  h1 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
  h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
  h1 .w > span { display: inline-block; transform: translateY(115%); animation: wup 850ms var(--ease) forwards; }
  @keyframes wup { to { transform: translateY(0); } }
  .hero-sub { max-width: 46ch; margin-top: 34px; color: var(--muted); font-size: 19px; font-weight: 300; opacity:0; animation: fadeup 900ms var(--ease) 900ms forwards; }
  @keyframes fadeup { from { opacity:0; transform: translateY(18px);} to { opacity:1; transform:none; } }
  .hero-cta { margin-top: 40px; display:flex; gap: 18px; flex-wrap: wrap; opacity:0; animation: fadeup 900ms var(--ease) 1080ms forwards; }
  .btn { font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; padding: 17px 34px; text-decoration:none; display:inline-block; transition: all 350ms var(--ease); }
  .btn-ink { background: var(--ink); color: var(--paper); }
  .btn-ink:hover { background: var(--gold-deep); }
  .btn-hair { border: 1px solid var(--line); color: var(--ink); }
  .btn-hair:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
  .btn:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

  .hero-photo { margin-top: 84px; position: relative; }
  .hero-photo img { width: 100%; height: min(64vh, 620px); object-fit: cover; display:block; filter: saturate(0.92); }
  .hero-photo { overflow: visible; }
  .hero-stat { position: absolute; background: var(--ink); color: var(--cream); padding: 20px 26px; min-width: 210px; text-align: left; box-shadow: 0 18px 50px rgba(28,27,24,0.35); }
  .hero-stat b { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; display: block; }
  .hero-stat b span { color: var(--gold); font-size: 24px; }
  .hero-stat p { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; color: var(--cream); }
  .hero-stat small { display: block; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(222,215,195,0.5); margin-top: 6px; }
  .hs-l { top: 40px; left: -18px; }
  .hs-r { bottom: 64px; right: -18px; }
  @media (max-width: 960px) { .hs-l { left: 10px; top: 16px; } .hs-r { right: 10px; bottom: 46px; } .hero-stat { min-width: 0; padding: 14px 16px; } .hero-stat b { font-size: 28px; } }
  .photo-cap { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.05em; padding: 12px 2px; }

  /* ticker (ink) */
  .ticker-band { background: var(--ink); overflow:hidden; padding: 15px 0; margin-top: -4px; }
  .ticker { display:flex; gap: 64px; width: max-content; animation: tick 46s linear infinite; }
  .ticker-band:hover .ticker { animation-play-state: paused; }
  @keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }
  .tk { font-family: var(--mono); font-size: 12.5px; color: rgba(222,215,195,0.55); letter-spacing: 0.05em; white-space: nowrap; }
  .tk b { color: var(--gold); font-weight: 700; }

  /* sections */
  .band { padding: 120px 0; }
  .band.ink { background: var(--ink); color: var(--cream); }
  .band.ink .micro { color: var(--gold); }
  h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.01em; margin-top: 16px; text-wrap: balance; max-width: 20ch; }
  h2 em { font-style: italic; font-weight: 400; color: var(--gold-deep); }
  .band.ink h2 em { color: var(--gold); }
  .sec-sub { color: var(--muted); font-size: 17px; margin-top: 20px; max-width: 60ch; font-weight: 300; }
  .band.ink .sec-sub { color: rgba(222,215,195,0.65); }

  /* stress test panel */
  .stress { margin-top: 54px; background: var(--ink); color: var(--cream); padding: 52px; display:grid; grid-template-columns: 1.2fr 0.8fr; gap: 54px; align-items: center; position: relative; overflow:hidden; }
  .stress::before { content:''; position:absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
  .stress h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.1; }
  .stress h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
  .stress p { color: rgba(222,215,195,0.65); font-size: 15.5px; margin-top: 16px; max-width: 48ch; }
  .stress .btn-gold { background: var(--gold); color: var(--ink); margin-top: 28px; }
  .stress .btn-gold:hover { background: var(--cream); }
  .gauge { position: relative; display:grid; place-items:center; }
  .gauge svg { width: 230px; height: 230px; transform: rotate(-90deg); }
  .gauge .track { fill:none; stroke: rgba(222,215,195,0.12); stroke-width: 6; }
  .gauge .arc { fill:none; stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 660; stroke-dashoffset: 660; transition: stroke-dashoffset 1.8s var(--ease2) 300ms; }
  .gauge.in .arc { stroke-dashoffset: 264; }
  .gauge-num { position:absolute; text-align:center; }
  .gauge-num b { font-family: var(--serif); font-weight: 500; font-size: 44px; color: var(--gold); display:block; line-height:1; }
  .gauge-num span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: rgba(222,215,195,0.5); text-transform: uppercase; }

  /* stats */
  .num-head { text-align: center; }
  .num-head h2 { margin: 0 auto; }
  .stats { display:grid; grid-template-columns: repeat(4,1fr); margin-top: 60px; border-top: 1px solid var(--line); }
  .stat { padding: 46px 34px 40px; border-right: 1px solid var(--line); position:relative; }
  .stat:last-child { border-right: 0; }
  .stat::before { content:''; position:absolute; top:-1px; left:0; width:0; height:1px; background: var(--gold-deep); transition: width 1s var(--ease) 300ms; }
  .stat.in::before { width: 100%; }
  .stat-num { font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 5.4vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
  .stat-num sup { font-size: 0.4em; color: var(--gold-deep); font-style: italic; font-family: var(--serif); }
  .stat-label { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin-top: 14px; font-weight: 400; }

  /* services ledger */
  .svc-layout { display:grid; grid-template-columns: 360px 1fr; gap: 80px; margin-top: 60px; align-items: start; }
  .svc-rail { position: sticky; top: 100px; }
  .big-idx { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 150px; line-height: 0.9; color: var(--gold); }
  .rail-sub { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 26ch; }
  .svc-item { padding: 46px 0; border-top: 1px solid var(--line); }
  .svc-item:last-child { border-bottom: 1px solid var(--line); }
  .svc-item h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -0.008em; display:flex; gap: 18px; align-items: baseline; }
  .svc-item h3 .idx { font-family: var(--mono); font-size: 12px; color: var(--gold-deep); }
  .svc-item p { color: var(--muted); font-size: 16px; margin-top: 14px; max-width: 58ch; }
  .svc-item a { display:inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 250ms; }
  .svc-item a:hover { border-color: var(--gold-deep); }

  /* market (ink) */
  .mkt-layout { display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; margin-top: 60px; align-items: start; }
  .mkt-photo img { width:100%; height: 470px; object-fit: cover; display:block; filter: saturate(0.9); }
  .mkt-intro { margin-top: 26px; margin-bottom: 34px; }
  .mkt-photo h2 { margin-top: 16px; }
  .mkt-frame { position: relative; }
  .mkt-frame::after { content:''; position:absolute; inset: 5px -5px -5px 5px; border: 1px solid var(--line-ink); z-index:0; pointer-events:none; }
  .mkt-cap { text-align: center; margin-top: 14px; color: rgba(222,215,195,0.45); }
  .mkt-cards { display:grid; gap: 0; }
  .mkt { padding: 30px 0; border-top: 1px solid var(--line-ink); display: grid; grid-template-columns: 215px 1fr; gap: 26px; align-items: center; }
  .mkt:last-child { border-bottom: 1px solid var(--line-ink); }
  .mkt-num { font-family: var(--serif); font-weight: 500; font-size: clamp(3.4rem, 4.6vw, 4.6rem); color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
  .mkt h4 { font-family: var(--sans); font-weight: 400; font-size: 16px; color: var(--cream); }
  .mkt p { color: rgba(222,215,195,0.55); font-size: 14px; margin-top: 6px; max-width: 52ch; }
  .mkt-tag { font-family: var(--mono); font-size: 10.5px; color: rgba(222,215,195,0.4); margin-top: 8px; display:block; letter-spacing: 0.04em; }
  .mkt-foot { font-family: var(--mono); font-size: 11.5px; color: rgba(222,215,195,0.45); margin-top: 40px; line-height: 1.8; max-width: none; width: 100%; padding-top: 18px; border-top: 1px solid var(--line-ink); }

  /* why: editorial */
  .split { display:grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; align-items: start; }
  .why-point { padding: 26px 0; border-top: 1px solid var(--line); }
  .why-point h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; }
  .why-point p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
  .why-story h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 20px; text-wrap: balance; }
  .why-story .story-photo img { width: 100%; height: 300px; object-fit: cover; display: block; margin-bottom: 28px; filter: saturate(0.9); }
  .why-story p { font-family: var(--serif); font-weight: 400; color: #46443c; font-size: 19px; line-height: 1.7; }
  .why-story p::first-letter { font-size: 60px; font-style: italic; float: left; line-height: 0.8; padding: 8px 12px 0 0; color: var(--gold-deep); }

  /* faq */
  .faq-list { margin-top: 56px; }
  .faq-item { border-top: 1px solid var(--line); }
  .faq-item:last-child { border-bottom: 1px solid var(--line); }
  .faq-q { width:100%; background:none; border:0; cursor:pointer; text-align:left; padding: 28px 0; display:grid; grid-template-columns: 60px 1fr 40px; gap: 20px; align-items: baseline; }
  .faq-q .n { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-deep); }
  .faq-q .q { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--ink); letter-spacing: -0.008em; }
  .faq-q .pm { font-family: var(--serif); font-size: 26px; color: var(--gold-deep); justify-self: end; transition: transform 350ms var(--ease); }
  .faq-item[data-open] .pm { transform: rotate(45deg); }
  .faq-q:focus-visible { outline: 1px solid var(--gold-deep); outline-offset: 2px; }
  .faq-a { max-height: 0; overflow: hidden; transition: max-height 500ms var(--ease); }
  .faq-a-inner { padding: 0 0 30px 80px; }
  .faq-a p { color: var(--muted); font-size: 15.5px; max-width: 66ch; }
  .faq-a p + p { margin-top: 10px; }
  .faq-a a { display:inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); text-decoration:none; }

  /* team (ink) */
  .team-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 34px; margin-top: 60px; }
  .team-card { position: relative; }
  .team-photo { overflow: hidden; position: relative; }
  .team-photo img { width:100%; aspect-ratio: 0.84; object-fit: cover; display:block; filter: saturate(0.88); transition: transform 900ms var(--ease); }
  .team-card:hover .team-photo img { transform: scale(1.04); }
  .team-photo::after { content:''; position:absolute; inset:0; box-shadow: inset 0 -80px 60px -50px rgba(28,27,24,0.55); pointer-events:none; }
  .team-body { padding: 24px 0 0; }
  .team-body h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--cream); letter-spacing: -0.008em; }
  .team-role { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 8px 0 14px; font-weight: 400; }
  .team-body p { color: rgba(222,215,195,0.6); font-size: 14.5px; }
  .team-body a { display:inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-decoration:none; }

  /* areas */
  .area-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
  .area-card { border-top: 1px solid var(--line); padding-top: 30px; }
  .area-card h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; }
  .area-card > p { color: var(--muted); font-size: 15.5px; margin-top: 12px; max-width: 46ch; }
  .chips { display:flex; flex-wrap:wrap; gap: 9px; margin: 22px 0; }
  .chip { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 15px; border: 1px solid var(--line); color: var(--muted); font-weight: 400; transition: all 250ms; }
  .chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .area-card a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); text-decoration:none; }

  /* endcap */
  .endcap { background: var(--ink); color: var(--cream); padding: 140px 0 120px; text-align:center; position: relative; overflow:hidden; }
  .endcap::before { content:''; position:absolute; width: 900px; height: 900px; left:50%; top:100%; transform: translate(-50%,-30%); background: radial-gradient(circle, rgba(190,175,135,0.13), transparent 62%); pointer-events:none; }
  .endcap .micro { color: var(--gold); }
  .endcap h2 { margin: 16px auto 0; }
  .endcap .sec-sub { margin: 22px auto 0; color: rgba(222,215,195,0.6); }
  .big-phone { display:inline-block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 5.4rem); color: var(--cream); text-decoration:none; margin-top: 44px; line-height:1; transition: color 300ms; position:relative; z-index:1; letter-spacing: -0.01em; }
  .big-phone:hover { color: var(--gold); }

  footer { background: var(--ink2); color: rgba(222,215,195,0.5); padding: 52px 0 46px; }
  .foot-lockup { display: flex; align-items: center; gap: 12px; }
  .foot-lockup img { height: 40px; width: auto; filter: brightness(1.6) sepia(0.3); }
  .foot-lk { display: flex; flex-direction: column; line-height: 1.2; }
  .foot-lk-top { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--cream); }
  .foot-lk-sub { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
  .foot-lk-sub em { font-style: italic; text-transform: none; font-family: var(--serif); font-size: 11.5px; }
  .to-top { margin-top: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(190,175,135,0.3); background: transparent; color: var(--gold); font-size: 16px; cursor: pointer; transition: all 300ms; }
  .to-top:hover { background: var(--gold); color: var(--ink); }
  .foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(190,175,135,0.12); }
  .foot-blurb { font-size: 13.5px; line-height: 1.8; margin-top: 14px; max-width: 40ch; }
  .foot-col h4 { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 14px; }
  .foot-col a { display: block; color: rgba(222,215,195,0.6); text-decoration: none; font-size: 13.5px; padding: 4px 0; transition: color 250ms; }
  .foot-col a:hover { color: var(--cream); }
  .foot-bottom { position: relative; padding-top: 36px; }
  .foot-bottom .foot-right { position: absolute; top: 36px; right: 0; }
  @media (max-width: 960px) { .foot-cols, .foot-bottom { grid-template-columns: 1fr; } }
  .foot-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .foot-mark { font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--cream); }
  .foot-mark em { font-style: italic; color: var(--gold); font-weight: 400; }
  .compliance { margin-top: 4px; width: 100%; padding-right: 70px; }
  .cmp-row { font-size: 12.5px; line-height: 1.7; letter-spacing: 0.015em; color: rgba(222,215,195,0.55); padding: 7px 0; border-bottom: 1px solid rgba(190,175,135,0.08); }
  .cmp-row:last-child { border-bottom: 0; }
  .compliance a { color: rgba(222,215,195,0.75); }
  .foot-right { text-align: right; font-size: 13px; }

  .rise { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
  .rise.in { opacity: 1; transform: none; }

  /* portfolio — drag-to-explore filmstrip */
  .gallery { background: var(--ink); padding: 100px 0 90px; overflow: hidden; }
  .g-head { text-align: center; margin-bottom: 50px; }
  .g-head .micro { color: var(--gold); }
  .g-head h2 { color: var(--cream); margin: 10px auto 0; }
  .g-head h2 em { color: var(--gold); }
  .g-head p { color: rgba(222,215,195,0.55); font-size: 14px; margin-top: 8px; }
  .g-strip { display: flex; gap: 18px; align-items: center; overflow-x: auto; padding: 0 6vw 26px; cursor: grab; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .g-strip::-webkit-scrollbar { display: none; }
  .g-strip.dragging { cursor: grabbing; }
  .g-item { flex: none; user-select: none; }
  .g-item img { height: 300px; width: auto; display: block; filter: saturate(0.92); pointer-events: none; }
  .g-item.tall img { height: 300px; }
  .g-hint { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 26px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(222,215,195,0.45); }
  .g-hint .arrow { color: var(--gold); animation: nudge 2.2s var(--ease) infinite; display: inline-block; }
  @keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
  .g-bar-wrap { width: 200px; height: 1px; background: rgba(222,215,195,0.15); margin: 18px auto 0; }
  .g-bar-wrap i { display: block; height: 100%; width: 0; background: var(--gold); }
  @media (max-width: 760px) { .g-item img { height: 210px; } }


  .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
  .cd-list { margin-top: 40px; }
  .cd { padding: 18px 0; border-top: 1px solid var(--line-ink); }
  .cd-label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
  .cd-value { color: rgba(222,215,195,0.8); font-size: 15.5px; margin-top: 6px; }
  .form-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.08; margin-top: 14px; color: var(--cream); }
  .form-title em { font-style: italic; color: var(--gold); font-weight: 400; }
  .form-subtitle { color: rgba(222,215,195,0.6); font-size: 15px; margin: 14px 0 26px; }
  .contact-form select { width: 100%; background: rgba(28,27,24,0.5); border: 1px solid rgba(190,175,135,0.18); color: var(--cream); font-family: var(--sans); font-weight: 300; font-size: 15px; padding: 13px 12px; }
  .contact-form select:focus-visible { outline: none; border-color: var(--gold); }
  .form-disclaimer { font-size: 12px; color: rgba(222,215,195,0.45); margin-top: 18px; }
  .contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(222,215,195,0.3); }
  .bt-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
  .bt-all { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); text-decoration: none; }
  .bt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .bt-card { text-decoration: none; color: var(--ink); display: block; }
  .bt-card figure { margin: 0 0 18px; overflow: hidden; }
  .bt-card img { width: 100%; height: 210px; object-fit: cover; display: block; filter: saturate(0.92); transition: transform 700ms var(--ease); }
  .bt-card:hover img { transform: scale(1.04); }
  .bt-cat { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); font-weight: 400; }
  .bt-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; margin-top: 8px; letter-spacing: -0.008em; }
  .bt-date { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 10px; }
  @media (max-width: 960px) { .bt-grid { grid-template-columns: 1fr; } }
  .map-band { background: var(--ink); padding: 0 0 90px; }
  .map-frame { position: relative; border: 1px solid rgba(190,175,135,0.18); }
  .map-img { width: 100%; height: 420px; object-fit: cover; display: block; }
  .map-card { position: absolute; top: 34px; left: 34px; background: rgba(28,27,24,0.94); border: 1px solid rgba(190,175,135,0.25); padding: 24px 28px; max-width: 280px; }
  .map-card-lockup { display: flex; align-items: center; gap: 10px; }
  .map-card-lockup img { height: 30px; width: auto; filter: brightness(1.6) sepia(0.3); }
  .map-card-top { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--cream); }
  .map-card-sub { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
  .map-card-body { font-size: 14px; line-height: 1.7; color: rgba(222,215,195,0.8); margin-top: 14px; }
  .map-dir { display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
  .map-dir:hover { color: var(--cream); }
  .map-note { font-family: var(--mono); font-size: 10px; color: rgba(222,215,195,0.35); letter-spacing: 0.06em; padding: 10px 2px; }
  @media (max-width: 960px) { .map-card { position: static; max-width: none; border-top: 0; } .map-img { height: 300px; } }
  .cert-strip { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0; }
  .cert-row { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; margin-top: 30px; }
  .cert-row img { height: 100px; width: auto; opacity: 1; transition: transform 300ms; }
  .cert-row img:hover { transform: scale(1.06); }
  @media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .cert-row img { height: 64px; } }

  /* alignment variety */
  .center { text-align: center; }
  .center h2, .center .sec-sub { margin-left: auto; margin-right: auto; }
  .center .stress, .center .team-grid { text-align: left; }

  /* county watermarks — faint gold boundary drawing behind each card */
  .area-card { position: relative; }
  .area-card > * { position: relative; }

  /* contact form */
  .contact-form { text-align: left; background: rgba(244,241,234,0.045); border: 1px solid rgba(190,175,135,0.22); backdrop-filter: blur(6px); padding: 42px; position: relative; z-index: 1; }
  .cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .contact-form label { display: block; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 400; }
  .contact-form input, .contact-form textarea { width: 100%; background: rgba(28,27,24,0.5); border: 1px solid rgba(190,175,135,0.18); color: var(--cream); font-family: var(--sans); font-weight: 300; font-size: 15px; padding: 13px 15px; transition: border-color 250ms; }
  .contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: none; border-color: var(--gold); }
  .contact-form textarea { min-height: 120px; resize: vertical; }
  .cf-full { grid-column: 1 / -1; }
  .contact-form .btn-gold { background: var(--gold); color: var(--ink); margin-top: 6px; border: 0; cursor: pointer; }
  .contact-form .btn-gold:hover { background: var(--cream); }
  .cf-alt { text-align: center; font-size: 13px; color: rgba(222,215,195,0.55); margin-top: 26px; }
  .cf-alt a { color: var(--gold); text-decoration: none; font-weight: 400; }

  /* badges */
  .badges { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 30px; }
  .badges img { height: 40px; width: auto; filter: grayscale(1) brightness(1.9) contrast(0.86); opacity: 0.75; transition: all 300ms; }
  .badges img:hover { filter: none; opacity: 1; background: var(--paper); }
  .badges .bg-pad { background: rgba(244,241,234,0.85); padding: 5px 8px; border-radius: 2px; }
  .badges .bg-pad img { filter: none; opacity: 0.92; height: 32px; }

  @media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { animation: none !important; transition: none !important; }
    .rise,.hero-sub,.hero-cta { opacity:1 !important; transform:none !important; }
    h1 .w > span { transform: none; }
    .gauge .arc { stroke-dashoffset: 264; }
    .ticker { flex-wrap: wrap; }
  }
  @media (max-width: 960px) {
    .stress, .split, .foot-grid, .area-grid, .mkt-layout { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat { border-right: 0; }
    .team-grid { grid-template-columns: 1fr; }
    .svc-layout { grid-template-columns: 1fr; }
    .svc-rail { position: static; }
    .big-idx { font-size: 80px; }
    .foot-right { text-align: left; }
    .faq-a-inner { padding-left: 0; }
    .faq-q { grid-template-columns: 40px 1fr 30px; }
    .nav-links { display: none; }
  }


  /* ===== subpage layer (Ledger supporting-page templates) ===== */

  /* page hero: left-aligned editorial, smaller than home hero */
  .page-hero { padding: 66px 0 0; }
  .crumbs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .crumbs .sep { color: var(--line); }
  .page-hero h1 { font-size: clamp(2.7rem, 5.8vw, 5rem); max-width: 16ch; margin: 22px 0 0; }
  .page-hero .hero-sub { margin-top: 26px; max-width: 62ch; text-align: left; animation-delay: 350ms; }
  .updated { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-top: 18px; display: inline-block; }

  /* full-width photo band under hero */
  .photo-band { margin-top: 64px; position: relative; }
  .photo-band img { width: 100%; height: min(52vh, 480px); object-fit: cover; display: block; filter: saturate(0.92); }

  /* editorial split: h2 left, prose right */
  .split-h2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: start; }
  .split-h2 .lede { font-family: var(--serif); font-weight: 400; color: #46443c; font-size: 20px; line-height: 1.7; }
  .split-h2 .lede + .lede { margin-top: 18px; }
  .band.ink .split-h2 .lede { color: rgba(222,215,195,0.75); }

  /* 2x2 point grid (reuses why-point) */
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; margin-top: 50px; }

  /* answer box (area pages: AEO summary) */
  .answer-box { border-top: 1px solid var(--gold-deep); border-bottom: 1px solid var(--line); padding: 30px 0 32px; margin-top: 56px; }
  .answer-box p { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.75; color: #46443c; max-width: 74ch; margin-top: 14px; }

  /* profile (team pages) */
  .profile-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 76px; align-items: center; margin-top: 56px; }
  .portrait { position: relative; }
  .portrait img { width: 100%; aspect-ratio: 0.84; object-fit: cover; display: block; filter: saturate(0.88); box-shadow: 0 24px 70px rgba(28,27,24,0.28); }
  .portrait::after { content:''; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--gold); opacity: 0.45; z-index: -1; }
  .role-micro { margin-top: 20px; }
  .profile-grid h1 { font-size: clamp(2.7rem, 5vw, 4.6rem); margin-top: 14px; }
  .profile-grid .bio { color: var(--muted); font-size: 17.5px; margin-top: 26px; max-width: 56ch; font-weight: 300; }

  /* duty ledger (team pages): numbered 2-col */
  .duty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; margin-top: 50px; }
  .duty { padding: 30px 0; border-top: 1px solid var(--line); }
  .duty h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; display: flex; gap: 16px; align-items: baseline; }
  .duty h4 .idx { font-family: var(--mono); font-size: 11px; color: var(--gold-deep); }
  .duty p { color: var(--muted); font-size: 15px; margin-top: 8px; max-width: 48ch; }

  /* area services: 2-col svc items */
  .svc2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; margin-top: 50px; }
  .svc2 .svc-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }

  /* ink callout (area: on-the-street block) */
  .callout { border: 1px solid rgba(190,175,135,0.28); padding: 38px 42px; margin-top: 54px; position: relative; }
  .callout::before { content:''; position: absolute; top: -1px; left: 42px; width: 72px; height: 1px; background: var(--gold); }
  .callout h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--cream); }
  .callout h3 em { font-style: italic; color: var(--gold); font-weight: 400; }
  .callout p { color: rgba(222,215,195,0.65); font-size: 15.5px; margin-top: 12px; max-width: 66ch; }
  .callout a { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); text-decoration: none; }

  /* document layout (utility pages) */
  .doc-layout { display: grid; grid-template-columns: 300px 1fr; gap: 80px; margin-top: 64px; align-items: start; }
  .doc-rail { position: sticky; top: 90px; }
  nav.toc { display: block; padding: 0; border-bottom: 0; margin-top: 26px; border-top: 1px solid var(--line); }
  .toc a { display: flex; gap: 14px; align-items: baseline; padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: 13px; letter-spacing: 0.05em; transition: color 250ms; }
  .toc a .n { font-family: var(--mono); font-size: 10.5px; color: var(--gold-deep); }
  .toc a:hover, .toc a.on { color: var(--ink); }
  .doc-sec { padding: 44px 0 38px; border-top: 1px solid var(--line); }
  .doc-sec:first-child { border-top: 0; padding-top: 0; }
  .doc-sec h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: baseline; max-width: none; margin-top: 0; text-wrap: initial; }
  .doc-sec h2 .idx { font-family: var(--mono); font-size: 12px; color: var(--gold-deep); flex: none; }
  .doc-sec p { color: var(--muted); font-size: 16px; margin-top: 16px; max-width: 66ch; }
  .doc-sec p strong { color: var(--ink); font-weight: 400; font-family: var(--serif); font-size: 17px; }
  .doc-sec h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-top: 30px; }
  .doc-list { margin-top: 14px; }
  .doc-list li { position: relative; padding: 10px 0 10px 26px; color: var(--muted); font-size: 15.5px; max-width: 64ch; border-bottom: 1px solid rgba(212,208,197,0.5); list-style: none; }
  .doc-list li::before { content:'/'; position: absolute; left: 2px; font-family: var(--mono); font-size: 12px; color: var(--gold-deep); }
  .breed-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; max-width: 640px; }
  .fh-note { border: 1px solid var(--line); border-left: 2px solid var(--gold-deep); padding: 30px 34px; margin-top: 60px; }
  .fh-note p { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: none; }
  .fh-note .micro { display: block; margin-bottom: 12px; }
  .doc-rev { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }

  /* endcap contact: quiet clickable phone + email, not a billboard */
  .contact-line { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 42px; position: relative; z-index: 1; }
  .contact-chip { font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: 0.08em; padding: 15px 28px; border: 1px solid rgba(190,175,135,0.35); color: var(--cream); text-decoration: none; transition: all 300ms var(--ease); }
  .contact-chip:hover, .contact-chip:focus-visible { border-color: var(--gold); color: var(--gold); outline: none; }

  /* stats: 3-up variant */
  .stats.three { grid-template-columns: repeat(3,1fr); }

  /* one drop cap per story opener, not per paragraph */
  .why-story p:not(:first-of-type)::first-letter { font-size: inherit; font-style: normal; float: none; padding: 0; color: inherit; }

  /* prose stack for story bands */
  .story-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; margin-top: 56px; }
  .story-cols .mkt-frame img { width: 100%; height: 440px; object-fit: cover; display: block; filter: saturate(0.9); }

  @media (max-width: 960px) {
    .split-h2, .grid2, .duty-grid, .svc2, .profile-grid, .story-cols { grid-template-columns: 1fr; gap: 40px; }
    .doc-layout { grid-template-columns: 1fr; gap: 40px; }
    .doc-rail { position: static; }
    .photo-band img { height: 300px; }
    .stats.three { grid-template-columns: 1fr; }
  }



  /* ===== production layer (ships on top of ledger + subpage CSS) ===== */

  /* office map: the live Google embed replaces the mockup's static render */
  #office-map { width: 100%; height: 420px; }
  #office-map:empty { background: #1a1a1c; }
  @media (max-width: 960px) { #office-map { height: 300px; } }

  /* footer compliance block: width:100% + 70px padding overflowed mobile by 30px
     (v29 baseline bug) — border-box keeps the padding inside the width */
  .compliance { box-sizing: border-box; }

  /* v29 scoped .btn-gold under .stress/.contact-form only; utility pages (404,
     petscreening) use it standalone */
  .btn-gold { background: var(--gold); color: var(--ink); border: 0; cursor: pointer; }
  .btn-gold:hover { background: var(--cream); color: var(--ink); }

  /* document-body links (petscreening steps, criteria) — gold, not browser blue */
  .doc-sec a { color: var(--gold-deep); }

  /* mobile fly-out: v29 gave the closed panel no hidden state, leaving a paper
     column painted over the left edge of every page. Hidden until .open. */
  @media (max-width: 960px) {
    .fn-items { opacity: 0; visibility: hidden; pointer-events: none;
                transition: opacity 350ms var(--ease), visibility 0s 350ms; }
    .fn.open .fn-items { opacity: 1; visibility: visible; pointer-events: auto;
                         transition: opacity 350ms var(--ease); }
    .fn-trigger { position: relative; z-index: 45; }
  }

  /* stress gauge: living instrument (sweeping keep-rate, comet head, tick ring) */
  .gauge .ticks { fill: none; stroke: rgba(222,215,195,0.16); stroke-width: 7;
                  stroke-dasharray: 1.5 13.26; }   /* 40 ticks on r=94 */
  .gauge.in .arc { animation: gaugeGlow 3.2s ease-in-out infinite; }
  @keyframes gaugeGlow {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(190,175,135,0.35)); }
    50%      { filter: drop-shadow(0 0 11px rgba(190,175,135,0.8)); }
  }
  .gauge .dot { fill: var(--cream); opacity: 0;
                filter: drop-shadow(0 0 5px var(--gold)) drop-shadow(0 0 12px rgba(190,175,135,0.7)); }
  .gauge.in .dot { opacity: 1; transition: opacity 700ms var(--ease) 1000ms; }
  .gauge-num span em { font-style: italic; color: var(--gold); text-transform: none;
                       font-size: 12px; letter-spacing: 0.06em; }
  /* the number span inside <b> must inherit the big serif, not the label style */
  .gauge-num b span { font-family: var(--serif); font-size: 44px; letter-spacing: 0;
                      color: var(--gold); text-transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .gauge.in .arc { animation: none; }
  }

  /* contact form success state (dual-submit lands here) */
  .form-success { padding: 26px 0 6px; }
  .form-success h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--cream); }
  .form-success p { color: rgba(222,215,195,0.7); font-size: 15px; margin-top: 10px; }
  [hidden] { display: none !important; }
