/* ==========================================================================
   SHARP Contract & Surveying: brand system and homepage styles
   Charcoal, white and SHARP orange are sampled from the logo artwork.
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("/case-studies/concepts/_assets/235d8f8964bfdf105fc0c3e4.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/case-studies/concepts/_assets/2c32b9b3ee358c119e210f6f.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --charcoal: #302E2F;        /* logo ground */
  --charcoal-hi: #3B393A;
  --charcoal-lo: #242223;
  --orange: #E17930;          /* logo "A" and ampersand */
  --orange-hover: #EC8A45;
  --orange-on-dark: #F0904B;  /* small orange text on charcoal: 5.6:1 */
  --orange-ink: #A8551C;      /* small orange text on paper: 4.7:1 */
  --ink: #161515;

  /* Neutrals */
  --paper: #F4F1EC;
  --paper-hi: #FBFAF7;
  --stone: #E7E1D9;
  --rule: #D8D0C6;
  --rule-strong: #BFB6AB;
  --text: var(--ink);
  --text-muted: #5B5653;      /* 6.4:1 on paper */
  --on-dark: #FFFFFF;
  --on-dark-muted: #BDB7B3;   /* 6.8:1 on charcoal */
  --line-dark: rgba(255, 255, 255, 0.13);
  --error: #B42318;

  /* Type */
  --font-sans: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --cut: 10px; /* the SHARP cut: corner chamfer at the logo's 24 degree lean */
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.125rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--orange); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.icon { width: 1.1em; height: 1.1em; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--orange); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.25rem + 2.9vw, 3.5rem); line-height: 1.04; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.005em; }
p { text-wrap: pretty; }

.kicker {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 1.25rem;
}
.kicker-n { color: var(--orange-ink); }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: 0.45; }
.section-dark .kicker { color: var(--on-dark-muted); }
.section-dark .kicker-n { color: var(--orange-on-dark); }
.kicker-ink, .kicker-ink .kicker-n { color: var(--ink); }

.section-intro { font-size: 1.125rem; color: var(--text-muted); max-width: 46ch; }
@media (min-width: 1024px) { .section-intro { font-size: 1.2rem; } }
.section-dark .section-intro { color: var(--on-dark-muted); }

.dot { color: var(--orange); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: inherit; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.4rem;
  font-family: var(--font-sans); font-size: 1.02rem; font-weight: 500; line-height: 1.1; letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon[aria-hidden] { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  --btn-bg: var(--orange); --btn-fg: var(--ink); --btn-bd: var(--orange);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * 2.2), 100% 100%, 0 100%);
}
.btn-primary:hover { --btn-bg: var(--orange-hover); --btn-bd: var(--orange-hover); text-decoration: none; }
.btn-primary:focus-visible { clip-path: none; outline-color: var(--on-dark); }
.section-paper .btn-primary:focus-visible, .form-card .btn-primary:focus-visible, .section-orange .btn-primary:focus-visible { outline-color: var(--ink); }

.btn-ghost { --btn-fg: var(--on-dark); --btn-bd: rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { --btn-bd: var(--on-dark); background: rgba(255, 255, 255, 0.06); }

.btn-dark { --btn-bg: var(--charcoal); --btn-fg: var(--on-dark); --btn-bd: var(--charcoal);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% calc(var(--cut) * 2.2), 100% 100%, 0 100%); }
.btn-dark:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn-dark:focus-visible { clip-path: none; }

.btn-sm { min-height: 44px; padding: 0.6rem 1.05rem; font-size: 0.97rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal); color: var(--on-dark);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); transition: min-height 0.3s var(--ease); }
.is-scrolled .header-inner { min-height: 70px; }
.brand { display: block; flex: none; padding: 6px 0; }
.brand img { width: 164px; transition: width 0.3s var(--ease); }
.is-scrolled .brand img { width: 136px; }

