/* Apply Within — site styles
   Palette sampled from the brand tiles; pictograms traced from the brand artwork. */

@font-face { font-family: "Anton"; src: url("../fonts/anton.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --violet: #6623ef;
  --violet-d: #4c12c4;
  --red: #ff3130;
  --orange: #f58101;
  --olive: #7b6b23;
  --blush: #f8e1d5;
  --paper: #fcf7f3;
  --ink: #111010;
  --grey: #6b6460;
  --line: rgb(17 16 16 / .14);

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1440px;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.theme-violet :focus-visible, .c-violet :focus-visible { outline-color: var(--blush); }
::selection { background: var(--violet); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { top: 1rem; }
.svg { width: 100%; height: auto; }

/* ---------- Colour themes for panels ---------- */
.c-violet { --c: var(--violet); --on: #fff; --picto: var(--ink); --soft: rgb(255 255 255 / .75); }
.c-red    { --c: var(--red); --on: var(--ink); --picto: var(--ink); --soft: rgb(17 16 16 / .75); }
.c-orange { --c: var(--orange); --on: var(--ink); --picto: var(--ink); --soft: rgb(17 16 16 / .75); }
.c-olive  { --c: var(--olive); --on: var(--blush); --picto: var(--ink); --soft: rgb(248 225 213 / .8); }
.c-blush  { --c: var(--blush); --on: var(--ink); --picto: var(--ink); --soft: rgb(17 16 16 / .7); }
.c-ink    { --c: var(--ink); --on: var(--blush); --picto: var(--violet); --soft: rgb(248 225 213 / .75); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display); font-weight: 400; text-transform: none;
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 6rem); line-height: .95; letter-spacing: .005em;
}
.display--xl { font-size: clamp(3.4rem, 1.5rem + 8vw, 10rem); line-height: .9; }
.display--l { font-size: clamp(2.6rem, 1.5rem + 4.5vw, 6.5rem); line-height: .95; }
.display em, .footer-cta em, .hero__line em, .statement em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  font-size: 1.08em; line-height: .8;
}
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.lede { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.45; max-width: 38ch; }
.lede--big { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); max-width: 30ch; line-height: 1.3; }
.prose { max-width: 62ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.05; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hl { color: var(--violet); }

.link-arrow {
  display: inline-flex; gap: .5em; align-items: center; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

.btn {
  display: inline-flex; align-items: center; gap: .6em; padding: .9em 1.5em;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px;
  font-weight: 600; text-decoration: none; line-height: 1.1;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }
.btn--small { padding: .65em 1.15em; font-size: .9rem; }
.btn--big { padding: 1.1em 2em; font-size: 1.1rem; }
.btn--light { background: var(--blush); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--gutter);
  color: var(--ink); transition: transform .4s var(--ease), background .3s, color .3s;
}
.site-header[data-state="solid"] { background: rgb(252 247 243 / .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header[data-state="hidden"] { transform: translateY(-100%); }
.theme-violet .site-header:not([data-state="solid"]) .site-cta { background: var(--ink); }
.site-logo { width: clamp(130px, 14vw, 170px); flex-shrink: 0; color: currentColor; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: clamp(1rem, 2.4vw, 2.2rem); }
.site-nav a { position: relative; text-decoration: none; font-weight: 500; padding: .4em 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 49; background: var(--violet); color: #fff;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem; display: flex; flex-direction: column;
}
.menu[hidden] { display: none; }
.menu nav a { font-family: var(--display); font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1.1; text-decoration: none; }
.menu__foot { margin-top: auto; display: grid; gap: .4rem; font-weight: 500; }
.menu__pictos { position: absolute; right: var(--gutter); bottom: 6rem; display: grid; grid-template-columns: repeat(2, 54px); gap: 12px; color: var(--ink); }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .site-cta { visibility: hidden; }

@media (max-width: 860px) {
  .site-nav, .site-cta { display: none; }
  .menu-toggle {
    display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px;
    background: none; border: 0; padding: 0;
  }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
    display: block; width: 26px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s;
  }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -8px; }
  .menu-toggle__bars::after { top: 8px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Generic page sections ---------- */
main > section, .page-hero, .filters, .project-grid, .journal-list { padding-inline: var(--gutter); }
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 8rem)); padding-bottom: clamp(2.5rem, 6vw, 5rem); max-width: var(--max); margin-inline: auto; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero .display { max-width: 12ch; }
.page-hero .lede { margin-top: 1.6rem; }
.page-hero--short { padding-bottom: 2rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lede { max-width: 34ch; }

/* ---------- HERO ---------- */
main > .hero { position: relative; height: 280vh; background: var(--violet); color: var(--ink); padding: 0; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero__media { position: absolute; inset: 0; background: var(--ink); }
.js .hero__media { clip-path: inset(var(--ct, 50%) var(--cr, 50%) var(--cb, 50%) var(--cl, 50%) round var(--crad, 0px)); will-change: clip-path; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(calc(1.18 - var(--p, 0) * .18));
}
.hero__slide.is-active { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .1) 30%, rgb(0 0 0 / .55)); opacity: var(--p, 0); }
.js .hero__media::after { content: ""; position: absolute; inset: 0; background: rgb(20 0 60 / .42); opacity: calc(1 - var(--e, 0)); pointer-events: none; }

.hero__title {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: -.005em;
  font-size: clamp(3.4rem, 15.5vw, 17rem); white-space: nowrap; margin-top: -.06em;
}
.hero__apply { transform: translateX(calc(var(--ax, 0px) * var(--e, 0))); opacity: calc(1 - var(--e, 0) * 1.6); margin-right: .12em; }
.hero__bracket {
  display: inline-block; font-weight: 400; transform-origin: center;
  color: color-mix(in srgb, var(--ink) calc(100% - var(--e, 0) * 100%), #fff);
  transform: translateX(calc(var(--bx, 0px) * var(--e, 0))) scaleY(calc(1 + var(--e, 0) * var(--bs, 0)));
}
.hero__within {
  display: inline-block; padding: 0 .06em; color: #fff;
  opacity: calc(1 - var(--e, 0) * 2.2);
}
.no-js .hero__within, html:not(.js) .hero__within { color: #fff; }
.hero__reveal {
  position: absolute; z-index: 3; left: max(var(--gutter), 9vw); right: max(var(--gutter), 9vw); bottom: clamp(2.5rem, 9vh, 6rem);
  color: #fff; opacity: var(--r, 0); transform: translateY(calc((1 - var(--r, 0)) * 30px));
}
.hero__line { font-family: var(--display); font-size: clamp(2.2rem, 1.2rem + 4.6vw, 6.4rem); line-height: .98; max-width: 14ch; }
.hero__line em { color: var(--blush); }
.hero__hint {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 3;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  opacity: calc(1 - var(--p, 0) * 8); display: grid; justify-items: center; gap: .6rem;
}
.hero__hint::after { content: ""; width: 2px; height: 36px; background: currentColor; transform-origin: top; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Without JS (or reduced motion): a straightforward full-bleed intro */
html:not(.js) .hero, .reduced .hero { height: auto; }
html:not(.js) .hero__stage, .reduced .hero__stage { position: relative; min-height: 100svh; }
html:not(.js) .hero__title, .reduced .hero__title { color: #fff; }
html:not(.js) .hero__shade, .reduced .hero__shade { opacity: 1; }
html:not(.js) .hero__reveal, .reduced .hero__reveal { opacity: 1; transform: none; }
.reduced .hero__media { clip-path: none; }
.reduced .hero__bracket { color: #fff; }
.reduced .hero__hint { display: none; }
html:not(.js) .hero__title, .reduced .hero__title { align-self: start; margin-top: max(var(--header-h), 16vh); font-size: clamp(3rem, 12vw, 13rem); }
html:not(.js) .hero__line, .reduced .hero__line { font-size: clamp(2rem, 1rem + 3.4vw, 4.8rem); }

/* ---------- Statement ---------- */
.statement { background: var(--violet); color: var(--ink); padding-block: clamp(5rem, 14vw, 12rem); }
.statement .eyebrow { margin-bottom: 2rem; color: var(--blush); }
.statement__text {
  font-family: var(--display); font-size: clamp(2rem, 1rem + 4.2vw, 5.6rem); line-height: 1.02; max-width: 20ch;
}
.js:not(.reduced) .statement__text .reveal-ink {
  background: linear-gradient(90deg, var(--ink) 50%, rgb(17 16 16 / .2) 50%) no-repeat;
  background-size: 200% 100%; background-position: calc(100% - var(--sp, 0) * 100%) 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- The last 5% ---------- */
.five {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center;
  padding-block: clamp(5rem, 10vw, 9rem); max-width: var(--max); margin-inline: auto;
}
.five .display { font-size: clamp(3.4rem, 2rem + 6vw, 8.5rem); margin-bottom: 2rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.stats dt { font-family: var(--display); font-size: clamp(2.4rem, 1.6rem + 2.5vw, 4rem); line-height: 1; color: var(--violet); }
.stats dd { font-size: .9rem; color: var(--grey); margin-top: .4rem; line-height: 1.35; }
.five__grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(4px, .6vw, 8px); }
.cell {
  aspect-ratio: 1; border-radius: 4px; background: rgb(17 16 16 / .08);
  transition: opacity .5s ease calc(var(--d) * 40ms), transform .5s var(--ease) calc(var(--d) * 40ms);
}
.js .five__grid:not(.is-in) .cell { opacity: 0; transform: scale(.6); }
.cell--on { background: var(--c); color: var(--picto); padding: 14%; display: grid; place-items: center; border-radius: 6px;
  transition-delay: calc(900ms + var(--d) * 160ms); }
.js .five__grid:not(.is-in) .cell--on { transform: scale(0) rotate(-30deg); }
.cell--on .svg { width: 100%; height: 100%; }
@media (max-width: 860px) { .five { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; } }

/* ---------- Selected work (horizontal) ---------- */
.work { background: var(--ink); color: var(--paper); padding: 0 !important; }
.work__sticky { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 0 var(--gutter); margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.work__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 var(--gutter); }
.work-card { flex: 0 0 auto; width: clamp(280px, 56vw, 900px); }
.work-card a { display: block; text-decoration: none; }
.work-card__img { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--c); }
.work-card__img img, .work-card__img .picto-panel { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-card a:hover img { transform: scale(1.04); }
.work-card__meta { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; margin-top: 1.1rem; align-items: baseline; }
.work-card__n { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--c); }
.work-card.c-ink .work-card__n { color: var(--violet); }
.work-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); line-height: 1; }
.work-card p { grid-column: 2; color: rgb(252 247 243 / .65); margin-top: .25rem; }
.work-card--more { width: clamp(220px, 26vw, 380px); }
.work-card--more a {
  height: 100%; aspect-ratio: auto; min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: .5rem;
  border: 1px solid rgb(252 247 243 / .25); border-radius: var(--radius); padding: 2rem;
  font-family: var(--display); font-size: clamp(1.8rem, 1rem + 2vw, 3rem); line-height: 1;
  transition: background .3s, color .3s;
}
.work-card--more a:hover { background: var(--violet); border-color: var(--violet); }
.work-card--more .work-card__img { display: none; }
.js .work[data-pinned] .work__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.js .work[data-pinned] .work__track { transform: translateX(calc(var(--hx, 0) * -1px)); will-change: transform; }
.work:not([data-pinned]) .work__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 1rem; }
.work:not([data-pinned]) .work-card { scroll-snap-align: start; width: 82vw; }

/* ---------- Services (home) ---------- */
.services-home { padding-block: clamp(5rem, 10vw, 9rem); max-width: var(--max); margin-inline: auto; }
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.svc-tile a {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 26rem;
  padding: clamp(1.4rem, 2vw, 2rem); background: var(--c); color: var(--on); border-radius: var(--radius);
  text-decoration: none; overflow: hidden; transition: transform .5s var(--ease);
}
.svc-tile a:hover { transform: translateY(-6px); }
.svc-tile__picto { width: 64%; max-width: 200px; color: var(--picto); margin-bottom: auto; }
.svc-tile h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 1.4vw, 2.8rem); line-height: 1; margin-top: 2rem; }
.svc-tile p { margin-top: .7rem; color: var(--soft); max-width: 24ch; }
.svc-tile__go { position: absolute; top: 1.3rem; right: 1.5rem; font-size: 1.6rem; transition: transform .4s var(--ease); }
.svc-tile a:hover .svc-tile__go { transform: translateX(6px) rotate(-45deg); }
@media (max-width: 1000px) { .svc-tiles { grid-template-columns: 1fr 1fr; } .svc-tile a { min-height: 21rem; } }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr; } }

