/* AMR website. Tokens from brand guidelines v0.3 (drive/amr-logos/out/guidelines). */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0B1F4B;
  --ivory: #F4F1EA;
  --white: #FFFFFF;
  --flag: #E0393E;        /* shapes only */
  --flag-text: #CC3438;   /* small red text on light */
  --ink-2: #2F3E63;       /* secondary text, a lighter navy */
  --rule: rgba(11, 31, 75, .28);
  --u: 8px;               /* base unit; gaps are multiples of it */
  --wrap: 1120px;
  --gutter: 20px;
  --slant: .4770;         /* tan(25.5deg): the mark's own lean */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font: 400 1rem/1.5 "Space Grotesk", Arial, sans-serif; /* guidelines: body Regular 16/24 */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--navy); color: var(--ivory); }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.band-navy :focus-visible, .site-footer :focus-visible, .hero-panel :focus-visible { outline-color: var(--ivory); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
/* "narrow" keeps the left edge on the page grid and limits the reading width of its children */
.narrow > * { max-width: 46rem; }
.narrow > .btn-row, .narrow > .faq, .narrow > .facts { max-width: 46rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--ivory); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; }

/* Headings */
h1, h2, h3 { font-weight: 700; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.7rem + 2.8vw, 3.5rem); line-height: 1.1; letter-spacing: -.02em; } /* guidelines: H1 Bold 40/44, scaled up on large screens */
h2 { font-size: clamp(1.625rem, 1.35rem + 1vw, 2.125rem); line-height: 1.15; } /* guidelines: H2 Bold 26/30 */
h3 { font-size: 1.1875rem; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 68ch; }
.lede { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem); line-height: 1.5; max-width: 40ch; }
.page-head .lede { max-width: 56ch; }
.note { color: var(--ink-2); font-size: .9375rem; margin-top: 14px; }
.narrow > h2 { margin-bottom: 14px; }
.page-head + .section.after-head { padding-top: 16px; }
.folio { display: flex; align-items: center; gap: 10px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--ivory); position: sticky; top: 0; z-index: 50; }
.site-header.scrolled { box-shadow: 0 2px 10px rgba(11, 31, 77, .12); }
/* a tall open menu scrolls inside the screen instead of running off it */
.js .site-nav.open { max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: block; flex: 0 1 auto; padding-block: 8px; }
.logo img { height: 32px; width: auto; }
/* narrow phones (about 320 px): keep logo and Menu on one line so the fixed header stays slim */
@media (max-width: 380px) { .header-row { column-gap: 10px; } .logo img { height: 28px; } .nav-toggle { padding: 0 12px; } }
.nav-toggle { display: none; min-height: 48px; min-width: 48px; padding: 0 16px; background: transparent; color: var(--navy); border: 2px solid var(--navy); font: 700 1rem "Space Grotesk", Arial, sans-serif; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--navy); font-weight: 700; }
.js .nav-toggle { display: inline-flex; align-items: center; }
.js .site-nav { display: none; flex-basis: 100%; }
.js .site-nav.open { display: block; }
.js .site-nav ul { flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.js .site-nav a { border-bottom: 1px solid var(--rule); }

/* Buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; font: 700 1rem/1.2 "Space Grotesk", Arial, sans-serif; text-decoration: none; border: 2px solid var(--navy); cursor: pointer; text-align: center; }
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn-ghost-light { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.btn:active { transform: translateY(1px); }
.link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more { margin-top: 32px; }

/* Hero: one Slant cut, the mark large on navy */
.hero { position: relative; overflow: hidden; --h: 600px; }
.hero-text { position: relative; z-index: 1; padding-block: 56px 48px; }
.hero-text h1 { max-width: 15ch; margin-bottom: 24px; }
.hero-panel {
  display: flex;
  background: var(--navy);
  position: relative; width: 100%; height: 200px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, calc(200px * var(--slant)) 100%);
  align-items: center; justify-content: center; padding-left: calc(200px * var(--slant) * .5);
}
.hero-panel img { width: 190px; }
@media (min-width: 900px) {
  .hero { min-height: var(--h); display: flex; align-items: center; }
  .hero-text { padding-block: 72px; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
  .hero-text > * { max-width: min(36rem, 50%); }
  .hero-text > .btn-row { max-width: none; }
  .hero-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: 46%; height: auto;
    clip-path: polygon(0 0, 100% 0, 100% 100%, calc(var(--h) * var(--slant)) 100%);
    padding-left: calc(var(--h) * var(--slant) * .6);
  }
  .hero-panel img { width: min(70%, 420px); }
  .hero-text h1, .hero-text .lede { max-width: min(36rem, 50%); }
}
@media (min-width: 900px) and (max-width: 1160px) { .hero { --h: 560px; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-ruled { border-top: 1px solid var(--rule); }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-bottom: 12px; }
.page-head { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) 24px; }
/* The Slant on every page: a navy panel whose edge leans at the mark's own angle (25.5 deg, top-left to bottom-right).
   skewX keeps the angle exact whatever the height. One cut per page; the hero is the home page's cut. */
