/* ==========================================================================
   Cayde Accounting & Tax
   Palette taken directly from the logo: navy wordmark, gold check, slate
   slash, on the cream ground of the existing brand. The gold check is the
   site's one recurring motif: it marks things that are done.
   Deliberately a single light theme, matched to the logo.
   ========================================================================== */

:root {
  color-scheme: light;

  --navy:      #1C2436;
  --navy-2:    #263048;
  --navy-3:    #323D58;
  --gold:      #FFDC00;
  --gold-deep: #F0C800;
  --gold-soft: #FFF3A8;
  --slate:     #626B7D;
  --cream:     #FFF7F0;
  --cream-2:   #FBEDE0;
  --stone:     #F4F1EC;
  --white:     #FFFFFF;

  --ink:       #1C2436;
  --ink-2:     #3E475B;
  --line:      rgba(28, 36, 54, 0.12);
  --line-2:    rgba(28, 36, 54, 0.22);
  --on-navy:   rgba(255, 255, 255, 0.76);
  --on-navy-2: rgba(255, 255, 255, 0.14);

  --red:       #BE3A25;
  --red-wash:  #FCE8E3;
  --google:    #F4B400;

  --todo:      #7A5100;
  --todo-wash: #FFF3BF;
  --todo-line: #D9A400;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 1px 2px rgba(28, 36, 54, 0.06), 0 18px 40px -22px rgba(28, 36, 54, 0.38);
  --shadow-lg: 0 2px 4px rgba(28, 36, 54, 0.06), 0 30px 60px -30px rgba(28, 36, 54, 0.5);

  --ff-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-body:    "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --ff-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 48px);
  --head-h: 78px;

  --check-navy: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2259%201%2022.5%2025.2%22%3E%3Cpath%20fill%3D%22%231C2436%22%20d%3D%22M66.14%2019.57C70.2%2013.14%2074.77%207.1%2079.84%201.43C81.02%202.39%2080.36%203.43%2079.94%204.19C79.35%205.29%2078.77%206.32%2078.66%207.61C78.63%208.06%2078.32%208.5%2078.07%208.91C76.26%2012.03%2074.41%2015.14%2072.57%2018.27C71.22%2020.57%2069.89%2022.88%2068.42%2025.39L66.74%2025.69C63.72%2024.16%2063.02%2021.11%2061.78%2018.42C61.02%2016.78%2060.34%2015.09%2059.53%2013.21C59.45%2013.25%2059.63%2013.14%2059.82%2013.09C60.63%2012.88%2061.59%2012.33%2062.22%2012.59C62.93%2012.88%2063.4%2013.86%2063.87%2014.59C64.31%2015.37%2064.71%2016.16%2065.05%2016.98C65.38%2017.71%2065.67%2018.45%2066.14%2019.57ZM66.14%2019.57%22%2F%3E%3C%2Fsvg%3E");
  --check-gold: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2259%201%2022.5%2025.2%22%3E%3Cpath%20fill%3D%22%23FFDC00%22%20d%3D%22M66.14%2019.57C70.2%2013.14%2074.77%207.1%2079.84%201.43C81.02%202.39%2080.36%203.43%2079.94%204.19C79.35%205.29%2078.77%206.32%2078.66%207.61C78.63%208.06%2078.32%208.5%2078.07%208.91C76.26%2012.03%2074.41%2015.14%2072.57%2018.27C71.22%2020.57%2069.89%2022.88%2068.42%2025.39L66.74%2025.69C63.72%2024.16%2063.02%2021.11%2061.78%2018.42C61.02%2016.78%2060.34%2015.09%2059.53%2013.21C59.45%2013.25%2059.63%2013.14%2059.82%2013.09C60.63%2012.88%2061.59%2012.33%2062.22%2012.59C62.93%2012.88%2063.4%2013.86%2063.87%2014.59C64.31%2015.37%2064.71%2016.16%2065.05%2016.98C65.38%2017.71%2065.67%2018.45%2066.14%2019.57ZM66.14%2019.57%22%2F%3E%3C%2Fsvg%3E");
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-color: var(--gold-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--gold); }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.85rem); }
h3 { font-size: clamp(1.16rem, 1.6vw, 1.3rem); line-height: 1.25; letter-spacing: -0.012em; }
p { margin: 0; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

.on-navy { color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy strong { color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.prose { max-width: 66ch; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.05em; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
.on-navy .lede { color: var(--on-navy); }
.muted { color: var(--slate); }
.small { font-size: 0.9rem; }

.kicker {
  margin: 0;
  font-family: var(--ff-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate);
}
.on-navy .kicker { color: var(--gold); }

.hl {
  color: var(--ink);
  background-image: linear-gradient(transparent 60%, var(--gold) 60%, var(--gold) 92%, transparent 92%);
  padding-inline: 0.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.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; }
.nw { white-space: nowrap; } /* keeps a hyphenated word in a heading on one line */
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- sections ---------- */

.section { padding-block: clamp(64px, 9vw, 116px); }
.section--cream { background: var(--cream); }
.section--stone { background: var(--stone); }
.section--white { background: var(--white); }
.section--navy  { background: var(--navy); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }

.sec-head { display: grid; gap: 16px; max-width: 68ch; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 18px 56px; }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: minmax(0, 1fr); } }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--ff-body); font-size: 0.98rem; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--navy); }
.on-navy .btn--line { color: var(--white); border-color: rgba(255, 255, 255, 0.34); }
.on-navy .btn--line:hover { border-color: var(--white); }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }

.textlink {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-weight: 600; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}
.textlink:hover { border-bottom-color: var(--navy); }
.on-navy .textlink { color: var(--white); }
.on-navy .textlink:hover { border-bottom-color: var(--white); }

/* ---------- ticks: the logo's check on a navy disc ---------- */

.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--navy) var(--check-gold) center / 11px 12px no-repeat; }
.on-navy .tick { background-color: var(--navy-3); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--navy) var(--check-gold) center / 11px 12px no-repeat; }
.on-navy .checks li::before { background-color: var(--navy-3); }
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- placeholders ---------- */

.todo {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 3px 8px; border: 1px dashed var(--todo-line); border-radius: 5px;
  background: var(--todo-wash); color: var(--todo);
  font-family: var(--ff-mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.5;
}

/* ---------- utility bar + header ---------- */

.utility { background: var(--navy); color: var(--on-navy); font-size: 0.8rem; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.utility a { color: var(--white); text-decoration: none; font-weight: 500; }
.utility a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.utility .g-mark { display: inline-block; width: 12px; height: 12px; margin-right: 7px; vertical-align: -2px; }
.utility-list { display: flex; align-items: center; gap: 18px; margin: 0; padding: 0; list-style: none; flex-shrink: 0; white-space: nowrap; }
.utility-list li + li { padding-left: 18px; border-left: 1px solid var(--on-navy-2); }
@media (max-width: 1000px) { .utility { display: none; } }
@media (max-width: 1400px) { .utility-list .u-wide { display: none; } }
@media (max-width: 1120px) { .utility-list .u-hours { display: none; } }

/* star rating drawn to the real figure: 4.5 shows four and a half stars, not five */
.meter { position: relative; display: inline-block; line-height: 1; letter-spacing: 1px; color: rgba(28, 36, 54, 0.18); white-space: nowrap; }
.meter::before { content: "\2605\2605\2605\2605\2605"; }
.meter::after { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: var(--google); }
.utility .meter, .on-navy .meter { color: rgba(255, 255, 255, 0.25); }
.meter--lg { font-size: 1.5rem; letter-spacing: 2px; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 22px; min-height: var(--head-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav-drop {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border: 0; border-radius: 8px; background: none;
  color: var(--ink-2); font-size: 0.94rem; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav > a:hover, .nav-drop:hover, .nav-drop[aria-expanded="true"] { color: var(--navy); background: var(--stone); }
.nav > a[aria-current="page"], .nav-drop[data-current] { color: var(--navy); font-weight: 600; }
.nav > a[aria-current="page"]::after, .nav-drop[data-current]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 2px; background: var(--gold);
}
.nav-drop .chev { width: 9px; height: 9px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.nav-drop[aria-expanded="true"] .chev { transform: translateY(1px) rotate(225deg); }
.nav-item { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: -8px; z-index: 60;
  display: none; min-width: 320px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.drop.is-open { display: grid; }
.drop a { display: grid; gap: 2px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.drop a:hover, .drop a:focus-visible { background: var(--cream); }
.drop a[aria-current="page"] { background: var(--cream); }
.drop b { font-weight: 600; font-size: 0.95rem; }
.drop span { font-size: 0.82rem; color: var(--slate); line-height: 1.4; }
.head-cta { flex: none; }
.head-call { display: none; }
.menu-btn {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 999px;
  background: var(--white); color: var(--navy); font-size: 0.88rem; font-weight: 600; cursor: pointer;
}
.menu-btn span { display: grid; gap: 4px; }
.menu-btn span i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-btn span i { transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] span i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span i:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-cta { display: none; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .head-cta { display: none; }
  .head-call {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2);
    color: var(--navy); text-decoration: none;
  }
  .head-call svg { width: 18px; height: 18px; fill: currentColor; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--head-h)); max-height: calc(100dvh - var(--head-h)); overflow-y: auto;
    padding: 8px var(--gut) 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  html.nav-locked { overflow: hidden; }
  .nav > a, .nav-drop { width: 100%; justify-content: space-between; padding: 15px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > a:hover, .nav-drop:hover, .nav-drop[aria-expanded="true"] { background: none; }
  .nav > a[aria-current="page"]::after, .nav-drop[data-current]::after { display: none; }
  .drop { position: static; min-width: 0; padding: 4px 0 10px; border: 0; border-radius: 0; box-shadow: none; }
  .drop a { padding: 10px 12px; }
  .nav-mobile-cta { display: grid; gap: 10px; margin-top: 18px; }
}
@media (max-width: 600px) { .brand img { height: 44px; } .head-row { gap: 10px; } }

/* sticky action bar for phones */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -20px rgba(28, 36, 54, 0.5);
    transition: transform 0.25s ease;
  }
  .mobile-bar .btn { min-height: 48px; padding: 12px 10px; font-size: 0.95rem; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .site-foot:has(+ .mobile-bar), .lp-foot:has(+ .mobile-bar) { padding-bottom: calc(36px + 76px); }
}
@media (max-width: 359px) {
  .mobile-bar { gap: 8px; padding-inline: 10px; }
  .mobile-bar .btn { padding-inline: 6px; font-size: 0.86rem; }
}

/* breadcrumbs */
.crumbs { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 0.84rem; color: var(--slate); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--line-2); }
.crumbs a { padding: 4px 0; color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- footer ---------- */

.site-foot { background: #141A28; color: var(--on-navy); padding-block: 72px 36px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 1000px) { .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-col { display: grid; gap: 10px; align-content: start; justify-items: start; font-size: 0.92rem; }
.foot-brand img { height: 56px; width: auto; margin-bottom: 8px; }
.foot-brand p { max-width: 36ch; }
.foot-col .foot-h { margin-bottom: 4px; font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 500; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.foot-col a:not(.btn) { color: var(--white); text-decoration: none; }
.foot-col a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--gold); }
.foot-brand .btn { margin-top: 8px; }
.foot-contact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--on-navy-2); }
@media (max-width: 800px) { .foot-contact { grid-template-columns: minmax(0, 1fr); } }
.foot-contact div { display: grid; gap: 4px; font-size: 0.92rem; }
.foot-contact b { color: var(--white); font-weight: 600; }
.foot-contact a { color: var(--white); text-decoration-color: var(--gold); }
.foot-contact a:hover { text-decoration-color: var(--white); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--on-navy-2); font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.foot-legal a { color: rgba(255, 255, 255, 0.8); }

/* ---------- home hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--cream); padding-block: clamp(44px, 6vw, 84px) clamp(40px, 5vw, 64px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 1140px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-side { max-width: 640px; } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy .lede { max-width: 54ch; }
.promise { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.95rem; color: var(--ink-2); }
.promise li { display: flex; align-items: center; gap: 10px; }
.promise li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) var(--check-gold) center / 9px 10px no-repeat; }

.hero-mark {
  position: absolute; z-index: 0; right: -70px; top: 44%;
  width: min(560px, 58vw); transform: translateY(-50%) rotate(-4deg);
  fill: var(--gold); pointer-events: none;
}
@media (max-width: 1140px) { .hero-mark { top: auto; bottom: 120px; transform: rotate(-4deg); width: 400px; right: -110px; } }
.hero-side { position: relative; min-width: 0; }

.trust {
  position: relative; z-index: 1;
  list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 30px;
  border-top: 1px solid var(--line-2);
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
}
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) var(--check-gold) center / 9px 10px no-repeat; }
.trust li.trust-google::before { content: none; }
.trust li.trust-google .g-mark { width: 18px; height: 18px; }
.trust a { padding: 2px 0; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- filing status board ---------- */

.board { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.board-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 16px 14px 20px; background: var(--navy); }
.board-title { font-family: var(--ff-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy); }
.toggle { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.toggle button { min-height: 34px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--on-navy); font-family: var(--ff-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.board-scroll { overflow-x: auto; }
.board table { width: 100%; min-width: 440px; border-collapse: collapse; font-family: var(--ff-mono); font-size: 0.8rem; }
.board th, .board td { padding: 12px 6px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.board thead th { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.board tbody tr:last-child td { border-bottom: 0; }
.board th:first-child, .board td:first-child { padding-left: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.board th:last-child, .board td:last-child { padding-right: 16px; }
.board-foot { padding: 13px 20px; border-top: 1px solid var(--line); background: var(--cream); font-size: 0.82rem; color: var(--slate); }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-family: var(--ff-mono); font-size: 0.64rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
.chip--overdue { background: var(--red-wash); color: var(--red); }
.chip--overdue::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--filed { background: var(--gold); color: var(--navy); }
.chip--filed::before { content: ""; width: 10px; height: 11px; background: var(--check-navy) center / contain no-repeat; }
.chip.is-flipping { animation: chip-in 0.42s cubic-bezier(0.2, 0.9, 0.3, 1.25) both; }
@keyframes chip-in { from { transform: scale(0.72); } to { transform: scale(1); } }
@media (max-width: 520px) {
  .board table { min-width: 0; }
  .board th, .board td { padding: 11px 5px; }
  .board th:first-child, .board td:first-child { padding-left: 16px; }
  .board th:last-child, .board td:last-child { padding-right: 16px; }
  .chip { gap: 0; padding: 7px; font-size: 0; letter-spacing: 0; }
  .chip--overdue::before { width: 8px; height: 8px; }
  .chip--filed::before { width: 11px; height: 12px; }
}

/* ---------- certification band ---------- */

.certband { background: var(--white); border-bottom: 1px solid var(--line); }
.certband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 26px; }
.certband p { font-size: 0.92rem; color: var(--slate); max-width: 46ch; }
.certband img { height: 58px; width: auto; }
.certband-right { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }
.reviews-mini { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--slate); font-size: 0.82rem; line-height: 1.35; }
.reviews-mini .g-mark { width: 26px; height: 26px; }
.reviews-mini > span:last-child { display: grid; }
.reviews-mini b { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.reviews-mini:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- situations ---------- */

.situations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
@media (max-width: 900px) { .situations { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .situations { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.situation { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--navy); }
.situation h3 { font-size: 1.18rem; }
.situation p { font-size: 0.96rem; }

/* ---------- founder & video ---------- */

.founder-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .founder-grid { grid-template-columns: minmax(0, 1fr); } }
.video { display: grid; gap: 12px; }
.video-frame { position: relative; aspect-ratio: 1200 / 670; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.video-frame img, .video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 0; padding: 0; background: linear-gradient(0deg, rgba(28, 36, 54, 0.25), rgba(28, 36, 54, 0)); cursor: pointer;
}
.video-play::before {
  content: ""; width: 84px; height: 84px; border-radius: 50%;
  background: var(--gold) no-repeat center / 26px 30px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath fill='%231C2436' d='M26 15 0 30V0z'/%3E%3C/svg%3E");
  background-position: 56% 50%;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease;
}
.video-play:hover::before { transform: scale(1.06); }
.video-cap { font-size: 0.86rem; color: var(--slate); }
.video-note { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 8px; background: rgba(28, 36, 54, 0.9); color: var(--white); font-size: 0.85rem; }

.creds { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.creds div { display: grid; gap: 4px; align-content: start; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.creds div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-2); }
.creds dt { font-family: var(--ff-display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.creds dd { margin: 0; font-size: 0.86rem; line-height: 1.45; color: var(--slate); }

/* ---------- penalty estimator ---------- */

.calc { display: grid; grid-template-columns: 340px minmax(0, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
@media (max-width: 900px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-in { display: grid; gap: 28px; align-content: start; padding: 30px 28px; background: var(--navy); color: var(--on-navy); }
.field { display: grid; gap: 8px; }
.field > label, .field > .label { font-family: var(--ff-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.calc-in .field > label { color: var(--on-navy); }
.calc-in .val { font-family: var(--ff-mono); font-size: 1.6rem; font-weight: 500; color: var(--white); font-variant-numeric: tabular-nums; }
.calc-in input[type="range"] { width: 100%; min-height: 28px; accent-color: var(--gold); }
.checkline { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 0.9rem; line-height: 1.5; cursor: pointer; }
.checkline input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.calc-out { display: grid; gap: 22px; align-content: start; padding: 28px; }
.calc-scroll { overflow-x: auto; }
table.ledger { width: 100%; border-collapse: collapse; font-family: var(--ff-mono); font-size: 0.84rem; font-variant-numeric: tabular-nums; }
table.ledger th, table.ledger td { padding: 10px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
table.ledger th:first-child, table.ledger td:first-child { padding-left: 0; text-align: left; }
table.ledger th:last-child, table.ledger td:last-child { padding-right: 0; }
table.ledger thead th { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
table.ledger td { color: var(--ink); }
@media (max-width: 520px) {
  .calc-in, .calc-out { padding: 24px 18px; }
  table.ledger { font-size: 0.78rem; }
  table.ledger th, table.ledger td { padding: 9px 5px; }
  table.ledger thead th { white-space: normal; line-height: 1.3; vertical-align: bottom; }
}
.totals { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 32px; padding-top: 6px; border-top: 2px solid var(--navy); }
.totals .big { font-family: var(--ff-display); font-size: clamp(2.2rem, 4.6vw, 3.3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.totals .big--quiet { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--slate); }
.fineprint { font-size: 0.8rem; line-height: 1.6; color: var(--slate); }
.fineprint code { font-family: var(--ff-mono); font-size: 0.95em; background: var(--cream); padding: 1px 5px; border-radius: 3px; color: var(--ink); }

/* ---------- process + sample proposal ---------- */

.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (max-width: 960px) { .process-grid { grid-template-columns: minmax(0, 1fr); } }
.stages { list-style: none; margin: 0; padding: 0; counter-reset: stage; display: grid; }
.stage { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.stage:last-child { border-bottom: 1px solid var(--line-2); }
.stage::before {
  counter-increment: stage; content: counter(stage);
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--navy); font-family: var(--ff-mono); font-weight: 500; color: var(--navy);
}
.stage:last-child::before { content: ""; background: var(--navy) var(--check-gold) center / 18px 20px no-repeat; }
.stage h3 { align-self: end; }
.stage p { font-size: 0.95rem; }

.proposal {
  position: relative; margin: 0;
  padding: 30px 30px 26px;
  background: var(--white); border-radius: 6px; box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--navy);
  transform: rotate(1.2deg);
  font-size: 0.86rem;
}
@media (max-width: 960px) { .proposal { transform: none; } }
.proposal::after {
  content: "Sample"; position: absolute; top: -12px; right: 22px;
  padding: 4px 12px; background: var(--gold); color: var(--navy);
  font-family: var(--ff-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 3px;
}
.proposal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.proposal-head img { height: 34px; width: auto; }
.proposal-head span { font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); text-align: right; }
.proposal h4 { margin: 18px 0 8px; font-family: var(--ff-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.proposal dl { margin: 0; display: grid; }
.proposal dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); }
.proposal dt { color: var(--ink-2); }
.proposal dd { margin: 0; font-family: var(--ff-mono); font-size: 0.8rem; color: var(--ink); text-align: right; }
.proposal .invest { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding: 14px 16px; background: var(--cream); border-radius: 6px; }
.proposal .invest b { font-family: var(--ff-display); font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.proposal .sign { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: end; margin-top: 22px; }
.proposal .sign span:last-child { height: 30px; border-bottom: 1.5px solid var(--navy); }
.proposal figcaption { margin-top: 12px; font-size: 0.8rem; color: var(--slate); }

/* ---------- price band (the one gold band) ---------- */

.priceband { background: var(--gold); color: var(--navy); }
.priceband .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px 40px; align-items: center; padding-block: clamp(34px, 5vw, 52px); }
@media (max-width: 900px) { .priceband .wrap { grid-template-columns: minmax(0, 1fr); } }
.priceband .from { font-family: var(--ff-display); font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; font-size: clamp(3rem, 7vw, 5rem); }
.priceband .from small { display: block; font-family: var(--ff-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.priceband p { font-size: 1.05rem; color: var(--navy); max-width: 56ch; }
.priceband strong { color: var(--navy); }

/* ---------- services index ---------- */

.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 2px solid var(--navy); }
@media (max-width: 820px) { .index { grid-template-columns: minmax(0, 1fr); } }
.index a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line-2);
  color: inherit; text-decoration: none;
}
.index b { font-family: var(--ff-display); font-size: 1.22rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.index span { grid-column: 1; font-size: 0.93rem; color: var(--slate); }
.index i {
  grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line-2); display: grid; place-items: center; font-style: normal; color: var(--navy);
  transition: background-color 0.15s, border-color 0.15s;
}
.index a:hover i { background: var(--gold); border-color: var(--gold); }
.index a:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.index .flag { font-style: normal; display: inline-block; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: var(--navy); color: var(--gold); font-family: var(--ff-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: 3px; }

.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .industries { grid-template-columns: minmax(0, 1fr); } }
.industry-card { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--cream); border-radius: var(--radius); color: inherit; text-decoration: none; transition: background-color 0.15s; }
.industry-card:hover { background: var(--cream-2); }
.industry-card p { font-size: 0.93rem; }
.industry-card .textlink { margin-top: 6px; }

/* ---------- portraits: photo or initials, always in brand colour ---------- */

.portrait { position: relative; isolation: isolate; container-type: inline-size; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; border-radius: var(--radius-sm); background: var(--cream); }
/* team photos share one treatment (greyscale with a light navy tint) so mixed photos read as a set;
   plain filters and an overlay only, no blend modes, so it paints reliably everywhere */
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05) brightness(1.03); transition: filter 0.4s ease; }
.portrait--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28, 36, 54, 0.05), rgba(28, 36, 54, 0.28)); pointer-events: none; transition: opacity 0.4s ease; }
.portrait--photo:hover img, a:focus-visible .portrait--photo img { filter: none; }
.portrait--photo:hover::after, a:focus-visible .portrait--photo::after { opacity: 0; }
.portrait--color img { filter: none; }
.portrait--color::after { display: none; }

/* crop a region out of a wider image (e.g. a video frame) */
.crop > img, img.crop-img {
  position: absolute; top: 0; max-width: none; height: auto; object-fit: fill;
  left: calc(var(--cx) / var(--cw) * -100%);
  width: calc(var(--iw) / var(--cw) * 100%);
  margin-top: calc(var(--cy) / var(--cw) * -100%);
}

.portrait--mono { display: grid; place-items: center; background: var(--navy); box-shadow: inset 0 0 0 8px var(--navy), inset 0 0 0 9px rgba(255, 255, 255, 0.14); }
.on-navy .portrait--mono { background: var(--navy-2); box-shadow: inset 0 0 0 8px var(--navy-2), inset 0 0 0 9px rgba(255, 255, 255, 0.16); }
.initials { position: relative; font-family: var(--ff-display); font-weight: 600; letter-spacing: 0.01em; line-height: 1; font-size: 2.4rem; font-size: clamp(1.8rem, 25cqi, 6rem); color: var(--cream); }
.initials::after { content: ""; position: absolute; right: -0.34em; top: -0.34em; width: 0.46em; height: 0.52em; background: var(--check-gold) center / contain no-repeat; }

.facepile { display: flex; align-items: center; }
/* --ring is the separating ring, matched to the section behind. The fill stops inside the ring (padding-box), so no
   navy shows through the ring's soft, anti-aliased curve; a photo face fills with the ring colour and its photo is
   rounded itself, so the edge stays smooth instead of jaggy. */
.face { --ring: var(--cream); position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin-left: -12px; overflow: hidden; border-radius: 50%; border: 3px solid var(--ring); background: var(--navy); background-clip: padding-box; color: var(--cream); font-family: var(--ff-display); font-size: 0.9rem; font-weight: 600; }
.face:first-child { margin-left: 0; }
.face > img { border-radius: 50%; }
.face > img:not(.crop-img) { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.on-navy .face { --ring: var(--navy); background-color: var(--navy-3); }
.section--white .face { --ring: var(--white); }
.facepile .face.face--photo { background-color: var(--ring); }
/* a hairline inside each photo circle, so a white-background photo still reads as a crisp circle on a light section */
.face--photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(28, 36, 54, 0.14); pointer-events: none; }
.on-navy .face--photo::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.facepile .face--more { background-color: var(--gold); color: var(--navy); } /* "+4": the rest of the team, past the first seven */

.roll { list-style: none; margin: 0 0 -10px; padding: 0 0 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(124px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.roll > li { scroll-snap-align: start; }
@media (min-width: 761px) { .roll { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 28px 16px; overflow: visible; margin-bottom: 0; padding-bottom: 0; } }
.roll-item { display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; }
.roll-name { font-family: var(--ff-display); font-size: 1.02rem; font-weight: 600; line-height: 1.25; color: var(--white); }
.roll-role { font-size: 0.82rem; line-height: 1.4; color: var(--on-navy); }
.team-lead-line { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-top: clamp(36px, 5vw, 52px); padding-top: 26px; border-top: 1px solid var(--on-navy-2); }
.team-lead-line p { max-width: 62ch; }

/* ---------- team page ---------- */

.team-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 36px 72px; align-items: end; }
@media (max-width: 900px) { .team-hero { grid-template-columns: minmax(0, 1fr); } }
.team-hero .face { width: 60px; height: 60px; }
@media (max-width: 420px) { .face, .team-hero .face { width: 44px; height: 44px; margin-left: -10px; font-size: 0.8rem; } .face:first-child { margin-left: 0; } }
.ledger-list { margin: 0; display: grid; border-top: 2px solid var(--navy); }
.ledger-list div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.ledger-list dt { font-size: 0.92rem; color: var(--ink-2); }
.ledger-list dd { margin: 0; font-family: var(--ff-mono); font-size: 0.9rem; font-weight: 500; color: var(--ink); text-align: right; }

.lead { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 820px) { .lead { grid-template-columns: minmax(0, 1fr); } .lead > .portrait { max-width: 360px; } }
.lead-body { display: grid; gap: 22px; }
.lead-name { font-size: clamp(2.2rem, 4vw, 3.1rem); }
.lead-role { font-family: var(--ff-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line-2); }
.fact { display: grid; gap: 6px; align-content: start; padding: 18px 18px 20px 0; }
.fact-figure { font-family: var(--ff-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.fact-label { font-size: 0.86rem; line-height: 1.45; color: var(--slate); }
.lead-bio { display: grid; gap: 1em; max-width: 68ch; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.team-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .team-grid, .team-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-grid, .team-grid--4, .team-grid--2 { grid-template-columns: minmax(0, 1fr); } }
.member { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.member .portrait { aspect-ratio: 1 / 1; border-radius: 0; }
.member-body { display: grid; gap: 10px; align-content: start; padding: 22px 22px 26px; }
.member-name { font-size: 1.32rem; }
.member-role { font-size: 0.95rem; color: var(--ink-2); }
.member-meta { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.member-bio { font-size: 0.94rem; }
.focus { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 4px 0 0; padding: 0; }
.focus li { padding: 4px 10px; border-radius: 999px; background: var(--cream); font-size: 0.78rem; color: var(--ink); }

/* ---------- security & commitments ---------- */

.commit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 980px) { .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .commit-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.commit { display: grid; gap: 12px; align-content: start; }
.commit h3 { font-size: 1.12rem; }
.commit p { font-size: 0.93rem; }
.certs-img { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.certs-img img { height: 64px; width: auto; }
.certs-img p { font-size: 0.9rem; color: var(--slate); max-width: 52ch; }
/* Partner badges (QuickBooks ProAdvisor Elite, Xero Silver partner): each company's artwork as supplied (never
   cropped, edited or recoloured), smaller than the Cayde logo, with clear space around them */
.partner-badges { display: flex; flex: none; align-items: center; gap: 16px; }
.certband img.tier-badge, .certs-img img.tier-badge, .tier-badge { flex: none; height: 72px; width: auto; }
.tier-note { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.tier-note p { flex: 1 1 220px; font-size: 0.9rem; color: var(--slate); }

/* ---------- reviews ---------- */

.reviews-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 920px) { .reviews-grid { grid-template-columns: minmax(0, 1fr); } }
.rating { display: grid; gap: 14px; align-content: start; }
.rating p { font-size: 0.95rem; }
/* one column, near native size, so the review text in each screenshot stays readable */
.shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; max-width: 860px; }
.shot { margin: 0; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; border-radius: 6px; }
.shot-text { display: none; margin: 0; padding: 8px 8px 2px; }
.shot-text p { font-size: 0.97rem; line-height: 1.6; color: var(--ink); }
.shot-text p + p { margin-top: 10px; }
.shot-text p:first-of-type::before { content: "“"; }
.shot-text p:last-of-type::after { content: "”"; }
.shot--text .shot-text { display: block; }
.shot-text cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
@media (max-width: 720px) { .shot img { display: none; } .shot-text { display: block; } }
.client-quote { margin: 0; padding: 14px 18px; background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }
.client-quote blockquote { margin: 0; }
.client-quote p { font-size: 0.97rem; line-height: 1.6; color: var(--ink); }
.client-quote p::before { content: "“"; }
.client-quote p::after { content: "”"; }
.client-quote figcaption { margin-top: 8px; font-size: 0.85rem; line-height: 1.45; color: var(--slate); }
.client-quote figcaption b { font-weight: 600; color: var(--navy); }
.client-quote figcaption span { display: block; }
.shot figcaption { display: flex; align-items: center; gap: 8px; padding: 10px 6px 2px; font-size: 0.78rem; color: var(--slate); }
.g-mark { flex: none; width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); mask: radial-gradient(circle, transparent 38%, #000 40%); }

/* ---------- FAQ ---------- */

.faq { border-top: 2px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { position: relative; cursor: pointer; list-style: none; padding: 22px 52px 22px 0; font-family: var(--ff-display); font-size: 1.16rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: linear-gradient(var(--navy), var(--navy)) center / 11px 2px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 2px 11px no-repeat, var(--gold);
}
.faq details[open] summary::after { background: linear-gradient(var(--navy), var(--navy)) center / 11px 2px no-repeat, var(--gold); }
.faq .answer { display: grid; gap: 1em; max-width: 70ch; padding: 0 0 24px; }
.faq-cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- inner page hero ---------- */

.page-hero { background: var(--cream); padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 84px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 36px 72px; align-items: end; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.page-hero .prose { gap: 20px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.aside-card { display: grid; gap: 14px; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.aside-card .kicker { margin-bottom: 2px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: minmax(0, 1fr); } }
.panel { display: grid; gap: 14px; align-content: start; padding: 28px; background: var(--cream); border-radius: var(--radius); }
.panel--navy { background: var(--navy); }
.callout { display: grid; gap: 8px; padding: 20px 22px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--cream); }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
@media (max-width: 860px) { .steps3 { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.steps3 li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--navy); }
.steps3 li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--ff-mono); font-size: 0.8rem; font-weight: 500; color: var(--slate); }
.steps3 p { font-size: 0.95rem; }

.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { padding: 12px 16px; background: var(--white); font-size: 0.84rem; color: var(--slate); }

/* ---------- pricing ---------- */

.price-card { display: grid; gap: 16px; padding: clamp(28px, 4vw, 40px); background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.price-card .from { font-family: var(--ff-display); font-size: clamp(3.2rem, 7vw, 4.8rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; color: var(--gold); }
.factor-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--navy); }
.factor-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); counter-increment: f; }
.factor-list { counter-reset: f; }
.factor-list li::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); font-family: var(--ff-mono); font-size: 0.8rem; color: var(--navy); }
.factor-list b { display: block; color: var(--ink); }

/* ---------- booking ---------- */

.booking { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .booking { grid-template-columns: minmax(0, 1fr); } .booking-cal { order: -1; } }
.booking-cal { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.booking-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: var(--navy); color: var(--on-navy); font-size: 0.86rem; }
.booking-cal-head b { color: var(--white); }
.booking-cal iframe { display: block; width: 100%; min-height: 820px; border: 0; }
@media (max-width: 700px) { .booking-cal iframe { min-height: 900px; } }
.booking-cal-foot { padding: 12px 20px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--slate); }
.cal-fallback { display: grid; gap: 14px; justify-items: start; padding: 36px 28px; }

.prep { counter-reset: p; list-style: none; margin: 0; padding: 0; display: grid; }
.prep li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.prep li::before { content: ""; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--navy); border-radius: 5px; }

/* ---------- contact ---------- */

.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.contact-card { display: grid; gap: 10px; align-content: start; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
a.contact-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.contact-card--lead { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.contact-card b { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.contact-card--lead b { color: var(--white); }
.contact-card span { font-size: 0.92rem; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.office { display: grid; gap: 8px; align-content: start; padding: 24px; border-top: 2px solid var(--navy); background: var(--white); }
.office h3 { font-size: 1.2rem; }

/* ---------- resources & legal ---------- */

.post-group + .post-group { margin-top: clamp(48px, 6vw, 72px); }
.post-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.post-group-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.post-group-head p { font-size: 0.95rem; color: var(--slate); max-width: 60ch; }
.post-list { display: grid; border-top: 2px solid var(--navy); }
.post-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 28px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line-2); color: inherit; text-decoration: none; }
@media (max-width: 760px) { .post-row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.post-row time { font-family: var(--ff-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.post-row h3 { font-size: clamp(1.2rem, 1.9vw, 1.4rem); line-height: 1.25; letter-spacing: -0.015em; }
.post-row p { margin-top: 8px; font-size: 0.95rem; color: var(--slate); }
.post-row .go { font-family: var(--ff-mono); font-weight: 500; color: var(--navy); }
.post-row:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.post-head { display: grid; gap: 22px; max-width: 72ch; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--ff-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.post-meta a { padding: 3px 0; color: var(--navy); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article { max-width: 68ch; display: grid; gap: 1.1em; font-size: 1.04rem; }
.article h2 { margin-top: 1.1em; font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.article h3 { margin-top: 0.6em; }
.article ul, .article ol { display: grid; gap: 0.6em; margin: 0; padding-left: 1.3em; }
.article li::marker { color: var(--slate); font-family: var(--ff-mono); }
.article .callout { display: block; }
.legal { max-width: 72ch; display: grid; gap: 1em; }
.legal h2 { margin-top: 1.2em; font-size: 1.5rem; }
.legal ul { display: grid; gap: 0.5em; margin: 0; padding-left: 1.3em; }

/* ---------- final call to action ---------- */

.cta { background: var(--navy); padding-block: clamp(64px, 9vw, 112px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 40px 64px; align-items: end; }
@media (max-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }
.cta-copy { display: grid; gap: 22px; justify-items: start; }
.cta-side { display: grid; gap: 16px; justify-items: start; }
.cta-side p { font-size: 0.92rem; }

/* ---------- YouTube Shorts ---------- */

.shorts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.short { display: grid; gap: 12px; align-content: start; }
.short-play { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: pointer; box-shadow: var(--shadow); }
.short-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.short-play:hover img { transform: scale(1.03); }
.short-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%;
  background: var(--gold) no-repeat 56% 50% / 19px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 30'%3E%3Cpath fill='%231C2436' d='M26 15 0 30V0z'/%3E%3C/svg%3E");
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5); transition: transform 0.2s ease;
}
.short-play:hover::after { transform: scale(1.07); }
.short-dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(28, 36, 54, 0.88); color: var(--white); font-family: var(--ff-mono); font-size: 0.72rem; }
.short-frame { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: var(--radius); background: #000; }
.short-title { font-size: 1.05rem; }

/* ---------- map ---------- */

.map-embed { display: block; width: 100%; height: 400px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--stone); }
@media (max-width: 600px) { .map-embed { height: 300px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