/* Pictogram personalities (on hover of their tile) */
.svg { transition: transform .8s var(--ease); }
a:hover .picto-anim--bird .svg, .value-card:hover .picto-anim--bird .svg { animation: bob .9s var(--ease) 2; }
a:hover .picto-anim--plant .svg, .value-card:hover .picto-anim--plant .svg { transform-origin: 50% 100%; animation: sway 1.6s ease-in-out infinite; }
a:hover .picto-anim--frame .svg, .value-card:hover .picto-anim--frame .svg { transform: rotate(90deg); }
a:hover .picto-anim--eye .svg, .value-card:hover .picto-anim--eye .svg { animation: blink 1.6s ease-in-out infinite; }
a:hover .picto-anim--swirl .svg, .value-card:hover .picto-anim--swirl .svg, .picto-anim--swirl:hover .svg { transform: rotate(-360deg); transition-duration: 1.4s; }
a:hover .picto-anim--sun .svg, .value-card:hover .picto-anim--sun .svg { transform: rotate(180deg); transition-duration: 2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10%) rotate(-4deg); } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes blink { 0%, 40%, 60%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.08); } }

/* ---------- Senses ---------- */
.senses { padding-block: clamp(5rem, 10vw, 9rem); background: var(--blush); }
.senses .section-head, .senses__grid { max-width: var(--max); margin-inline: auto; }
.senses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.4vw, 1.25rem); }
.sense { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--c, var(--ink)); }
.sense img, .sense video { width: 100%; height: 100%; object-fit: cover; }
.sense figcaption {
  position: absolute; inset: auto 0 0; padding: 1.2rem 1.3rem; color: #fff; font-size: .95rem; line-height: 1.4;
  background: linear-gradient(0deg, rgb(0 0 0 / .6), transparent);
}
.sense--video { display: flex; flex-direction: column; }
.sense--video video { flex: 1; min-height: 0; transform: scale(1.12); transform-origin: 50% 35%; }
.sense--video figcaption { position: relative; z-index: 1; background: var(--c); color: var(--on); padding-top: 1rem; }
.sense--video.c-olive figcaption { color: var(--blush); }
.sense figcaption strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1.05; }
.sense--video.c-blush { border: 1px solid var(--line); }
@media (max-width: 860px) { .senses__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .senses__grid { grid-template-columns: 1fr; } }