.primary-nav { display: none; margin-left: auto; }
.primary-nav ul { display: flex; gap: 0.25rem; }
.primary-nav a {
  display: block; padding: 0.6rem 0.85rem; font-size: 0.98rem; font-weight: 500; text-decoration: none; color: var(--on-dark);
  position: relative;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.35rem; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 500;
  font-variant-numeric: tabular-nums; min-height: 44px; padding: 0 0.25rem;
}
.header-phone .icon { color: var(--orange); }
.header-phone span { display: none; }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.9rem;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius); color: var(--on-dark);
  font-weight: 500;
}
.menu-toggle-bars { position: relative; width: 18px; height: 12px; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.menu-toggle-bars::before { top: 1px; }
.menu-toggle-bars::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--mm-top, 70px) 0 0 0; z-index: 49; overflow-y: auto;
  background: var(--charcoal); border-top: 1px solid var(--line-dark); padding: 1.5rem 0 3rem;
}
.mobile-menu ul { display: grid; }
.mobile-menu li a {
  display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--line-dark);
  font-size: 1.5rem; font-weight: 500; text-decoration: none; color: var(--on-dark);
}
.mobile-menu-actions { display: grid; gap: 0.75rem; margin-top: 2rem; }

@media (min-width: 640px) {
  .header-phone span { display: inline; }
}
@media (min-width: 768px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .primary-nav { display: block; }
  .header-actions { margin-left: 0.5rem; }
  .menu-toggle { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: 68px; }
  .brand img, .is-scrolled .brand img { width: 112px; }
  .is-scrolled .header-inner { min-height: 64px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark); background: var(--charcoal);
  padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 64px);
  isolation: isolate;
}
/* drafting-film grid */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); } }