.page-head::after { content: ""; position: absolute; top: 0; bottom: auto; height: min(100%, 190px); right: -14px; width: 72px; background: var(--navy); transform: skewX(25.5deg); }
.page-head > .wrap { position: relative; z-index: 1; padding-right: 72px; }
@media (min-width: 900px) {
  .page-head::after { right: -6%; width: 22%; bottom: 0; height: auto; }
  .page-head > .wrap { padding-right: 0; }
  .page-head > .wrap > * { max-width: min(46rem, 62%); }
  .page-head > .wrap > .lede { max-width: min(40rem, 62%); }
}
.page-head h1 { margin-bottom: 20px; }
.two-col { display: grid; gap: 48px; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; gap: 64px; } }
.two-col h2 { margin-bottom: 24px; }

/* Ledger: rules, not boxes. Heavy rule opens, double rule closes. */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); border-bottom: 5px double var(--navy); }
.ledger-row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); }
.ledger-row:first-child { border-top: 0; }
.folio-no { font-weight: 700; font-size: .9375rem; color: var(--ink-2); padding-top: 3px; }
.ledger-row { padding: 10px 0; }
.ledger-row h3 { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.ledger-row h3 .flag { margin-left: 0; }
.ledger-row h3 a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ledger-row h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ledger-row p { margin: 4px 0 0; color: var(--ink-2); }
@media (min-width: 760px) {
  .ledger-row { grid-template-columns: 72px minmax(0, 1fr); }
  .ledger-row > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; align-items: baseline; }
  .ledger-row h3 { grid-column: 1; }
  .ledger-row p { grid-column: 2; margin: 0; }
}

/* The Notch: triangle bullet, red only for the one flag */
.tri { display: inline-block; width: 10px; height: 12px; background: var(--navy); clip-path: polygon(51% 0, 100% 100%, 0 100%); flex: none; }
.tri-flag { background: var(--flag); }
.flag { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--flag-text); margin-left: 12px; white-space: nowrap; }
.flag.draft { margin: 8px 0 0; white-space: normal; }
.notch-list, .ledger-list { list-style: none; margin: 0; padding: 0; }
.notch-list li, .ledger-list li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--rule); }
.notch-list li:last-child, .ledger-list li:last-child { border-bottom: 1px solid var(--rule); }
.notch-list li::before, .ledger-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 11px; background: var(--navy); clip-path: polygon(51% 0, 100% 100%, 0 100%); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 3px solid var(--navy); }
.process li { padding: 20px 0 20px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
.process .step-no { grid-row: 1 / 3; font-weight: 700; color: var(--ink-2); }
.process h3 { margin-bottom: 4px; }
.process p { margin: 0; color: var(--ink-2); }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-bottom: 0; }
  .process li { grid-template-columns: 1fr; padding-block: 24px 32px; }
  .process .step-no { grid-row: auto; margin-bottom: 8px; }
}

/* CTA band */
.band-navy { background: var(--navy); color: var(--ivory); padding-block: 64px; }
.band-row { display: grid; gap: 8px; }
.band-navy h2 { margin-bottom: 12px; }
.band-navy p { max-width: 52ch; margin-bottom: 0; }
@media (min-width: 900px) { .band-row { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; } .band-row .btn-row { margin-top: 0; justify-content: flex-end; } }