/* ---------- Clients marquee ---------- */
.clients { padding-block: clamp(4rem, 7vw, 6rem); text-align: center; overflow: hidden; }
.clients .eyebrow { color: var(--grey); margin-bottom: 2.5rem; padding-inline: var(--gutter); }
.marquee { -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li { flex: 0 0 auto; }
.client-logo { height: clamp(34px, 4vw, 52px); width: auto; max-width: 200px; color: var(--ink); opacity: .82; transition: opacity .3s, color .3s; }
.marquee li:hover .client-logo { opacity: 1; color: var(--violet); }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(2.5rem, 6vw, 5.5rem) / 2)); } }

/* ---------- Founder ---------- */
.founder {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  background: var(--olive); color: var(--blush); padding-block: clamp(4rem, 8vw, 7rem);
}
.founder__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; max-width: 520px; }
.founder__img img { width: 100%; height: 100%; object-fit: cover; }
.founder .eyebrow { margin-bottom: 1.6rem; }
.founder__quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 1rem + 2.8vw, 3.6rem); line-height: 1.1; max-width: 22ch; }
.founder__name { margin: 1.6rem 0 2rem; font-weight: 600; }
.founder .btn { background: var(--blush); color: var(--ink); }
.founder .btn:hover { background: #fff; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }

/* ---------- Article cards ---------- */
.journal-home, .more-articles { padding-block: clamp(5rem, 10vw, 9rem); max-width: var(--max); margin-inline: auto; }
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.article-card a { display: block; text-decoration: none; }
.article-card__img { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; }
.article-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.article-card a:hover img { transform: scale(1.05); }
.article-card__kicker { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.article-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.05; margin-top: .4rem; }
.article-card a:hover h3 { color: var(--violet); }
@media (max-width: 860px) { .article-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(4rem, 9vw, 8rem) var(--gutter) 1.5rem; overflow: hidden; }
.footer-cta { max-width: var(--max); margin: 0 auto clamp(4rem, 8vw, 7rem); }
.footer-cta .eyebrow { color: rgb(252 247 243 / .6); margin-bottom: 1rem; }
.footer-cta__link {
  display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .25em; text-decoration: none;
  font-family: var(--display); font-size: clamp(2.8rem, 1rem + 7vw, 8.5rem); line-height: .95;
}
.footer-cta__link em { color: var(--violet); transition: color .3s; }
.footer-cta__arrow { display: inline-block; font-family: var(--sans); font-weight: 300; transition: transform .5s var(--ease); color: var(--violet); }
.footer-cta__link:hover em { color: var(--blush); }
.footer-cta__link:hover .footer-cta__arrow { transform: translateX(.25em); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-top: 2.5rem; border-top: 1px solid rgb(252 247 243 / .16); }
.footer-h { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-bottom: .8rem; }
.footer-big { font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem); text-decoration: none; font-weight: 500; }
.footer-big:hover, .footer-list a:hover { color: var(--violet); }
.site-footer .footer-big:hover, .site-footer .footer-list a:hover { color: #b394ff; }
.footer-list li + li { margin-top: .35rem; }
.footer-list a { text-decoration: none; }
.footer-mark { max-width: var(--max); margin: clamp(3rem, 7vw, 6rem) auto 1.5rem; color: var(--violet); }
.footer-legal { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; opacity: .6; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Projects index ---------- */
.filters { max-width: var(--max); margin: 0 auto 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.filters button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: .6em 1.15em; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s;
}
.filters button sup { font-size: .7em; opacity: .6; margin-left: .15em; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.project-grid {
  max-width: var(--max); margin: 0 auto; padding-bottom: clamp(5rem, 10vw, 9rem) !important;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 2vw, 2rem);
}
.project-tile { grid-column: span 6; }
.project-tile:nth-child(6n+1), .project-tile:nth-child(6n+4) { grid-column: span 7; }
.project-tile:nth-child(6n+2), .project-tile:nth-child(6n+5) { grid-column: span 5; margin-top: clamp(0rem, 8vw, 8rem); }
.project-tile:nth-child(6n+3) { grid-column: 3 / span 8; }
.project-tile[hidden] { display: none; }
.project-tile a { display: block; text-decoration: none; }
.project-tile__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c); }
.project-tile:nth-child(6n+2) .project-tile__img, .project-tile:nth-child(6n+5) .project-tile__img { aspect-ratio: 4 / 5; }
.project-tile__img img, .project-tile__img .picto-panel { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.project-tile a:hover .project-tile__img img { transform: scale(1.04); }
.project-tile__meta { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin-top: 1.1rem; }
.project-tile h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem); line-height: 1; }
.project-tile__place { align-self: end; color: var(--grey); text-align: right; }
.project-tile__roles { grid-column: 1 / -1; font-size: .92rem; color: var(--grey); }
.project-tile a:hover h2 { color: var(--violet); }
@media (max-width: 760px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-tile, .project-tile:nth-child(n) { grid-column: auto; margin-top: 0; }
  .project-tile:nth-child(n) .project-tile__img { aspect-ratio: 4 / 3; }
}