.hero h1 { display: grid; gap: 1.25rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--orange-on-dark);
}
.hero-kicker::before { content: ""; width: 10px; height: 10px; background: var(--orange); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.hero-headline {
  display: block; position: relative;
  font-size: clamp(3rem, 1.6rem + 6vw, 6.4rem); line-height: 0.95; letter-spacing: -0.028em; font-weight: 500;
  padding-bottom: 0.32em;
}
/* the datum: the logo's tapering horizon line, under the headline */
.hero-headline::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(100%, 9.2em); height: 0.09em; min-height: 5px;
  background: var(--orange); clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero-lede { margin-top: 1.75rem; max-width: 37rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: #E9E5E2; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hero-assurances { display: grid; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.95rem; color: var(--on-dark-muted); }
.hero-assurances li { display: flex; align-items: center; gap: 0.6rem; }
.hero-assurances .icon { color: var(--orange-on-dark); }
.hero-assurances a { color: var(--on-dark); font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 479px) { .cta-row .btn { flex: 1 1 100%; } }

/* The audit sheet */
.hero-visual { position: relative; container: sheet / inline-size; }
.hero-visual::before { /* outlined apex behind the sheet */
  content: ""; position: absolute; z-index: -1; right: -6%; top: 50%; width: 92%; aspect-ratio: 349 / 399; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='439 40 349 399'%3E%3Cpath fill-rule='evenodd' d='M613.5 40 787.9 439H439.1ZM613.5 140 549.3 292h128.4ZM532.9 331l-45.6 108h252.4l-45.6-108Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='439 40 349 399'%3E%3Cpath fill-rule='evenodd' d='M613.5 40 787.9 439H439.1ZM613.5 140 549.3 292h128.4ZM532.9 331l-45.6 108h252.4l-45.6-108Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sheet {
  position: relative; color: var(--ink); background: var(--paper-hi);
  border-top: 4px solid var(--orange);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 2px 0 rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
}
.sheet-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--rule);
}
.sheet-mark svg { width: 20px; height: 23px; fill: var(--orange); }
.sheet-title { font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.sheet-ref { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.sheet-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet-table th, .sheet-table td { padding: 0.8rem 1.25rem; text-align: right; border-bottom: 1px solid var(--stone); white-space: nowrap; }
.sheet-table thead th {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
  padding-top: 0.7rem; padding-bottom: 0.7rem; background: var(--paper);
}
.sheet-table th:first-child { text-align: left; }
.sheet-table tbody th { font-weight: 500; }
.sheet-table td { font-family: var(--font-mono); font-size: 0.86rem; }
.sheet-table td:nth-child(2) { color: var(--text-muted); }
.sheet-table td:last-child { font-weight: 600; }
.sheet-table .idx { display: inline-block; width: 2.1em; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.sheet-table tfoot th, .sheet-table tfoot td { border-bottom: 0; border-top: 1.5px solid var(--ink); padding-top: 0.9rem; padding-bottom: 0.9rem; }
.sheet-table tfoot th { font-weight: 600; }
.flag {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: 1px;
  margin-left: 0.55rem; min-width: 2.6em; height: 1.55em; padding: 0 0.4em;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.flag-adj { color: var(--orange-ink); background: rgba(225, 121, 48, 0.14); }
.flag-ok { color: var(--ink); background: var(--stone); }
.flag-ok svg { width: 1.05em; height: 1.05em; }
.sheet-result {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem;
  padding: 1.1rem 1.25rem; background: var(--charcoal); color: var(--on-dark);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.sheet-result-label { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.sheet-result-value { display: inline-flex; align-items: baseline; gap: 0.75rem; }
.sheet-result-value .num { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 600; color: var(--orange-on-dark); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.sheet-result-pct { font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-dark-muted); }
.sheet-caption { padding: 0.8rem 1.25rem 1rem; font-family: var(--font-mono); font-size: 0.68rem; line-height: 1.5; color: var(--text-muted); letter-spacing: 0.02em; }

.sheet [data-row] { transition: opacity 0.4s var(--ease), background-color 0.6s var(--ease); }
.sheet.is-armed [data-row] { opacity: 0.25; }
.sheet.is-armed [data-row].is-in { opacity: 1; background: rgba(225, 121, 48, 0.06); }
.sheet.is-armed [data-row].is-done { background: transparent; }
.sheet.is-armed .flag { opacity: 0; transform: scale(0.7); }
.sheet.is-armed .is-done .flag { opacity: 1; transform: none; }
.sheet.is-armed .sheet-result { opacity: 0; transform: translateY(6px); }
.sheet.is-armed .sheet-result.is-in { opacity: 1; transform: none; }

/* The sheet adapts to its own width, not the viewport's */
@container sheet (max-width: 540px) {
  .sheet-table th, .sheet-table td { padding: 0.75rem 0.8rem; }
  .sheet-table th:first-child, .sheet-head, .sheet-result, .sheet-caption { padding-left: 1rem; }
  .sheet-table td:last-child, .sheet-head, .sheet-result, .sheet-caption { padding-right: 1rem; }
  .sheet-table td { font-size: 0.8rem; }
  .sheet-table .idx { display: none; }
  .flag { margin-left: 0.4rem; min-width: 0; }
}
@container sheet (max-width: 440px) {
  .sheet-head { grid-template-columns: auto 1fr; }
  .sheet-ref { display: none; }
  .sheet-table th, .sheet-table td { padding: 0.7rem 0.6rem; }
  .sheet-table th:first-child { padding-left: 0.85rem; white-space: normal; }
  .sheet-table td:last-child { padding-right: 0.85rem; }
  .sheet-table td { font-size: 0.76rem; }
  .sheet-table tbody th { font-size: 0.9rem; line-height: 1.25; }
  .sheet-table .idx, .flag { display: none; }
  .sheet-table [data-status="adj"] td:last-child .num { color: var(--orange-ink); }
  .sheet-head, .sheet-result, .sheet-caption { padding-left: 0.85rem; padding-right: 0.85rem; }
}

/* Proof strip */
.proof {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-dark);
}
.proof li { display: grid; gap: 0.35rem; padding: 1.25rem 1rem 0 0; }
.proof-k { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-on-dark); }
.proof-v { font-size: 0.98rem; line-height: 1.4; color: var(--on-dark); }
@media (max-width: 1023px) { .proof li:nth-child(n + 3) { padding-top: 1.5rem; } }
@media (min-width: 1024px) {
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proof li { padding: 1.5rem 1.5rem 0; border-left: 1px solid var(--line-dark); }
  .proof li:first-child { padding-left: 0; border-left: 0; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section-paper { background: var(--paper); color: var(--text); }
.section-dark { background: var(--charcoal); color: var(--on-dark); }
.section-orange { background: var(--orange); color: var(--ink); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { max-width: 20ch; }
.section-head .section-intro { margin-top: 1.25rem; }
@media (min-width: 1024px) {
  .section-head-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: end; }
  .section-head-split .section-intro { margin-top: 0; }
}

/* --------------------------------------------------------------------------
   01 Stages (tabs)
   -------------------------------------------------------------------------- */
.stage-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 0.5rem; }
@media (min-width: 900px) { .stage-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 0; } }
.no-js .stage-tabs { display: none; }
.stage-tab {
  display: grid; gap: 0.2rem; align-content: start; text-align: left;
  padding: 1rem 1.1rem 1.1rem; background: transparent; border: 0; border-top: 3px solid var(--rule-strong);
  color: var(--text); transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.stage-tab:hover { border-top-color: var(--orange); }
.stage-tab[aria-selected="true"] { background: var(--paper-hi); border-top-color: var(--orange); }
.stage-n { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--orange-ink); letter-spacing: 0.06em; }
.stage-name { font-size: 1.15rem; font-weight: 500; line-height: 1.25; }
.stage-sub { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
@media (min-width: 900px) {
  .stage-tab { padding: 1.25rem 1.5rem 1.4rem; }
  .stage-name { font-size: 1.3rem; }
}
.stage-panel {
  display: grid; gap: 2.5rem; padding: clamp(24px, 4vw, 56px);
  background: var(--paper-hi); border: 1px solid var(--rule); border-top: 0;
}
.no-js .stage-panel + .stage-panel { margin-top: 1rem; border-top: 1px solid var(--rule); }
.js .stage-panel[hidden] { display: none; }
@media (min-width: 900px) { .stage-panel { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.stage-panel:focus-visible { outline-offset: -3px; }
.stage-panel-label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 0.75rem; }
.js .stage-panel-label { display: none; }
.stage-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; }
.stage-copy p { margin-top: 1.1rem; color: var(--text-muted); max-width: 52ch; }
.stage-copy .btn { margin-top: 1.75rem; }
.stage-for { font-size: 0.98rem; }
.stage-for span { display: block; margin-bottom: 0.2rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.stage-urgent {
  display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.85rem 1rem;
  background: rgba(225, 121, 48, 0.1); border-left: 3px solid var(--orange); color: var(--text) !important; font-size: 0.98rem;
}
.stage-urgent .icon { color: var(--orange-ink); margin-top: 0.2em; }
.stage-urgent a { font-weight: 600; white-space: nowrap; }
.stage-services { display: grid; align-content: start; border-top: 1px solid var(--rule); }
.stage-services li {
  position: relative; display: grid; gap: 0.15rem; padding: 1rem 0 1rem 1.9rem; border-bottom: 1px solid var(--rule);
}
.stage-services li::before {
  content: ""; position: absolute; left: 0; top: 1.3rem; width: 12px; height: 13px; background: var(--orange);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.stage-services strong { font-weight: 500; font-size: 1.08rem; }
.stage-services span { color: var(--text-muted); font-size: 0.98rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   02 Track record
   -------------------------------------------------------------------------- */
.feature-project { border: 1px solid var(--line-dark); background: var(--charcoal-lo); }
.feature-drawing { padding: clamp(16px, 3vw, 40px) clamp(0px, 2vw, 32px) 0; overflow: hidden; }
.feature-info { display: grid; gap: 0 3rem; padding: clamp(24px, 3.5vw, 48px); border-top: 1px solid var(--line-dark); }
.feature-info .facts { margin-top: 1.75rem; }
@media (min-width: 900px) { .feature-info { grid-template-columns: 1.3fr 0.7fr; align-items: start; } .feature-info .facts { grid-row: 1 / span 3; grid-column: 2; margin-top: 0; } }
.project-meta { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-on-dark); margin-bottom: 0.75rem; }
.feature-info h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; }
.feature-info p:not(.project-meta) { margin-top: 1rem; color: var(--on-dark-muted); max-width: 60ch; }
.facts { display: grid; align-content: start; border-top: 1px solid var(--line-dark); }
.facts div { display: grid; gap: 0.1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-dark); }
.facts dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.facts dd { font-size: 1.15rem; font-weight: 500; }

.project-grid { display: grid; gap: 1px; margin-top: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-top: 0; }
@media (min-width: 800px) { .project-grid { grid-template-columns: 1fr 1fr; } }
.project-card { padding: clamp(24px, 3.5vw, 48px); background: var(--charcoal); }
.project-card h3 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.015em; }
.project-card p:not(.project-meta) { margin-top: 0.75rem; color: var(--on-dark-muted); }
.project-card .mini { margin-bottom: 1.75rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.tags li { padding: 0.3rem 0.6rem; border: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Line drawings */
.gw { width: 100%; height: auto; overflow: hidden; }
.gw-line { fill: none; stroke: rgba(255, 255, 255, 0.72); stroke-width: 1.5; }
.gw-faint { fill: none; stroke: rgba(255, 255, 255, 0.26); stroke-width: 1.2; }
.gw-hatch-line { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.gw-waterline { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; }
.gw-piers rect, .gw-abut { fill: var(--charcoal-lo); stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.5; }
.gw-deck-top { fill: none; stroke: #fff; stroke-width: 3; }
.gw-deck-soffit { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.gw-leaf { transform-box: view-box; transform-origin: 760px 250px; transform: rotate(66.4deg); }
.gw-leaf-deck { fill: none; stroke: var(--orange); stroke-width: 4.5; }
.gw-leaf-soffit, .gw-leaf-heel { fill: none; stroke: var(--orange); stroke-width: 1.6; }
.gw-pivot { fill: var(--charcoal-lo); stroke: var(--orange); stroke-width: 2; }
.gw-arc { fill: none; stroke: var(--orange); stroke-width: 1.3; stroke-dasharray: 3 6; }
.gw-ann text { font-family: var(--font-mono); font-size: 13px; fill: var(--on-dark-muted); letter-spacing: 0.04em; }
.gw-ann .gw-label { letter-spacing: 0.24em; fill: rgba(255, 255, 255, 0.45); }
.gw-ann .gw-small, .mini .gw-small { font-family: var(--font-mono); font-size: 11px; fill: var(--on-dark-muted); }
.gw-ann .gw-callout { fill: var(--orange-on-dark); font-size: 14px; }
.gw-dim { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; }
.gw-leader { fill: none; stroke: var(--orange-on-dark); stroke-width: 1.2; }

/* Animated state (only armed when JS and motion are available) */
.gw.is-armed .gw-leaf { transform: rotate(0deg); transition: transform 2.8s cubic-bezier(0.55, 0, 0.25, 1) 0.3s; }
.gw.is-armed .gw-arc { stroke-dashoffset: 0; opacity: 0; transition: opacity 0.6s var(--ease) 1.6s; }
.gw.is-armed .gw-leader, .gw.is-armed .gw-callout { opacity: 0; transition: opacity 0.6s var(--ease) 2.8s; }
.gw.is-armed.is-raised .gw-leaf { transform: rotate(66.4deg); }
.gw.is-armed.is-raised .gw-arc, .gw.is-armed.is-raised .gw-leader, .gw.is-armed.is-raised .gw-callout { opacity: 1; }

@media (max-width: 699px) {
  .feature-drawing { padding: 12px 0 0; }
  .gw { height: 250px; }
  .gw-ann text { font-size: 20px; }
  .gw-ann .gw-small { font-size: 17px; }
  .gw-ann .gw-callout, .gw-leader, .gw-ann .gw-sub { display: none; }
  .gw-ann .gw-label { font-size: 15px; letter-spacing: 0.12em; }
}

.mini { width: 100%; max-width: 360px; height: auto; }
.mini-accent { fill: none; stroke: var(--orange); stroke-width: 1.8; }
.mini-road { fill: none; stroke: rgba(255, 255, 255, 0.72); stroke-width: 18; }
.mini-road-inner { fill: none; stroke: var(--charcoal); stroke-width: 15; }
.mini-centre { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.2; stroke-dasharray: 6 6; }
.mini circle.gw-line { fill: var(--charcoal); }

/* --------------------------------------------------------------------------
   03 Schedule of services
   -------------------------------------------------------------------------- */
.schedule { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 720px) { .schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .schedule { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.clause { padding: clamp(24px, 3vw, 36px); background: var(--paper-hi); }
.clause h3 { display: flex; align-items: baseline; gap: 0.75rem; padding-bottom: 1rem; margin-bottom: 0.25rem; border-bottom: 1.5px solid var(--ink); font-size: 1.3rem; }
.clause-n { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.clause h3 .clause-n { font-size: 0.9rem; }
.clause ol li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.25rem; padding: 0.9rem 0; border-bottom: 1px solid var(--stone); }
.clause ol li:last-child { border-bottom: 0; }
.clause ol li .clause-n { color: var(--text-muted); padding-top: 0.2em; }
.clause strong { display: block; font-weight: 500; font-size: 1.04rem; line-height: 1.35; }
.clause ol p { margin-top: 0.15rem; font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); }
.clause-cta { display: flex; flex-direction: column; align-items: flex-start; background: var(--charcoal); color: var(--on-dark); }
.clause-cta h3 { display: block; border-bottom: 0; padding-bottom: 0; font-size: 1.6rem; line-height: 1.15; }
.clause-cta p { margin: 0.9rem 0 1.75rem; color: var(--on-dark-muted); }
.clause-cta .btn { margin-top: auto; }
.clause-cta-mark { width: 150px; height: 59px; fill: var(--orange); margin-bottom: 1.5rem; }

/* --------------------------------------------------------------------------
   04 Eight-week clock
   -------------------------------------------------------------------------- */
.section-orange { position: relative; overflow: hidden; isolation: isolate; }
.section-orange::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(22, 21, 21, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(22, 21, 21, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.clock-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .clock-grid { grid-template-columns: 1.05fr 0.95fr; } }
.clock-copy h2 { max-width: 15ch; }
.clock-copy > p:not(.kicker) { margin-top: 1.25rem; max-width: 50ch; font-size: 1.15rem; }
.clock-copy > .clock-note { font-size: 0.92rem; opacity: 0.9; font-family: var(--font-mono); line-height: 1.6; max-width: 56ch; }
.clock-card { padding: clamp(24px, 3.5vw, 40px); background: var(--charcoal); color: var(--on-dark); box-shadow: 0 40px 70px -40px rgba(22, 21, 21, 0.8); }
.clock-label { display: block; font-weight: 500; font-size: 1.05rem; margin-bottom: 0.6rem; }
.clock-input {
  width: 100%; min-height: 56px; padding: 0.75rem 1rem; color-scheme: dark;
  background: var(--charcoal-lo); color: var(--on-dark); border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 1.05rem;
}
.clock-input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(225, 121, 48, 0.4); }
.clock-output { min-height: 132px; padding: 1.5rem 0 1rem; }
.clock-empty { color: var(--on-dark-muted); }
.clock-days { display: flex; align-items: baseline; gap: 0.75rem; }
.clock-days strong { font-size: clamp(3rem, 2.2rem + 2.5vw, 4.25rem); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }
.clock-days span { color: var(--on-dark-muted); }
.clock-deadline { margin-top: 0.6rem; font-family: var(--font-mono); font-size: 0.9rem; }
.clock-deadline b { color: var(--orange-on-dark); font-weight: 600; }
.clock-status { margin-top: 0.75rem; font-size: 0.98rem; color: var(--on-dark-muted); }
.clock-status.is-urgent, .clock-status.is-passed { color: var(--on-dark); }
.clock-bar { height: 6px; background: rgba(255, 255, 255, 0.12); margin-bottom: 1.5rem; overflow: hidden; }
.clock-bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.6s var(--ease); }
.clock-cta { width: 100%; }

/* --------------------------------------------------------------------------
   05 Why SHARP
   -------------------------------------------------------------------------- */
.reasons { display: grid; gap: 0 3rem; }
@media (min-width: 720px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reasons li { padding: 2rem 0 2.25rem; border-top: 1px solid var(--rule-strong); }
.reasons .apex { width: 26px; height: 30px; fill: var(--orange); margin-bottom: 1.25rem; }
.reasons h3 { font-size: 1.35rem; }
.reasons p { margin-top: 0.6rem; color: var(--text-muted); }
.sectors { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--rule-strong); }
.sectors-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.sectors ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sectors li { padding: 0.5rem 0.85rem; background: var(--paper-hi); border: 1px solid var(--rule); font-weight: 500; font-size: 0.98rem; }

/* --------------------------------------------------------------------------
   06 How we work
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 2.5rem 2rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { position: relative; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.steps li::before { /* each step stands on the line, like the A on the logo's horizon */
  content: ""; position: absolute; left: 0; top: -14px; width: 12px; height: 14px; background: var(--orange);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.step-n { display: block; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; color: var(--orange-on-dark); margin-bottom: 0.9rem; }
.steps h3 { font-size: 1.4rem; }
.steps p { margin-top: 0.6rem; color: var(--on-dark-muted); }
.how-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 479px) { .how-cta .btn { flex: 1 1 100%; } }

/* --------------------------------------------------------------------------
   07 FAQs
   -------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } .faq-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-head .section-intro { margin-top: 1.25rem; }
.faq-head .section-intro a { color: var(--text); font-weight: 500; white-space: nowrap; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule-strong); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem;
  padding: 1.35rem 0; font-size: 1.15rem; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { width: 22px; height: 22px; margin-top: 0.1em; color: var(--orange-ink); transition: transform 0.3s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--orange-ink); }
.faq-a { padding: 0 2.5rem 1.6rem 0; color: var(--text-muted); max-width: 66ch; }
.faq-a strong { color: var(--text); font-weight: 500; }
.faq-a a { color: var(--text); font-weight: 500; }

/* --------------------------------------------------------------------------
   08 Contact
   -------------------------------------------------------------------------- */
.section-contact { position: relative; overflow: hidden; isolation: isolate; }
.section-contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(110deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(110deg, #000 0%, transparent 55%);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-copy h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.2rem); line-height: 1; letter-spacing: -0.025em; }
.contact-copy .section-intro { margin-top: 1.25rem; }
.contact-lines { display: grid; margin-top: 2.25rem; border-top: 1px solid var(--line-dark); }
.contact-lines li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); }
.contact-lines .icon { width: 22px; height: 22px; color: var(--orange); margin-top: 0.2rem; }
.contact-lines span { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-lines a { font-size: 1.35rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-lines a:hover { color: var(--orange-on-dark); }
.contact-lines address { font-size: 1.05rem; line-height: 1.5; margin-top: 0.15rem; }
.next-steps { margin-top: 2.25rem; }
.next-steps-title { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-on-dark); margin-bottom: 0.9rem; }
.next-steps ol { display: grid; gap: 0.75rem; counter-reset: next; }
.next-steps li { counter-increment: next; display: grid; grid-template-columns: 2rem 1fr; color: var(--on-dark-muted); }
.next-steps li::before { content: counter(next, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.8rem; color: var(--on-dark); padding-top: 0.25em; }

.form-card { position: relative; padding: clamp(24px, 3.5vw, 44px); background: var(--paper-hi); color: var(--text); border-top: 4px solid var(--orange); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7); }
.enquiry-form { display: grid; gap: 1.35rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 0.6rem; font-weight: 500; font-size: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); background: #fff;
  font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-row { display: grid; gap: 1.35rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label { font-weight: 500; font-size: 1rem; }
.req { color: var(--orange-ink); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; background: #fff;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius); font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #857F7B; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(225, 121, 48, 0.45); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 0; font-size: 0.9rem; color: var(--error); }
.field-error:empty { display: none; }
.form-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.form-note .icon { color: var(--orange-ink); }
.form-note a { color: var(--text); }
.form-status { font-size: 0.95rem; color: var(--error); }
.form-status:empty { display: none; }
.enquiry-form.is-sending [data-submit] { opacity: 0.7; pointer-events: none; }
.form-success { padding: 1rem 0; }
.form-success:focus { outline: none; }
.form-success-mark { width: 140px; height: 55px; fill: var(--orange); margin-bottom: 1.5rem; }
.form-success h3 { font-size: 1.9rem; line-height: 1.15; }
.form-success p { margin-top: 0.9rem; color: var(--text-muted); }
.form-success a { color: var(--text); font-weight: 500; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal-lo); color: var(--on-dark); padding: clamp(56px, 7vw, 96px) 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.footer-brand img { width: 220px; }
.footer-line { margin-top: 1.25rem; font-size: 1.25rem; font-weight: 500; }
.footer-title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--orange-on-dark); }
.footer-col address { color: var(--on-dark-muted); line-height: 1.5; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  font-size: 0.85rem; color: var(--on-dark-muted);
}
.footer-legal p:first-child { max-width: 80ch; }
.footer-legal a { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Mobile quick-contact bar
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0.5rem;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(36, 34, 35, 0.97); border-top: 1px solid var(--line-dark);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
}
.mobile-cta .btn { min-height: 48px; }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { .site-footer { padding-bottom: calc(2rem + 76px); } }

/* --------------------------------------------------------------------------
   Reveal on scroll (armed by JS only)
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Inner pages (thank-you, privacy, 404)
   -------------------------------------------------------------------------- */
.page { background: var(--paper); padding: clamp(56px, 8vw, 112px) 0; min-height: 60vh; }
.page-narrow { max-width: 760px; }
.page h1 { font-size: clamp(2.4rem, 1.5rem + 3.5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.page h2 { font-size: 1.5rem; margin-top: 2.5rem; letter-spacing: -0.01em; }
.page p, .page li { margin-top: 1rem; color: var(--text-muted); }
.page ul { list-style: disc; padding-left: 1.25rem; }
.page a { color: var(--text); font-weight: 500; }
.page .btn { margin-top: 2rem; }

@media print {
  .site-header, .mobile-cta, .hero-visual, .clock-card, .form-card { display: none !important; }
  body { background: #fff; }
  .section-dark, .hero, .section-orange { background: #fff; color: #000; }
}
