/* Sade Textile Agency — static site styles (editorial redesign, Dec 2026) */

@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-0130, U+0132-0151, U+0154-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --ink: #0d0d0c;
  --ink-soft: #33322f;
  --muted: #7d7a73;
  --line: rgba(13, 13, 12, .16);
  --dark: #0d0d0c;
  --on-dark: #f3f1ec;
  --on-dark-muted: #9c9991;
  --line-dark: rgba(243, 241, 236, .18);
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --gutter: clamp(18px, 3.2vw, 48px);
  --section: clamp(88px, 13vw, 200px);
  --header-h: 72px;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: clamp(16px, .45vw + 14px, 19px); font-weight: 400; line-height: 1.55; letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
::selection { background: var(--ink); color: var(--paper); }
.section--dark ::selection, .menu ::selection { background: var(--paper); color: var(--ink); }

.wrap { width: 100%; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
i, em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- small type ---------- */
.label { display: flex; align-items: baseline; gap: .9em; font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.label b { font-weight: 500; opacity: .5; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark-muted); }

/* ---------- big type ---------- */
.h2 { font-size: clamp(2.1rem, 5.4vw, 5.6rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.h2 em, .h2 i { letter-spacing: -.025em; font-size: 1.07em; }
.statement { font-size: clamp(1.7rem, 4.3vw, 4.4rem); font-weight: 500; line-height: 1.04; letter-spacing: -.04em; }
.statement em, .statement i { letter-spacing: -.02em; font-size: 1.06em; }
.statement .w { opacity: .16; transition: opacity .5s linear; }
.statement .w.on { opacity: 1; }
.prose { max-width: 58ch; color: var(--ink-soft); font-size: 1.04em; }
.section--dark .prose { color: #cbc7be; }
.prose p + p { margin-top: 1.05em; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 6px 6px 6px 24px; border: 1px solid currentColor; border-radius: 999px; font-size: .82rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; overflow: hidden; isolation: isolate; transition: color .45s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn::after { content: "↗"; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1rem; transition: background-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease); }
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: none; }
.btn:hover::after { background: var(--paper); color: var(--ink); transform: rotate(45deg); }
.btn--down::after { content: "↓"; }
.btn--down:hover::after { transform: translateY(2px); }
.btn--ghost { border-color: var(--line); }

/* ---------- header (inverts itself over light and dark areas) ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: #fff; mix-blend-mode: difference; pointer-events: none; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header a, .header button { pointer-events: auto; }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.nav { transition: transform .7s var(--ease), opacity .4s; }
.nav-away .nav { transform: translateY(-140%); opacity: 0; }
.nav-away .nav:focus-within { transform: none; opacity: 1; }
.nav ul { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav a { position: relative; display: block; padding: 8px 0; font-size: .82rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; align-items: center; gap: 10px; padding: 10px 0; background: none; border: 0; cursor: pointer; font-size: .82rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.nav-toggle::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; transition: transform .5s var(--ease); }
.menu-open .nav-toggle::after { transform: scale(1.7); }

.menu { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 24px) var(--gutter) 28px; background: var(--dark); color: var(--on-dark); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
.menu ol { counter-reset: m; }
.menu li { counter-increment: m; border-bottom: 1px solid var(--line-dark); overflow: hidden; }
.menu li a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; font-size: clamp(2.2rem, 11vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -.05em; text-decoration: none; transform: translateY(110%); transition: transform .8s var(--ease); }
.menu li a::before { content: counter(m, decimal-leading-zero); font-size: .78rem; letter-spacing: .04em; opacity: .5; }
.menu-open .menu li a { transform: none; }
.menu-open .menu li:nth-child(2) a { transition-delay: .05s; }
.menu-open .menu li:nth-child(3) a { transition-delay: .1s; }
.menu-open .menu li:nth-child(4) a { transition-delay: .15s; }
.menu-open .menu li:nth-child(5) a { transition-delay: .2s; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .9rem; color: var(--on-dark-muted); }
.menu__foot a { color: var(--on-dark); text-decoration: none; }

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .brand img { height: 32px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 901px) { .menu { display: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--header-h) + clamp(12px, 3vw, 44px)); }
.hero__title { font-size: clamp(2.9rem, 10.6vw, 13.5rem); font-weight: 500; line-height: .88; letter-spacing: -.058em; }
.hero__title em { letter-spacing: -.038em; font-size: 1.07em; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
.hero__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-top: clamp(22px, 3vw, 44px); padding-bottom: clamp(22px, 3vw, 44px); }
.hero__sub { font-size: clamp(1.1rem, 1.5vw, 1.6rem); line-height: 1.25; letter-spacing: -.025em; max-width: 24ch; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__media { position: relative; flex: 1 1 auto; min-height: 44vh; min-height: 44svh; margin-inline: var(--gutter); overflow: hidden; background: var(--dark); }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; opacity: 0; }
.hero__media picture:nth-child(1) img { object-position: 50% 30%; opacity: 1; }
.hero__media picture:nth-child(2) img { object-position: 50% 30%; }
.hero__media picture:nth-child(3) img { object-position: 60% 35%; }
.hero__media picture:nth-child(4) img { object-position: 30% 30%; }
.hero__tag { position: absolute; left: clamp(14px, 2vw, 28px); bottom: clamp(12px, 2vw, 24px); z-index: 2; color: #fff; text-shadow: 0 0 18px rgba(0,0,0,.45); }
@media (max-width: 700px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__media { min-height: 46svh; }
  .hero__tag { flex-direction: column; gap: 2px; right: 14px; }
  .hero__tag b { opacity: .8; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(14px, 1.8vw, 26px); margin-top: var(--gutter); white-space: nowrap; }
.marquee__track { display: inline-flex; }
.marquee ul { display: inline-flex; flex: none; }
.marquee li { display: inline-flex; align-items: center; font-size: clamp(1.5rem, 3.4vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.marquee li:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: clamp(1.6rem, 3.65vw, 3.65rem); }
.marquee li::after { content: ""; width: .28em; height: .28em; border-radius: 50%; background: currentColor; margin-inline: .55em; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--tint { background: var(--paper-2); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 32px); }
.media { overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* about */
.about__label { grid-column: 1 / span 3; }
.about__statement { grid-column: 4 / -1; }
.about__row { margin-top: clamp(56px, 8vw, 128px); align-items: end; }
.about__img { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.about__text { grid-column: 8 / -1; }
.facts { margin-top: clamp(64px, 9vw, 144px); }
.facts li { grid-column: span 4; border-top: 1px solid var(--line); padding-top: 14px; }
.facts strong { display: block; font-size: clamp(3.4rem, 9.5vw, 10rem); font-weight: 500; line-height: .9; letter-spacing: -.065em; }
.facts span { display: block; margin-top: 14px; max-width: 22ch; color: var(--muted); font-size: .98rem; line-height: 1.35; }
.mission { margin-top: clamp(80px, 11vw, 180px); }
.mission__label { grid-column: 1 / span 3; }
.mission__head { grid-column: 4 / -1; }
.mission__text { grid-column: 8 / -1; margin-top: clamp(28px, 4vw, 64px); }
@media (max-width: 900px) {
  .about__label, .about__statement, .about__img, .about__text, .mission__label, .mission__head, .mission__text { grid-column: 1 / -1; }
  .about__statement, .mission__head { margin-top: 20px; }
  .about__img { aspect-ratio: 4 / 3; }
  .about__text { margin-top: 28px; }
  .facts li { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; }
  .facts span { margin-top: 0; text-align: right; max-width: 18ch; }
}

/* services */
.services__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 80px); }
.services__img { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; aspect-ratio: 3 / 4; }
.services__list { grid-column: 6 / -1; counter-reset: s; }
.services__list li { counter-increment: s; display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: clamp(18px, 2.4vw, 34px) 0; border-top: 1px solid var(--line-dark); transition: opacity .4s, padding-left .6s var(--ease); }
.services__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.services__list li::before { content: counter(s, decimal-leading-zero); font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--on-dark-muted); }
.services__list li::after { content: "↗"; font-size: 1.3rem; opacity: 0; transform: translate(-10px, 10px); transition: opacity .4s, transform .6s var(--ease); }
.services__list h3 { font-size: clamp(1.6rem, 3.5vw, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
@media (hover: hover) {
  .services__list:hover li { opacity: .35; }
  .services__list li:hover { opacity: 1; padding-left: clamp(10px, 1.6vw, 28px); }
  .services__list li:hover::after { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .services__img, .services__list { grid-column: 1 / -1; }
  .services__img { position: static; order: 2; margin-top: 40px; aspect-ratio: 4 / 3; }
  .services__img img { object-position: 50% 30%; }
  .services__list li { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .services__list li::after { display: none; }
}

/* suppliers */
.suppliers__label { grid-column: 1 / span 3; }
.suppliers__head { grid-column: 4 / -1; }
.suppliers__row { margin-top: clamp(48px, 7vw, 112px); align-items: start; }
.suppliers__text { grid-column: 1 / span 5; }
.suppliers__img { grid-column: 8 / -1; aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .suppliers__label, .suppliers__head, .suppliers__text, .suppliers__img { grid-column: 1 / -1; }
  .suppliers__head { margin-top: 20px; }
  .suppliers__img { margin-top: 36px; aspect-ratio: 4 / 3; }
  .suppliers__img img { object-position: 50% 62%; }
}

/* customers */
.customers__label { grid-column: 1 / span 3; }
.customers__head { grid-column: 4 / span 5; }
.customers__text { grid-column: 9 / -1; align-self: end; }
.logos { margin-top: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.logos li { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 6% 16%; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.logos li:nth-child(4n) { border-right: 0; }
.logos img { width: 100%; max-width: 190px; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); transition: transform .7s var(--ease); }
.logos li:hover img { transform: scale(1.08); }
@media (max-width: 900px) {
  .customers__label, .customers__head, .customers__text { grid-column: 1 / -1; }
  .customers__head { margin-top: 20px; }
  .customers__text { margin-top: 24px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li:nth-child(2n) { border-right: 0; }
}

/* work */
.work { padding-block: var(--section); }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 56px); }
.work__head > div:first-child { display: grid; gap: 18px; }
.work__count { font-size: .82rem; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.work__track { display: flex; gap: clamp(8px, 1vw, 16px); padding-inline: var(--gutter); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.work__track::-webkit-scrollbar { display: none; }
.work__track li { flex: none; scroll-snap-align: start; }
.work__track a { display: block; overflow: hidden; cursor: zoom-in; }
.work__track img { height: clamp(300px, 52vh, 620px); width: auto; max-width: none; transition: transform 1.1s var(--ease); }
.work__track a:hover img { transform: scale(1.04); }
.work__bar { margin: clamp(20px, 3vw, 40px) var(--gutter) 0; height: 1px; background: var(--line-dark); }
.work__bar span { display: block; height: 100%; width: 100%; background: var(--on-dark); transform-origin: left; transform: scaleX(0); }
.work__hint { margin-top: 14px; }
/* pinned mode: vertical scrolling moves the gallery sideways (set by site.js on wide screens) */
.work.is-pinned { padding-block: 0; }
.work.is-pinned .work__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--header-h); }
.work.is-pinned .work__track { overflow: visible; scroll-snap-type: none; will-change: transform; width: max-content; }
.work.is-pinned .work__track img { height: min(58vh, 640px); }
.work.is-pinned .work__hint { display: none; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13,13,12,.97); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(13,13,12,.97); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: transparent; border: 1px solid var(--line-dark); cursor: pointer; font-size: 1.05rem; transition: background-color .3s, color .3s; }
.lightbox button:hover { background: var(--on-dark); color: var(--dark); }
.lightbox__close { top: 14px; right: var(--gutter); }
.lightbox__prev { left: var(--gutter); bottom: 18px; }
.lightbox__next { left: calc(var(--gutter) + 56px); bottom: 18px; }
.lightbox__count { position: absolute; right: var(--gutter); bottom: 32px; font-size: .82rem; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }

/* contact */
.contact__title { margin-top: clamp(18px, 2.4vw, 36px); }
.contact__mail { display: block; margin-top: clamp(12px, 2vw, 28px); font-size: clamp(2.1rem, 11.6vw, 15rem); font-weight: 500; line-height: .95; letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.contact__mail span { display: inline-block; background: linear-gradient(currentColor, currentColor) 0 100% / 0 .04em no-repeat; transition: background-size .8s var(--ease); padding-bottom: .04em; }
.contact__mail:hover span { background-size: 100% .04em; }
.contact__grid { margin-top: clamp(56px, 8vw, 128px); row-gap: 36px; }
.contact__grid > div { grid-column: span 4; border-top: 1px solid var(--line); padding-top: 16px; }
.contact__grid h3 { font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.contact__grid p { font-size: clamp(1.05rem, 1.35vw, 1.4rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 500; }
.contact__grid p + p { margin-top: 10px; }
.contact__grid strong { font-weight: 500; }
.contact__grid p a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.contact__grid p a:hover { background-size: 100% 1px; }
@media (max-width: 900px) { .contact__grid > div { grid-column: 1 / -1; } }

/* footer */
.footer { background: var(--dark); color: var(--on-dark); padding-block: clamp(48px, 6vw, 96px) 26px; }
.footer__logo img { width: min(100%, 520px); height: auto; }
.footer__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px 48px; padding-bottom: clamp(36px, 5vw, 72px); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer a { text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .03em; text-transform: uppercase; }
.footer a:hover { opacity: .6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; border-top: 1px solid var(--line-dark); padding-top: 18px; font-size: .82rem; color: var(--on-dark-muted); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a { color: var(--on-dark); }

/* ---------- legal pages ---------- */
.page { padding-top: calc(var(--header-h) + clamp(28px, 6vw, 96px)); padding-bottom: var(--section); }
.page__head { padding-bottom: clamp(32px, 5vw, 72px); margin-bottom: clamp(32px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page__head .label { margin-bottom: 20px; }
.legal { max-width: 68ch; margin-left: auto; margin-right: clamp(0px, 12vw, 220px); color: var(--ink-soft); }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; line-height: 1.1; letter-spacing: -.035em; color: var(--ink); margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 1.6em 0 .4em; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 1em; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal li + li { margin-top: .4em; }
.legal a { text-underline-offset: .2em; }
.legal strong { font-weight: 600; }
.legal .meta { margin-top: 3em; font-size: .9rem; color: var(--muted); }
.notfound { display: grid; gap: 28px; justify-items: start; min-height: 40vh; align-content: start; }
@media (max-width: 900px) { .legal { margin-inline: 0; } }

/* ---------- motion ---------- */
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes slide { 0% { opacity: 0; transform: scale(1.12); } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes drift { from { transform: translateY(-7%) scale(1.16); } to { transform: translateY(7%) scale(1.16); } }
@keyframes unclip { from { clip-path: inset(14% 8% 14% 8%); } to { clip-path: inset(0); } }
@keyframes grow { from { margin-inline: var(--gutter); } to { margin-inline: 0px; } }

@media (prefers-reduced-motion: no-preference) {
  .line > span { animation: lineup 1.2s var(--ease) both; }
  .line:nth-child(2) > span { animation-delay: .09s; }
  .line:nth-child(3) > span { animation-delay: .18s; }
  .hero__meta { animation: fadeup 1.1s var(--ease) .35s both; }
  .hero__media { animation: wipe 1.4s var(--ease) .3s both; }
  .hero__media picture img { animation: slide 24s linear infinite; }
  .hero__media picture:nth-child(1) img { animation-delay: -1.3s; }
  .hero__media picture:nth-child(2) img { animation-delay: 4.7s; }
  .hero__media picture:nth-child(3) img { animation-delay: 10.7s; }
  .hero__media picture:nth-child(4) img { animation-delay: 16.7s; }
  .marquee__track { animation: marquee 46s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }

  @supports (animation-timeline: view()) {
    .hero__media { animation: wipe 1.4s var(--ease) .3s both, grow linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0px 60vh; }
    .reveal { animation: fadeup linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .media--reveal { animation: unclip linear both; animation-timeline: view(); animation-range: entry 5% cover 38%; }
    .media--drift img { animation: drift linear both; animation-timeline: view(); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .statement .w { opacity: 1; }
}

@media print {
  .header, .menu, .marquee, .lightbox, .work__bar { display: none !important; }
  .hero { min-height: auto; }
}
