@font-face {
  font-family: 'Archivo';
  src: url(../fonts/archivo.woff2) format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --surface: #171717;
  --surface-2: #222;
  --ink: #f4f4f1;
  --muted: #b9b9b4;
  --accent: #f2d400;
  --accent-ink: #111;
  --step-small: clamp(0.875rem, 0.84rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.75rem, 1.4rem + 5.4vw, 6rem);
  --step-display: clamp(4.25rem, 1rem + 13.5vw, 14.5rem);
  --margin: clamp(16px, 3vw, 40px);
  --bar: 76px;
  --gap-section: clamp(96px, 12vw, 200px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-padding-top: calc(var(--bar) + 16px); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label { touch-action: manipulation; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 var(--step-body)/1.55 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; }
.skip:focus { top: 12px; }

h1, h2, .verb h3 {
  text-wrap: balance;
  font-weight: 800; font-stretch: 62%; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.88;
}
h1 { font-size: var(--step-head); }
h2 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem); }
.lead { font-size: var(--step-lead); line-height: 1.35; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 0;
  font: inherit; font-weight: 600; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s;
}
.btn:hover { background: #fff; }
.btn:active { transform: scale(.97); }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--accent-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.link { font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); transition: color .18s; }
.link:hover { color: var(--accent); }

/* ---------- header ---------- */
.bar {
  position: sticky; top: 0; z-index: 50; height: var(--bar);
  display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: 0 var(--margin);
  background: #000;
}
.brand img { width: clamp(150px, 13vw, 210px); }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: clamp(14px, 1.6vw, 26px); align-items: center; }
.nav a { text-decoration: none; white-space: nowrap; font-weight: 500; font-size: var(--step-small); transition: color .15s; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  width: 24px; height: 32px; border: 0; background: none; color: inherit; cursor: pointer;
}
.sub-toggle::before { content: ''; display: block; margin: auto; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.sub-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }
.sub {
  position: absolute; top: 100%; left: -16px; min-width: 300px; padding: 10px 0;
  background: var(--surface); box-shadow: 0 18px 40px rgba(0,0,0,.5); /* taste-skill-ignore: dropdown floats */
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s var(--ease), visibility .16s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 8px 18px; font-size: var(--step-small); }
.sub a:hover { background: var(--surface-2); }
.bar-tel { font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--accent); }
.bar .btn { white-space: nowrap; min-height: 44px; padding: 10px 18px; font-size: var(--step-small); }
.menu-toggle { display: none; }
.mobile-actions { display: none; }

@media (max-width: 1320px) {
  .bar { gap: 14px; }
  .bar-tel { margin-left: auto; }
  .menu-toggle {
    display: block; min-height: 44px; padding: 0 16px; border: 0; background: var(--surface-2); color: var(--ink);
    font: inherit; font-weight: 600; cursor: pointer;
  }
  .nav {
    position: fixed; inset: var(--bar) 0 0 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px var(--margin) 120px;
    background: #000; display: none;
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { padding: 10px 0; }
  .nav > ul > li > a { font-size: 1.75rem; font-weight: 800; font-stretch: 62%; text-transform: uppercase; }
  .has-sub { flex-wrap: wrap; }
  .sub-toggle { width: 44px; height: 44px; margin-left: auto; }
  .sub { box-shadow: none; /* taste-skill-ignore: removes the overlay shadow */
    position: static; flex-basis: 100%; min-width: 0; background: none; display: none; opacity: 1; visibility: visible; transform: none; padding: 4px 0 8px; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub { display: block; }
  .sub a { padding: 8px 0; font-size: 1.0625rem; }
}
@media (max-width: 720px) {
  .bar-tel, .bar .btn { display: none; }
  .menu-toggle { margin-left: auto; }
  /* phone + quote stay on screen at all times on small screens */
  .mobile-actions {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom); background: var(--surface-2);
  }
  html { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mobile-actions { transition: transform .25s var(--ease); }
  .mobile-actions.away { transform: translateY(100%); }
  .mobile-actions a { min-height: 56px; display: grid; place-items: center; font-weight: 700; text-decoration: none; background: var(--surface-2); }
  .mobile-actions a + a { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- home: pinned hero ---------- */
.hero { position: relative; }
.hero-pin {
  position: sticky; top: var(--bar); z-index: 2; height: calc(100svh - var(--bar));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--margin) clamp(32px, 6vh, 72px);
  pointer-events: none;
}
.hero-pin .actions { pointer-events: auto; }
.hero h1 { font-size: var(--step-display); color: var(--accent); line-height: 0.82; max-width: 12ch; }
.hero-sub { max-width: 34ch; margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; }
.hero-slide { position: relative; height: calc(100svh - var(--bar)); overflow: hidden; }
.hero-slide:first-of-type { margin-top: calc(var(--bar) - 100svh); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
/* the one scrim the house allows: keeps the slogan legible over every photo */
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.25) 55%, rgba(0,0,0,0)); } /* taste-skill-ignore: scrim over photo */
.hero-slide figcaption { position: absolute; z-index: 1; top: 24px; right: var(--margin); font-size: var(--step-small); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  /* one settle-in move, under 5 s, so nothing loops beside the text */
  .hero-slide img { animation: settle 4.5s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.08); } }

