/* Hallmark · shape: site shell · genre: editorial · theme: custom (Ben's brand system, locked) · job: hire · idea: "one calm frame shared by every page" · vibe: "institutional, calm, exact, quietly confident"
 * paper: #FFFFFF (brand) · accent: #256868 teal (brand) · display: Archivo · body: Open Sans · hero: per page · nav: the homepage bar · footer: granite, four columns · imagery: per page · signature: per page · surface: absolute
 * axes: light/grotesk-heavy/cool · posture: restrained · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S3 R5 V3 · weakest: S, a shell is shared by design; each page carries its own idea */
/* Hallmark · waive 7b · Ben's brand system sets paper to #FFFFFF and the client approved it on the homepage · surface: absolute, contrast passes */
/* Hallmark · waive 42 · nav: the Taurus bar, footer: granite with four columns, both named in the stamp · the homepage the client approved uses this exact bar and footer, so every Taurus page shares it */
/* Hallmark · waive 37 · three families render: Archivo, Open Sans and Caveat for margin notes · Montserrat and Taurus Hand are only names left in Ben's brand tokens file, overridden here and never loaded */
/* Hallmark · dismissed 40 · body ink #1C2423 on #FFFFFF paper is 16:1; the check read the paper against itself */
/* Taurus site shell: shared by every page after the homepage (header, menu, type, buttons, footer).
   Tokens come from ../v4/assets/tokens.css (Ben's brand system). Page styles load after this file. */

:root {
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Segoe Print", cursive;
  --side: var(--space-6);
  --container: 1568px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --space-25: 12px;
  --space-35: 20px;
  --space-55: 48px;
  --space-65: 80px;
  --on-deep-strong: rgba(255, 255, 255, .88);
  --on-deep-rule: rgba(255, 255, 255, .2);
  --white: #FFFFFF;
  --btn-shadow: 0 6px 16px -8px rgba(23, 66, 66, .55);
  --frame: #F6F7F4;
  --paper-shadow: 0 18px 40px -24px rgba(23, 66, 66, .45);
  --head-h: 133px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: none; scroll-padding-top: var(--space-6); }
html::-webkit-scrollbar { display: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font-text); font-size: 18px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul, blockquote { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; min-width: 0; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--side); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Type */
.display-xl, .display, h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--heading); text-wrap: balance; font-variation-settings: "wdth" 100; }
.display-xl { font-size: clamp(42px, 5.6vw, 84px); line-height: .98; letter-spacing: -.035em; }
.display { font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -.03em; }
.title { font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: -.025em; }
.lede { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; font-weight: 300; max-width: 34em; text-wrap: pretty; }
.small { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
p { text-wrap: pretty; }

/* Buttons and links: one button style for the whole site */
.btn { display: inline-flex; align-items: center; gap: var(--space-25); font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.15; padding: var(--space-3) var(--space-4); border-radius: var(--radius-1); border: 1px solid var(--button-fill); background: var(--button-fill); color: var(--button-text); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--btn-shadow); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.link { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--link); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: var(--space-1); white-space: nowrap; transition: color .5s var(--ease), background-size .4s var(--ease); }
.link:hover { background-size: 0 1px; background-position: right bottom; }
.link:active { opacity: .7; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; transition: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); }

