/* Tibby's Workshop. Home page sections (direction Braise). */

/* ───────── Hero: the épure, chalk on the workshop floor ───────── */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + 1rem); overflow: hidden; background: var(--noir); }
.hero__sun { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(34vmax 34vmax at var(--sun-x, 50%) var(--sun-y, 46%), rgba(255, 122, 50, .5), rgba(255, 90, 31, .16) 38%, transparent 68%); mix-blend-mode: screen; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.hero__grid { flex: 1; display: grid; align-content: start; gap: 1.5rem; }
.hero__head, .hero__stage, .hero__foot { min-width: 0; }

.hero__eyebrow { margin-top: clamp(.5rem, 2.5vh, 2rem); }
.hero__eyebrow .label { flex-wrap: wrap; row-gap: .4rem; }
.hero__title { --fs: 19vw; --step: .5em; margin-top: 1.1rem; font-size: var(--fs); line-height: .9; letter-spacing: -.045em; }
html[lang="en"] .hero__title { --fs: 16.5vw; --step: .42em; }
.hero__title .w { display: inline-block; -webkit-text-stroke: .016em transparent; transition: color .6s ease, -webkit-text-stroke-color .6s ease, text-shadow .8s ease; }
.hero__title .w3 { display: block; width: max-content; margin-left: var(--step); }
.hero__title .w1 { color: rgba(239, 230, 218, .5); }
.hero__title .w2 { color: rgba(239, 230, 218, .82); }
.hero__title .w3 { color: var(--braise); font-style: italic; font-weight: 320; text-shadow: 0 0 .32em rgba(255, 90, 31, .55); padding-right: .08em; }
.hero__title .sp { margin-left: -.12em; }
/* Each word lights with its stage; the ones still to come wait as a bone outline */
.js .hero[data-phase="1"] .hero__title :is(.w2, .w3),
.js .hero[data-phase="2"] .hero__title .w3 { color: transparent; -webkit-text-stroke-color: rgba(239, 230, 218, .6); text-shadow: none; }
.js .hero__title .w { animation: kindle 1.4s var(--ease) both; }
.js .hero__title .w2 { animation-delay: .28s; }
.js .hero__title .w3 { animation-delay: .56s; }
.js .hero[data-phase="3"] .hero__title .w3 { animation: kindle 1.4s var(--ease) .56s both, flare 1.6s var(--ease) both; }
@keyframes kindle { from { opacity: 0; transform: translateY(.18em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes flare { 0% { text-shadow: 0 0 0 rgba(255, 90, 31, 0); } 55% { text-shadow: 0 0 .7em rgba(255, 120, 50, .95); } 100% { text-shadow: 0 0 .32em rgba(255, 90, 31, .55); } }

/* The panel the drawing is traced on */
.hero__stage { container-type: inline-size; }
.sheet { position: relative; }
.sheet__panel {
  position: relative; container-type: size; aspect-ratio: 1 / 1.14; border: 1px solid var(--line-strong); background-color: var(--brule);
  background-image: linear-gradient(rgba(239, 230, 218, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 230, 218, .05) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem; background-position: -1px -1px;
}
.sheet__tag {
  position: absolute; top: 0; z-index: 3; transform: translateY(-55%); padding: 0 .55rem; background: var(--brule);
  font-size: .625rem; font-weight: 600; font-stretch: 88%; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; color: var(--ambre);
}
.sheet__tag--l { left: .75rem; }
.sheet__tag--r { right: .75rem; display: none; color: var(--cendre); }
.sheet__draw { position: absolute; inset: 0 0 auto 0; padding: 3.5% 1.5% 0; }

/* The épure itself */
.epure { display: block; width: min(100%, 104cqh); height: auto; margin-inline: auto; overflow: visible; --u: 1; --step: .1s; }
.epure path, .epure circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.epure .c { stroke: var(--ambre); stroke-opacity: .7; stroke-width: calc(1.5px * var(--u)); }
.epure .c--axis { stroke-dasharray: 18 6 3 6; }
.epure .o { stroke: var(--os); stroke-width: calc(2.4px * var(--u)); }
.epure .o--thin { stroke-width: calc(1.4px * var(--u)); }
.epure .h { stroke: var(--os); stroke-width: calc(1px * var(--u)); opacity: .35; }
.epure .x { stroke: var(--os); stroke-width: calc(1px * var(--u)); }
.epure .d { stroke: var(--os); stroke-width: calc(1.1px * var(--u)); stroke-dasharray: 5 4; }
.epure .peg { fill: var(--brule); stroke: var(--os); stroke-width: calc(1.4px * var(--u)); }
.epure .dl, .epure .dt, .epure .ld { stroke: var(--os); stroke-width: calc(1.1px * var(--u)); }
.epure .dt { stroke-width: calc(1.8px * var(--u)); }
.epure .lv { fill: var(--ambre); fill-opacity: .7; stroke: none; }
.epure .ldot { fill: var(--os); stroke: none; }
.epure .tbg { fill: var(--brule); stroke: none; }
.epure .t { font-family: var(--ff-s); font-size: 17px; font-weight: 600; font-stretch: 88%; letter-spacing: .14em; text-transform: uppercase; fill: var(--os); stroke: none; }
.epure .t--blue { fill: var(--ambre); fill-opacity: .7; }
.epure .t--soft { fill: var(--cendre); }
.epure .pn { font-family: var(--ff-d); font-style: italic; font-weight: 340; font-size: 42px; fill: var(--ambre); }
.epure .pa { stroke: var(--os); stroke-width: calc(2px * var(--u)); opacity: .85; }
.epure .tf { stroke: none; }
.epure .tf--raf { fill: #D9AE7E; }
.epure .tf--strut { fill: #D4A675; }
.epure .tf--king { fill: #C8986A; }
.epure .tf--tie { fill: #B5875C; }
.epure .tf--sec, .epure .tf--cleat { fill: #A3784F; }
.epure .tf--com { fill: #6F5339; }
.epure .ep-marks { filter: drop-shadow(0 0 3px rgba(255, 90, 31, .55)); }
.epure .ep-marks path { fill: var(--braise); stroke: var(--noir); stroke-width: calc(.6px * var(--u)); }

.epure [pathLength] { stroke-dasharray: 1.02 1.02; stroke-dashoffset: 0; transition: stroke-dashoffset var(--t, .6s) cubic-bezier(.6, .1, .2, 1) calc(var(--i, 0) * var(--step)); }
.epure :is(.c--axis, .h, .x, .d, .peg, .dt, .lv, .t, .ld, .ldot, .tbg, .pn, .pa--head) { transition: opacity .45s ease calc(var(--i, 0) * var(--step) + .15s), fill-opacity .6s ease; }
.epure .ep-note > * { --i: 22; }
.epure .c { transition-property: stroke-dashoffset, opacity, stroke-opacity; }
.epure .tf { transition: opacity .55s ease calc(var(--i, 0) * .08s); }
.epure .ep-marks path { transition: opacity .3s ease var(--d); }
.epure .ep-marks path:nth-child(1) { --d: .45s; } .epure .ep-marks path:nth-child(2) { --d: .52s; }
.epure .ep-marks path:nth-child(3) { --d: .59s; } .epure .ep-marks path:nth-child(4) { --d: .66s; }
.epure .ep-marks path:nth-child(5) { --d: .73s; } .epure .ep-marks path:nth-child(6) { --d: .8s; }
.epure .ep-marks path:nth-child(7) { --d: .87s; } .epure .ep-marks path:nth-child(8) { --d: .94s; }
.epure .ep-marks path:nth-child(9) { --d: 1.01s; } .epure .ep-marks path:nth-child(10) { --d: 1.08s; }
/* Marks burn in: white hot, then down to ember */
.js .hero:not([data-phase="1"]) .epure .ep-marks path { animation: burn 1.1s ease-out var(--d) both; }
@keyframes burn { 0% { fill: #FFE3B0; } 100% { fill: var(--braise); } }

.hero:is([data-phase="2"], [data-phase="3"]) .epure .c { stroke-opacity: .35; }
.hero:is([data-phase="2"], [data-phase="3"]) .epure :is(.t--blue, .lv) { fill-opacity: .35; }
/* Names written on the pieces go dark once the timber is in */
.epure .t--on { transition: opacity .45s ease calc(var(--i, 0) * var(--step) + .15s), fill .5s ease; }
.hero:is([data-phase="2"], [data-phase="3"]) .epure .t--on { fill: var(--charbon); }
.js .hero[data-phase="1"] .epure .tf,
.js .hero[data-phase="1"] .epure .ep-marks path { opacity: 0; transition-delay: 0s; transition-duration: .2s; }
.js .hero:not(.is-on) .epure [pathLength] { stroke-dashoffset: 1.02; transition: none; }
.js .hero:not(.is-on) .epure :is(.c--axis, .h, .x, .d, .peg, .dt, .lv, .t, .ld, .ldot, .tbg, .pn, .pa--head, .tf, .ep-marks path) { opacity: 0; transition: none; }
.hero.is-skip .epure { --step: .012s; }
.hero.is-skip .epure * { transition-duration: .25s !important; }
.hero.is-skip .epure .tf, .hero.is-skip .epure .ep-marks path { transition-delay: .1s !important; }

/* The site photo, pinned on the panel like a print */
.sheet__photo {
  position: absolute; right: 3%; bottom: 3.5%; width: min(58cqw, 52cqh); z-index: 2;
  background: var(--os); padding: .3rem .3rem 0; transform: rotate(-1.6deg);
  box-shadow: 0 1.6rem 3rem -.8rem rgba(0, 0, 0, .85), 0 .4rem 1rem rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .35);
  transition: opacity .5s ease, transform .9s var(--ease);
}
html:not(.js) .sheet__photo { display: none; }
.sheet__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; container-type: inline-size; background: var(--suie); }
.sheet__img img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 30%; }
.sheet__photo::before, .sheet__photo::after {
  content: ""; position: absolute; top: -.55rem; z-index: 2; width: 3.4rem; height: 1.15rem; background: rgba(200, 152, 106, .62);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.sheet__photo::before { left: -1.1rem; transform: rotate(-38deg); }
.sheet__photo::after { right: -1.1rem; transform: rotate(36deg); }
.sheet__note { height: 1.9rem; padding: .1rem .35rem 0; font-family: var(--ff-d); font-style: italic; font-weight: 380; font-size: 1.05rem; line-height: 1.75rem; letter-spacing: -.01em; color: var(--charbon); white-space: nowrap; }
.js .hero:not([data-phase="3"]) .sheet__photo { opacity: 0; transform: translate(5%, 12%) rotate(4deg) scale(.95); }

/* "La ferme": a pin on the print, in ember */
.sheet__pin {
  display: none; position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0;
  --dx: calc(cos(var(--a)) * var(--len)); --dy: calc(sin(var(--a)) * var(--len));
}
.sheet__pin i {
  position: absolute; left: -.34rem; top: -.34rem; width: .68rem; height: .68rem; border-radius: 50%;
  background: var(--braise); box-shadow: 0 0 0 2px var(--charbon), 0 0 .7rem .1rem rgba(255, 90, 31, .7);
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1) .5s;
}
.sheet__pin::before {
  content: ""; position: absolute; left: 0; top: -1px; width: var(--len); height: 2px; background: var(--braise);
  transform-origin: 0 50%; transform: rotate(var(--a)); transition: transform .45s var(--ease) .65s;
}
.sheet__pin span {
  position: absolute; left: var(--dx); top: var(--dy); transform: translate(-100%, -50%); width: max-content;
  padding: .42em .65em; background: var(--braise); color: var(--charbon);
  font-size: .625rem; font-weight: 600; font-stretch: 88%; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3;
  transition: opacity .4s ease .95s;
}
.js .hero:not([data-phase="3"]) .sheet__pin i { transform: scale(0); transition-delay: 0s; }
.js .hero:not([data-phase="3"]) .sheet__pin::before { transform: rotate(var(--a)) scaleX(0); transition-delay: 0s; }
.js .hero:not([data-phase="3"]) .sheet__pin span { opacity: 0; transition-delay: 0s; }

/* The key to the marks */
.sheet__legend { position: absolute; left: 4.5%; bottom: 5%; z-index: 1; display: grid; gap: .55rem; transition: opacity .5s ease 2.2s; }
.sheet__legend-k { font-size: .625rem; font-weight: 600; font-stretch: 88%; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; color: var(--cendre); }
.sheet__legend ul { display: flex; align-items: flex-end; gap: .95rem; }
.sheet__legend li { display: grid; justify-items: center; gap: .3rem; font-size: .625rem; font-weight: 600; line-height: 1; color: var(--cendre); }
.sheet__legend .mk { height: 1.25rem; fill: var(--braise); stroke: var(--noir); stroke-width: .5px; filter: drop-shadow(0 0 3px rgba(255, 90, 31, .45)); }
.sheet__legend-n { font-family: var(--ff-d); font-style: italic; font-weight: 340; font-size: 1.05rem; line-height: 1.2; color: var(--ambre); max-width: 13rem; transform: rotate(-2deg); transform-origin: 0 50%; }
.js .hero:not(.is-on) .sheet__legend { opacity: 0; transition: none; }
.hero.is-skip .sheet__legend { transition-delay: 0s; }

/* The cartouche: caption and the three stages */
.cart { display: grid; border: 1px solid var(--line-strong); border-top: 0; background: var(--brule); }
.cart__tabs { display: grid; grid-template-columns: repeat(3, 1fr); order: -1; }
.cart__tab {
  display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.875rem; padding: .4rem .5rem;
  border-left: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  font-size: .75rem; font-weight: 600; font-stretch: 88%; letter-spacing: .2em; text-transform: uppercase; line-height: 1; color: var(--os);
  transition: background-color .25s, color .25s;
}
.cart__tab:first-child { border-left: 0; }
.cart__tab .mk { height: 1.05rem; width: auto; fill: var(--braise); transition: fill .25s; }
.cart__tab:hover { color: var(--ambre); }
.cart__tab[aria-pressed="true"] { background: var(--braise); color: var(--charbon); }
.cart__tab[aria-pressed="true"] .mk { fill: var(--charbon); }
html:not(.js) .cart__tabs { display: none; }
.cart__what { display: flex; gap: .75rem; align-items: baseline; padding: .7rem .85rem; font-size: .8125rem; line-height: 1.4; color: var(--cendre); min-height: 3.6rem; }
.cart__what b { font-weight: 600; color: var(--chene); }
.cart__k { flex: none; font-size: .625rem; font-weight: 600; font-stretch: 88%; letter-spacing: .2em; text-transform: uppercase; line-height: 1.9; color: var(--ambre); }
.hero[data-phase="1"] .cart__v:not([data-cap="1"]),
.hero[data-phase="2"] .cart__v:not([data-cap="2"]),
.hero[data-phase="3"] .cart__v:not([data-cap="3"]) { display: none; }

/* The words under it */
.hero__foot { display: grid; gap: 1.1rem; padding-block: .5rem 1.5rem; }
.hero__tag { font-family: var(--ff-d); font-style: italic; font-weight: 340; font-size: clamp(1.45rem, 6.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.05; }
.hero__cta { display: grid; grid-template-columns: 1fr; gap: .65rem; margin-top: .3rem; }
.hero__rail { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem 1.1rem; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--os); }
.hero__rail .here { display: inline-flex; align-items: center; gap: .6rem; }
.hero__rail .here::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--braise); box-shadow: 0 0 .8rem .15rem rgba(255, 90, 31, .7); flex: none; animation: breathe 3.5s ease-in-out infinite; }
.hero__rail .cap, .hero__rail .scroll { display: none; }
.hero__rail .cap { color: var(--chene); }

@media (max-width: 370px) { .hero__tag { font-size: 1.35rem; } }
@media (min-width: 560px) { .hero__cta { grid-template-columns: auto auto; justify-content: start; } }
@media (max-width: 599px) {
  .epure { --u: 2; }
  .epure .ep-lab { display: none; }
  .epure .pn { font-size: 66px; }
  .epure .ep-note { transform: translate(-30px, 34px); }
  .hero[data-phase="3"] .sheet__legend { opacity: 0; transition-delay: 0s; transition-duration: .3s; }
}

/* Tablets: the same order, more room */
@media (min-width: 600px) {
  .hero__title { --fs: 11.6vw; }
  html[lang="en"] .hero__title { --fs: 10.4vw; }
  .hero__title .w3 { display: inline-block; margin-left: 0; }
  .sheet__panel { aspect-ratio: 1 / .92; }
  .sheet__draw { padding: 2.5% 2% 0; }
  .sheet__tag--r { display: block; }
  .sheet__photo { width: min(44cqw, 44cqh); right: 2.5%; bottom: 3%; padding: .4rem .4rem 0; }
  .sheet__pin { display: block; }
  .sheet__note { height: 2.2rem; font-size: 1.25rem; line-height: 2rem; }
  .sheet__legend { gap: .7rem; }
  .sheet__legend .mk { height: 1.5rem; }
  .sheet__legend ul { gap: 1.2rem; }
  .sheet__legend-n { font-size: 1.25rem; max-width: 16rem; }
  .cart { grid-template-columns: minmax(0, 1fr) auto; }
  .cart__tabs { order: 0; }
  .cart__tab { padding-inline: 1.1rem; min-height: 3.4rem; border-bottom: 0; }
  .cart__tab:first-child { border-left: 1px solid var(--line-strong); }
  .cart__what { align-items: center; min-height: 0; }
  .hero__foot { grid-template-columns: 1fr 1fr; align-items: end; gap: 1.5rem 3rem; padding-block: 1rem 1.75rem; }
  .hero__tag { grid-column: 1 / -1; font-size: clamp(2rem, 5vw, 3rem); }
  .hero__cta { justify-content: end; }
  .hero__rail .cap { display: block; }
}

/* Desktop: words on the left, the panel on the right, all of it in one screen */
@media (min-width: 1024px) {
  .hero { --sun-x: 66%; --sun-y: 46%; padding-top: calc(var(--header-h) + clamp(1rem, 3vh, 2.25rem)); }
  .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head stage" "foot stage"; grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 4.5vw, 5.5rem); row-gap: 1.5rem; align-content: stretch; padding-bottom: clamp(1.25rem, 3vh, 2.25rem);
  }
  .hero__head { grid-area: head; }
  .hero__stage { grid-area: stage; align-self: center; }
  .hero__foot { grid-area: foot; align-self: end; grid-template-columns: 1fr; gap: 1.1rem; padding: 0; }
  .hero__eyebrow { margin-top: 0; }
  .hero__title { --fs: min(9.4vw, 19vh); --step: .42em; margin-top: clamp(1rem, 3vh, 2rem); line-height: .86; }
  html[lang="en"] .hero__title { --fs: min(8.4vw, 17vh); --step: .36em; }
  .hero__title .w { display: block; width: max-content; }
  .hero__title .w2 { margin-left: var(--step); }
  .hero__title .w3 { margin-left: calc(var(--step) * 2); }
  .hero__tag { grid-column: auto; font-size: clamp(1.6rem, 2.3vw, 2.6rem); }
  .hero__lede { max-width: 30em; font-size: clamp(1rem, 1.05vw, 1.2rem); }
  .hero__cta { justify-content: start; }
  .sheet__panel { aspect-ratio: auto; height: min(88cqw, max(26rem, calc(100svh - var(--header-h) - 12.5rem))); }
  .hero__rail .cap, .hero__rail .scroll { display: inline-flex; }
  .hero__rail .scroll { align-items: center; gap: .6rem; }
  .hero__rail .scroll i { width: 1px; height: 1.6rem; background: linear-gradient(var(--braise), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
}
@keyframes drip { 0% { transform: scaleY(0); } 60%, 100% { transform: scaleY(1); opacity: 0; } 30% { opacity: 1; } }

/* ───────── Manifesto ───────── */
.mani { padding-block: var(--sec) calc(var(--sec) * .75); }
.mani__grid { display: grid; gap: 2rem; }
.mani__quote { font-family: var(--ff-d); font-weight: 340; font-size: clamp(1.9rem, 4.6vw, 4.6rem); letter-spacing: -.028em; line-height: 1.06; text-wrap: balance; }
.mani__quote em { font-style: italic; color: var(--braise); }
.mani__body { display: grid; gap: 1.5rem; max-width: 36rem; justify-items: start; }
.figs { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.fig { padding: 1.5rem 1rem 1.75rem 0; border-bottom: 1px solid var(--line); }
.fig:nth-child(odd) { border-right: 1px solid var(--line); }
.fig:nth-child(even) { padding-left: 1rem; }
.fig b { display: block; font-family: var(--ff-d); font-weight: 320; font-size: clamp(3rem, 6.6vw, 6.5rem); letter-spacing: -.04em; line-height: .95; color: var(--os); font-variant-numeric: lining-nums; }
.fig b i { font-style: italic; font-size: .42em; letter-spacing: -.01em; color: var(--braise); margin-left: .12em; }
.fig p { margin-top: .7rem; font-size: .9rem; line-height: 1.4; color: var(--cendre); max-width: 15em; }
@media (min-width: 900px) {
  .mani__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 3rem var(--gap); }
  .mani__body { grid-column: 2; grid-template-columns: 1fr; }
  .figs { grid-template-columns: repeat(4, 1fr); }
  .fig, .fig:nth-child(even) { padding: 2rem 1.5rem 2.25rem; border-right: 1px solid var(--line); }
  .fig:first-child { padding-left: 0; }
  .fig:last-child { border-right: 0; }
}

/* ───────── The iron, pressed into the page ───────── */
.press { display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); padding-inline: var(--pad); }
.press::before, .press::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.press::after { transform: scaleX(-1); }
.press svg { width: clamp(4rem, 7vw, 6.5rem); height: auto; aspect-ratio: 1; fill: #3B2214; filter: drop-shadow(0 0 0 rgba(255, 90, 31, 0)) drop-shadow(0 1px 0 rgba(255, 220, 190, .05)); transition: fill 3.2s var(--ease), filter 3.2s var(--ease), transform .5s var(--ease); }
.press.hot svg { fill: #FF7A3A; filter: drop-shadow(0 0 1.4rem rgba(255, 90, 31, .95)) drop-shadow(0 0 .25rem rgba(255, 200, 150, .9)); transform: scale(.94); transition: fill .25s, filter .25s, transform .25s; }

/* ───────── Section heads ───────── */
.sec { padding-block: var(--sec); position: relative; }
.sec-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5.5vw, 5.5rem); }
.sec-head .h2 { margin-top: .4rem; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; column-gap: var(--gap); }
  .sec-head .label { grid-column: 1 / -1; }
  .sec-head > p:not(.label) { justify-self: end; max-width: 26rem; padding-bottom: .5rem; }
}

/* ───────── Services ───────── */
.svc__list { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); scrollbar-width: none; counter-reset: svc; }
.svc__list::-webkit-scrollbar { display: none; }
.svc-row { position: relative; flex: 0 0 78vw; max-width: 22rem; display: flex; flex-direction: column; scroll-snap-align: start; background: var(--brule); counter-increment: svc; }
.svc-row__fig { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--noir); }
.svc-row__fig img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.svc-row__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 17, 15, .1) 40%, rgba(34, 29, 25, .95)); }
.svc-row__fig--draw { display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 40%, #2c241e, var(--noir)); }
.svc-row__fig--draw svg { width: 82%; height: auto; }
.svc-row__no { position: absolute; left: 1.25rem; top: 1.1rem; z-index: 1; font-family: var(--ff-d); font-style: italic; font-size: 1.15rem; color: var(--ambre); }
.svc-row__no::before { content: counter(svc, decimal-leading-zero); }
.svc-row__txt { position: relative; margin-top: -3.2rem; padding: 0 1.25rem 1.6rem; display: grid; gap: .7rem; }
.svc-row h3 { font-family: var(--ff-d); font-weight: 380; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
.svc-row p { font-size: .98rem; line-height: 1.5; color: #D8CDBF; }
.svc__stage { display: none; }
.rail-ui { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cendre); }
.rail-ui__bar { position: relative; flex: 1; height: 1px; background: var(--line-strong); }
.rail-ui__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: var(--braise); transform-origin: left; transform: scaleX(var(--p, .12)); box-shadow: 0 0 .8rem rgba(255, 90, 31, .7); transition: transform .25s linear; }

@media (min-width: 700px) {
  .svc__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .svc-row { max-width: none; flex-direction: row; align-items: stretch; min-height: 15rem; }
  .svc-row__fig { flex: 0 0 42%; aspect-ratio: auto; }
  .svc-row__fig::after { background: linear-gradient(90deg, rgba(20, 17, 15, 0) 55%, rgba(34, 29, 25, .9)); }
  .svc-row__txt { margin: 0; padding: 3.4rem 1.5rem 1.6rem 1.4rem; align-content: start; }
  .svc-row__no { left: auto; right: 1.4rem; top: 1.2rem; }
  .svc-row h3 { font-size: 1.55rem; }
  .svc-row:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svc-row:last-child:nth-child(odd) .svc-row__fig { flex-basis: 50%; }
  .svc .rail-ui { display: none; }
}

@media (min-width: 1100px) {
  .svc__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
  .svc__list { display: block; border-top: 1px solid var(--line); }
  .svc-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); min-height: 0; padding: 1.75rem 0 1.9rem; background: none; border-bottom: 1px solid var(--line); cursor: default; transition: padding-left .6s var(--ease); }
  .svc-row > .svc-row__fig { display: none; }
  .svc-row__no { position: static; font-size: 1.05rem; padding-top: .65rem; color: var(--cendre); transition: color .5s; }
  .svc-row__txt { padding: 0; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .svc-row h3 { font-size: clamp(2rem, 3.1vw, 3.4rem); font-weight: 340; letter-spacing: -.03em; color: rgba(239, 230, 218, .62); transition: color .5s var(--ease); }
  .svc-row p { max-width: 34rem; color: var(--cendre); transition: color .5s; }
  .svc-row::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--braise); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); box-shadow: 0 0 1rem rgba(255, 90, 31, .8); }
  .svc-row.is-active { padding-left: 1rem; }
  .svc-row.is-active::before { transform: scaleX(1); }
  .svc-row.is-active h3 { color: var(--os); }
  .svc-row.is-active p { color: #DDD2C4; }
  .svc-row.is-active .svc-row__no { color: var(--braise); }
  .svc__stage { display: block; position: sticky; top: calc(var(--header-h) + 1.5rem); height: min(42rem, calc(100vh - var(--header-h) - 3.5rem)); background: var(--noir); overflow: hidden; }
  .svc__stage figure { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
  .svc__stage figure::after { display: none; }
  .svc__stage figure img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.07); transition: transform 2.4s var(--ease); }
  .svc__stage figure.on { opacity: 1; }
  .svc__stage figure.on img { transform: none; }
  .svc__stage figure.svc-row__fig--draw { display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 40%, #2c241e, var(--noir)); }
  .svc__stage figure.svc-row__fig--draw svg { width: 74%; }
  .svc__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11, 9, 8, 0) 62%, rgba(11, 9, 8, .78)); }
  .svc__cap { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; z-index: 2; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  .svc__cap b { font-family: var(--ff-d); font-style: italic; font-weight: 400; font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--ambre); }
}
.svc { padding-bottom: calc(var(--sec) * .6); }
.svc__more { margin-top: clamp(2rem, 4vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.svc__more p { font-family: var(--ff-d); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.7rem); color: var(--chene); }

/* Drawings */
.draw { fill: none; stroke: var(--chene); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.draw .hot { stroke: var(--braise); }
.draw .fill-hot { fill: rgba(255, 90, 31, .16); stroke: var(--braise); }
.draw .thin { stroke-width: .8; opacity: .7; }

/* ───────── Réalisations: the film strip ───────── */
.work { padding-bottom: calc(var(--sec) * .55); background: linear-gradient(180deg, var(--charbon), var(--noir) 22%, var(--noir) 78%, var(--charbon)); overflow: hidden; }
.work__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.work__now { display: flex; align-items: center; gap: 1rem; }
.work__count { font-family: var(--ff-d); font-weight: 320; font-size: clamp(2.6rem, 5vw, 4.5rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--braise); min-width: 1.25em; }
.work__count + span { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cendre); line-height: 1.5; }
.work__count + span b { display: block; color: var(--os); font-weight: 600; letter-spacing: .08em; }
.work__nav { display: flex; gap: .5rem; margin-left: auto; }
.rbtn { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color .3s, color .3s, background-color .3s, opacity .3s; }
.rbtn svg { width: 1.2rem; height: 1.2rem; }
.rbtn:hover { border-color: var(--braise); color: var(--braise); }
.rbtn[disabled] { opacity: .3; cursor: default; }
.rbtn--prev svg { transform: scaleX(-1); }
@media (min-width: 900px) { .work__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } .work__head .label { grid-column: 1 / -1; } .work__now { padding-bottom: .5rem; gap: 1.5rem; } }

