/* ==========================================================================
   Soudoconstruction — « Calamine »: mill-scale steel, zinc, limewash primer,
   and the TIG heat tint (straw → bronze → violet → blue) as the only accent.
   Vanilla CSS. Sections follow the page order.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL; latin + latin-ext) ---------- */
/* Saira is instanced to wdth 70–100 and wght 400–600 to keep the files small. */
@font-face { font-family: "Saira"; font-style: normal; font-weight: 400 600; font-stretch: 70% 100%; font-display: swap; src: url("../fonts/saira-latin.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; }
@font-face { font-family: "Saira"; font-style: normal; font-weight: 400 600; font-stretch: 70% 100%; font-display: swap; src: url("../fonts/saira-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin.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; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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; }

/* ---------- Tokens ---------- */
:root {
  /* Steel */
  --steel-0: #111315;   /* footer, lightbox */
  --steel: #16181A;     /* base: mill scale */
  --steel-2: #1E2124;   /* raised sections */
  --steel-3: #2A2E32;   /* panels on raised */
  --zinc: #8E959B;      /* secondary text on steel (5.3–6.1:1) */
  --zinc-2: #B9BEC2;    /* body text on steel (8.6–9.9:1) */
  --lime: #E9E7E2;      /* limewash primer: headings on steel, light sections */
  --ink: #16181A;       /* text on limewash (14.4:1) */
  --ink-2: #33373B;     /* body on limewash (9.7:1) */
  --ink-3: #4A4F54;     /* secondary on limewash (6.7:1) */

  /* TIG heat tint. Straw is the only tint used for small text (7.2–8.3:1 on steel). */
  --straw: #CFA85A;
  --bronze: #9A5B34;
  --violet: #5E4A7E;
  --blue: #3C6DA6;
  --bronze-ink: #7C4726; /* bronze for small text on limewash (6.1:1) */
  --heat: linear-gradient(90deg, var(--straw), var(--bronze) 36%, var(--violet) 68%, var(--blue));

  --display: "Saira", "Arial Narrow", sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  /* Type scale */
  --t-caps: .78125rem;
  --t-sm: .9375rem;
  --t-body: clamp(1.0625rem, 1rem + .18vw, 1.125rem);
  --t-lede: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
  --t-h3: clamp(1.5rem, 1.2rem + .9vw, 2rem);
  --t-h2: clamp(2.5rem, 1.4rem + 3.6vw, 4.75rem);
  --t-h1: clamp(3.25rem, 1rem + 6vw, 7rem);

  --gutter: clamp(16px, 6.4vw, 40px);
  --maxw: 1240px;
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  --col-gap: clamp(16px, 2.4vw, 32px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 64px;

  /* Scheme: steel by default */
  --bg: var(--steel);
  --fg: var(--lime);
  --fg-2: var(--zinc-2);
  --fg-3: var(--zinc);
  --line: rgba(185, 190, 194, .16);
  --line-2: rgba(185, 190, 194, .42);
  --tick: rgba(142, 149, 155, .5);
  --tick-2: var(--zinc);
  --accent: var(--straw);
  --focus: var(--straw);
  --btn-bg: var(--lime);
  --btn-fg: var(--steel);
  --btn-hover: #FFFFFF;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

.is-raised { --bg: var(--steel-2); }
.is-light {
  --bg: var(--lime);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --line: rgba(22, 24, 26, .14);
  --line-2: rgba(22, 24, 26, .42);
  --tick: rgba(22, 24, 26, .3);
  --tick-2: var(--ink-3);
  --accent: var(--bronze-ink);
  --focus: #2F5C93;
  --btn-bg: var(--steel);
  --btn-fg: var(--lime);
  --btn-hover: #000000;
}

/* ---------- 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); background: var(--steel); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (max-width: 767px) { .js { scroll-padding-bottom: 80px; } }
html.menu-open, html:has(.lightbox[open]) { overflow: hidden; }
body { margin: 0; background: var(--steel); color: var(--zinc-2); font-family: var(--text); font-size: var(--t-body); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p, .lede, .svc__desc { text-wrap: pretty; }
::selection { background: rgba(207, 168, 90, .35); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nw { white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--lime); color: var(--steel); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Inline links: hairline underline, straw on hover */
.ulink, .hero__assure a, .addresses a { text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.ulink:hover, .hero__assure a:hover, .addresses a:hover { text-decoration-color: var(--accent); }

/* ---------- Type ---------- */
.caps { font-family: var(--display); font-size: var(--t-caps); font-weight: 500; font-stretch: 100%; letter-spacing: .14em; line-height: 1.45; text-transform: uppercase; font-feature-settings: "tnum"; }
.chips .unit { text-transform: none; }
.display { font-family: var(--display); font-weight: 500; font-stretch: 72%; letter-spacing: -.004em; line-height: .94; text-wrap: balance; color: var(--fg); }
.h2 { font-size: var(--t-h2); }
.lede { max-width: 52ch; font-size: var(--t-lede); line-height: 1.5; color: var(--fg-2); }
.prose { max-width: 60ch; }
.prose p + p { margin-top: 1em; }
.ref { font-family: var(--display); font-weight: 500; font-stretch: 100%; letter-spacing: .12em; font-feature-settings: "tnum"; color: var(--accent); }

/* ---------- Signature: steel rule (draws itself on scroll) ---------- */
.rule { display: flex; align-items: flex-end; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.rule__label { flex: none; display: inline-flex; align-items: baseline; gap: 12px; line-height: 1; white-space: nowrap; color: var(--fg); transform: translateY(1px); }
.rule__n { color: var(--accent); }
.rule__scale {
  flex: 1;
  min-width: 0;
  height: 13px;
  background:
    var(--heat) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--tick-2) 0 1px, transparent 1px 100px) left bottom / 100% 13px no-repeat,
    repeating-linear-gradient(90deg, var(--tick-2) 0 1px, transparent 1px 50px) left bottom / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 10px) left bottom / 100% 4px no-repeat;
}

/* ---------- Buttons & links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 52px;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--fg);
  font-family: var(--display);
  font-size: .875rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: .12em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
/* The heat line: a 2 px tint that runs along the bottom edge on hover */
.btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--heat); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn--primary { border-color: var(--btn-bg); background: var(--btn-bg); color: var(--btn-fg); }
.btn--ghost { color: var(--fg); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { transform: scaleX(1); }
  .btn--primary:hover { border-color: var(--btn-hover); background: var(--btn-hover); }
  .btn--ghost:hover { border-color: var(--fg); }
}
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .8125rem; }
.btn--block { width: 100%; }
.btn__arr { display: inline-block; font-family: var(--text); letter-spacing: 0; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .btn__arr { transform: translateX(3px); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-block; margin-top: 16px; padding-block: 12px; color: var(--fg); font-family: var(--display); font-size: .875rem; font-weight: 500; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 7px; transition: text-decoration-color .2s ease; }
.link-arrow > span { display: inline-block; margin-left: .35em; font-family: var(--text); letter-spacing: 0; transition: transform .2s var(--ease-out); }
.link-arrow:hover { text-decoration-color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover > span { transform: translateX(3px); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--steel); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-scrolled, .menu-open .site-header { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; color: var(--lime); text-decoration: none; }
.brand__mark { flex: none; width: 31px; height: 34px; }
.brand__word { font-family: var(--display); font-size: clamp(.875rem, .65rem + 1vw, 1.0625rem); line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.brand__word b { font-weight: 600; }
.brand__word span { font-weight: 400; color: var(--zinc-2); }
.nav__list { display: flex; gap: clamp(20px, 2.2vw, 34px); }
.nav a { position: relative; display: inline-block; padding: 12px 0; color: var(--zinc-2); font-family: var(--display); font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--heat); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav a:hover, .nav a[aria-current="location"] { color: var(--lime); }
.nav a:hover::after, .nav a[aria-current="location"]::after { transform: scaleX(1); }
.header__phone { padding: 12px 0; color: var(--lime); font-size: var(--t-sm); font-weight: 500; font-feature-settings: "tnum"; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.header__phone:hover { color: var(--straw); }
.header__cta { color: var(--lime); white-space: nowrap; }
.site-header.is-scrolled .header__cta { border-color: var(--lime); background: var(--lime); color: var(--steel); }
@media (hover: hover) and (pointer: fine) { .site-header.is-scrolled .header__cta:hover { border-color: #FFFFFF; background: #FFFFFF; } }
.burger { display: none; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 18px; height: 1.5px; background: var(--lime); transition: transform .25s var(--ease-out), background-color .2s; }
.burger__bars { position: relative; margin: auto; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; }
.burger__bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767px), (min-width: 1024px) and (max-width: 1199px) { .header__phone { display: none; } }
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__list { gap: 18px; }
  .nav a { letter-spacing: .1em; }
  .brand__word { font-size: .9375rem; }
}
@media (max-width: 1023px) {
  .js .nav { display: none; }
  .js .burger { display: grid; }
  .no-js .site-header { position: relative; }
  .no-js .site-header__inner { flex-wrap: wrap; height: auto; padding-block: 8px; }
  .no-js .nav { order: 3; width: 100%; overflow-x: auto; }
}
@media (max-width: 559px) { .header__cta { display: none; } }

/* Mobile menu overlay (disclosure, not a modal dialog) */
.menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain; background: var(--steel); }
.menu[hidden] { display: none; }
.menu__inner { display: flex; flex-direction: column; min-height: 100%; padding-block: 16px calc(28px + env(safe-area-inset-bottom)); }
.menu__list { border-top: 1px solid var(--line); }
.menu__list a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--lime); font-family: var(--display); font-size: clamp(2.25rem, 10vw, 3rem); font-weight: 500; font-stretch: 72%; line-height: 1; text-decoration: none; }
.menu__n { min-width: 2ch; color: var(--zinc); font-size: var(--t-caps); font-stretch: 100%; letter-spacing: .14em; font-feature-settings: "tnum"; transform: translateY(-.35em); }
.menu__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; }
.menu__phone { padding-block: 8px; color: var(--lime); font-family: var(--display); font-size: 1.5rem; font-stretch: 80%; font-weight: 500; font-feature-settings: "tnum"; text-decoration: none; }
.menu__addr { color: var(--zinc); font-size: var(--t-sm); line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) {
  .menu:not([hidden]) { animation: fade-in .2s ease-out; }
  .menu:not([hidden]) .menu__list li { animation: rise .32s var(--ease-out) both; }
  .menu:not([hidden]) .menu__list li:nth-child(2) { animation-delay: 30ms; }
  .menu:not([hidden]) .menu__list li:nth-child(3) { animation-delay: 60ms; }
  .menu:not([hidden]) .menu__list li:nth-child(4) { animation-delay: 90ms; }
  .menu:not([hidden]) .menu__list li:nth-child(5) { animation-delay: 120ms; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); background: var(--bg); color: var(--fg-2); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
@media (min-width: 1024px) {
  .section__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
  .section__head .h2 { grid-column: 1 / span 7; }
  .section__head .lede { grid-column: 8 / span 5; padding-bottom: .4em; }
}

/* Photos: straight, cropped, no frame. One grade for every real photo. */
.photo { margin: 0; }
.photo__frame { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: #CFCCC5; }
.photo__frame img, .hero__media img, .tile__link img { filter: saturate(.86) contrast(1.04); }
.photo__frame img { width: 100%; height: 100%; object-fit: cover; }
.photo__cap { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-top: 12px; color: var(--fg-3); font-size: var(--t-sm); line-height: 1.4; }
.photo__cap .ref { font-size: var(--t-caps); line-height: 1.8; }

/* ---------- Hero ---------- */
.hero { background: var(--steel); color: var(--zinc-2); padding-bottom: clamp(28px, 4vw, 48px); overflow-x: clip; }
.hero__grid { display: grid; }
.hero__grid > * { min-width: 0; }
.hero__media { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0C0D0E; }
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.plate { position: absolute; left: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; max-width: calc(100% - 16px); padding: 10px 16px 10px var(--gutter); background: rgba(17, 19, 21, .9); color: var(--zinc-2); font-size: clamp(.8125rem, .75rem + .3vw, .9375rem); line-height: 1.35; }
.plate__ref { font-family: var(--display); font-size: var(--t-caps); font-weight: 500; letter-spacing: .14em; line-height: 1.75; font-feature-settings: "tnum"; color: var(--straw); }
.hero__body { padding: clamp(24px, 6vw, 48px) var(--gutter) 0; }
.hero__eyebrow { margin-bottom: clamp(16px, 2vw, 28px); color: var(--zinc); }
.hero__h1 { max-width: 11ch; font-size: var(--t-h1); line-height: .9; letter-spacing: -.008em; }
.hero__h1 .line { display: block; }
.hot { font-style: normal; color: var(--straw); }
.hero__lede { max-width: 50ch; margin-top: clamp(22px, 2.4vw, 32px); font-size: var(--t-body); line-height: 1.6; color: var(--zinc-2); }
.hero__actions { margin-top: 28px; }
.hero__assure { margin-top: 20px; color: var(--zinc); font-size: var(--t-sm); line-height: 1.6; }
.hero__assure a { color: var(--lime); font-feature-settings: "tnum"; padding-block: 6px; }

@media (max-width: 767px) {
  .hero__actions .btn { width: 100%; }
  .hero__assure { display: none; }
}
@media (min-width: 600px) and (max-width: 1023px) { .hero__media { aspect-ratio: 16 / 10; } }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(600px, calc(100svh - var(--header-h) - 150px), 860px); }
  .hero__media { aspect-ratio: auto; height: 100%; }
  .hero__media picture { position: absolute; inset: 0; }
  .plate { padding-left: var(--edge); }
  .hero__body { align-self: end; padding: 72px var(--edge) 8px clamp(40px, 5.5vw, 96px); }
}

/* Load choreography (≤ 700 ms, image settles over 1.2 s) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__eyebrow, .js .hero__h1 .line, .js .hero__lede, .js .hero__actions, .js .hero__assure { animation: rise .5s var(--ease-out) both; }
  .js .hero__h1 .line:nth-child(1) { animation-delay: 60ms; }
  .js .hero__h1 .line:nth-child(2) { animation-delay: 110ms; }
  .js .hero__h1 .line:nth-child(3) { animation-delay: 160ms; }
  .js .hero__h1 .line:nth-child(4) { animation-delay: 210ms; }
  .js .hero__lede { animation-delay: 280ms; }
  .js .hero__actions { animation-delay: 330ms; }
  .js .hero__assure { animation-delay: 380ms; }
  .js .hero__media img { animation: settle 1.2s var(--ease-out) both; }
  .js .plate { animation: fade-in .4s ease-out .5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes settle { from { transform: scale(1.04); } }

/* Proof strip */
.facts { margin-top: clamp(40px, 5vw, 72px); }
.facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts__cell { display: flex; flex-direction: column; padding: 18px 16px 20px 0; }
.facts__cell:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts__cell dt { margin-bottom: 10px; color: var(--zinc); }
.facts__value { color: var(--lime); font-family: var(--display); font-size: clamp(2rem, 1.3rem + 2vw, 3rem); font-weight: 500; font-stretch: 72%; line-height: 1; font-feature-settings: "tnum"; }
.facts__note { margin-top: 8px; font-size: var(--t-sm); line-height: 1.4; color: var(--zinc); }
.facts__foot { padding-top: 16px; border-top: 1px solid var(--line); color: var(--zinc); }
@media (min-width: 1024px) {
  .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts__cell { padding: 22px 24px 24px; border-left: 1px solid var(--line); }
  .facts__cell:first-child { padding-left: 0; border-left: 0; }
  .facts__cell:nth-child(n+3) { border-top: 0; }
}

/* ---------- 01 Atelier (limewash) ---------- */
.atelier { display: grid; gap: 56px var(--col-gap); }
.atelier .h2 { max-width: 14ch; margin-bottom: 32px; }
.specs { max-width: 60ch; margin-top: 40px; border-top: 1px solid var(--fg); }
.specs__row { display: grid; grid-template-columns: 8.5rem 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.specs dt { padding-top: .3em; color: var(--fg); }
@media (max-width: 479px) { .specs__row { grid-template-columns: 6.75rem 1fr; } }
.atelier__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--col-gap); align-items: end; }
.atelier__main { grid-column: 1 / -1; }
.atelier__main .photo__frame { aspect-ratio: 5 / 4; }
.atelier__main img { object-position: 50% 60%; }
.sites { display: grid; gap: 16px; padding-bottom: 6px; }
.sites div { padding-top: 12px; border-top: 1px solid var(--fg); }
.sites dt { color: var(--fg-3); }
.sites dd { margin-top: 4px; color: var(--fg); font-family: var(--display); font-size: var(--t-h3); font-weight: 500; font-stretch: 76%; line-height: 1.1; }
@media (min-width: 1024px) {
  .atelier { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .atelier__text { grid-column: 1 / span 5; }
  .atelier__media { grid-column: 7 / span 6; }
}

/* ---------- 02 Services (raised steel) ---------- */
.services__title { max-width: 16ch; margin-bottom: clamp(36px, 4.5vw, 64px); }
.svc-index { display: grid; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__head { --t: var(--t-h3); position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 22px 0; }
.svc__tag { grid-column: 1; grid-row: 1; line-height: calc(var(--t) * 1.1); color: var(--zinc); }
.svc__title { grid-column: 2; grid-row: 1; color: var(--lime); font-family: var(--display); font-size: var(--t); font-weight: 500; font-stretch: 76%; line-height: 1.1; }
.svc__name { padding-bottom: 5px; background: var(--heat) left bottom / 0 2px no-repeat; transition: background-size .4s var(--ease-out); }
.svc__hook { grid-column: 2; grid-row: 2; margin-top: 12px; font-size: var(--t-sm); line-height: 1.45; color: var(--zinc); }
.svc__arrow { grid-column: 3; grid-row: 1; color: var(--zinc); font-size: 1.25rem; line-height: calc(var(--t) * 1.1); transition: transform .25s var(--ease-out), color .2s ease, opacity .2s ease; }
.svc__body { padding: 0 0 28px; }
.svc__media { display: block; max-width: none; aspect-ratio: 3 / 2; margin: 0 0 22px; overflow: hidden; background: var(--steel); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05) brightness(.94); transition: transform .8s var(--ease-out); }
.svc__desc { max-width: 58ch; color: var(--zinc-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { padding: 7px 11px; border: 1px solid var(--line-2); color: var(--zinc-2); font-family: var(--display); font-size: var(--t-caps); font-weight: 500; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.svc__cta { margin-top: 26px; }
.svc__tab { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; letter-spacing: inherit; cursor: pointer; }
.svc__tab::after { content: ""; position: absolute; inset: 0; }
.svc__tab:focus-visible { outline: none; }
.svc__tab:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; }

/* Under 1024 px: accordion (JS) or open cards (no JS) */
@media (max-width: 1023px) {
  .svc__arrow { display: none; }
  .is-accordion .svc__arrow { display: block; }
  .is-accordion .is-open .svc__name { background-size: 100% 2px; }
  .is-accordion .is-open .svc__arrow { transform: rotate(90deg); color: var(--straw); }
  .js .svc__cta { display: none; }
}

/* 1024 px and up without JS: each service as a two-column row */
@media (min-width: 1024px) {
  .no-js .svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); padding-block: 28px; }
  .no-js .svc__head { grid-column: 1 / span 5; align-self: start; padding: 0; }
  .no-js .svc__arrow { display: none; }
  .no-js .svc__body { grid-column: 7 / span 6; padding: 0; }
  .no-js .svc__media { aspect-ratio: 16 / 10; }
}

/* 1024 px and up: interactive index on the 12-column grid (JS) */
.svc-index.is-tabs { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(5, auto) 1fr; column-gap: var(--col-gap); border-top: 0; }
.is-tabs .svc { display: contents; }
.is-tabs .svc__head { grid-column: 1 / span 5; padding: 24px 8px 24px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.is-tabs .svc:first-child .svc__head { border-top: 1px solid var(--line); }
.is-tabs .svc:nth-child(1) .svc__head { grid-row: 1; }
.is-tabs .svc:nth-child(2) .svc__head { grid-row: 2; }
.is-tabs .svc:nth-child(3) .svc__head { grid-row: 3; }
.is-tabs .svc:nth-child(4) .svc__head { grid-row: 4; }
.is-tabs .svc:nth-child(5) .svc__head { grid-row: 5; }
.is-tabs .svc__title { color: var(--zinc-2); transition: color .2s ease; }
.is-tabs .svc__arrow { opacity: .5; }
.is-tabs .svc__head:hover .svc__title, .is-tabs .is-active .svc__title { color: var(--lime); }
.is-tabs .svc__head:hover .svc__name, .is-tabs .is-active .svc__name { background-size: 100% 2px; }
.is-tabs .is-active .svc__hook { color: var(--zinc-2); }
.is-tabs .is-active .svc__arrow { opacity: 1; color: var(--straw); transform: translateX(6px); }
.is-tabs .svc__body { grid-column: 7 / span 6; grid-row: 1 / -1; padding: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.is-tabs .is-active .svc__body { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.is-tabs .svc__media { aspect-ratio: 16 / 10; margin-bottom: 26px; }
.is-tabs .svc__media img { transform: scale(1.03); }
.is-tabs .is-active .svc__media img { transform: none; }

/* ---------- 03 Méthode: three verbs, tempered from straw to blue ---------- */
.steps { display: grid; margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.step { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.step__verb { margin-bottom: clamp(20px, 2.4vw, 36px); font-family: var(--display); font-size: clamp(3rem, 1.8rem + 3vw, 4.75rem); font-weight: 500; font-stretch: 72%; line-height: .9; letter-spacing: -.004em; }
.step--1 .step__verb { color: var(--straw); }
.step--2 .step__verb { color: var(--bronze); }
.step--3 .step__verb { color: var(--blue); }
.step__title { color: var(--lime); font-family: var(--display); font-size: 1.5rem; font-weight: 500; font-stretch: 80%; line-height: 1.15; }
.step p:not(.step__verb) { max-width: 38ch; margin-top: 12px; color: var(--zinc-2); }
.methode__cta { margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; }
  .step { padding: 8px clamp(20px, 2.6vw, 40px) 12px; border-bottom: 0; border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- 04 Réalisations (limewash) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 3vw, 36px); }
.filters[hidden] { display: none; }
.js .filters[hidden] { display: flex; visibility: hidden; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); background: transparent; color: var(--fg); font-family: var(--display); font-size: var(--t-caps); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.chip__n { color: var(--fg-3); font-feature-settings: "tnum"; }
.chip[aria-pressed="true"] .chip__n { color: #B9BEC2; }
@media (max-width: 767px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

.gallery { --gap: clamp(8px, 1vw, 12px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tile[hidden] { display: none; }
.tile__link { position: relative; display: block; flex: none; aspect-ratio: 1 / 1; overflow: hidden; background: #CFCCC5; }
.tile__link img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.tile__link:focus-visible { outline-offset: 3px; }
.tile__cap { display: grid; gap: 2px; padding-top: 10px; }
.tile__tag { justify-self: start; font-family: var(--display); font-size: var(--t-caps); font-weight: 500; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; font-feature-settings: "tnum"; color: var(--accent); }
.tile__cat { color: var(--fg-3); }
.tile__title { color: var(--fg); font-size: var(--t-sm); font-weight: 500; line-height: 1.35; }
.is-filtered .tile__cat, .is-filtered .tile--cta { display: none; }
.tile--cta { grid-column: auto; }
.tile__cta { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; height: 100%; min-height: 200px; padding: clamp(20px, 2.4vw, 32px); overflow: hidden; background: var(--steel); color: var(--lime); text-decoration: none; }
.tile__cta .tile__tag { color: var(--straw); }
.tile__cta-title { max-width: 16ch; font-family: var(--display); font-size: clamp(1.25rem, .95rem + 1.1vw, 1.875rem); font-weight: 500; font-stretch: 76%; line-height: 1.02; }
.tile__cta-arr { align-self: flex-end; font-size: 1.5rem; line-height: 1; transition: transform .25s var(--ease-out); }
.tile__cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--heat); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile__link:hover img { transform: scale(1.04); }
  .tile__cta:hover::after { transform: scaleX(1); }
  .tile__cta:hover .tile__cta-arr { transform: translateX(4px); }
}
@media (max-width: 767px) { .tile__cat { display: none; } }
@media (max-width: 1023px) {
  .gallery:not(.is-filtered) .tile--featured { grid-column: 1 / -1; }
  .gallery:not(.is-filtered) .tile--featured .tile__link { aspect-ratio: 4 / 3; }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 28px var(--gap); }
  .tile--featured { grid-column: 1 / span 2; grid-row: span 2; }
  .tile--featured.tile--r { grid-column: 3 / span 2; }
  .tile--featured .tile__link { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
  .tile--featured .tile__title { font-size: var(--t-body); }
  .tile--cta { grid-column: auto; }
  .is-filtered .tile--featured { grid-column: auto; grid-row: auto; }
  .is-filtered .tile--featured .tile__link { flex: none; aspect-ratio: 1 / 1; }
}
/* Fine pointers on wide screens: a flush grid, the caption slides up on hover or focus */
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .gallery { row-gap: var(--gap); }
  .tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 14px 16px 15px; background: rgba(17, 19, 21, .92); opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .25s var(--ease-out); pointer-events: none; }
  .tile__cap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--heat); }
  .tile__cap .tile__tag { color: var(--straw); }
  .tile__cap .tile__cat { color: var(--zinc); }
  .tile__cap .tile__title { color: var(--lime); }
  .tile:hover .tile__cap, .tile:focus-within .tile__cap { opacity: 1; transform: none; }
  .tile__cta { min-height: 0; }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--steel-0); color: var(--zinc-2); }
.lightbox::backdrop { background: var(--steel-0); }
html:has(.lightbox[open]) .actionbar { visibility: hidden; }
.lightbox__inner { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 20px; height: 100%; padding: 68px var(--gutter) calc(20px + env(safe-area-inset-bottom)); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; touch-action: none; }
.lightbox__stage picture { display: contents; }
.lightbox__img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; transition: opacity .2s ease; }
.lightbox__img.is-loading { opacity: .25; }
.lightbox__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: end; }
.lightbox__count, .lightbox__title, .lightbox__tag { grid-column: 1; }
.lightbox__count { color: var(--zinc); }
.lightbox__tag { color: var(--straw); font-family: var(--display); font-size: var(--t-caps); letter-spacing: .12em; text-transform: uppercase; }
.lightbox__title { color: var(--lime); font-family: var(--display); font-size: 1.5rem; font-weight: 500; font-stretch: 76%; line-height: 1.15; }
.lightbox__alt { display: none; }
.lightbox__nav { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: 8px; }
.lightbox__btn, .lightbox__close { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 48px; height: 48px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--steel); color: var(--lime); cursor: pointer; transition: border-color .2s ease, transform .16s var(--ease-out); }
.lightbox__btn:active, .lightbox__close:active { transform: scale(.97); }
.lightbox__btn:hover, .lightbox__close:hover { border-color: var(--straw); }
.lightbox__close { position: absolute; top: 12px; right: var(--gutter); }
@media (min-width: 1024px) {
  .lightbox__inner { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: minmax(0, 1fr); gap: 48px; padding: 72px var(--gutter) 48px; }
  .lightbox__meta { grid-template-columns: 1fr; align-content: end; gap: 10px; height: 100%; padding: 0 0 8px 28px; border-left: 1px solid var(--line); }
  .lightbox__count, .lightbox__title, .lightbox__tag, .lightbox__nav { grid-column: 1; grid-row: auto; }
  .lightbox__title { font-size: 2rem; }
  .lightbox__alt { display: block; font-size: var(--t-sm); line-height: 1.5; }
  .lightbox__nav { margin-top: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: fade-in .2s ease-out; }
}

/* ---------- Avis clients ---------- */
.avis__label { margin-bottom: 28px; color: var(--zinc); }
.reviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.reviews__text { max-width: 52ch; color: var(--lime); font-size: var(--t-lede); line-height: 1.45; }
.notes { display: grid; gap: 28px; border-top: 1px solid var(--line); }
.note figure { padding: 28px 32px 0 0; }
.note blockquote p { color: var(--lime); font-size: var(--t-lede); line-height: 1.45; }
.note__q { color: var(--straw); }
.note__who { margin-top: 16px; color: var(--zinc); }
@media (min-width: 900px) {
  .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .note + .note figure { padding-left: 32px; border-left: 1px solid var(--line); }
}
#avis { padding-bottom: clamp(56px, 6vw, 88px); }

/* ---------- 05 Contact (raised steel) ---------- */
.contact { display: grid; gap: 56px var(--col-gap); }
.contact__intro .h2 { max-width: 12ch; }
.contact__intro .lede { margin-top: 24px; }
@media (min-width: 1024px) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .contact__intro, .contact__where { grid-column: 1 / span 6; }
  .contact__form { grid-column: 8 / span 5; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 28px); }
}
.sms-card { position: relative; margin-top: 40px; padding: 28px clamp(20px, 3vw, 32px) 24px; background: var(--steel); border-top: 2px solid transparent; border-image: var(--heat) 1; }
.sms-card__title, .form__title { color: var(--lime); font-family: var(--display); font-size: 1.625rem; font-weight: 500; font-stretch: 80%; line-height: 1.15; }
.sms-card > p { max-width: 48ch; margin-top: 10px; }
.sms-card__num { display: inline-block; margin: 10px 0 14px; padding-block: 6px; color: var(--lime); font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); font-weight: 500; font-stretch: 76%; font-feature-settings: "tnum"; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.sms-card__num:hover { color: var(--straw); }
.checklist__title { margin-top: 30px; color: var(--lime); }
.checklist { margin-top: 10px; counter-reset: c; }
.checklist li { position: relative; padding: 10px 0 10px 40px; border-bottom: 1px solid var(--line); }
.checklist li::before { counter-increment: c; content: counter(c, decimal-leading-zero); position: absolute; left: 0; top: 13px; font: 500 var(--t-caps)/1.5 var(--display); letter-spacing: .12em; font-feature-settings: "tnum"; color: var(--straw); }
.sms-card__note { margin-top: 18px; padding-left: 14px; border-left: 1px solid var(--line-2); font-size: var(--t-sm); color: var(--zinc); }
.sms-card__form { margin-top: 10px; }
@media (max-width: 479px) { .sms-card .actions .btn { flex: 1 1 100%; } }