.picto-panel { display: grid; place-items: center; background: var(--c); color: var(--picto); width: 100%; height: 100%; }
.picto-panel .svg { width: 38%; max-height: 60%; }

/* ---------- Case study ---------- */
.case__head { padding: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)) var(--gutter) clamp(2rem, 4vw, 3rem); max-width: var(--max); margin-inline: auto; }
.case__head .eyebrow { margin-bottom: 1.2rem; }
.case__place { margin-top: 1.2rem; font-size: 1.15rem; color: var(--grey); }
.case__hero { margin: 0 var(--gutter); border-radius: var(--radius); overflow: hidden; height: min(82vh, 56vw); min-height: 320px; background: var(--c); }
.case__hero { position: relative; }
.case__hero img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; transform: translateY(calc(var(--py, 0) * 1px)); }
.case__hero .picto-panel .svg { width: 22%; }
.case__body {
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem);
  max-width: var(--max); margin: 0 auto; padding: clamp(3rem, 8vw, 7rem) var(--gutter);
}
.case__facts { position: relative; }
.case__facts p { margin-bottom: 2rem; }
.role-list { margin-bottom: 2rem; }
.role-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.role-list li:first-child { border-top: 1px solid var(--line); }
.case__picto { display: block; width: 110px; padding: 18px; border-radius: 14px; background: var(--c); color: var(--picto); }
.case__text .prose { margin-top: 2rem; }
.case__video { margin: 0 var(--gutter) clamp(2rem, 4vw, 3rem); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.case__video video { width: 100%; }
.case__video--portrait { display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: var(--c); }
.case__video--portrait video { width: auto; max-height: 80vh; border-radius: 12px; }
.case__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); padding: 0 var(--gutter) clamp(4rem, 8vw, 7rem); }
.case__gallery figure { border-radius: var(--radius); overflow: hidden; }
.case__gallery img { width: 100%; height: 100%; object-fit: cover; }
.case__gallery--1 { grid-template-columns: 1fr; }
.case__gallery--3 figure:first-child, .case__gallery--5 figure:first-child { grid-row: span 2; }
@media (max-width: 760px) { .case__body { grid-template-columns: 1fr; } .case__gallery { grid-template-columns: 1fr; } .case__gallery figure { grid-row: auto !important; } }