.reel {
  --reel-h: min(60vh, 124vw); --reel-pad: var(--pad);
  display: flex; gap: clamp(.6rem, 1vw, 1rem); overflow-x: auto; overflow-y: hidden; padding: .25rem var(--reel-pad) 1.5rem; scroll-padding-inline: var(--reel-pad);
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; outline-offset: -4px;
}
.reel::-webkit-scrollbar { display: none; }
.reel.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.reel.is-drag * { pointer-events: none; }
.chap { display: flex; gap: inherit; flex: none; scroll-snap-align: start; }
.chap + .chap { margin-left: clamp(1.5rem, 4vw, 5rem); }
.chap__card { flex: none; width: min(74vw, 20rem); height: var(--reel-h); display: flex; flex-direction: column; padding: 1.25rem 1.4rem 1.25rem 0; border-top: 1px solid var(--braise); }
.chap__card .chap__no { margin: 0; font-family: var(--ff-d); font-weight: 300; font-size: clamp(4rem, 7vw, 7rem); letter-spacing: -.05em; line-height: .9; color: var(--os); font-variant-numeric: lining-nums; }
.chap__card .chap__no small { font-size: .2em; font-family: var(--ff-s); font-weight: 600; letter-spacing: .14em; color: var(--cendre); margin-left: .6em; vertical-align: 1.9em; }
.chap__card h3 { margin-top: auto; font-family: var(--ff-d); font-weight: 360; font-size: clamp(1.75rem, 2.6vw, 2.6rem); letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
.chap__card p { margin-top: .9rem; font-size: .97rem; line-height: 1.5; color: #D5CABC; }
.chap__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.chap__tags li { padding: .28rem .7rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--chene); }
.chap__card .link { margin-top: .9rem; align-self: start; }
.frame { position: relative; flex: none; height: var(--reel-h); aspect-ratio: var(--ar, .75); max-width: 86vw; overflow: hidden; background: var(--brule); cursor: zoom-in; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); -webkit-user-drag: none; user-select: none; }
.reel.js-lit .frame img { filter: brightness(.3) saturate(.55); }
.reel.js-lit .frame.lit img { filter: none; }
.frame:hover img, .frame:focus-visible img { transform: scale(1.03); }
.frame__n { position: absolute; left: .8rem; bottom: .7rem; font-size: .68rem; font-weight: 600; letter-spacing: .16em; color: var(--os); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.frame__z { position: absolute; right: .7rem; bottom: .6rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: rgba(11, 9, 8, .6); color: var(--os); opacity: 0; transition: opacity .4s, background-color .3s; }
.frame__z svg { width: .95rem; height: .95rem; }
.frame.lit .frame__z, .reel:not(.js-lit) .frame__z { opacity: 1; }
.frame:hover .frame__z { background: var(--braise); color: var(--charbon); }
.reel__end { flex: none; width: min(74vw, 22rem); height: var(--reel-h); margin-left: clamp(1.5rem, 4vw, 5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); background: radial-gradient(90% 60% at 50% 100%, rgba(255, 90, 31, .2), transparent 70%); scroll-snap-align: end; }
.reel__end p { font-family: var(--ff-d); font-weight: 350; font-size: clamp(1.6rem, 2.3vw, 2.3rem); letter-spacing: -.02em; line-height: 1.08; }
.reel__end .btn { align-self: start; }
.work .rail-ui { margin-top: .5rem; }
.work__hint { display: none; }
@media (min-width: 700px) { .reel { --reel-h: clamp(22rem, 60vh, 44rem); } .chap__card { width: clamp(17rem, 25vw, 25rem); padding-right: 2rem; } .frame { max-width: none; } }
@media (min-width: 1100px) { .work__hint { display: inline; } }
@media (min-width: 1700px) { .reel { --reel-pad: max(var(--pad), calc((100vw - 100rem) / 2 + var(--pad))); } }

/* ───────── Lightbox ───────── */
.lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 6, 5, .97); color: var(--os); overflow: hidden; }
.lb::backdrop { background: rgba(8, 6, 5, .9); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem var(--pad); }
.lb__count { font-family: var(--ff-d); font-style: italic; font-size: 1.15rem; color: var(--ambre); font-variant-numeric: lining-nums tabular-nums; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding-inline: clamp(.5rem, 6vw, 6rem); touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2rem 6rem rgba(0, 0, 0, .7), 0 0 8rem rgba(255, 90, 31, .08); animation: lbImg .7s var(--ease); min-height: 0; }
@keyframes lbImg { from { opacity: 0; filter: brightness(.2); transform: scale(.985); } }
.lb__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(11, 9, 8, .6); }
.lb__arrow--prev { left: clamp(.5rem, 2vw, 2rem); }
.lb__arrow--next { right: clamp(.5rem, 2vw, 2rem); }
.lb__cap { padding: 1rem var(--pad) 1.4rem; display: grid; gap: .25rem; text-align: center; }
.lb__cap b { font-family: var(--ff-d); font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; }
.lb__cap span { font-size: .9rem; color: var(--cendre); }