/* Services page */
.services-layout { display: grid; gap: 40px; }
.toc { font-size: .9375rem; }
.toc-h { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--navy); }
.toc a { display: flex; align-items: center; min-height: 44px; padding-block: 6px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 40px 0; border-top: 1px solid var(--rule); }
.service:first-child { border-top: 3px solid var(--navy); }
.service h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); margin-bottom: 12px; }
/* 2026-11-18: each service opens to show its specific work. Native <details>: the text is in the page HTML either way. */
.svc-more summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: start; cursor: pointer; list-style: none; }
.svc-more summary::-webkit-details-marker { display: none; }
.svc-more summary h2 { grid-column: 1; margin-bottom: 8px; }
.svc-desc { grid-column: 1; display: block; color: var(--ink); max-width: 68ch; }
.svc-cue { grid-column: 1; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; font-size: .875rem; font-weight: 700; color: var(--navy); }
.svc-cue::before { content: "Show specific work"; }
.svc-cue::after { content: ""; width: 10px; height: 10px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg) translateY(-2px); flex: none; }
.svc-more[open] .svc-cue::before { content: "Hide specific work"; }
.svc-more[open] .svc-cue::after { transform: rotate(-135deg) translateY(-2px); }
.svc-more summary:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.svc-more summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.work-h { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 24px 0 8px; font-weight: 700; }
@media (min-width: 960px) {
  .services-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 100px; max-height: calc(100vh - 124px); overflow-y: auto; }
  .service { grid-template-columns: 72px minmax(0, 1fr); }
}

/* Facts list */
.facts { margin: 0 0 8px; border-top: 3px solid var(--navy); }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.facts dd { margin: 0; }
address { font-style: normal; }
@media (min-width: 640px) { .facts > div { grid-template-columns: 200px 1fr; gap: 24px; } }

/* FAQ */
.faq { border-top: 3px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 14px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); flex: none; margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding-bottom: 20px; margin: 0; color: var(--ink-2); }

/* Contact and form */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.form { margin-top: 24px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem "Space Grotesk", Arial, sans-serif; color: var(--navy); background: var(--white); border: 2px solid var(--navy); border-radius: 0; }
.field textarea { resize: vertical; min-height: 140px; }
.field [aria-invalid="true"] { border-color: var(--flag-text); }
.help { color: var(--ink-2); font-size: .9375rem; margin: 6px 0 0; }
.error { color: var(--flag-text); font-weight: 700; font-size: .9375rem; margin: 6px 0 0; }

/* Legal text */
.prose h2 { font-size: 1.375rem; margin: 40px 0 8px; }
.prose p { margin-bottom: .9em; }

/* Footer */
/* Guidelines v0.3: the Ledger (heavy rule opens, hairlines between rows, double rule closes),
   the Notch as bullet, tabular figures, no red on navy, the name under the bottom rule. */
