/*
 * styles.css — Aspera Web Design
 * "The Ascent Seam" — a charcoal climb toward one warm orange summit.
 * Archivo (display) + Hanken Grotesk (body). Monochrome-orange on near-black.
 */

/* ============================================================
   Design Tokens (from scaffold)
   ============================================================ */
:root {
  --color-primary: #EA580C;
  --color-secondary: #2E2A27;
  --color-accent: #F97316;
  --color-bg: #1C1917;
  --color-text: #F5F3F0;
  --color-text-secondary: #A8A29E;
  --font-primary: 'Archivo', sans-serif;
  --font-secondary: 'Hanken Grotesk', sans-serif;
  --font-size-base: 16px;
  --spacing-base: 8px;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Brand aliases + restored motion timing (design intends 320 / 660) */
:root {
  --color-surface: #221F1D;
  --color-border: #3F3A36;
  --color-bone: #F5F3F0;
  --color-stone: #A8A29E;
  --color-orange: #F97316;        /* Signal Orange — the single chromatic accent */
  --color-orange-deep: #EA580C;   /* Ascent Orange — summit field / pressed state */
  --color-ember: #C2410C;
  --color-warm-signal: #FB923C;
  --motion-duration: 320ms;
  --motion-duration-slow: 660ms;
  --seam-tilt: 28deg;             /* ~62deg from horizontal — the logo peak slope */
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
  overflow-x: hidden;               /* guard against decorative seam overflow */
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-secondary, sans-serif);
  background-color: var(--color-bg);
  color: var(--color-bone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 42px; /* required */
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--color-orange); text-decoration: none; }
a:hover { color: var(--color-warm-signal); }

/* Focus states — WCAG AA */
:focus-visible { outline: 3px solid var(--color-orange); outline-offset: 3px; }

/* Skip navigation link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface); color: var(--color-orange);
  font-weight: 600; text-decoration: none;
  border: 2px solid var(--color-orange); border-radius: 0 0 4px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.band { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.hairline { border: 0; border-top: 1px solid var(--color-border); }

/* ============================================================
   Typography scale
   ============================================================ */
.rubric {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 0.8125rem;              /* 13px floor, uppercase-tracked microtext */
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-stone);
}
.statement {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--color-bone);
}
.lead {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.375rem);
  line-height: 1.5;
  color: var(--color-bone);
}
.body {
  font-family: var(--font-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-bone);
  max-width: 66ch;
}
.body--stone { color: var(--color-stone); }
.signature {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-bone);
  margin-top: 1.25rem;
}
.wordmark-rule {
  display: block; width: 64px; height: 3px;
  background: var(--color-orange); margin: 1.5rem 0;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-family: var(--font-secondary); font-weight: 600; font-size: 1.0625rem;
  color: var(--color-orange);
  transition: color var(--motion-duration) var(--motion-ease), gap var(--motion-duration) var(--motion-ease);
}
.link-arrow:hover { color: var(--color-warm-signal); gap: 0.75em; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.045em;
  font-size: 0.9rem; line-height: 1;
  padding: 0.9em 1.7em; border-radius: 2px; border: 0; cursor: pointer;
  transition: background var(--motion-duration) var(--motion-ease),
              transform var(--motion-duration) var(--motion-ease);
}
.btn--primary { background: var(--color-orange); color: var(--color-bg); }
.btn--primary:hover { background: var(--color-orange-deep); color: var(--color-bg); }
.btn--primary:active { background: var(--color-ember); transform: translateY(1px); }
.btn--lg { font-size: 1rem; padding: 1.05em 2.1em; }

/* ============================================================
   The Seam — decorative diagonal spine (clipped, holds no text)
   ============================================================ */
.seam-band { position: relative; }
.seam-layer {
  position: absolute; inset: 0; overflow: hidden;   /* decorative only, no text */
  z-index: 0; pointer-events: none;
}
.seam-layer::before {
  content: ""; position: absolute;
  top: -60%; left: 14%; width: 2px; height: 220%;
  background: var(--color-orange);
  opacity: 0.55;
  transform: rotate(var(--seam-tilt));
  transform-origin: center;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.35);
}
.seam-band--r .seam-layer::before { left: auto; right: 14%; transform: rotate(calc(-1 * var(--seam-tilt))); }
.seam-band > .wrap { position: relative; z-index: 1; }

