/* Consta AS: matte black and white kitchen fronts, oak, the fuge between panels. Tokens first, then shared parts, then pages. */
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --ground: #EEEDE9;    /* the wall behind the fronts */
  --front: #FAFAF8;     /* off-white laminate front */
  --ink: #161616;       /* matte black front, text */
  --graphite: #262625;
  --mist: #5F5E5A;      /* secondary text, 5.9:1 on ground */
  --fuge: #D6D4CE;      /* the gap between fronts */
  --oak: #B48A5F;       /* oak veneer: measurement lines, accents */
  --oak-ink: #7F5D3B;   /* oak as text, 5.6:1 on front */
  --on-ink: #F3F2EE;
  --on-ink-mist: #A9A7A0;
  --ok: #2F6B45;
  --err: #A33A2A;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --gap: 6px;           /* one fuge, used everywhere panels meet */
  --top-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: #B9B7B0 var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
::selection { background: var(--ink); color: var(--on-ink); }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 2px; }
input, textarea, select { caret-color: var(--oak); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.22rem); color: var(--graphite); max-width: 54ch; }
.fine { font-size: .9rem; color: var(--mist); max-width: 64ch; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--on-ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }

/* Buttons: a black front with a handle groove; ghost is the white front. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--on-ink); border: 0; border-radius: 2px; font: 700 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn::after { content: ""; position: absolute; left: 22px; right: 22px; top: 7px; height: 1px; background: rgb(255 255 255 / .14); }
.btn:hover { background: #000; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .55); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(22 22 22 / .28); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: var(--front); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-light { background: var(--front); color: var(--ink); }
.btn-light::after { background: rgb(0 0 0 / .08); }
.btn-light:hover { background: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Dimension line: the measurement annotation from a kitchen elevation drawing. */
.dim { display: flex; align-items: center; gap: 12px; color: var(--oak-ink); font: 600 .78rem/1 var(--display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.dim::before, .dim::after { content: ""; flex: 1; height: 9px; border-left: 1px solid var(--oak); background: linear-gradient(var(--oak), var(--oak)) center / 100% 1px no-repeat; }
.dim::after { border-left: 0; border-right: 1px solid var(--oak); }
.dim.on-dark { color: #D9BE9C; }
.dim.on-dark::before, .dim.on-dark::after { border-color: #CBA57A; background-image: linear-gradient(#CBA57A, #CBA57A); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--top-h); display: flex; align-items: center; gap: 32px; padding: 0 var(--gut);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.is-solid { background: rgb(238 237 233 / .9); box-shadow: 0 1px 0 var(--fuge); }
@supports (backdrop-filter: blur(1px)) { .top.is-solid { background: rgb(238 237 233 / .74); backdrop-filter: blur(16px) saturate(1.3); } }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand-word { font: 700 1.32rem/1 var(--display); font-stretch: 112%; letter-spacing: .16em; }
.brand-as { font: 600 .72rem/1 var(--display); letter-spacing: .14em; color: var(--mist); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--graphite); padding: 10px 0; background: linear-gradient(var(--oak), var(--oak)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }
.top-link { display: none; }
.top-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 2px; text-decoration: none; font-weight: 700;
  background: var(--ink); color: var(--on-ink); font-variant-numeric: tabular-nums; }
.top-call svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top-call:hover { background: #000; }

/* Hero (both pages): copy column on the wall, the video as one big front. */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); min-height: 100svh; padding-top: var(--top-h); }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: clamp(32px, 6vh, 72px) var(--gut) clamp(32px, 7vh, 80px); }
.hero-copy .lede { margin-top: -6px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 6px 36px; margin: 6px 0 0; padding-top: 22px; border-top: 1px solid var(--fuge); }
.facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.facts dd { margin: 0; font: 600 1.02rem/1.35 var(--display); }
.stage { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; min-height: 520px; }
.stage-poster, .stage-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-video { opacity: 0; transition: opacity .8s var(--ease); }
.stage-video.is-on { opacity: 1; }
.stage-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 60px clamp(18px, 3vw, 36px) 22px; color: var(--on-ink);
  background: linear-gradient(180deg, rgb(10 10 10 / 0), rgb(10 10 10 / .62)); display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.stage-label { font: 600 .9rem/1.3 var(--display); letter-spacing: .01em; }
.stage-label small { display: block; font: 500 .78rem/1.4 var(--body); color: var(--on-ink-mist); }
.replay { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 2px; cursor: pointer;
  background: rgb(250 250 248 / .14); color: var(--on-ink); font: 600 .85rem/1 var(--body); backdrop-filter: blur(8px); transition: background-color .25s var(--ease); }
.replay:hover { background: rgb(250 250 248 / .26); }
.replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Fronts: panels that meet at one fuge, like a cabinet run. */
.run { display: grid; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.panel { position: relative; background: var(--front); padding: clamp(28px, 4vw, 56px); }
.panel::before { content: ""; position: absolute; left: clamp(28px, 4vw, 56px); width: 56px; top: 14px; height: 3px; border-radius: 2px; background: var(--fuge); } /* the handle groove */
.panel.dark { background: var(--ink); color: var(--on-ink); }
.panel.dark::before { background: #3A3A38; }
.panel.dark .fine, .panel.dark .lede { color: var(--on-ink-mist); }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--mist); max-width: 50ch; }

/* What we install: two tall fronts */
.trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trade { display: grid; grid-template-rows: auto 1fr; padding: 0; }
.trade::before { z-index: 2; background: rgb(250 250 248 / .7); }
.trade-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.trade-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.trade:hover .trade-media img { transform: scale(1.03); }
.trade-body { display: grid; align-content: start; gap: 16px; padding: clamp(26px, 3.4vw, 48px); }
.trade-body h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.ticks li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--fuge); }
.panel.dark .ticks li { border-color: #333331; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--oak); transform: translateY(-4px); }

/* Before / after: drag the seam */
.compare { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); user-select: none; touch-action: pan-y; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare-seam { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; }
.compare-seam::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--front); box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.compare-handle { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--front); color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 8px 22px -8px rgb(0 0 0 / .5); }
.compare-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare input:focus-visible + .compare-seam .compare-handle { outline: 2px solid var(--oak); outline-offset: 3px; }
.compare-tag { position: absolute; top: 16px; z-index: 2; padding: 7px 11px; border-radius: 2px; background: rgb(22 22 22 / .72); color: var(--on-ink); font: 700 .74rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.compare-tag.l { left: 16px; } .compare-tag.r { right: 16px; }
.compare-note { margin-top: 14px; }

/* Process: steps as a run of narrow fronts */
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.step { counter-increment: s; display: grid; align-content: start; gap: 12px; min-height: 280px; }
.step::after { content: counter(s); position: absolute; right: clamp(20px, 2.6vw, 32px); top: 22px; font: 600 1rem/1 var(--display); color: var(--oak-ink); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: 18px; padding-right: 28px; }
.step p { color: var(--mist); }

/* Recruit band */
.band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); }
.band-media { position: relative; min-height: 420px; overflow: hidden; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .panel { display: grid; align-content: center; gap: 22px; }
.pay { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pay b { font: 600 clamp(3rem, 6vw, 5.2rem)/.9 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.pay span { color: var(--on-ink-mist); font-size: .95rem; line-height: 1.35; }

/* Contact */
.contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--fuge); }
.contact-list dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); padding-top: 4px; }
.contact-list dd { margin: 0; font: 600 1.15rem/1.4 var(--display); }
.contact-list a { text-decoration: none; background: linear-gradient(var(--oak), var(--oak)) 0 100% / 100% 1px no-repeat; }
.map { min-height: 420px; padding: 0; overflow: hidden; }
.map::before { display: none; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(.95) brightness(1.04); }