.site-footer { background: var(--navy); color: var(--ivory); padding-top: 56px; }
.footer-mark { width: min(320px, 100%); height: auto; margin-bottom: 40px; }
.footer-ledgers { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-ledgers { grid-template-columns: 1fr 1fr; gap: 56px; } }
.f-ledger { margin: 0; border-top: 3px solid var(--ivory); border-bottom: 5px double var(--ivory); }
.f-ledger > div { display: grid; gap: 2px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(244, 241, 234, .35); }
.f-ledger > div:first-child { border-top: 0; }
.f-ledger dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.f-ledger dd { margin: 0; }
.f-ledger address { max-width: none; }
.f-ledger a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.f-notch { position: relative; padding-left: 20px; }
.f-notch::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 11px; background: var(--ivory); clip-path: polygon(51% 0, 100% 100%, 0 100%); }
@media (min-width: 640px) { .f-ledger > div { grid-template-columns: 170px 1fr; gap: 24px; } }
.site-footer .disclaimer { margin: 32px 0 0; font-size: .875rem; max-width: 80ch; }
.footer-bottom { margin-top: 40px; border-top: 1px solid rgba(244, 241, 234, .35); }
.footer-name-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-block: 12px 24px; }
.site-footer .footer-name { margin: 0; font-size: .9375rem; max-width: none; }
.site-footer .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-size: .875rem; margin: 0; max-width: none; }
.footer-links a, .footer-links span { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .site-nav a, .btn, .ledger-row h3 a { transition: color .15s ease-out, background-color .15s ease-out, border-color .15s ease-out; }
  .btn-primary:hover { background: #17306b; }
  .btn-ghost:hover { background: rgba(11, 31, 75, .08); }
  .btn-light:hover { background: var(--white); }
  .btn-ghost-light:hover { background: rgba(244, 241, 234, .12); }
}
@media (hover: hover) and (prefers-reduced-motion: reduce) {
  .btn-primary:hover { background: #17306b; }
}

/* Desktop nav: one line, shows from 900px */
@media (min-width: 900px) {
  .header-row { flex-wrap: nowrap; }
  .logo img { height: 40px; }
  .js .nav-toggle { display: none; }
  .js .site-nav, .site-nav { display: block; flex-basis: auto; }
  .js .site-nav ul, .site-nav ul { flex-direction: row; border-top: 0; gap: 4px; }
  .js .site-nav a { border-bottom: 3px solid transparent; }
  .js .site-nav a:hover { border-bottom-color: var(--rule); }
  .js .site-nav a[aria-current="page"] { border-bottom-color: var(--navy); }
}

/* Service icons (icons.py, guidelines p.21: solid navy shapes; no red, the one flag per page is the label) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; width: 36px; height: 36px; fill: var(--navy); flex: none; }
.row-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (min-width: 760px) {
  .icon { width: 44px; height: 44px; }
  .ledger-row { grid-template-columns: 128px minmax(0, 1fr); }
  .ledger-row .row-lead { flex-direction: row; align-items: center; gap: 16px; }
  .ledger-row .row-lead .folio-no { width: 40px; padding-top: 0; }
  .service .icon { width: 48px; height: 48px; }
}

/* Motion: calm and short, never needed to read the page. Everything below is skipped when the visitor's device
   asks for reduced motion, and the scroll reveal only runs in browsers that support scroll-driven animations. */
@keyframes slant-in { from { transform: translateX(56px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slant-in-skew { from { transform: translateX(80px) skewX(25.5deg); opacity: 0; } to { transform: skewX(25.5deg); opacity: 1; } }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes reveal-up { from { transform: translateY(18px); } to { transform: none; } }  /* movement only: nothing is ever faded (2026-11-15) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-panel { animation: slant-in .7s cubic-bezier(.2, .7, .2, 1) both; }
  .page-head::after { animation: slant-in-skew .7s cubic-bezier(.2, .7, .2, 1) both; }
  .icon { transition: transform .25s ease-out; }
  .ledger-row:hover .icon, .service:hover .icon { transform: translateX(4px); }
  .faq summary::after { transition: transform .2s ease-out; }
  .faq details[open] > p { animation: faq-in .28s ease-out; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal-up linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}

/* 2026-11-15, client request: justified text where it reads as a paragraph */
@media (min-width: 700px) { main p, main li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; } }
main .btn, main .flag, main .more, main .step-no, main .toc li, main .ledger-list li, main .row-lead { text-align: left; hyphens: manual; }
main .lede { text-align: left; }
.hero-text .lede { text-align: left; }

/* Virtual CFO feature block and page */
.feature { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; border: 2px solid var(--navy, #0B1F4B); }
.feature h2 { margin: 0 0 8px; }
.vcfo-list { list-style: none; padding: 0; margin: 0 0 1.5em; }
.vcfo-list li { padding: 16px 0; border-top: 1px solid var(--rule); }
.vcfo-list li:first-child { border-top: 0; }
.vcfo-list h3 { margin: 0 0 4px; }
.vcfo-list p { margin: 0; }
@media (min-width: 900px) { .feature { grid-template-columns: 72px 1fr; padding: 36px; } }
main h1, main h2, main h3, main h4 { text-align: left; hyphens: manual; }
main .lede, .page-head .lede { hyphens: manual; text-align: left; }

.photo-band { padding: 32px 0 0; }
.photo-band figure { margin: 0 auto; }
.photo-band img { display: block; width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; object-position: 50% 78%; border-bottom: 4px solid var(--navy); }
.photo-band figcaption { font-size: .8125rem; color: var(--ink-2); padding: 10px 0 0; text-align: left; }
@media (min-width: 700px) { .site-footer .disclaimer { text-align: justify; hyphens: auto; -webkit-hyphens: auto; } }
.site-footer a[href^="tel:"] { text-decoration: none; }
.site-footer a, .site-footer a:hover, .site-footer a:focus-visible { text-decoration: none; }

/* 2026-11-15: service descriptions and step text in the main navy, not the lighter one, so nothing reads dull */
.ledger-row p, .process p, .vcfo-list p { color: var(--navy); }

/* 2026-11-17: photos cropped on the Slant (25.5 deg, top-left to bottom-right lean), local preview until approved */
.slant-photo { padding: 32px 0 32px; }
.slant-photo .wrap { --ph: clamp(200px, 30vw, 380px); }
.slant-photo img { display: block; width: 100%; height: var(--ph); object-fit: cover; object-position: 50% 55%;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--ph) * var(--slant)) 100%, 0 100%); }
/* Contact page body: links without underline (client request, 2026-11-17) */
.contact-grid a:not(.btn), .contact-grid a:not(.btn):hover, .contact-grid a:not(.btn):focus-visible { text-decoration: none; }
/* Careers, Privacy, Terms: email links without underline (client request, 2026-11-17) */
a.link[href^="mailto:"], a.link[href^="mailto:"]:hover, a.link[href^="mailto:"]:focus-visible { text-decoration: none; }

/* 2026-11-18: small map under the Contact buttons, left of the enquiry form */
.map-embed { display: block; width: 100%; height: clamp(220px, 22vw, 240px); margin-top: 28px; border: 0; background: var(--ivory); }

/* 2026-11-18: home page shows six services in full; the other nine are links */
.also-services { margin-top: 28px; }
.also-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; max-width: none; }
.also-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 2px solid var(--rule); font-weight: 500; }
.also-links a:hover { border-bottom-color: var(--navy); }
.also-services + .more { margin-top: 24px; }
@media (max-width: 639px) {
  .also-links { display: block; border-top: 1px solid var(--rule); }
  .also-links a { display: flex; width: 100%; padding-block: 6px; border-bottom: 1px solid var(--rule); }
}

/* ===== 2026-11-18 redesign: look refresh and interactive parts (Nandaprayag: "the site look like a pdf, more interactives, improve the look") =====
   Brand rules kept (guidelines v0.3): navy, ivory, white; red untouched; no gradients or shadows on shapes; calm movement only. */
[hidden] { display: none !important; }

/* section backgrounds: the brand is about 70% navy, so navy sections now carry the page */
.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--ivory); }
.bg-navy :focus-visible { outline-color: var(--ivory); }
.bg-navy p, .bg-navy .note { color: var(--ivory); }