/* ============================================================
   Authored star glyph
   ============================================================ */
.star { display: block; color: var(--color-bone); fill: currentColor; }
@keyframes star-glow {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(251, 146, 60, 0.5)); }
  50%      { filter: drop-shadow(0 0 16px rgba(251, 146, 60, 0.9)); }
}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #1C1917;                 /* exact — matches the baked logo field */
  border-bottom: 1px solid var(--color-border);
  transition: transform var(--motion-duration) var(--motion-ease);
}
.site-header.is-hidden { transform: translateY(-110%); }
.nav {
  width: min(1200px, 92vw); margin-inline: auto;
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img { height: 48px; width: auto; max-width: 220px; }
.nav__menu { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav__link {
  font-family: var(--font-secondary); font-weight: 600;
  font-size: 0.9375rem;                /* 15px floor */
  color: var(--color-bone);
  transition: color var(--motion-duration) var(--motion-ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--color-orange); }
.nav__cta {
  font-family: var(--font-primary); font-weight: 600;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.045em;
  background: var(--color-orange); color: var(--color-bg);
  padding: 0.7em 1.15em; border-radius: 2px;
  transition: background var(--motion-duration) var(--motion-ease);
}
.nav__cta:hover { background: var(--color-orange-deep); color: var(--color-bg); }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--color-bone); transition: transform var(--motion-duration) var(--motion-ease), opacity var(--motion-duration) var(--motion-ease); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #1C1917; border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 6vw 1.75rem;
    transform: translateY(-140%);
    transition: transform var(--motion-duration-slow) var(--motion-ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__links { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--color-border); }
  .nav__link { display: block; padding: 1.1rem 0; font-size: 1.15rem; }
  .nav__cta { margin-top: 1.5rem; width: 100%; text-align: center; font-size: 0.95rem; padding: 1em; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   Hero — The Ascent Seam
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: flex-end;
  padding: clamp(6rem, 12vh, 10rem) 0 clamp(4rem, 9vh, 7rem);
  background-color: var(--color-bg);
  background-image: linear-gradient(rgba(28,25,23,0.86), rgba(28,25,23,0.94)), url('/images/texture-charcoal.png');
  background-size: cover; background-position: center;
}
.hero__seam {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--color-orange-deep);
  clip-path: polygon(0 100%, 26% 100%, 62% 8%, 55% 8%, 20% 100%, 0 100%);
}
.hero__seam::after {   /* the lit signal-orange leading edge */
  content: ""; position: absolute; inset: 0;
  background: var(--color-orange);
  clip-path: polygon(55% 8%, 62% 8%, 22% 100%, 18% 100%);
}
.hero__star {
  position: absolute; top: 5%; left: 58%; width: 46px; height: 46px; z-index: 1;
  color: var(--color-bone);
}
.hero__content { position: relative; z-index: 2; width: min(1200px, 92vw); margin-inline: auto; }
/* keep bone type legible where it crosses the orange wedge (no gradient — a soft shadow only) */
.hero__eyebrow, .hero__headline, .hero__lead { text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55); }
.hero__eyebrow {
  font-family: var(--font-secondary); font-weight: 600;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--color-stone); margin-bottom: 1.5rem;
}
.hero__headline {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2.9rem, 8vw, 6.5rem); line-height: 0.94;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--color-bone);
}
.hero__headline .l1 { display: block; }
.hero__headline .l2 { display: block; margin-left: clamp(0px, 4vw, 3.5rem); }
.hero__headline .l3 { display: block; margin-left: clamp(0px, 8vw, 7rem); color: var(--color-bone); }
.hero__lead {
  font-family: var(--font-secondary); font-weight: 400;
  font-size: clamp(1.15rem, 1.7vw, 1.375rem); line-height: 1.55;
  color: var(--color-bone); max-width: 48ch; margin-top: 1.75rem;
}
.hero__actions { margin-top: 2.25rem; display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }

/* Motion: peak-line draws then star settles (gated under html.js) */
html.js .hero__seam {
  clip-path: polygon(0 100%, 26% 100%, 26% 100%, 20% 100%, 20% 100%, 0 100%);
  transition: clip-path var(--motion-duration-slow) var(--motion-ease);
}
html.js .hero.is-in .hero__seam { clip-path: polygon(0 100%, 26% 100%, 62% 8%, 55% 8%, 20% 100%, 0 100%); }
html.js .hero__star { opacity: 0; transform: scale(0.55); }
html.js .hero.is-in .hero__star {
  opacity: 1; transform: none;
  transition: opacity 0.4s var(--motion-ease) 0.55s, transform 0.4s var(--motion-ease) 0.55s;
  animation: star-glow 3.4s ease-in-out 1s infinite;
}
html.js .hero.is-in .hero__content > * { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero__seam { clip-path: polygon(0 100%, 26% 100%, 62% 8%, 55% 8%, 20% 100%, 0 100%); transition: none; }
  html.js .hero__star { opacity: 1; transform: none; }
  html.js .hero.is-in .hero__star { animation: none; transition: none; }
}

/* ============================================================
   Home — What I Do (margin rubric + bare statement over seam)
   ============================================================ */
.whatido__grid {
  display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem); align-items: start;
}
.whatido__grid .rubric { padding-top: 0.75rem; }
.whatido__body { min-width: 0; }

/* ============================================================
   Home — Services Rungs
   ============================================================ */
.rungs .rubric { margin-bottom: 2.5rem; }
.rung-list { list-style: none; }
.rung {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem); align-items: baseline;
  padding: 1.9rem 0; border-top: 1px solid var(--color-border);
}
.rung:last-child { border-bottom: 1px solid var(--color-border); }
.rung--r { direction: rtl; }
.rung--r > * { direction: ltr; }
.rung__num {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 0.9;
  color: var(--color-stone); letter-spacing: -0.02em;
  transition: color var(--motion-duration) var(--motion-ease);
}
.rung--r .rung__num { text-align: right; }
.rung__meat { min-width: 0; }
.rung__meat h3 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.1;
  color: var(--color-bone); margin-bottom: 0.5rem;
}
.rung__meat p { font-family: var(--font-secondary); font-size: 1.0625rem; color: var(--color-stone); max-width: 60ch; }
.rung--primary { padding: 2.9rem 0; }
.rung--primary .rung__num { font-size: clamp(2.8rem, 6.5vw, 5rem); color: var(--color-bone); }
.rung--primary .rung__meat h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.rung:hover .rung__num { color: var(--color-orange); }
.live-dot {
  display: inline-block; width: 11px; height: 11px; margin-left: 0.6rem; border-radius: 50%;
  background: var(--color-orange); vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55);
  animation: live-pulse 2.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 6px 1px rgba(249, 115, 22, 0.5); }
  50%      { box-shadow: 0 0 14px 4px rgba(249, 115, 22, 0.85); }
}
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }
.rungs .link-arrow { margin-top: 2.5rem; }

/* ============================================================
   Summit — Ongoing Management (the biggest, brightest orange field)
   ============================================================ */
.summit {
  position: relative; overflow: visible;
  background: var(--color-orange-deep);
  padding: clamp(5rem, 12vw, 9rem) 0;
}
.summit__star {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; color: #FFFFFF; z-index: 2;
  animation: star-glow 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .summit__star { animation: none; } }
.summit__inner { text-align: left; max-width: 62ch; }
.summit__kicker {
  font-family: var(--font-secondary); font-weight: 600;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--color-bg); margin-bottom: 1.25rem;
}
.summit__headline {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -0.015em;
  color: #FFFFFF; text-transform: none;
}
.summit__lead {
  font-family: var(--font-secondary); font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.55;
  color: var(--color-bg); max-width: 54ch; margin-top: 1.5rem;
}

/* ============================================================
   Home — Who You'll Talk To
   ============================================================ */