.next-project {
  position: relative; display: grid; gap: .5rem; padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  background: var(--c); color: var(--on); text-decoration: none; overflow: hidden;
}
.next-project__title { font-family: var(--display); font-size: clamp(3rem, 1.5rem + 7vw, 9rem); line-height: .95; position: relative; z-index: 1; }
.next-project__img {
  position: absolute; right: var(--gutter); top: 50%; width: min(34vw, 480px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  transform: translateY(-50%) rotate(4deg) scale(.9); opacity: 0; transition: opacity .5s, transform .7s var(--ease);
}
.next-project__img img, .next-project__img .picto-panel { width: 100%; height: 100%; object-fit: cover; }
.next-project:hover .next-project__img { opacity: 1; transform: translateY(-50%) rotate(-2deg) scale(1); }

/* ---------- Services page ---------- */
.svc-jump { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }
.svc-jump a {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .45rem; border-radius: 999px;
  background: var(--c); color: var(--on); text-decoration: none; font-weight: 600;
}
.svc-jump .svg { width: 34px; height: 34px; padding: 5px; color: var(--picto); }
.svc {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem); max-width: var(--max); margin-inline: auto; border-top: 1px solid var(--line);
}
.svc--flip .svc__visual { order: 2; }
.svc__visual { position: relative; }
.svc__video { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--c); }
.svc__video video { width: 100%; height: 100%; object-fit: cover; }
.svc__picto { position: absolute; right: -14px; bottom: -14px; width: 96px; padding: 16px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 10px 40px rgb(0 0 0 / .12); }
.svc--flip .svc__picto { right: auto; left: -14px; }
.svc__n { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--violet); }
.svc .display { margin: .3rem 0 1rem; }
.svc__line { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); font-weight: 500; margin-bottom: 1.2rem; max-width: 28ch; }
.tick-list { margin-top: 1.8rem; display: grid; gap: .1rem; }
.tick-list li { display: flex; gap: .8rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.tick-list li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 3px; background: var(--c); transform: translateY(-1px); }
.c-blush .tick-list li::before { background: var(--olive); }
.svc__outcome { margin-top: 1.8rem; display: inline-flex; flex-wrap: wrap; gap: .3rem .8rem; padding: .8rem 1.1rem; border-radius: 12px; background: var(--c); color: var(--on); font-weight: 600; }
.svc__outcome span { font-weight: 500; opacity: .75; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc--flip .svc__visual { order: 0; } .svc__video { aspect-ratio: 4 / 3; } }