/* facts band: only facts already stated on the site */
.facts-band { background: var(--navy); color: var(--ivory); padding-block: 44px; }
.facts-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
.facts-grid li { border-top: 3px solid var(--ivory); padding-top: 14px; }
.fact-big { display: block; font-weight: 700; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; }
.fact-label { display: block; margin-top: 10px; font-size: .9375rem; line-height: 1.4; max-width: 30ch; }
@media (min-width: 560px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .facts-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } .facts-band { padding-block: 56px; } }
main .fact-label, main .fact-big { text-align: left; }

/* chips, used by the home finder and the Services filter */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.chip { min-height: 48px; padding: 0 18px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font: 700 .9375rem/1.2 "Space Grotesk", Arial, sans-serif; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--ivory); }
@media (hover: hover) { .chip:hover { background: var(--navy); color: var(--ivory); } }

/* home finder */
.finder { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); }
.finder h2 { margin-bottom: 8px; }
.finder-hint { color: var(--ink-2); margin: 18px 0 0; }
.need-panel { margin-top: 22px; padding: 24px; background: var(--white); border-left: 6px solid var(--navy); }
.need-panel h3 { margin-bottom: 10px; }
.need-list { list-style: none; margin: 0 0 20px; padding: 0; border-bottom: 1px solid var(--rule); }
.need-list li { border-top: 1px solid var(--rule); }
.need-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 700; }
.need-list a::after { content: "\2192"; flex: none; }
@media (hover: hover) { .need-list a:hover { text-decoration: underline; text-underline-offset: 4px; } }
main .need-list li, main .need-panel p { text-align: left; }
@media (min-width: 760px) { .need-panel { padding: 28px 32px; max-width: 46rem; } }