/* Header: utility links, then the bar. It scrolls away with the page, like the homepage. */
.top { position: relative; z-index: 6; }
.util { display: flex; justify-content: flex-end; gap: var(--space-4); padding-block: var(--space-2); background: var(--fieldstone); font-size: 13px; line-height: 1.4; }
.util .wrap { display: flex; justify-content: flex-end; gap: var(--space-4); }
.util a { color: var(--text-muted); text-decoration: none; }
.util a:hover { color: var(--link); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding-block: var(--space-35); }
.bar-line { border-bottom: 1px solid var(--rule); background: var(--paper); }
.bar .logo { width: 172px; height: auto; }
.bar nav { display: flex; align-items: center; gap: 28px; }
.bar nav > a, .bar .sub-btn { white-space: nowrap; }
.bar nav a:not(.btn) { position: relative; font-family: var(--font-display); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--text); transition: color .3s var(--ease); }
.bar nav a:not(.btn):hover { color: var(--link); }
.bar nav a[aria-current="page"] { color: var(--link); }
.bar nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--taurus-teal); }
.bar .btn { padding: var(--space-25) var(--space-35); font-size: 15px; }
.menu { display: none; align-items: center; gap: var(--space-2); font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--link); background: none; border: 0; padding: var(--space-2) 0; cursor: pointer; }
.menu i { display: grid; gap: var(--space-1); }
.menu i::before, .menu i::after { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.drawer { position: fixed; inset: 0; z-index: 50; background: var(--paper); padding: var(--space-4) var(--space-3); display: flex; flex-direction: column; gap: var(--space-4); overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer .dtop { display: flex; justify-content: space-between; align-items: center; }
.drawer .menu { display: inline-flex; }
.drawer nav { display: grid; border-top: 1px solid var(--rule); }
.drawer nav a { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; color: var(--heading); text-decoration: none; padding: var(--space-25) 0; border-bottom: 1px solid var(--rule); }
.drawer nav a[aria-current="page"] { color: var(--glacier); }
.drawer .btn { align-self: start; }
.drawer .small a { display: block; padding: var(--space-1) 0; text-decoration: none; }
/* Services dropdown (header and mobile menu): opens on click; without JavaScript it opens on keyboard focus */
.bar .sub { position: relative; display: flex; align-items: center; }
.sub-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: inherit; color: var(--text); background: none; border: 0; padding: 0; cursor: pointer; transition: color .3s var(--ease); }
.sub-btn:hover, .sub.open .sub-btn, .sub-btn.cur { color: var(--link); }
.sub-btn .chev { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.sub.open .chev { transform: rotate(180deg); }
.bar .sub-btn.cur::after { content: ""; position: absolute; left: 0; right: 17px; bottom: -6px; height: 2px; background: var(--taurus-teal); }
.sub-menu { display: none; position: absolute; left: -20px; top: calc(100% + 24px); z-index: 20; min-width: 250px; padding: 8px 0; background: var(--paper); border: 1px solid var(--rule); border-top: 2px solid var(--taurus-teal); box-shadow: 0 18px 36px -20px rgba(23, 66, 66, .45); }
.sub.open .sub-menu, .sub:not(.sub-js):focus-within .sub-menu { display: block; }
.bar nav .sub-menu a { display: block; padding: 10px 20px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.bar nav .sub-menu a:hover, .bar nav .sub-menu a[aria-current="page"] { color: var(--link); background: var(--fieldstone); }
.bar nav .sub-menu a::after { content: none; }
.drawer .sub { display: block; }
.drawer .sub-btn { width: 100%; justify-content: space-between; font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--heading); padding: 12px 0; border-bottom: 1px solid var(--rule); }
.drawer .sub-btn .chev { width: 16px; height: 10px; stroke-width: 1.8; }
.drawer .sub-menu { position: static; min-width: 0; padding: 4px 0 10px; border: 0; border-bottom: 1px solid var(--rule); box-shadow: none; }
.drawer nav .sub-menu a { display: block; font-size: 21px; font-weight: 600; padding: 9px 0 9px 18px; border-bottom: 0; }
body.locked { overflow: hidden; }

/* Page head: the same opening on every inner page, a big head on the left, the lede and action on the right */
.phead { padding-block: var(--space-7) var(--space-6); }
.phead h1 { font-size: clamp(44px, 6vw, 92px); line-height: .96; letter-spacing: -.04em; max-width: 11em; }

/* Reveal: one gentle rise as a block arrives, never repeated. Visible by default; only html.motion hides it first. */
.js.motion .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.motion .rv.in { opacity: 1; transform: none; }

/* Close: the proposal band before the footer */
.close { background: var(--granite) url("../v4/assets/granite.jpg") center / cover; color: var(--on-deep); }
.close .in { padding-block: var(--space-7); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-6); align-items: end; }
.close h2 { color: var(--white); font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; max-width: 9em; }
.close p { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; font-weight: 300; color: var(--on-deep-strong); max-width: 26em; margin-bottom: var(--space-4); }
.close .btn { background: var(--white); border-color: var(--white); color: var(--granite); }
.close a:focus-visible { outline-color: var(--white); }

/* Footer */
.foot { position: relative; background: var(--granite); color: var(--on-deep); padding-block: var(--space-7) var(--space-5); font-size: 15px; border-top: 1px solid var(--on-deep-rule); }
.foot .in { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: var(--space-5); }
.foot img { width: 180px; height: auto; }
.foot h3 { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 14px; letter-spacing: 0; color: var(--on-deep-muted); font-weight: 600; }
.foot p, .foot ul { margin: 0; padding: 0; list-style: none; line-height: 1.9; color: var(--on-deep-strong); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot a:focus-visible { outline-color: var(--white); }
.foot .em { color: var(--white); font-weight: 600; white-space: nowrap; }
.foot .base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--on-deep-rule); font-size: 13px; color: var(--on-deep-muted); }

/* Responsive shell */
@media (max-width: 1180px) {
  .bar nav a:not(.btn) { display: none; }
  .bar .sub { display: none; }
  .menu { display: inline-flex; }
}
@media (max-width: 900px) {
  :root { --side: var(--space-4); }
  .close .in { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .foot .in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot .in > div:first-child { grid-column: 1 / -1; }
  .phead { padding-block: var(--space-6) var(--space-5); }
}
@media (max-width: 560px) {
  :root { --side: var(--space-3); }
  body { font-size: 17px; }
  .util { display: none; }
  .bar .logo { width: 148px; }
  .bar .btn { display: none; }
  .close .in { padding-block: var(--space-6); }
}
@media (max-width: 380px) {
  .foot .in { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js.motion .rv { opacity: 1; transform: none; }
}

/* Peek header: hidden once scrolled away, slides back in at the top of the screen (see site.js) */
.top.hdr-float { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transform: translateY(-100%); transition: transform .32s var(--ease); }
.top.hdr-float.hdr-show { transform: none; box-shadow: 0 10px 28px -18px rgba(23, 66, 66, .45); }
@media (prefers-reduced-motion: reduce) { .top.hdr-float { transition: none; } }