.vision { background: var(--violet); color: #fff; padding-block: clamp(5rem, 12vw, 10rem); }
.vision .eyebrow { color: var(--blush); margin-bottom: 1.5rem; }
.vision__text { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 1rem + 3.6vw, 4.6rem); line-height: 1.08; max-width: 24ch; }

/* ---------- About ---------- */
.bio { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; max-width: var(--max); margin-inline: auto; padding-bottom: clamp(4rem, 8vw, 7rem); }
.bio__img { border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 1rem); }
.bio .eyebrow { margin: .8rem 0 2rem; color: var(--grey); }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio__img { position: static; } }
.values { padding-block: clamp(4rem, 8vw, 7rem); background: var(--blush); }
.values .display { max-width: var(--max); margin: 0 auto clamp(2rem, 4vw, 3rem); }
.value-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.4vw, 1.25rem); max-width: var(--max); margin-inline: auto; }
.value-card { background: var(--c); color: var(--on); border-radius: var(--radius); padding: 1.6rem; min-height: 22rem; display: flex; flex-direction: column; }
.value-card.c-blush { background: var(--paper); color: var(--ink); }
.value-card__picto { width: 90px; color: var(--picto); margin-bottom: auto; }
.value-card h3 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1; margin-top: 2rem; }
.value-card p { margin-top: .6rem; color: var(--soft); }
@media (max-width: 1000px) { .value-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .value-cards { grid-template-columns: 1fr; } .value-card { min-height: 16rem; } }