/* service cards on the home page */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.svc-card { background: var(--ivory); border-top: 4px solid var(--navy); }
.svc-card-link { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 22px 22px; text-decoration: none; }
.svc-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--navy); margin-bottom: 6px; }
.svc-card .icon { width: 32px; height: 32px; fill: var(--ivory); }
.svc-card h3 { font-size: 1.25rem; }
main .svc-card p { margin: 0; text-align: left; flex: 1; color: var(--navy); }
.card-cue { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; }
.card-cue::after { content: "\2192"; }
@media (hover: hover) {
  .svc-card:hover { background: var(--navy); color: var(--ivory); }
  .svc-card:hover .svc-icon { background: var(--ivory); }
  .svc-card:hover .icon { fill: var(--navy); }
  .svc-card:hover p { color: var(--ivory); }
}
.svc-card:focus-within { background: var(--navy); color: var(--ivory); }
.svc-card:focus-within .svc-icon { background: var(--ivory); }
.svc-card:focus-within .icon { fill: var(--navy); }
.svc-card:focus-within p { color: var(--ivory); }
.svc-card-link:focus-visible { outline-color: var(--ivory); outline-offset: -6px; }
.svc-card .folio-no { color: inherit; opacity: .8; }

/* how we work on navy: each step's top rail fills in as you reach it */
.bg-navy .process { border-top: 0; column-gap: 24px; }
.bg-navy .process li { border-bottom: 0; border-top: 4px solid var(--ivory); }
.js .bg-navy .process li:not(.is-on) { border-top-color: rgba(244, 241, 234, .28); }
.bg-navy .process p { color: var(--ivory); }
.bg-navy .process .step-no { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 10px; border: 2px solid var(--ivory); background: var(--ivory); color: var(--navy); }
.js .bg-navy .process li:not(.is-on) .step-no { background: transparent; color: var(--ivory); }
@media (prefers-reduced-motion: no-preference) { .bg-navy .process li, .bg-navy .process .step-no { transition: border-color .4s ease-out, background-color .4s ease-out, color .4s ease-out; } }

/* services filter and FAQ search */
.svc-tools, .faq-tools { margin-bottom: 28px; display: grid; gap: 16px; }
.svc-tools .chips { margin: 0; }
.svc-search { display: flex; flex-direction: column; gap: 6px; max-width: 30rem; font-weight: 700; font-size: .875rem; }
.svc-search input { min-height: 52px; padding: 0 14px; border: 2px solid var(--navy); border-radius: 0; background: var(--white); color: var(--navy); font: 400 1rem "Space Grotesk", Arial, sans-serif; }
.svc-count { margin: 0; color: var(--ink-2); font-size: .9375rem; min-height: 1.4em; }
.svc-none { padding: 24px 0; }
.service-list { border-top: 3px solid var(--navy); }
.service:first-child { border-top: 0; }

/* buttons: clear hover and press */
@media (hover: hover) {
  .btn-primary:hover { background: #173367; border-color: #173367; }
  .btn-ghost:hover { background: var(--navy); color: var(--ivory); }
  .btn-light:hover { background: var(--white); border-color: var(--white); }
  .btn-ghost-light:hover { background: var(--ivory); color: var(--navy); }
}

/* WhatsApp: one floating "Chat on WhatsApp" button (client reply of 2026-11-19) */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #25D366; color: #fff; border-radius: 50%; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); text-decoration: none; }
.wa-float svg { display: block; }
.wa-float:hover { background: #1ebe5b; }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media print { .wa-float { display: none; } }

/* soft page change and a reading-progress line under the header (browsers without support just skip them) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
@keyframes read-progress { to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; animation: read-progress linear both; animation-timeline: scroll(root); }
  }
}
/* phones: cards are compact, icon beside the text, so six cards do not make a very long page */
@media (max-width: 639px) {
  .svc-card-link { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px 16px; }
  .svc-icon { grid-row: 1 / span 3; width: 48px; height: 48px; margin: 0; }
  .svc-card .icon { width: 28px; height: 28px; }
  .svc-card .folio-no { display: none; }
  .svc-card h3 { font-size: 1.125rem; }
  .card-cue { margin-top: 6px; }
}

/* 2026-11-18: a service slides open instead of jumping. Browsers that cannot animate it just open at once. */
@keyframes svc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .svc-more[open] > :not(summary) { animation: svc-in .3s ease-out both; }
  .svc-cue::after { transition: transform .25s ease-out; }
}
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    :root { interpolate-size: allow-keywords; }
    .svc-more::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease-out, content-visibility .3s allow-discrete; }
    .svc-more[open]::details-content { block-size: auto; }
  }
}