/* ───────── Pièces uniques: the case ───────── */
.case { background: var(--noir); --stamp-bg: var(--noir); }
.case::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14rem; background: linear-gradient(var(--charbon), transparent); pointer-events: none; }
.case .wrap { position: relative; }
.case__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.piece { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--noir); min-width: 0; }
.piece__img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; }
.piece__img::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 55% at 50% 18%, rgba(255, 190, 140, .1), transparent 70%); opacity: .6; transition: opacity .8s var(--ease); }
.piece__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); -webkit-mask-image: radial-gradient(82% 78% at 50% 50%, #000 68%, transparent 100%); mask-image: radial-gradient(82% 78% at 50% 50%, #000 68%, transparent 100%); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.piece:hover .piece__img::before, .piece:focus-within .piece__img::before { opacity: 1; }
.piece:hover .piece__img img, .piece__img:focus-visible img { filter: brightness(1.14); transform: scale(1.025); }
.piece--photo .piece__img { padding: clamp(.9rem, 1.6vw, 1.6rem); }
.piece--photo .piece__img img { -webkit-mask-image: none; mask-image: none; filter: brightness(.86) saturate(.9); }
.piece--photo:hover .piece__img img { filter: none; }
.piece .stamp { position: absolute; left: .7rem; top: .8rem; z-index: 2; }
.piece__meta { display: grid; gap: .3rem; padding: .2rem .9rem 1.1rem; margin-top: auto; }
.piece__no small { font-size: 1em; color: var(--cendre); opacity: .7; letter-spacing: .12em; }
.stamp--seal { border-color: var(--chene); color: var(--chene); }
.piece__no { font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--chene); }
.piece h3 { font-family: var(--ff-d); font-weight: 400; font-size: clamp(1.1rem, 1.5vw, 1.45rem); letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
.piece__mat { font-size: .84rem; line-height: 1.4; color: var(--cendre); }
.piece--feature { grid-column: 1 / -1; }
.piece--feature .piece__img { aspect-ratio: 1 / 1.05; }
.piece--feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
.piece--feature .piece__meta { padding: .4rem 1.1rem 1.5rem; }
.piece--feature .piece__mat { font-size: .95rem; max-width: 30em; }
.case__foot { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 5vw, 5rem); padding: clamp(1.5rem, 3.5vw, 3.5rem); border: 1px solid var(--line); background: radial-gradient(60% 120% at 100% 100%, rgba(255, 90, 31, .16), transparent 70%), var(--charbon); }
.case__foot p:first-child { font-family: var(--ff-d); font-weight: 350; font-size: clamp(1.6rem, 3vw, 3rem); letter-spacing: -.025em; line-height: 1.06; text-wrap: balance; }
.case__foot p + p { margin-top: .9rem; }
.case__foot .btn { justify-self: start; }
@media (min-width: 700px) {
  .case__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .piece--feature { grid-column: span 2; grid-row: span 2; }
  .piece--feature .piece__img { aspect-ratio: auto; flex: 1; min-height: 24rem; }
  .piece .stamp { left: 1rem; top: 1.1rem; }
  .piece__meta { padding: .3rem 1.2rem 1.3rem; }
  .case__foot { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
  .case__foot .btn { justify-self: end; }
}
@media (min-width: 1100px) { .case__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ───────── L'atelier ───────── */
.atelier { background: var(--brule); --stamp-bg: var(--brule); }
.atelier__grid { display: grid; gap: 2.5rem; }
.atelier__pics { position: relative; padding-bottom: 3rem; }
.atelier__pic { position: relative; overflow: hidden; aspect-ratio: 3 / 3.7; background: var(--noir); }
.atelier__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: saturate(.92) contrast(1.03); }
.atelier__pic figcaption, .atelier__pic2 figcaption { position: absolute; left: 1rem; bottom: .8rem; right: 1rem; z-index: 2; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.atelier__pic::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(transparent, rgba(11, 9, 8, .7)); }
.atelier__pic2 { position: absolute; right: -0.25rem; bottom: 0; width: 38%; aspect-ratio: 3 / 4; overflow: hidden; border: .45rem solid var(--brule); background: var(--noir); }
.atelier__pic2 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.atelier__txt { display: grid; gap: 1.4rem; align-content: start; }
.atelier__txt .h2 { font-size: clamp(2.4rem, 5.2vw, 5.25rem); }
.atelier__txt p:not(.label) { max-width: 36rem; color: #DDD2C4; }
.quote { font-family: var(--ff-d); font-weight: 350; font-style: italic; font-size: clamp(1.5rem, 2.5vw, 2.4rem); letter-spacing: -.02em; line-height: 1.15; color: var(--os); padding-left: 1.25rem; border-left: 2px solid var(--braise); max-width: 26em; }
.quote cite { display: block; margin-top: .8rem; font-family: var(--ff-s); font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--chene); }
.since { display: grid; margin-top: .5rem; border-top: 1px solid var(--line); }
.since li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.since b { font-family: var(--ff-d); font-weight: 340; font-style: italic; font-size: 1.7rem; letter-spacing: -.02em; color: var(--braise); font-variant-numeric: lining-nums; line-height: 1; }
.since li > span { font-size: .95rem; line-height: 1.45; color: #DDD2C4; }
@media (min-width: 900px) {
  .atelier__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
  .atelier__pics { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .atelier__pic2 { right: -2.5rem; }
}

/* Timber rack */
.rack-wrap { margin-top: clamp(4rem, 8vw, 8rem); }
.rack-head { display: grid; gap: 1rem; margin-bottom: 2rem; }
.rack-head .h3 { font-size: clamp(1.9rem, 3.6vw, 3.6rem); font-weight: 350; letter-spacing: -.028em; line-height: 1; }
.rack { display: grid; gap: .4rem; }
.plank { position: relative; isolation: isolate; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); align-items: center; column-gap: .9rem; min-height: 5.25rem; padding: .9rem 1.1rem; color: #2A1508; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), inset 0 -2px 0 rgba(0, 0, 0, .22); }
.plank__grain { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(255, 255, 255, .08) 30%, rgba(0, 0, 0, .1)), var(--wood); filter: url(#grain-h); }
.plank::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--wood); opacity: .5; }
.plank__no { grid-row: span 2; font-family: var(--ff-d); font-style: italic; font-size: 1.2rem; opacity: .8; }
.plank h4 { font-family: var(--ff-d); font-weight: 600; font-size: 1.45rem; letter-spacing: -.015em; line-height: 1.05; text-shadow: 0 0 .5em rgba(90, 40, 10, .45); }
.plank p { font-size: .88rem; font-weight: 600; line-height: 1.35; color: #24120A; }
.rack-notes { display: grid; gap: 1.5rem; margin-top: 2rem; }
.rack-notes p { max-width: 34rem; color: #DDD2C4; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; font-weight: 500; }
.chips--towns li { font-size: .82rem; padding: .38rem .8rem; color: #DDD2C4; }
.chips--towns li.home { border-color: var(--braise); color: var(--os); font-weight: 600; }
@media (min-width: 760px) {
  .rack-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .rack-head .label { grid-column: 1 / -1; }
  .rack-head p:not(.label) { justify-self: end; max-width: 26rem; }
  .rack { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; align-items: end; }
  .plank { grid-template-columns: 1fr; align-items: start; align-content: end; min-height: 0; height: clamp(19rem, 34vw, 32rem); padding: 1.1rem 1rem 1.25rem; row-gap: .45rem; box-shadow: inset 1px 0 0 rgba(255, 255, 255, .22), inset -2px 0 0 rgba(0, 0, 0, .2); }
  .plank:nth-child(2) { height: clamp(21rem, 37vw, 35rem); }
  .plank:nth-child(3) { height: clamp(18rem, 32vw, 30rem); }
  .plank:nth-child(4) { height: clamp(20.5rem, 36vw, 34rem); }
  .plank:nth-child(5) { height: clamp(18.5rem, 33vw, 31rem); }
  .plank:nth-child(6) { height: clamp(20rem, 35vw, 33rem); }
  .plank__grain { filter: url(#grain-v); background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(255, 255, 255, .06) 30%, rgba(0, 0, 0, .14)), var(--wood); }
  .plank::after { inset: auto 0 0 0; height: 10rem; opacity: 1; background: linear-gradient(transparent, var(--wood) 62%); }
  .plank__no { grid-row: auto; position: absolute; left: 1rem; top: .9rem; }
  .plank h4 { font-size: clamp(1.25rem, 2vw, 2rem); }
  .plank p { font-size: clamp(.8rem, .95vw, .92rem); }
  .rack-notes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
}

/* ───────── Process ───────── */
.steps { display: grid; position: relative; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); column-gap: 1.1rem; padding-bottom: 2.25rem; counter-increment: step; }
.step::before { content: counter(step); grid-row: span 2; width: 3.5rem; height: 3.5rem; display: grid; place-items: center; border: 1px solid var(--braise); border-radius: 50%; background: var(--charbon); font-family: var(--ff-d); font-style: italic; font-size: 1.5rem; color: var(--braise); z-index: 1; box-shadow: 0 0 1.5rem rgba(255, 90, 31, .18); font-variant-numeric: lining-nums; }
.step::after { content: ""; position: absolute; left: 1.75rem; top: 3.5rem; bottom: 0; width: 1px; background: linear-gradient(var(--braise), rgba(255, 90, 31, .15)); }
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--ff-d); font-weight: 380; font-size: 1.6rem; letter-spacing: -.02em; line-height: 1.1; padding-top: .35rem; }
.step p { grid-column: 2; margin-top: .55rem; font-size: .98rem; line-height: 1.55; color: #D5CABC; max-width: 30rem; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gap); }
  .step { grid-template-columns: 1fr; padding-bottom: 0; row-gap: 0; align-content: start; }
  .step::before { grid-row: auto; width: 4.25rem; height: 4.25rem; font-size: 1.8rem; margin-bottom: 1.75rem; }
  .step::after { left: 4.25rem; right: calc(var(--gap) * -1); top: 2.125rem; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--braise), rgba(255, 90, 31, .2)); }
  .step h3 { font-size: clamp(1.5rem, 1.9vw, 2rem); padding-top: 0; }
  .step p { grid-column: auto; }
}

/* ───────── Band ───────── */
.band { position: relative; isolation: isolate; min-height: clamp(22rem, 46vw, 46rem); display: grid; align-items: end; overflow: hidden; background: var(--noir); }
.band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; filter: contrast(1.05) saturate(.95); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--charbon) 0%, rgba(20, 17, 15, .25) 22%, rgba(20, 17, 15, .1) 55%, rgba(20, 17, 15, .82) 86%, var(--charbon) 100%); }
.band__in { padding-block: clamp(3rem, 7vw, 7rem) clamp(2rem, 4vw, 4rem); position: relative; z-index: 2; display: grid; gap: 1.2rem; }
.band .display { font-size: clamp(2.6rem, 8.2vw, 8.5rem); text-wrap: balance; }
.band__cap { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--chene); }