/* Footer */
.foot { padding: 48px 0 56px; color: var(--mist); font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Mobile dock */
.dock { display: none; }

/* ---------- Jobb med oss ---------- */
.chapters { position: absolute; z-index: 3; left: clamp(14px, 2.4vw, 28px); right: clamp(14px, 2.4vw, 28px); bottom: 18px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.chapters button { width: 100%; display: grid; gap: 8px; padding: 0 0 2px; border: 0; background: none; color: var(--on-ink-mist); text-align: left; cursor: pointer; font: 600 .8rem/1.25 var(--body); }
.chapters button i { position: relative; display: block; height: 2px; background: rgb(250 250 248 / .25); overflow: hidden; }
.chapters button i::after { content: ""; position: absolute; inset: 0; background: var(--front); transform-origin: left; transform: scaleX(var(--p, 0)); }
.chapters button[aria-current="true"] { color: var(--on-ink); }
.chapters button span { display: flex; gap: 6px; }
.chapters button b { font: 600 .78rem/1.25 var(--display); color: #CBA57A; font-variant-numeric: tabular-nums; }
.stage.has-chapters .stage-foot { display: none; }
.stage.has-chapters::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; z-index: 1; background: linear-gradient(180deg, rgb(10 10 10 / 0), rgb(10 10 10 / .7)); pointer-events: none; }

.terms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.term { display: grid; align-content: space-between; gap: 28px; min-height: 230px; }
.term dt { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); margin-top: 14px; }
.term dd { margin: 0; display: grid; gap: 8px; }
.term dd strong { font: 600 clamp(1.7rem, 2.6vw, 2.4rem)/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.term dd span { color: var(--mist); font-size: .95rem; }
.term.dark dt { color: var(--on-ink-mist); }
.term.dark dd span { color: var(--on-ink-mist); }

.day { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.day figure { margin: 0; padding: 0; display: grid; grid-template-rows: auto 1fr; }
.day figure::before { z-index: 2; background: rgb(250 250 248 / .7); }
.day img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.day figcaption { display: grid; gap: 6px; padding: 22px clamp(22px, 2.6vw, 32px) 28px; }
.day figcaption b { font: 600 .82rem/1 var(--display); color: var(--oak-ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.day figcaption strong { font: 600 1.2rem/1.2 var(--display); letter-spacing: -.01em; }
.day figcaption span { color: var(--mist); font-size: .95rem; }

.hiring { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.hiring .step { min-height: 300px; }

/* Application: one question at a time */
.apply { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap); }
.apply-aside { display: grid; align-content: space-between; gap: 32px; }
.apply-aside .fine a { color: inherit; }
.q-progress { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 4px; margin-bottom: 36px; }
.q-progress i { height: 3px; border-radius: 2px; background: var(--fuge); transition: background-color .4s var(--ease); }
.q-progress i.done { background: var(--ink); }
.q-progress i.now { background: var(--oak); }
.q-count { font: 600 .82rem/1 var(--display); color: var(--mist); font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q legend, .q-title { padding: 0; font: 600 clamp(1.55rem, 2.6vw, 2.25rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.q-help { margin-top: 10px; color: var(--mist); }
.q.is-in { animation: q-in .55s var(--ease) both; }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.choices { display: grid; gap: var(--gap); margin-top: 28px; }
.choice { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--ground); border-radius: 2px; cursor: pointer;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease); font-weight: 600; }
.choice:hover { background: #E6E5E0; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice i { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #8C8A84; transition: box-shadow .25s var(--ease); }
.choice:has(input:checked) { background: var(--ink); color: var(--on-ink); }
.choice:has(input:checked) i { box-shadow: inset 0 0 0 6px var(--front); }
.choice:has(input:focus-visible) { outline: 2px solid var(--oak); outline-offset: 2px; }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { font-weight: 700; font-size: .95rem; }
.field label small { font-weight: 500; color: var(--mist); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 15px 16px; border: 0; border-radius: 2px; background: var(--ground); color: var(--ink); font: 500 1rem/1.5 var(--body);
  box-shadow: inset 0 -1px 0 #BDBBB4; transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 -2px 0 var(--oak); }
.field input::placeholder, .field textarea::placeholder { color: #7A7873; }
.field[aria-invalid="true"] input, .field[aria-invalid="true"] textarea { box-shadow: inset 0 -2px 0 var(--err); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.follow { overflow: hidden; }
.drop { position: relative; display: grid; justify-items: start; gap: 6px; margin-top: 22px; padding: 26px 22px; border-radius: 2px; background: var(--ground);
  box-shadow: inset 0 0 0 1px dashed; outline: 1px dashed #A9A7A0; outline-offset: -1px; cursor: pointer; transition: background-color .25s var(--ease), outline-color .25s var(--ease); }
.drop:hover, .drop.is-over { background: #E6E5E0; outline-color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { font: 600 1.05rem/1.3 var(--display); }
.drop span { color: var(--mist); font-size: .9rem; }
.drop.has-file { outline-style: solid; outline-color: var(--ink); }
.drop:has(input:focus-visible) { outline: 2px solid var(--oak); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: .92rem; color: var(--graphite); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.q-nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--fuge); }
.q-back { margin-right: auto; border: 0; background: none; padding: 12px 0; font: 600 .95rem/1 var(--body); color: var(--mist); cursor: pointer; }
.q-back:hover { color: var(--ink); }
.q-error { margin-top: 16px; color: var(--err); font-weight: 600; font-size: .95rem; }
.q-error:empty { display: none; }
.review { margin: 24px 0 0; display: grid; }
.review > div { display: grid; grid-template-columns: 170px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--fuge); font-size: .95rem; }
.review dt { color: var(--mist); font-weight: 600; }
.review dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--on-ink); display: grid; place-items: center; margin-bottom: 26px; }
.done-mark svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .top-call { margin-left: auto; }
  .top-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 4px; font-weight: 700; font-size: .92rem; text-decoration: none;
    background: linear-gradient(var(--oak), var(--oak)) 4px calc(100% - 10px) / calc(100% - 8px) 1px no-repeat; }
  .top-link + .top-call { margin-left: 0; }
  .steps, .hiring, .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .stage { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero-copy { padding-top: 34px; justify-content: start; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head, .trades, .band, .contact, .apply { grid-template-columns: 1fr; }
  .band-media { min-height: 300px; }
  .chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .dock { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(238 237 233 / .94); box-shadow: 0 -1px 0 var(--fuge);
    transition: transform .3s var(--ease); }
  .dock.is-hidden { transform: translateY(110%); }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 2px; font-weight: 700; text-decoration: none; }
  .dock a:first-child { box-shadow: inset 0 0 0 1px rgb(22 22 22 / .28); }
  .dock a:last-child { background: var(--ink); color: var(--on-ink); }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .top-call span { display: none; }
  .top-call { width: 44px; padding: 0; justify-content: center; }
  .top { gap: 14px; }
  .stage { aspect-ratio: 1 / 1; }
  h1 { font-size: clamp(2.05rem, 9.4vw, 2.5rem); }
  .hero-copy { gap: 20px; padding-top: 26px; padding-bottom: 40px; }
  .hero-copy .lede { font-size: 1.02rem; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .facts { gap: 12px 20px; padding-top: 18px; }
  .compare { aspect-ratio: 4 / 3; }
  .compare-handle { width: 46px; height: 46px; }
  .map, .map iframe { min-height: 320px; }
  .steps, .hiring, .terms, .day { grid-template-columns: 1fr; }
  .step, .hiring .step, .term { min-height: 0; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list > div, .review > div { grid-template-columns: 1fr; gap: 2px; }
  .chapters button span { display: none; }
  .chapters { bottom: 14px; }
  .stage-label small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