.whoyou__grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem); align-items: center;
}
.whoyou__photo { margin: 0; }
.avatar {
  width: clamp(150px, 22vw, 220px); height: clamp(150px, 22vw, 220px);
  border-radius: 50%; object-fit: cover; object-position: top center;
  border: 3px solid var(--color-orange);
}
.whoyou__body { min-width: 0; }
.whoyou__body .statement { margin-bottom: 0.75rem; }

/* ============================================================
   Closing CTA
   ============================================================ */
.closer { background: var(--color-bg); }
.closer__inner { max-width: 62ch; }
.closer__head {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.02; letter-spacing: -0.015em;
  text-transform: uppercase; color: var(--color-bone); margin-bottom: 1.25rem;
}
.closer__lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--color-bone); margin-bottom: 2rem; }
.closer__lead .calm { display: block; margin-top: 0.6rem; color: var(--color-stone); }

/* ============================================================
   Services page
   ============================================================ */
.page-header {
  position: relative;
  padding: clamp(7rem, 16vh, 11rem) 0 clamp(3rem, 7vw, 6rem);
  background-color: var(--color-bg);
  background-image: linear-gradient(rgba(28,25,23,0.9), rgba(28,25,23,0.96)), url('/images/texture-charcoal.png');
  background-size: cover; background-position: center;
}
.page-header__title {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--color-bone); max-width: 16ch;
}
.page-header .wordmark-rule { margin-top: 1.75rem; }
.page-header .lead { margin-top: 1.5rem; max-width: 54ch; }

.svc { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-top: 1px solid var(--color-border); }
.svc__grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.svc__lead-col { min-width: 0; }
.svc__num {
  display: block; font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(4rem, 11vw, 8.5rem); line-height: 0.82; letter-spacing: -0.03em;
  color: var(--color-orange);
}
.svc__name {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.08;
  color: var(--color-bone); margin-top: 0.75rem;
}
.svc__copy { min-width: 0; padding-top: 0.75rem; }
.svc__copy .body { font-size: 1.125rem; }
.svc--primary { padding: clamp(4.5rem, 10vw, 8rem) 0; }

/* Service 02 — the orange summit entry */
.svc--summit {
  position: relative; overflow: visible;
  background: var(--color-orange-deep); border-top: 0;
  padding: clamp(4.5rem, 11vw, 8rem) 0;
}
.svc--summit .svc__num--rev { color: #FFFFFF; }
.svc--summit .svc__name--rev { color: #FFFFFF; }
.svc--summit .svc__copy--rev .body { color: var(--color-bg); }
.svc--summit .svc__copy--rev .body { font-weight: 500; }
.svc--summit__star {
  position: absolute; top: 1.75rem; right: 6vw; width: 40px; height: 40px; color: #FFFFFF;
  animation: star-glow 3.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .svc--summit__star { animation: none; } }
.svc-badge {
  display: inline-block; font-family: var(--font-secondary); font-weight: 600;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--color-bg); margin-bottom: 0.75rem;
}

/* Services 03 & 04 — quieter support band */
.svc--support { border-top: 1px solid var(--color-border); }
.svc-support__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 5vw, 4rem); }
.svc-min { min-width: 0; }
.svc-min .svc__num { font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--color-stone); }
.svc-min h3 { font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--color-bone); margin: 0.4rem 0 0.75rem; }
.svc-min p { font-family: var(--font-secondary); font-size: 1.0625rem; color: var(--color-stone); }

.svc-closer { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--color-border); }
.svc-closer .lead { margin-bottom: 1rem; }

/* ============================================================
   About page
   ============================================================ */
.about-statement .page-header__title span { display: block; }
.about-statement .page-header__title .leg2 { margin-left: clamp(0px, 6vw, 4rem); }