/* ───────── Zone (map) ───────── */
.zone { padding-top: clamp(2rem, 4vw, 4rem); }
.zone__grid { display: grid; gap: 2.5rem; }
.zone__txt { display: grid; gap: 1.4rem; align-content: start; }
.zone__txt > p { max-width: 34rem; color: #DDD2C4; }
.map { position: relative; container-type: inline-size; width: 100%; max-width: 46rem; margin-inline: auto; aspect-ratio: 1; }
.map svg { width: 100%; height: 100%; overflow: visible; }
.map .rings path { fill: none; stroke: var(--chene); stroke-opacity: .2; stroke-width: 1; }
.map .rings path:last-child { stroke: var(--braise); stroke-opacity: .85; stroke-width: 1.6; stroke-dasharray: 2 7; stroke-linecap: round; }
.map .river { fill: none; stroke: #6C7C86; stroke-opacity: .6; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.map .river--s { stroke-width: 1.6; }
.map .crack { fill: none; stroke: var(--noir); stroke-width: 3; stroke-linecap: round; }
.map .key { fill: var(--braise); }
.map .dot { fill: var(--os); }
.map .dot--home { fill: var(--braise); }
.map .pulse { fill: none; stroke: var(--braise); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 3.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.map__lbl { position: absolute; left: var(--x); top: var(--y); font-size: clamp(9.5px, 1.95cqw, 15px); font-weight: 500; line-height: 1; white-space: nowrap; color: #DDD2C4; transform: translate(.8em, -50%); text-shadow: 0 0 6px var(--charbon), 0 0 2px var(--charbon); }
.map__lbl.w { transform: translate(calc(-100% - .8em), -50%); }
.map__lbl.n { transform: translate(-50%, calc(-100% - .7em)); }
.map__lbl.s { transform: translate(-50%, .7em); }
.map__lbl.home { font-family: var(--ff-d); font-weight: 600; font-size: clamp(13px, 3cqw, 24px); letter-spacing: -.01em; color: var(--os); }
.map__lbl.river-l { font-family: var(--ff-d); font-style: italic; color: #8FA0AB; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); font-size: clamp(10px, 2.1cqw, 16px); }
.map__lbl.ring-l { color: var(--braise); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(9px, 1.7cqw, 13px); transform: translate(-50%, -50%); background: var(--charbon); padding: .3em .7em; text-shadow: none; }
@container (max-width: 520px) { .map__lbl.minor { display: none; } }
.zone__note { font-size: .8rem; color: var(--cendre); }
@media (min-width: 960px) {
  .zone__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
  .map { max-width: none; }
}

/* ───────── Reviews ───────── */
.reviews__grid { display: grid; gap: var(--gap); }
.review { position: relative; display: grid; gap: 1.5rem; align-content: space-between; padding: clamp(1.5rem, 2.5vw, 2.5rem); border: 1px dashed var(--line-strong); background: linear-gradient(160deg, rgba(34, 29, 25, .9), rgba(34, 29, 25, .35)); min-height: 17rem; }
.review__q { font-family: var(--ff-d); font-style: italic; font-weight: 340; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.015em; line-height: 1.2; color: var(--os); }
.review__q::before { content: "\201C"; display: block; height: .55em; font-size: 3.4em; line-height: 1; color: var(--braise); font-style: normal; }
html[lang="fr"] .review__q::before { content: "\00AB"; font-size: 2.6em; height: .8em; }
.review__by { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--cendre); }
.review__by b { display: block; color: var(--os); font-weight: 600; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ───────── Contact ───────── */
.contact { position: relative; isolation: isolate; overflow: hidden; background: var(--noir); --stamp-bg: var(--noir); }
.contact__bg { position: absolute; inset: 0; z-index: -2; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; opacity: .5; filter: saturate(.85); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--charbon) 0%, rgba(11, 9, 8, .78) 30%, rgba(11, 9, 8, .86) 70%, var(--noir) 100%), linear-gradient(90deg, rgba(11, 9, 8, .7), rgba(11, 9, 8, .2)); }
.contact__amb { position: absolute; right: var(--pad); bottom: 1rem; z-index: 1; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cendre); }
.contact__grid { display: grid; gap: 3rem; }
.contact__txt { display: grid; gap: 1.5rem; align-content: start; }
.contact__tel { display: inline-block; font-family: var(--ff-d); font-weight: 330; font-size: clamp(2.5rem, 5.4vw, 5.25rem); letter-spacing: -.035em; line-height: 1; font-variant-numeric: lining-nums; white-space: nowrap; transition: color .4s, text-shadow .6s; }
.contact__tel:hover { color: var(--braise); text-shadow: 0 0 .5em rgba(255, 90, 31, .5); }
.ways { display: grid; border-top: 1px solid var(--line); }
.ways a { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 4.25rem; padding: .7rem 0; border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease), color .3s; }
.ways a:hover { padding-left: .6rem; color: var(--ambre); }
.ways svg { width: 1.3rem; height: 1.3rem; color: var(--braise); justify-self: center; }
.ways small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cendre); }
.ways b { display: block; font-weight: 500; font-size: 1.05rem; overflow-wrap: anywhere; }
.ways .go { width: 1rem; height: 1rem; color: var(--cendre); }
.form { display: grid; gap: 1.4rem; padding: clamp(1.4rem, 3vw, 3rem); background: rgba(34, 29, 25, .82); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.form__grid { display: grid; gap: 1.2rem; }
.drop { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 4.75rem; padding: .9rem 1.1rem; border: 1px dashed var(--chene); border-radius: 4px; background: rgba(11, 9, 8, .4); cursor: pointer; transition: border-color .3s, background-color .3s; }
.drop:hover, .drop:focus-within { border-color: var(--braise); background: rgba(255, 90, 31, .06); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop svg { width: 1.6rem; height: 1.6rem; color: var(--braise); flex: none; }
.drop b { display: block; font-weight: 600; font-size: .95rem; }
.drop em { display: block; font-style: normal; font-size: .82rem; color: var(--cendre); }
.form__send { display: grid; gap: 1rem; align-items: center; }
.form__send p { font-size: .82rem; line-height: 1.45; color: var(--cendre); }
.form-done { display: grid; justify-items: start; gap: 1.25rem; padding: clamp(2rem, 4vw, 4rem); background: rgba(34, 29, 25, .88); border: 1px solid var(--braise); box-shadow: 0 0 5rem rgba(255, 90, 31, .16); }
.form-done[hidden] { display: none; }
.form-done__row { display: flex; flex-wrap: wrap; gap: .75rem; }
.form-done svg.seal { width: 6.5rem; height: 6.5rem; fill: var(--braise); animation: sealIn 1.6s var(--ease) both; }
@keyframes sealIn { 0% { transform: scale(1.5) rotate(-14deg); opacity: 0; filter: drop-shadow(0 0 0 rgba(255, 90, 31, 0)); } 35% { transform: scale(.94) rotate(-6deg); opacity: 1; filter: drop-shadow(0 0 2rem rgba(255, 120, 50, 1)); } 100% { transform: rotate(-6deg); filter: drop-shadow(0 0 .6rem rgba(255, 90, 31, .45)); } }
.form-done .h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 350; }
.form-done p { color: #DDD2C4; max-width: 30rem; }
@media (min-width: 620px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__send { grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; } }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; } .contact__txt { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* ───────── Mobile dock (thumb reach) ───────── */
.dock { position: fixed; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); z-index: 50; display: grid; grid-template-columns: auto auto 1fr; gap: .45rem; padding: .45rem; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(20, 17, 15, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1rem 3rem rgba(0, 0, 0, .6); transform: translateY(160%); transition: transform .6s var(--ease); }
.dock.on { transform: none; }
.menu-open .dock { transform: translateY(160%); }
.dock__ic { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ambre); }
.dock__ic svg { width: 1.25rem; height: 1.25rem; }
.dock .btn { min-height: 3rem; padding-inline: 1rem; }
@media (min-width: 760px) { .dock { display: none; } }