/* ---------- home: statement ---------- */
.statement {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: var(--gap-section) var(--margin);
}
.statement-words > * + * { margin-top: 24px; }
.statement-words p { max-width: 52ch; }
.statement-words .statement-big { font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem); line-height: 1.2; font-weight: 600; max-width: 24ch; }
.statement-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) {
  .statement { grid-template-columns: 1fr; }
  .statement-img { aspect-ratio: 4 / 3; }
}

/* ---------- home: index with live preview (hover or focus swaps the photo) ---------- */
.index { padding: 0 var(--margin) var(--gap-section); }
.index-list { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(32px, 5vw, 80px); }
.index-list li { grid-column: 1; }
.index-list a { display: block; padding: 18px 0; text-decoration: none; }
.index-name {
  display: block; font-size: clamp(2.5rem, 1rem + 4.4vw, 5.5rem); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9;
  color: var(--muted); transition: color .2s, transform .3s var(--ease);
}
.index-meta { display: block; margin-top: 8px; color: var(--muted); }
.index-list .on .index-name, .index-list a:hover .index-name, .index-list a:focus-visible .index-name { color: var(--accent); transform: translateX(12px); }
.index-list .on .index-meta { color: var(--ink); }
.index-img {
  position: absolute; top: 0; right: 0; width: calc(50% - clamp(16px, 2.5vw, 40px)); height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .45s var(--ease), transform .8s var(--ease);
}
.index-list .on .index-img { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .index-list { grid-template-columns: 1fr; }
  .index-list li + li { margin-top: 40px; }
  .index-list li { display: flex; flex-direction: column; }
  .index-img { order: -1; }
  .index-img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; opacity: 1; transform: none; }
  .index-list a { padding-bottom: 14px; }
  .index-name { color: var(--ink); }
}

/* ---------- home: verbs ---------- */
.verbs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px);
  padding: clamp(56px, 8vw, 120px) var(--margin);
}
.verb { display: grid; align-content: start; gap: 20px; }
.verb-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.verb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
@media (prefers-reduced-motion: no-preference) {
  .verb img { transition: transform .6s, filter .6s; }
  .verb:hover img { transform: scale(1.04); filter: brightness(.75); }
}
.verb h3 {
  position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 12px;
  font-size: clamp(3rem, 1rem + 4.6vw, 7rem); color: var(--ink);
}
.verb p { max-width: 34ch; font-size: var(--step-body); }
@media (max-width: 860px) {
  .verbs { grid-template-columns: 1fr; }
  .verb-pic { aspect-ratio: 4 / 3; }
}