/* The single light band */
.howiwork {
  background: var(--color-bone); color: var(--color-bg);
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.howiwork__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.howiwork__photo { margin: 0; min-width: 0; }
.howiwork__photo img { width: 100%; border-radius: 4px; }
.howiwork__photo figcaption { font-family: var(--font-secondary); font-size: 0.9375rem; color: #57534E; margin-top: 0.75rem; }
.howiwork__letter { min-width: 0; }
.howiwork__letter h2 {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; color: var(--color-bg);
}
.howiwork__letter .wordmark-rule { background: var(--color-orange-deep); }
.howiwork__letter p { font-family: var(--font-secondary); font-size: 1.0625rem; line-height: 1.7; color: #292524; max-width: 60ch; }
.howiwork__letter p + p { margin-top: 1.1rem; }
.howiwork__letter .signature { color: var(--color-bg); }

/* What I Don't Do */
.dont .rubric { margin-bottom: 1rem; }
.dont .statement { margin-bottom: 2rem; }
.dont-list { list-style: none; max-width: 62ch; }
.dont-list li {
  position: relative; padding-left: 2rem; padding-block: 0.95rem;
  font-family: var(--font-secondary); font-size: 1.125rem; line-height: 1.5;
  color: var(--color-bone); border-top: 1px solid var(--color-border);
}
.dont-list li:last-child { border-bottom: 1px solid var(--color-border); }
.dont-list li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 14px; height: 3px; background: var(--color-orange);
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-hero {
  position: relative;
  padding: clamp(7rem, 15vh, 10rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background-color: var(--color-bg);
  background-image: linear-gradient(rgba(28,25,23,0.9), rgba(28,25,23,0.96)), url('/images/texture-charcoal.png');
  background-size: cover; background-position: center;
}
.contact-hero__head {
  font-family: var(--font-primary); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--color-bone);
}
.contact-hero__lead { margin-top: 1.5rem; max-width: 56ch; }

.contact-main { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 9vw, 7rem); }
.contact-main__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

.contact-form {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 4px; padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex; flex-direction: column; gap: 1.4rem; min-width: 0;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-family: var(--font-secondary); font-weight: 600; font-size: 0.9375rem; color: var(--color-bone); }
.field input, .field textarea {
  font-family: var(--font-secondary); font-size: 1rem; color: var(--color-bone);
  background: #1C1917; border: 1px solid var(--color-border); border-radius: 3px;
  padding: 0.85em 0.9em; width: 100%;
  transition: border-color var(--motion-duration) var(--motion-ease), box-shadow var(--motion-duration) var(--motion-ease);
}
.field input::placeholder, .field textarea::placeholder { color: #78716C; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }

.contact-facts { min-width: 0; }
.contact-facts__head {
  font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; color: var(--color-bone);
  margin-bottom: 1.25rem;
}
.contact-facts__phone {
  display: inline-block; font-family: var(--font-primary); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em;
  color: var(--color-orange);
  transition: color var(--motion-duration) var(--motion-ease);
}
.contact-facts__phone:hover { color: var(--color-warm-signal); }
.contact-facts__addr { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-secondary); font-size: 1.0625rem; color: var(--color-stone); margin-top: 1rem; }
.contact-facts__addr i { color: var(--color-orange); }
.contact-facts__note { font-family: var(--font-secondary); font-size: 1.0625rem; line-height: 1.55; color: var(--color-bone); margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); max-width: 40ch; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #1C1917; border-top: 1px solid var(--color-border); }
.footer__inner {
  width: min(1200px, 92vw); margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.footer__zone { min-width: 0; }
.footer__logo { height: 40px; width: auto; max-width: 185px; margin-bottom: 1.1rem; }
.footer__signoff { font-family: var(--font-secondary); font-size: 1rem; line-height: 1.5; color: var(--color-stone); max-width: 34ch; }
.footer__heading {
  font-family: var(--font-primary); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-bone);
  padding-bottom: 0.6rem; margin-bottom: 1rem; border-bottom: 2px solid var(--color-orange);
  display: inline-block;
}
.footer__nav ul { list-style: none; }
.footer__nav li { margin-bottom: 0.6rem; }
.footer__nav a { font-family: var(--font-secondary); font-size: 0.9375rem; color: var(--color-stone); transition: color var(--motion-duration) var(--motion-ease); }
.footer__nav a:hover { color: var(--color-orange); }
.footer__phone {
  display: inline-block; font-family: var(--font-primary); font-weight: 700;
  font-size: 1.5rem; letter-spacing: -0.01em; color: var(--color-bone);
  transition: color var(--motion-duration) var(--motion-ease);
}
.footer__phone i { color: var(--color-orange); font-size: 1.3rem; vertical-align: baseline; }
.footer__phone:hover { color: var(--color-orange); }
.footer__addr { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-secondary); font-size: 0.9375rem; color: var(--color-stone); margin-top: 0.9rem; }
.footer__addr i { color: var(--color-orange); }
.footer__social { margin-top: 1.4rem; display: flex; gap: 0.75rem; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border: 1px solid var(--color-border); border-radius: 3px;
  color: var(--color-bone); font-size: 1.25rem;
  transition: color var(--motion-duration) var(--motion-ease), border-color var(--motion-duration) var(--motion-ease);
}
.footer__social a:hover { color: var(--color-orange); border-color: var(--color-orange); }
.footer__base {
  width: min(1200px, 92vw); margin-inline: auto;
  padding: 1.5rem 0; border-top: 1px solid var(--color-border);
}
.footer__base p { font-family: var(--font-secondary); font-size: 0.875rem; color: var(--color-stone); }

/* ============================================================
   404
   ============================================================ */
.error-page {
  min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(4rem, 10vh, 8rem) 0;
}
.error-page__code { font-family: var(--font-primary); font-weight: 800; font-size: clamp(4rem, 14vw, 9rem); line-height: 0.9; color: var(--color-orange); letter-spacing: -0.03em; }
.error-page__title { font-family: var(--font-primary); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; color: var(--color-bone); margin: 1rem 0; }
.error-page__lead { font-family: var(--font-secondary); font-size: 1.15rem; color: var(--color-stone); max-width: 48ch; margin-bottom: 2rem; }

/* ============================================================
   Reveal (visible without JS; hidden only under html.js)
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--motion-ease), transform 0.6s var(--motion-ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .hero { min-height: 78vh; }
  /* Seam flattens to a small peak-angle notch at the top — type never on the slope */
  .hero__seam { clip-path: polygon(0 0, 30% 0, 20% 14%, 0 14%); }
  .hero__seam::after { clip-path: polygon(20% 14%, 26% 14%, 32% 0, 26% 0); }
  html.js .hero__seam { clip-path: polygon(0 0, 30% 0, 30% 0, 20% 0, 20% 0, 0 0); }
  html.js .hero.is-in .hero__seam { clip-path: polygon(0 0, 30% 0, 20% 14%, 0 14%); }
  @media (prefers-reduced-motion: reduce) { html.js .hero__seam { clip-path: polygon(0 0, 30% 0, 20% 14%, 0 14%); } }
  .hero__star { top: 3%; left: 26%; width: 38px; height: 38px; }
  .hero__headline .l2, .hero__headline .l3 { margin-left: 0; }

  /* Seam-band: long spine becomes a small top notch */
  .seam-layer::before { top: 0; left: 22px; height: 40px; }
  .seam-band--r .seam-layer::before { left: auto; right: 22px; }

  .whatido__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .rung { grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr); }
  .whoyou__grid { grid-template-columns: 1fr; text-align: left; }
  .svc__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .svc-support__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .howiwork__grid { grid-template-columns: 1fr; }
  .howiwork__photo { max-width: 360px; }
  .contact-main__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.25rem; }
}

@media (max-width: 480px) {
  .rung { grid-template-columns: 1fr; gap: 0.5rem; }
  .rung--r { direction: ltr; }
  .rung--r .rung__num { text-align: left; }
  .hero__headline { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLySOxKsv4RnUPU.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLyTOxKsv4RnUPU.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLydOxKsv4Rn.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLySOxKsv4RnUPU.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLyTOxKsv4RnUPU.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLydOxKsv4Rn.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLySOxKsv4RnUPU.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLyTOxKsv4RnUPU.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLydOxKsv4Rn.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpQ59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpS59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpT59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpd59CxCis4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpQ59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpS59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpT59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpd59CxCis4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpQ59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpS59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpT59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpd59CxCis4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpQ59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpS59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpT59CxCis4UvI.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/ieVn2YZDLWuGJpnzaiwFXS9tYtpd59CxCis4.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