.approach { padding-block: clamp(5rem, 10vw, 9rem); max-width: var(--max); margin-inline: auto; }
.approach__flow { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: clamp(1rem, 2vw, 2rem); align-items: stretch; }
.approach__col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.approach__col h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin-bottom: 1rem; }
.approach__col li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.approach__col li:last-child { border-bottom: 0; }
.approach__mid { background: var(--c); color: var(--on); border-radius: var(--radius); padding: 2rem; display: grid; align-content: center; gap: 1.5rem; text-align: center; font-size: 1.1rem; line-height: 1.8; }
.approach__mid span { color: var(--ink); max-width: 260px; margin: 0 auto; width: 100%; }
@media (max-width: 860px) { .approach__flow { grid-template-columns: 1fr; } }
.about-gallery { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: clamp(.75rem, 1.4vw, 1.25rem); padding-bottom: clamp(5rem, 10vw, 9rem); }
.about-gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.about-gallery img:nth-child(2) { aspect-ratio: auto; }

/* ---------- Journal ---------- */
.journal-list { max-width: var(--max); margin: 0 auto; padding-bottom: clamp(5rem, 10vw, 9rem) !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1rem, 2vw, 2rem); }
.journal-item a { display: block; text-decoration: none; }
.journal-item__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.1rem; }
.journal-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journal-item a:hover img { transform: scale(1.05); }
.journal-item__picto { position: absolute; left: 1rem; bottom: 1rem; width: 58px; padding: 10px; border-radius: 12px; background: var(--c); color: var(--picto); }
.journal-item h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); line-height: 1.05; margin: .4rem 0 .6rem; }
.journal-item a:hover h2 { color: var(--violet); }
.journal-item p:last-child { color: var(--grey); }
.journal-item--lead { grid-column: 1 / -1; }
.journal-item--lead a { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.journal-item--lead .journal-item__img { margin: 0; aspect-ratio: 16 / 10; }
.journal-item--lead h2 { font-size: clamp(2.2rem, 1.4rem + 2.8vw, 4.4rem); }
.journal-item--lead p:last-child { font-size: 1.2rem; }
@media (max-width: 860px) { .journal-list { grid-template-columns: 1fr; } .journal-item--lead a { grid-template-columns: 1fr; } }

.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 60; background: var(--violet); transform-origin: left; transform: scaleX(var(--rp, 0)); }
.article__head { max-width: 980px; margin: 0 auto; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) var(--gutter) clamp(2rem, 4vw, 3rem); }
.article__head .eyebrow { margin-bottom: 1.2rem; }
.article__head .display { margin-bottom: 1.5rem; }
.article__head .lede { max-width: 46ch; }
.article__by { margin-top: 1.5rem; font-weight: 600; }
.article__img { max-width: 1200px; margin: 0 auto clamp(3rem, 6vw, 5rem); padding: 0 var(--gutter); }
.article__img img { border-radius: var(--radius); width: 100%; max-height: 72vh; object-fit: cover; }
.prose--article { max-width: 680px; margin: 0 auto; padding: 0 var(--gutter); font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); line-height: 1.7; }
.prose--article > p:first-child::first-letter { font-family: var(--display); float: left; font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--violet); }
.prose--article .signoff { font-family: var(--serif); font-style: italic; font-size: 1.5em; line-height: 1.2; }
.legal > p:first-child::first-letter { all: unset; }
.legal { padding-bottom: clamp(4rem, 8vw, 7rem); }
.article__end { display: block; width: 70px; margin: 3rem auto 0; padding: 12px; border-radius: 14px; background: var(--c); color: var(--picto); }
.more-articles { border-top: 1px solid var(--line); margin-top: clamp(4rem, 8vw, 7rem); }
.more-articles .display { margin-bottom: 2.5rem; }

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); max-width: var(--max); margin: 0 auto;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) !important; padding-bottom: clamp(5rem, 10vw, 8rem) !important;
}
.contact__intro .eyebrow { margin-bottom: 1.2rem; }
.contact__intro .lede { margin-top: 1.6rem; }
.contact__direct { margin-top: 3rem; display: grid; gap: 1.4rem; }
.contact__direct .footer-h { margin-bottom: .2rem; }
.contact__direct a:hover { color: var(--violet); }
.contact__form form, .form-done { background: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 3vw, 2.6rem); box-shadow: 0 30px 80px -40px rgb(40 10 100 / .35); }
.chips { border: 0; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { font-weight: 600; margin-bottom: .9rem; padding: 0; }
.chips legend span, .field label span { font-weight: 400; color: var(--grey); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: .55em 1em; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; transition: background .2s, color .2s, border-color .2s; user-select: none; }
.chip span:hover { border-color: var(--violet); }
.chip input:checked + span { background: var(--violet); border-color: var(--violet); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid transparent; border-radius: 12px;
  padding: .85em 1em; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgb(102 35 239 / .15); }
.field [aria-invalid="true"] { border-color: #c4181c; }
.field__error, .form-alert { color: #b3141a; font-size: .92rem; font-weight: 500; }
.form-alert { background: #fff0ee; padding: .9rem 1rem; border-radius: 10px; margin-bottom: 1.4rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .6rem; }
.form-note { font-size: .88rem; color: var(--grey); }
.hp { position: absolute; left: -9999px; }
.form-done { background: var(--c); color: var(--on); text-align: left; display: grid; gap: 1rem; justify-items: start; }
.form-done > span { width: 90px; color: var(--ink); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1.5rem; text-align: center; background: var(--violet); color: #fff; padding: var(--header-h) var(--gutter); }
.lost__picto { width: 140px; color: var(--ink); }
.lost__picto .svg { animation: blink 2.4s ease-in-out infinite; }
.theme-violet.page-404 .site-header { color: var(--ink); }

/* ---------- Reveal-on-scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Inline editor hook (SAC editor, later) ---------- */
.editable:empty { min-height: 1em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__track li[aria-hidden] { display: none; }
  .marquee { mask: none; -webkit-mask: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Inline editor (signed-in only) ---------- */
.admin-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9000; display: flex; align-items: center; gap: .5rem; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .45); white-space: nowrap; }
.admin-bar[hidden] { display: none; }
.admin-bar form { margin: 0; }
.admin-bar button { padding: .4rem .95rem; border: 0; border-radius: 999px; background: rgb(255 255 255 / .14); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.admin-bar button:hover { background: rgb(255 255 255 / .25); }
.admin-bar .admin-bar__edit { background: var(--violet); }
.admin-bar .admin-bar__edit:hover { background: var(--violet-d); }
body.html-source-editing .editable[id] { outline-color: var(--violet); }
body.html-source-editing .editable[id]:hover { background: rgb(102 35 239 / .06); }
@media (max-width: 560px) { .admin-bar span { display: none; } }