.map { margin-top: 40px; }
.map__slot { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; margin-bottom: 28px; background: var(--steel); border: 1px solid var(--line); }
.map__slot[hidden] { display: none; }
@media (min-width: 600px) { .map__slot:not(.is-loaded) { aspect-ratio: 3 / 1; } }
.map__slot.is-loaded { border-color: transparent; }
.map__slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--col-gap); padding-top: 24px; border-top: 1px solid var(--line-2); }
.addresses__h { margin-bottom: 8px; color: var(--zinc); }
.addresses p { color: var(--lime); font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.addresses a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.map__actions .link-arrow { margin-top: 20px; }
@media (max-width: 419px) { .addresses { grid-template-columns: 1fr; } }

/* Form */
.form { padding: clamp(24px, 3vw, 36px); background: var(--steel); }
.form__note { margin-top: 6px; font-size: var(--t-sm); color: var(--zinc); }
.form__honey { display: none; }
.field { margin-top: 26px; }
.field label { display: block; color: var(--lime); font-size: var(--t-sm); font-weight: 600; }
.req { margin-left: 2px; color: var(--zinc); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 52px; margin-top: 4px; padding: 10px 2px; border: 0; border-bottom: 1px solid #7A8187; border-radius: 0; background-color: transparent; color: var(--lime); font-size: 1.0625rem; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, background-color .2s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-bottom-color: var(--zinc-2); }
.field select { padding-right: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23E9E7E2' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; cursor: pointer; }
.field select:invalid { color: #9AA0A6; }
.field select option { background: var(--steel-2); color: var(--lime); }
.field textarea { min-height: 164px; padding: 12px 2px; line-height: 1.55; resize: vertical; }
.field ::placeholder { color: #9AA0A6; opacity: 1; }
.field input:-webkit-autofill { -webkit-text-fill-color: var(--lime); -webkit-box-shadow: 0 0 0 100px var(--steel) inset; caret-color: var(--lime); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--straw); outline-offset: 4px; border-bottom-color: var(--straw); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-bottom: 2px solid var(--straw); background-color: rgba(207, 168, 90, .08); }
.field__error { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--lime); font-size: .875rem; font-weight: 600; }
.field__error[hidden] { display: none; }
.field__error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; background: var(--straw); color: var(--steel); font-family: var(--display); font-size: .75rem; font-weight: 600; line-height: 1; }
.field.is-prefilled select { animation: prefill 1.4s ease-out; }
@keyframes prefill { 0%, 30% { background-color: rgba(207, 168, 90, .22); } }
.form__submit { margin-top: 36px; min-height: 56px; }
.form__submit[aria-busy="true"] { cursor: progress; opacity: .8; }
.form__legal { margin-top: 14px; font-size: var(--t-sm); color: var(--zinc); }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 7vw, 96px) calc(28px + env(safe-area-inset-bottom)); background: var(--steel-0); color: var(--zinc-2); border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 32px var(--col-gap); }
.brand--foot { margin-right: 0; }
.footer__about { max-width: 38ch; margin-top: 20px; }
.footer__brand .link-arrow { margin-top: 16px; }
.footer__h { margin-bottom: 10px; color: var(--zinc); }
.footer__col p:not(.footer__h) { font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.footer__col a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.site-footer a:not(.link-arrow):not(.brand) { color: var(--lime); text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color .2s ease; }
.site-footer a:not(.link-arrow):not(.brand):hover { text-decoration-color: var(--straw); }
.footer__legal { margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; border-top: 1px solid var(--line); color: var(--zinc); font-size: .875rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .footer__brand { grid-column: 1 / span 4; }
  .footer__col:nth-child(2) { grid-column: 6 / span 2; }
  .footer__col:nth-child(3) { grid-column: 8 / span 2; }
  .footer__col:nth-child(4) { grid-column: 10 / span 3; }
}

/* ---------- Mobile action bar ---------- */
.actionbar { display: none; }
@media (max-width: 767px) {
  .js .actionbar { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); background: var(--steel); border-top: 1px solid var(--line); transform: translateY(100%); visibility: hidden; transition: transform .25s var(--ease-out), visibility 0s linear .25s; }
  .js .actionbar.is-visible { transform: none; visibility: visible; transition: transform .25s var(--ease-out); }
  .js.menu-open .actionbar.is-visible { visibility: hidden; }
}
.actionbar__btn { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line-2); color: var(--lime); font-family: var(--display); font-size: .875rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: transform .16s var(--ease-out); }
.actionbar__btn:active { transform: scale(.98); }
.actionbar__btn--sms { border-color: var(--lime); background: var(--lime); color: var(--steel); }

/* ---------- Reveal on scroll (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease-out) var(--d, 0ms), transform .6s var(--ease-out) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .rule__scale { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease-out) .1s; }
.js .rule.is-in .rule__scale { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .rule__scale { clip-path: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- 404 and merci ---------- */
.notfound { min-height: calc(100vh - var(--header-h)); display: grid; align-content: center; padding-block: 64px; }
.notfound .h2 { max-width: 18ch; }
.notfound .prose { margin-top: 24px; color: var(--zinc-2); }
.notfound .actions { margin-top: 36px; }