/* ---------- home: email as display ---------- */
.reach {
  min-height: 70svh; display: grid; grid-template-rows: auto 1fr auto; gap: 32px;
  padding: clamp(40px, 6vw, 80px) var(--margin); background: var(--accent); color: var(--accent-ink);
}
.reach-lead { font-size: var(--step-lead); max-width: 26ch; line-height: 1.3; font-weight: 500; }
.reach-mail {
  align-self: end; font-size: clamp(2.75rem, 0.5rem + 11.2vw, 13rem); font-weight: 800; font-stretch: 62%;
  line-height: .9; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere;
  transition: color .2s;
}
.reach-mail:hover { color: #fff; }
.reach-foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-weight: 600; }
.reach-foot a { text-decoration: none; }
.reach-foot a:hover { text-decoration: underline; }
.reach :focus-visible { outline-color: var(--accent-ink); }

/* ---------- inner pages: intro ---------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start;
  padding: clamp(48px, 7vw, 112px) var(--margin) var(--gap-section);
}
.intro-words > * + * { margin-top: 20px; }
.intro-words p { max-width: 58ch; }
.intro-words .lead { margin-top: 28px; max-width: 32ch; }
.intro h1 { font-size: clamp(2.75rem, 1.2rem + 5vw, 6rem); }
.intro-pic { position: sticky; top: calc(var(--bar) + 24px); }
.intro-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro-text-only { grid-template-columns: minmax(0, 1fr); }
.intro-text-only .intro-words p { max-width: 64ch; }
@media (max-width: 860px) {
  .intro, .intro-text-only { grid-template-columns: 1fr; }
  .intro-pic { position: static; }
  .intro-pic img { aspect-ratio: 4 / 3; }
}

/* ---------- inner pages: gallery ---------- */
.gallery { padding: 0 var(--margin) var(--gap-section); }
.gallery h2 { margin-bottom: 40px; }
.grid { columns: 3 320px; column-gap: 12px; }
.grid li { break-inside: avoid; margin-bottom: 12px; }
.grid a { display: block; overflow: hidden; background: var(--surface); }
.grid img { width: 100%; transition: transform .6s var(--ease), opacity .3s; }
.grid a:hover img { transform: scale(1.04); }
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; background: rgba(0,0,0,.94); color: var(--ink); overscroll-behavior: contain; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox img { max-width: 94vw; max-height: 84vh; object-fit: contain; }
.lightbox button { position: absolute; min-height: 48px; padding: 0 20px; border: 0; background: var(--surface-2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.lightbox button:hover { background: var(--accent); color: var(--accent-ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { bottom: 16px; left: 16px; }
.lb-next { bottom: 16px; right: 16px; }

/* ---------- overview rows ---------- */
.list { padding: 0 var(--margin) var(--gap-section); }
.list h2 { margin-bottom: 32px; }
.rows li + li { margin-top: 4px; }
.rows a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 200px; gap: 24px; align-items: center;
  padding: 20px 24px; background: var(--surface); text-decoration: none; transition: background-color .2s;
}
.rows a:hover { background: var(--surface-2); }
.row-name { font-size: clamp(1.75rem, 1rem + 2.2vw, 3rem); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .95; transition: color .2s, transform .25s var(--ease); }
.rows a:hover .row-name { color: var(--accent); transform: translateX(10px); }
.row-text { color: var(--muted); }
.row-pic { grid-column: 3; }
.row-pic img { width: 200px; height: 130px; object-fit: cover; }
@media (max-width: 720px) {
  .rows a { grid-template-columns: 1fr 88px; padding: 18px 16px; }
  .row-text { grid-column: 1; }
  .row-pic { grid-column: 2; grid-row: 1 / 3; }
  .row-pic img { width: 88px; height: 88px; }
}

/* ---------- à propos: clients ---------- */
.clients { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 0 var(--margin) var(--gap-section); }
.client img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 20px; }
.client h2 { margin-bottom: 10px; }
.client p { max-width: 36ch; }
.client:nth-child(1) { grid-column: 1 / 8; }
.client:nth-child(2) { grid-column: 8 / 13; margin-top: 30%; }
.client:nth-child(3) { grid-column: 3 / 10; }
@media (max-width: 860px) {
  .clients { grid-template-columns: 1fr; gap: 56px; }
  .client:nth-child(n) { grid-column: auto; margin-top: 0; }
}

.contact-pic { margin-top: 48px; }
.contact-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact-pic figcaption { margin-top: 12px; color: var(--muted); }

/* ---------- links to sibling pages ---------- */
.siblings { padding: 0 var(--margin) var(--gap-section); }
.siblings h2 { margin-bottom: 24px; }
.siblings ul { columns: 3 240px; column-gap: 32px; }
.siblings li { break-inside: avoid; }
.siblings a { display: inline-block; padding: 8px 0; font-weight: 600; text-decoration: none; transition: color .15s, transform .2s var(--ease); }
.siblings a:hover { color: var(--accent); transform: translateX(6px); }

/* ---------- closing band ---------- */
.closing { padding: clamp(56px, 8vw, 120px) var(--margin); background: var(--surface); }
.closing p { font-size: var(--step-head); font-weight: 800; font-stretch: 62%; text-transform: uppercase; line-height: .9; }
.closing-tel { align-self: center; font-weight: 700; font-size: var(--step-lead); color: var(--accent); text-decoration: none; }
.closing-tel:hover { text-decoration: underline; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); padding: clamp(48px, 7vw, 112px) var(--margin) var(--gap-section); }
.contact-info .lead { margin: 24px 0 40px; max-width: 30ch; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 24px; }
.contact dt { color: var(--muted); }
.contact dd { font-weight: 600; }
.contact dd a { text-decoration: none; }
.contact dd a:hover { color: var(--accent); }
.quote, .thanks { background: var(--surface); padding: clamp(24px, 4vw, 48px); align-self: start; }
.quote h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 28px; }
.quote label { display: grid; gap: 8px; margin-bottom: 20px; font-weight: 500; }
.quote input, .quote select, .quote textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid #3a3a3a; border-radius: 0;
}
.quote option { background: var(--bg); color: var(--ink); }
.field { margin-bottom: 20px; }
.field label { margin-bottom: 0; }
.field-error { margin-top: 6px; color: #ffb4a8; font-size: var(--step-small); }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--accent); outline: 0; }
.quote input[type="file"] { padding: 10px; }
.quote [aria-invalid="true"] { border-color: #ff7a6b; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.note { color: var(--muted); margin: -8px 0 24px; max-width: 60ch; }
.hp { position: absolute; left: -9999px; }
.g-recaptcha { margin-bottom: 20px; min-height: 78px; }
.form-error { margin-bottom: 16px; padding: 12px 16px; background: #3a1410; color: #ffd2cc; }
.quote .btn { width: 100%; min-height: 56px; }
.quote .btn[disabled] { opacity: .6; cursor: progress; }
.thanks h2 { color: var(--accent); margin-bottom: 16px; }
@media (max-width: 860px) {
  .contact, .pair { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: 1fr 1fr; min-height: 90svh; background: #000; }
.foot-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.foot-body { display: flex; flex-direction: column; padding: clamp(40px, 6vw, 80px) var(--margin) 32px clamp(32px, 5vw, 80px); }
.foot-logo { width: min(100%, 520px); height: auto; margin-bottom: 56px; }
.foot-menu li + li { margin-top: 10px; }
.foot-menu a { font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); font-weight: 800; font-stretch: 62%; text-transform: uppercase; text-decoration: none; display: inline-block; transition: transform .2s var(--ease), color .2s; }
.foot-menu:hover a { color: var(--muted); }
.foot-menu a:hover { color: var(--accent); transform: translateX(12px); }
.foot-info { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 56px; }
.foot-info a { text-decoration: none; }
.foot-info a:hover { color: var(--accent); }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; flex-basis: 100%; }
.foot-social a { display: inline-block; padding: 10px 16px; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; transition: background .2s, color .2s; }
.foot-social a:hover { background: var(--accent); color: var(--accent-ink); }
.legal { margin-top: auto; padding-top: 48px; color: var(--muted); font-size: var(--step-small); }
@media (max-width: 860px) {
  .foot { grid-template-columns: 1fr; }
  .foot-pic { height: 50svh; }
}

/* ---------- entrances: only when JS runs and motion is welcome ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}
