/* ============================================================
   16mm — Anthony Billard
   Brutalist minimalist, dark, photography first.
   pipopstudio® — pilote 001
   ============================================================ */

/* ---------- 0. Tokens ---------- */
:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --surface: #111111;
  --text: #E5E5E5;
  --text-muted: #666666;
  --text-dim: #444444;
  --accent: #7AB87A;
  --border: #1E1E1E;
  --border-strong: #2A2A2A;

  --font-display: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;

  --max: 1680px;
  --gutter: clamp(20px, 4vw, 56px);

  --t-fast: 350ms cubic-bezier(.2, .7, .2, 1);
  --t-med:  700ms cubic-bezier(.2, .7, .2, 1);
  --t-slow: 1400ms cubic-bezier(.2, .7, .2, 1);

  --fs-mono: 11px;
  --fs-body: clamp(15px, 1.05vw, 17px);
  --fs-lead: clamp(18px, 1.3vw, 22px);
  --fs-h3: clamp(20px, 1.6vw, 26px);
  --fs-h2: clamp(28px, 3vw, 56px);
  --fs-h1: clamp(40px, 7vw, 128px);

  --lh-tight: 0.95;
  --lh-snug: 1.12;
  --lh-body: 1.55;
}

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- 2. Utility ---------- */
.skip {
  position: absolute; top: 0; left: 0;
  background: var(--accent); color: var(--bg);
  padding: 12px 18px; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; transform: translateY(-200%);
  z-index: 1000; transition: transform var(--t-fast);
}
.skip:focus { transform: translateY(0); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); display: inline-flex; align-items: center; gap: 12px;
  font-weight: 400;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--text-muted);
}

.h2 {
  font-size: var(--fs-h2); line-height: var(--lh-snug);
  font-weight: 400; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 {
  font-size: var(--fs-h3); line-height: var(--lh-snug);
  font-weight: 500; letter-spacing: -0.01em;
}

.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 56ch; color: var(--text); font-weight: 300; }

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

.btn {
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px;
  border: 1px solid var(--text);
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  font-weight: 500;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn--accent { border-color: var(--accent); color: var(--accent); }
.btn--accent:hover { background: var(--accent); color: var(--bg); }
.btn--ghost { border-color: var(--border-strong); color: var(--text-muted); }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn .arrow { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

a.text-link {
  font-family: var(--font-mono);
  position: relative; padding-bottom: 2px; color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  transition: color var(--t-fast), border-color var(--t-fast);
}
a.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 3. Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}
[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.8);
}
.site-header__brand {
  position: relative; z-index: 102;
  display: inline-flex; align-items: center;
  line-height: 0;
}
/* Logo: dark/light theme switching */
.site-header__logo { display: block; height: 18px; width: auto; }
.site-header__logo--light { display: none; }
[data-theme="light"] .site-header__logo--dark { display: none; }
[data-theme="light"] .site-header__logo--light { display: block; }

/* Separator between logo and wordmark */
.site-header__separator {
  margin: 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  opacity: .4;
}

.site-header__brand:hover .site-header__logo { opacity: .8; }
.site-header__brand:hover .site-header__wordmark { color: var(--text); }
@media (max-width: 900px) {
  .site-header__separator,
  .site-header__wordmark { display: none; }
}

.site-header__nav {
  display: flex; align-items: center; gap: 24px;
}
.site-header__nav a {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 6px 0;
}
.site-header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med);
}
.site-header__nav a:hover::after,
.site-header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__nav a[aria-current="page"] { color: var(--accent); }

.lang {
  display: flex; gap: 4px; padding-left: 24px; margin-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}
.lang a {
  font-size: 9px; letter-spacing: .1em; padding: 6px 8px;
  color: #fff;
}
.lang a:hover, .lang a[aria-current="true"] { color: var(--accent); }

.burger {
  display: none;
  position: relative; z-index: 102;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1px; background: var(--text); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--text);
  transition: transform var(--t-fast);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-header {
    background: var(--bg);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid var(--border);
  }
  .burger { display: inline-flex; }

  .site-header__nav {
    position: fixed; inset: 0;
    z-index: 101;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 24px;
    padding: 110px var(--gutter) 48px;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
    overflow-y: auto;
  }
  .site-header__nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s;
  }
  .site-header__nav a {
    font-size: 32px;
    letter-spacing: -0.015em;
    text-transform: none;
    padding: 6px 0;
    color: var(--text);
  }
  .site-header__nav a::after { display: none; }
  .site-header__nav a[aria-current="page"] { color: var(--accent); }

  .lang {
    display: flex;
    margin: 24px 0 0;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border-strong);
    gap: 8px;
    align-self: stretch;
  }
  .lang a {
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
    color: var(--text-muted); padding: 8px 14px 8px 0;
  }
}

/* ---------- 4. Hero (home) — full-bleed photo + centered text ---------- */
.hero-fullbleed {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0A0A0A;
}

/* Cinema curtain reveal */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.curtain__left,
.curtain__right {
  width: 100%;
  height: 50%;
  background: #0A0A0A;
}
.curtain__left {
  transform-origin: center top;
  animation: curtain-top 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.4s forwards;
}
.curtain__right {
  transform-origin: center bottom;
  animation: curtain-bottom 1.2s cubic-bezier(0.7, 0, 0.2, 1) 0.4s forwards;
}
@keyframes curtain-top {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}
@keyframes curtain-bottom {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
}
.hero-fullbleed__images {
  position: absolute;
  inset: 0;
}
.hero-fullbleed__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: hero-cycle 40s ease-in-out infinite;
  will-change: opacity;
}
.hero-fullbleed__img:nth-child(1) { animation-delay: 0s; }
.hero-fullbleed__img:nth-child(2) { animation-delay: 8s; }
.hero-fullbleed__img:nth-child(3) { animation-delay: 16s; }
.hero-fullbleed__img:nth-child(4) { animation-delay: 24s; }
.hero-fullbleed__img:nth-child(5) { animation-delay: 32s; }

@keyframes hero-cycle {
  0%    { opacity: 0; transform: scale(1); }
  2%    { opacity: 1; }
  20%   { opacity: 1; transform: scale(1.05); }
  25%   { opacity: 0; transform: scale(1.05); }
  100%  { opacity: 0; transform: scale(1); }
}

.hero-fullbleed__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-fullbleed__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 var(--gutter);
}
.hero-fullbleed__block {
  text-align: left;
  width: auto;
  position: relative;
}

/* Globe icon — top right of block, inline */
.hero-globe {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  perspective: 200px;
}
.hero-globe svg {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: globe-spin 8s linear infinite;
}
@keyframes globe-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
.hero-fullbleed__title {
  font-family: var(--font-display);
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.hero-fullbleed__motto {
  font-family: var(--font-display);
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.9;
}

/* Hero text stagger reveal */
.hero-fullbleed__line {
  display: block;
  opacity: 0;
  transform: translateY(8px);
  animation: hero-line-in 0.6s ease forwards;
}
.hero-fullbleed__line:nth-child(1) { animation-delay: 1.4s; }
.hero-fullbleed__line:nth-child(2) { animation-delay: 1.55s; }
.hero-fullbleed__line:nth-child(3) { animation-delay: 1.7s; }
.hero-fullbleed__line:nth-child(4) { animation-delay: 1.85s; }

@keyframes hero-line-in {
  to { opacity: 1; transform: none; }
}

/* Accent line between text and CTAs */
.hero-fullbleed__block::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--accent);
  margin-top: 1.4em;
  animation: hero-accent-draw 1s cubic-bezier(0.16, 1, 0.3, 1) 2.1s forwards;
}
@keyframes hero-accent-draw {
  to { width: 100%; }
}
.hero-fullbleed .hero-ctas {
  display: flex;
  gap: 32px;
  margin-top: 1.8em;
  width: 100%;
}
.hero-cta {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
}
.hero-cta::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta:hover {
  color: #fff;
}
.hero-cta:hover::before {
  width: 40px;
}
.hero-cta--ghost::before {
  background: rgba(255, 255, 255, 0.3);
}
.hero-cta--ghost:hover::before {
  background: var(--accent);
}

/* Scroll indicator */
.hero-fullbleed__scroll {
  position: absolute;
  bottom: 32px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-fullbleed__scroll span {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.hero-fullbleed__scroll-line {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.hero-fullbleed__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scroll-pulse 2s ease-in-out infinite 1.6s;
}
@keyframes scroll-pulse {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fullbleed__img { animation: none; }
  .hero-fullbleed__img:first-child { opacity: 1; }
  .hero-fullbleed__line { opacity: 1; transform: none; animation: none; }
  .hero-fullbleed__block::after { width: 100%; animation: none; }
  .hero-fullbleed__scroll { opacity: 1; animation: none; }
}

@media (max-width: 700px) {
  .hero-fullbleed__title { font-size: 12px; }
  .hero-fullbleed__motto { font-size: 12px; }
  .hero-fullbleed .hero-cta { font-size: 10px; }
  .hero-fullbleed .hero-ctas { gap: 20px; }
  .hero-fullbleed__scroll span { font-size: 9px; }
}

/* ---------- 4.5 Intro reel — sticky scroll photo sequence ---------- */
.intro-reel {
  position: relative;
  height: 400vh;
}
.intro-reel__sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.intro-reel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.intro-reel__slide.is-active {
  opacity: 1;
}
.intro-reel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-reel__word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15vh;
  z-index: 1;
  overflow: hidden;
}
.intro-reel__word span {
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.intro-reel__slide.is-active .intro-reel__word span {
  transform: translateY(0);
}
.intro-reel__slide.is-leaving .intro-reel__word span {
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.84, 0);
}

/* ---------- 5. Section base ---------- */
section { position: relative; }
.section {
  padding: clamp(80px, 11vw, 180px) var(--gutter);
  border-top: 1px solid var(--border);
}
.section--alt { background: var(--bg-2); }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(48px, 7vw, 96px);
  align-items: end;
}
.section__head h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); font-weight: 400; letter-spacing: -0.02em; text-wrap: balance; max-width: 16ch; }
.section__head .lead { max-width: 52ch; color: var(--text); }
@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; }
}

/* ---------- 6. Intro / statement ---------- */
.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.intro__index {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 120px;
}
.intro__index strong { color: var(--text); display: block; font-weight: 500; }
.intro__body p { font-size: var(--fs-lead); line-height: 1.5; max-width: 60ch; font-weight: 300; }
.intro__body p + p { margin-top: 1.4em; }
@media (max-width: 900px) {
  .intro__inner { grid-template-columns: 1fr; }
  .intro__index { position: static; }
}

/* ---------- 7. Services ---------- */
.services { display: flex; flex-direction: column; }
.svc {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.6fr) minmax(0, 2fr) auto;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--border-strong);
  align-items: start;
  transition: padding var(--t-med);
}
.svc:last-of-type { border-bottom: 1px solid var(--border-strong); }
.svc__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--text-muted); padding-top: 6px; }
.svc__title { font-size: clamp(28px, 3.6vw, 56px); line-height: 1; font-weight: 400; letter-spacing: -0.02em; }
.svc__body { font-size: var(--fs-body); color: var(--text); max-width: 48ch; line-height: 1.5; }
.svc__cta {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap; padding-top: 8px; transition: color var(--t-fast), gap var(--t-fast);
}
.svc__cta:hover { color: var(--accent); gap: 16px; }
.svc:hover { padding-left: clamp(8px, 1.2vw, 18px); }


@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .svc__num { padding-top: 0; }
  .svc__cta { padding-top: 0; }
}

/* ---------- 8. Selected (mini portfolio on home) ---------- */
.selected__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1.2vw, 18px);
}
.sel {
  position: relative; overflow: hidden;
  display: block; background: var(--bg-2);
}
.sel:nth-child(1) { grid-column: span 7; aspect-ratio: 4 / 3; }
.sel:nth-child(2) { grid-column: span 5; aspect-ratio: 4 / 3; }
.sel:nth-child(3) { grid-column: span 5; aspect-ratio: 4 / 3; }
.sel:nth-child(4) { grid-column: span 7; aspect-ratio: 4 / 3; }
.sel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter var(--t-med);
  filter: brightness(.85);
}
.sel:hover img { transform: scale(1.04); filter: brightness(1); }
.sel__cap {
  font-family: var(--font-mono);
  position: absolute; left: 24px; bottom: 22px; right: 24px;
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  color: var(--text);
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
}
.sel__cap strong { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em; text-transform: none; font-weight: 500; }
@media (max-width: 900px) {
  .selected__grid { grid-template-columns: 1fr; }
  .sel { grid-column: span 12 !important; aspect-ratio: 4 / 3 !important; }
}

/* ---------- 9. Manifesto / slogan band ---------- */
.manifesto {
  text-align: center;
  padding: clamp(120px, 18vw, 220px) var(--gutter);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.manifesto__quote {
  font-size: clamp(32px, 6vw, 90px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 300;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto;
  color: var(--text);
  text-wrap: balance;
}
.manifesto__cite {
  display: block; margin-top: 32px;
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); font-style: normal;
}
.manifesto::before, .manifesto::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--border-strong);
}
.manifesto::before { top: 38px; }
.manifesto::after  { bottom: 38px; }

/* ---------- 10. CTA band ---------- */
.cta-band {
  padding: clamp(80px, 12vw, 180px) var(--gutter);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.cta-band h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); font-weight: 400; letter-spacing: -0.02em; max-width: 14ch; }
.cta-band p { font-size: var(--fs-lead); color: var(--text-muted); max-width: 46ch; margin-top: 18px; font-weight: 300; }
.cta-band__action { justify-self: end; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__action { justify-self: start; }
}

/* ---------- 11. Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 96px) var(--gutter) 32px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 56px;
}
.site-footer__top h3 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.025em; font-weight: 700; max-width: 12ch;
}
.site-footer__col h4 {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; margin-bottom: 18px;
}
.site-footer__col a { display: block; padding: 6px 0; font-size: 14px; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
  flex-wrap: wrap;
}
.site-footer__bottom a:hover { color: var(--accent); }
.site-footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* ---------- 12. Page header (non-home) ---------- */
.page-head {
  position: relative;
  padding: clamp(160px, 22vw, 280px) var(--gutter) clamp(60px, 8vw, 120px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.page-head__index {
  display: flex; flex-direction: column; gap: 14px;
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
}
.page-head__index strong { color: var(--text); font-weight: 500; }
.page-head h1 {
  font-size: clamp(44px, 8vw, 156px);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.page-head__lead { margin-top: 28px; max-width: 56ch; font-size: var(--fs-lead); color: var(--text); font-weight: 300; }
@media (max-width: 900px) {
  .page-head { grid-template-columns: 1fr; }
}

/* ---------- 13. Portfolio grid ---------- */
.portfolio {
  padding: clamp(48px, 7vw, 120px) var(--gutter);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1.2vw, 24px);
}
.tile {
  position: relative; display: block; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--bg-2);
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter var(--t-med);
  filter: brightness(.78) saturate(.92);
}
.tile:hover img { transform: scale(1.05); filter: brightness(1) saturate(1); }
.tile__num {
  font-family: var(--font-mono);
  position: absolute; top: 18px; left: 22px;
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); mix-blend-mode: difference;
}
.tile__cap {
  position: absolute; left: 22px; right: 22px; bottom: 22px;
  display: flex; justify-content: space-between; align-items: end;
  color: var(--text); gap: 14px;
  transition: transform var(--t-med);
}
.tile__cap strong { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.01em; line-height: 1.1; max-width: 16ch; font-weight: 500; }
.tile__cap span {
  font-family: var(--font-mono);
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.tile:hover .tile__cap { transform: translateY(-4px); }

@media (max-width: 1100px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .portfolio__grid { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 5; } }

.portfolio__foot {
  margin-top: clamp(48px, 6vw, 96px);
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}

/* ---------- 14. Project page ---------- */
.project-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end; padding: 140px var(--gutter) 56px;
  border-bottom: 1px solid var(--border);
}
.project-hero__img {
  position: absolute; inset: 0; z-index: 0;
}
.project-hero__img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center center;
  filter: brightness(.65);
}
.project-hero__img img[src*="/jazmin/"] {
  object-position: 30% center;
}
.project-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,7,7,.4) 0%, rgba(7,7,7,0) 30%, rgba(7,7,7,.85) 100%);
}
.project-hero__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.project-hero__index {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; flex-direction: column; gap: 12px;
}
.project-hero__index strong { color: var(--text); font-size: 14px; font-weight: 500; }
.project-hero h1 {
  font-size: clamp(40px, 7vw, 124px);
  line-height: var(--lh-tight);
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
  max-width: 14ch;
}
.project-hero__sub {
  margin-top: 24px;
  font-size: var(--fs-lead); color: var(--text); max-width: 52ch; font-weight: 300;
}
@media (max-width: 900px) {
  .project-hero__inner { grid-template-columns: 1fr; }
}

.project-intro {
  padding: clamp(60px, 9vw, 140px) var(--gutter);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 80px);
}
.project-intro__meta {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 120px; align-self: start;
}
.project-intro__meta strong { color: var(--text); font-weight: 500; }
.project-intro__body p { font-size: var(--fs-lead); max-width: 60ch; line-height: 1.5; font-weight: 300; }
@media (max-width: 900px) {
  .project-intro { grid-template-columns: 1fr; }
  .project-intro__meta { position: static; }
}

.gallery {
  padding: clamp(40px, 6vw, 120px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(8px, 1vw, 18px);
}
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--bg-2); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.03); }

/* Editorial-ish layout: alternating wide/narrow */
.gallery figure:nth-child(7n+1) { grid-column: span 8; aspect-ratio: 4/3; }
.gallery figure:nth-child(7n+2) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery figure:nth-child(7n+3) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery figure:nth-child(7n+4) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery figure:nth-child(7n+5) { grid-column: span 4; aspect-ratio: 4/5; }
.gallery figure:nth-child(7n+6) { grid-column: span 6; aspect-ratio: 4/3; }
.gallery figure:nth-child(7n+7) { grid-column: span 6; aspect-ratio: 4/3; }

@media (max-width: 1100px) {
  .gallery figure { grid-column: span 6 !important; aspect-ratio: 4/5 !important; }
}
@media (max-width: 700px) {
  .gallery figure { grid-column: span 12 !important; }
}

.project-foot {
  padding: clamp(48px, 7vw, 120px) var(--gutter);
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.project-foot__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.project-foot a {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color var(--t-fast), gap var(--t-fast);
}
.project-foot a:hover { color: var(--accent); gap: 16px; }

/* ---------- 15. About ---------- */
.about-body {
  padding: clamp(60px, 9vw, 140px) var(--gutter);
}
.about-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(24px, 5vw, 96px);
}
.about-body__index {
  position: sticky; top: 120px; align-self: start;
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; flex-direction: column; gap: 14px;
}
.about-body__index strong { color: var(--text); font-weight: 500; }
.about-body__sections > section { padding: 0 0 clamp(40px, 6vw, 80px); }
.about-body__sections h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); font-weight: 400; letter-spacing: -0.02em; max-width: 25ch; margin-bottom: 18px; }
.about-body__sections p { font-size: var(--fs-lead); max-width: 60ch; line-height: 1.5; font-weight: 300; }
.about-body__sections .voice {
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  margin: 24px 0 clamp(56px, 7vw, 96px);
}
.about-body__sections .voice h2 { color: var(--accent); font-weight: 300; font-style: italic; }
@media (max-width: 900px) {
  .about-body__inner { grid-template-columns: 1fr; }
  .about-body__index { position: static; }
}

/* ---------- 16. Contact ---------- */
.contact-body {
  padding: clamp(60px, 9vw, 140px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 96px);
}
.contact-blocks { display: flex; flex-direction: column; gap: 28px; }
.contact-block {
  border-top: 1px solid var(--border-strong);
  padding-top: 18px;
}
.contact-block .label {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); display: block; margin-bottom: 6px;
}
.contact-block a { font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -0.01em; line-height: 1.1; }
.contact-block a:hover { color: var(--accent); }

.contact-aside {
  margin-top: 40px;
  padding: 28px; border: 1px solid var(--border-strong); background: var(--bg-2);
}
.contact-aside h3 {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 500; margin-bottom: 14px;
}
.contact-aside ul li {
  padding: 10px 0; border-top: 1px solid var(--border);
  font-size: 14px; line-height: 1.5;
}
.contact-aside ul li:first-child { border-top: 0; }

.contact-form h2 {
  font-size: var(--fs-h2); line-height: var(--lh-snug); font-weight: 400; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.contact-form .form-note { color: var(--text-muted); margin-bottom: 32px; max-width: 50ch; }
.contact-form form { display: grid; gap: 22px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 14px 0;
  color: var(--text);
  outline: none;
  transition: border-color var(--t-fast);
  font-size: var(--fs-body);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field select option { background: var(--bg); color: var(--text); }

.consent {
  display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--text-muted);
  line-height: 1.5;
}
.consent input[type="checkbox"] { margin-top: 4px; accent-color: var(--accent); }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.form-status { font-size: 14px; color: var(--text-muted); min-height: 1.2em; }
.form-status[data-state="success"] { color: var(--accent); }
.form-status[data-state="error"] { color: #ff8787; }

@media (max-width: 900px) { .contact-body { grid-template-columns: 1fr; } }

/* ---------- 17. Legal pages ---------- */
.legal-body {
  padding: clamp(60px, 9vw, 140px) var(--gutter);
  max-width: 880px; margin: 0 auto;
}
.legal-body section { padding: 24px 0; border-top: 1px solid var(--border); }
.legal-body section:first-of-type { border-top: 0; padding-top: 0; }
.legal-body h2 {
  font-size: clamp(20px, 1.8vw, 26px); margin-bottom: 12px; font-weight: 500;
  letter-spacing: -0.01em;
}
.legal-body p { color: var(--text); white-space: pre-wrap; }
.legal-body .updated { font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 32px; }

/* ---------- 18. 404 ---------- */
.not-found {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 120px var(--gutter);
}
.not-found h1 {
  font-size: clamp(80px, 18vw, 240px); line-height: 1; letter-spacing: -0.04em; font-weight: 700;
}
.not-found p { color: var(--text-muted); margin: 18px 0 28px; max-width: 40ch; margin-inline: auto; }

/* ---------- 19. Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* ---------- 20. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(7,7,7,.96);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text); padding: 12px 16px; border: 1px solid var(--border-strong);
}
.lightbox__close:hover { background: var(--text); color: var(--bg); }

/* ---------- 21. prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__tile img.is-active { opacity: 0.42; }
  .hero__scroll::after { animation: none; }
}

/* ---------- 22. Focus visible ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 15.bis About page photo inserts ---------- */
.about-figure {
  position: relative;
  margin: clamp(40px, 6vw, 80px) 0;
  overflow: hidden;
  background: var(--bg-2);
}
.about-figure--wide {
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
}
.about-figure img {
  width: 100%; height: auto;
  display: block;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  filter: brightness(.92);
  transition: filter var(--t-med);
}
.about-figure:hover img { filter: brightness(1); }
.about-figure figcaption {
  position: absolute; left: 24px; bottom: 18px; right: 24px;
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 16px rgba(0,0,0,.7);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.about-figure figcaption strong { color: var(--accent); font-weight: 500; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.2vw, 18px);
  margin: clamp(40px, 6vw, 80px) 0;
}
.about-split figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
}
.about-split figure img {
  width: 100%; height: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: brightness(.88);
  transition: filter var(--t-med), transform var(--t-med);
}
.about-split figure:hover img { filter: brightness(1); transform: scale(1.02); }
.about-split figcaption {
  position: absolute; left: 18px; bottom: 14px; right: 18px;
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.about-split--portrait {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.about-split--portrait section {
  padding-right: clamp(16px, 3vw, 48px);
}
.about-split--portrait figure img {
  aspect-ratio: 3 / 4;
}
@media (max-width: 700px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split--portrait { grid-template-columns: 1fr; gap: 32px; }
  .about-figure img { aspect-ratio: 16 / 10; }
  .about-figure--wide { margin-left: 0; margin-right: 0; }
}

.marquee__cta {
  color: var(--text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), gap var(--t-fast);
}
.marquee__cta:hover { color: var(--accent); gap: 14px; }

/* ============================================================
   PRODUCTION STANDARD UPGRADE — Pilote 001 v2
   Micro-interactions, typo vivante, scroll progress,
   stone texture, form premium, burger nuclear fix.
   ============================================================ */

/* ---------- PS.1 Page enter animation ---------- */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
/* main page-enter removed — hero must be instant */

/* ---------- PS.2 Scroll progress bar (vert sauge) ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  z-index: 200;
  box-shadow: 0 0 10px rgba(196, 112, 63, 0.5);
  pointer-events: none;
  transition: width .08s linear;
}

/* ---------- PS.3 Word stagger reveal ---------- */
.stagger-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(4px);
  transition: opacity .8s ease, transform .8s ease, filter .8s ease;
}
.stagger-words.is-in .word { opacity: 1; transform: none; filter: blur(0); }
.stagger-words.is-in .word:nth-child(1) { transition-delay: 0s; }
.stagger-words.is-in .word:nth-child(2) { transition-delay: .1s; }
.stagger-words.is-in .word:nth-child(3) { transition-delay: .2s; }
.stagger-words.is-in .word:nth-child(4) { transition-delay: .3s; }
.stagger-words.is-in .word:nth-child(5) { transition-delay: .4s; }
.stagger-words.is-in .word:nth-child(6) { transition-delay: .5s; }
.stagger-words.is-in .word:nth-child(7) { transition-delay: .6s; }
.stagger-words.is-in .word:nth-child(8) { transition-delay: .7s; }
.stagger-words.is-in .word:nth-child(n+9) { transition-delay: .8s; }



/* ---------- PS.5 Service cards hover accent line ---------- */
.svc { position: relative; }
.svc::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right var(--t-med);
}
.svc:hover::after { right: 0; }

/* ---------- PS.6 Portfolio tiles stagger reveal ---------- */
.tile {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.tile.is-in { opacity: 1; transform: none; }



/* ---------- PS.8 About voice block — editorial drop cap ---------- */
.about-body__sections .voice p:first-of-type::first-letter {
  font-size: 4em;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.1em -0.05em 0;
  color: var(--accent);
}

/* ---------- PS.9 Form premium (floating labels + focus ring) ---------- */
[data-page="contact"] .field {
  position: relative;
}
[data-page="contact"] .field input,
[data-page="contact"] .field select,
[data-page="contact"] .field textarea {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 18px 14px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
[data-page="contact"] .field input:focus,
[data-page="contact"] .field select:focus,
[data-page="contact"] .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 112, 63, 0.15);
  background: rgba(196, 112, 63, 0.03);
}
[data-page="contact"] .field label {
  transition: color .25s ease;
}
[data-page="contact"] .field:focus-within label {
  color: var(--accent);
}

/* ---------- Home CTA — asymmetric split ---------- */
.home-cta {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 70vh;
  border-top: 1px solid var(--border);
}
.home-cta__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 120px) var(--gutter);
  gap: 12px;
}
.home-cta__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--text-muted);
}
.home-cta__title {
  font-family: var(--font-display);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-transform: uppercase;
  color: var(--text);
}
.home-cta__accent {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--accent);
}
.home-cta__link {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.4s ease;
  align-self: flex-start;
}
.home-cta__link:hover { color: #fff; }
.home-cta__link::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-cta__link:hover::before { width: 40px; }
.home-cta__visual {
  position: relative;
  overflow: hidden;
}
.home-cta__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 4s cubic-bezier(.2,.7,.2,1), filter var(--t-med);
}
.home-cta:hover .home-cta__visual img {
  transform: scale(1.04);
  filter: brightness(1);
}
.home-cta__globe {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  perspective: 200px;
}
.home-cta__globe svg {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: globe-spin 8s linear infinite;
}
@media (max-width: 900px) {
  .home-cta { grid-template-columns: 1fr; }
  .home-cta__visual { min-height: 50vh; }
  .intro-reel__slide:nth-child(1) .intro-reel__img { object-position: 0% center; }
  .intro-reel__slide:nth-child(4) .intro-reel__img { object-position: 70% center; }
}

/* ---------- PS.10 Manifesto watermark (removed) ---------- */
.manifesto {
  display: none;
}
.manifesto__watermark {
  display: none;
  z-index: 0;
}
.manifesto__quote { position: relative; z-index: 1; }
.manifesto__cite { position: relative; z-index: 1; }

/* ---------- PS.11 Burger nuclear fix ---------- */
@media (max-width: 900px) {
  header.site-header > nav.site-header__nav {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important; height: 100dvh !important;
    z-index: 101 !important;
    display: flex !important; flex-direction: column !important;
    align-items: flex-start !important; justify-content: flex-start !important;
    gap: 20px !important;
    padding: 120px var(--gutter) 48px !important;
    background: var(--bg) !important;
    visibility: hidden !important; opacity: 0 !important;
    transform: translateY(-12px) !important;
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s !important;
    overflow-y: auto !important;
  }
  header.site-header > nav.site-header__nav.is-open {
    visibility: visible !important; opacity: 1 !important;
    transform: none !important;
    transition: opacity .28s ease, transform .28s ease, visibility 0s linear 0s !important;
  }
  header.site-header > nav.site-header__nav > a {
    font-size: 36px !important; font-weight: 500 !important;
    text-transform: none !important; padding: 8px 0 !important;
  }
  header.site-header > nav.site-header__nav > a::after { display: none !important; }
  header.site-header > .site-header__brand { z-index: 200 !important; position: relative !important; }
  header.site-header > .burger { z-index: 200 !important; display: inline-flex !important; position: relative !important; }
}

/* ---------- PS.12 Gallery hover scale refinement ---------- */
.gallery figure {
  position: relative;
}
.gallery figure::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent);
  transition: right var(--t-med);
}
.gallery figure:hover::after { right: 0; }

/* ---------- PS.13 Selected works (home) hover accent ---------- */


/* ---------- PS.14 Reduced motion override ---------- */
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  .scroll-progress { display: none; }
  .stagger-words .word { opacity: 1; transform: none; filter: none; }
  .tile { opacity: 1; transform: none; }
}

/* ---------- PS.15 Focus visible ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}


/* ---------- PS.16 Hero H1: no stagger delay (instant reveal) ---------- */
.hero h1.stagger-words .word {
  transition-delay: 0s !important;
}


/* ---------- PS.17 Hero content instant — zero delay, zero animation ---------- */
.hero h1.stagger-words .word,
.hero .hero__sub,
.hero .hero__actions,
.hero .hero__meta,
.hero .hero__inner {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  animation: none !important;
}


/* ---------- PS.18 (removed — mosaic replaced by full-bleed hero) ---------- */


/* ============================================================
   PS.19 — Reference-inspired upgrades
   arkitektkontoretvest: masonry asymmetric grid
   ibrahemghareib: progressive disclosure on hover
   bisous-production: slow organic Ken Burns hover
   ============================================================ */

/* ---------- 19.1 Portfolio masonry — asymmetric tile sizes ---------- */
.portfolio__grid {
  grid-template-columns: repeat(12, 1fr) !important;
  grid-auto-rows: auto !important;
}
/* Row 1: large + medium */
.tile:nth-child(1) { grid-column: span 7; aspect-ratio: 4 / 3; }
.tile:nth-child(2) { grid-column: span 5; aspect-ratio: 3 / 4; }
/* Row 2: 3 equal */
.tile:nth-child(3) { grid-column: span 4; aspect-ratio: 4 / 5; }
.tile:nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 5; }
.tile:nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 5; }
/* Row 3: medium + large */
.tile:nth-child(6) { grid-column: span 5; aspect-ratio: 3 / 4; }
.tile:nth-child(7) { grid-column: span 7; aspect-ratio: 4 / 3; }
/* Row 4: 2 equal */
.tile:nth-child(8) { grid-column: span 6; aspect-ratio: 16 / 10; }
.tile:nth-child(9) { grid-column: span 6; aspect-ratio: 16 / 10; }

@media (max-width: 900px) {
  .tile:nth-child(n) { grid-column: span 12 !important; aspect-ratio: 4 / 3 !important; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .tile:nth-child(n) { grid-column: span 6 !important; }
}

/* ---------- 19.2 Progressive disclosure — title/category hidden until hover ---------- */
.tile__cap {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.tile:hover .tile__cap {
  opacity: 1;
  transform: none;
}
.tile__num {
  opacity: 0;
  transition: opacity var(--t-med);
}
.tile:hover .tile__num {
  opacity: 1;
}
/* Subtle dark gradient at bottom — only on hover */
.tile::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(7,7,7,.7) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.tile:hover::before { opacity: 1; }
.tile__cap, .tile__num { z-index: 2; }

/* ---------- 19.3 Slow organic Ken Burns hover on images ---------- */
.tile img {
  transition: transform 4s cubic-bezier(.2, .7, .2, 1), filter var(--t-med) !important;
}
.tile:hover img {
  transform: scale(1.02) !important;
}

/* Same for gallery images in project pages */
.gallery figure img {
  transition: transform 3s cubic-bezier(.2, .7, .2, 1) !important;
}
.gallery figure:hover img {
  transform: scale(1.02) !important;
}

/* And for about page photo inserts */
.about-figure img,
.about-split figure img {
  transition: transform 3s cubic-bezier(.2, .7, .2, 1), filter var(--t-med) !important;
}
.about-figure:hover img { transform: scale(1.02) !important; }
.about-split figure:hover img { transform: scale(1.02) !important; }

/* Selected works on home — same treatment */
.sel img {
  transition: transform 3s cubic-bezier(.2, .7, .2, 1), filter var(--t-med) !important;
}
.sel:hover img {
  transform: scale(1.02) !important;
}

@media (prefers-reduced-motion: reduce) {
  .tile img, .gallery figure img, .about-figure img,
  .about-split figure img, .sel img {
    transition: none !important;
    transform: none !important;
  }
  .tile__cap, .tile__num { opacity: 1; transform: none; }
  .tile::before { opacity: 1; }
}

/* ============================================================
   PS.20 — Elegant micro-interactions for a photographer
   Subtle, slow, intentional. Like watching stone being polished.
   ============================================================ */

/* ---------- 20.1 Header: subtle on scroll ---------- */
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.7);
}

/* ---------- 20.2 Nav links: underline grows slowly from center ---------- */
.site-header__nav a::after {
  transform-origin: center !important;
  transition: transform 0.8s cubic-bezier(.2, .7, .2, 1) !important;
}

/* ---------- 20.3 Service number subtle accent shift ---------- */
.svc__num {
  transition: color var(--t-med), transform var(--t-med);
}
.svc:hover .svc__num {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- 20.4 Button hover: border draws (not instant swap) ---------- */
.btn {
  transition: all 0.6s cubic-bezier(.2, .7, .2, 1) !important;
}
.btn .arrow {
  transition: transform 0.6s cubic-bezier(.2, .7, .2, 1) !important;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- 20.5 Footer links: slow color shift, no jump ---------- */
.site-footer__col a {
  transition: color 0.8s ease;
}

/* ---------- 20.6 Manifesto quote: subtle glow on hover ---------- */
.manifesto__quote {
  transition: text-shadow 1.2s ease;
}
.manifesto:hover .manifesto__quote {
  text-shadow: 0 0 60px rgba(196, 112, 63, 0.08);
}

/* ---------- 20.7 Gallery accent line: very thin, slow ---------- */
.gallery figure::after {
  height: 1px !important;
  transition: right 1.2s cubic-bezier(.2, .7, .2, 1) !important;
}

/* ---------- 20.8 Portfolio tile overlay: softer gradient ---------- */
.tile::before {
  background: linear-gradient(180deg, transparent 0%, rgba(7,7,7,.5) 100%) !important;
  transition: opacity 0.8s ease !important;
}

/* ---------- 20.9 Selected works: caption fades gently ---------- */
.sel__cap {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ---------- 20.10 About page photos: slow brightness shift ---------- */
.about-figure img,
.about-split figure img {
  filter: brightness(.88) !important;
  transition: filter 1.2s ease, transform 3s cubic-bezier(.2,.7,.2,1) !important;
}
.about-figure:hover img,
.about-split figure:hover img {
  filter: brightness(.96) !important;
}

/* ---------- 20.11 Page-head H1: gentle letter-spacing shift on load ---------- */
.page-head h1 {
  transition: letter-spacing 2s ease;
}

/* ---------- 20.12 Eyebrow line: draws slowly ---------- */
.eyebrow::before {
  transition: width 1s ease !important;
  width: 0;
}
.reveal.is-in .eyebrow::before,
.eyebrow:hover::before {
  width: 28px;
}

/* ---------- 20.13 CTA band accent line on hover ---------- */
.cta-band {
  border-top: 1px solid var(--border);
  transition: border-color 1.2s ease;
}
.cta-band:hover {
  border-top-color: var(--accent);
}

/* ---------- 4.bis Marquee carousel (CSS infinite scroll) ---------- */
.marquee {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee__head {
  font-family: var(--font-mono);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 24px; flex-wrap: wrap;
  padding: 28px var(--gutter) 24px;
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.marquee__head strong { color: var(--text); font-weight: 500; }
.marquee__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.marquee__viewport:hover {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.marquee__viewport:hover:active {
  cursor: grabbing;
}
.marquee__viewport::-webkit-scrollbar { height: 0; display: none; }
.marquee__viewport { scrollbar-width: none; }
.marquee__track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 12px 0 28px;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation: none;
}

.marquee__item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(220px, 28vw, 380px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.86);
  transition: filter var(--t-med), transform 3s cubic-bezier(.2,.7,.2,1);
}
.marquee__item:hover img { filter: brightness(1); transform: scale(1.02); }
.marquee__cap {
  position: absolute; left: 16px; bottom: 14px; right: 16px;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  color: var(--text);
  font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase;
}
.marquee__cap strong {
  font-size: 14px; letter-spacing: -0.005em; text-transform: none;
  font-weight: 500;
  text-shadow: 0 1px 16px rgba(0,0,0,.6);
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 700px) {
  .marquee__item { width: 64vw; }
  .marquee__track { animation-duration: 45s; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__viewport { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* (Mosaic crossfade removed — replaced by hero-cycle in section 4) */


/* ============================================================
   PS.21 — "Voir le projet" hover overlay on marquee + selected works
   ============================================================ */

/* Marquee items */


/* Selected works on home */


/* Hide caption text behind the white bar on hover */
.marquee__item:hover .marquee__cap { opacity: 0; transition: opacity 0.3s ease; }
.sel:hover .sel__cap { opacity: 0; transition: opacity 0.3s ease; }

/* Services card: entire card clickable via stretched CTA link */
.svc { position: relative; cursor: pointer; }
.svc__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Hover pill on selected works — real element, not pseudo */
.sel__pill {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 24px;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 3;
  pointer-events: none;
}
.sel:hover .sel__pill { opacity: 1; }

/* Hover pill on marquee items — real element */
.marquee__pill {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 24px;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 3;
  pointer-events: none;
}
.marquee__item:hover .marquee__pill { opacity: 1; }

/* Mobile: always show tile titles (no hover on touch) */
@media (pointer: coarse), (max-width: 900px) {
  .tile__cap {
    opacity: 1 !important;
    transform: none !important;
  }
  .tile__num {
    opacity: 1 !important;
  }
  .tile::before {
    opacity: 1 !important;
  }
}

/* Mobile: hide category text on tiles, keep only title */
@media (max-width: 900px) {
  .tile__cap span { display: none; }
}



/* Jazmin tile on portfolio grid: shift right to show face */
.tile img[src*="/jazmin/"] {
  object-position: 30% center !important;
}


/* ============================================================
   REBRAND — Editorial New for headings, Switzer for body
   ============================================================ */
h1, h2, h3, h4,
.hero-text__main,
.hero-text__motto,
.manifesto__quote,
.page-head h1,
.project-hero h1 {
  font-family: var(--font-display) !important;
}

/* Italic treatment on hero motto and manifesto */
.hero-text__motto {
  font-family: var(--font-display) !important;
  font-style: italic !important;
}
.manifesto__quote {
  font-family: var(--font-display) !important;
  font-style: italic !important;
}

/* ============================================================
   REBRAND — Wordmark + Grain overlay
   ============================================================ */

/* Text wordmark instead of logo image */
.site-header__brand {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
.site-header__wordmark {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

/* Grain overlay on hero mosaic */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
  mix-blend-mode: overlay;
  transition: opacity 1.5s ease;
}
.hero-grain svg {
  width: 100%;
  height: 100%;
}

/* Scroll progress bar in accent */
.scroll-progress {
  background: var(--accent) !important;
  box-shadow: 0 0 10px rgba(196, 112, 63, 0.5) !important;
}


/* ============================================================
   REBRAND — Light mode
   ============================================================ */

/* Light mode palette */
[data-theme="light"] {
  --bg: #F5F0EB;
  --bg-2: #F5F0EB;
  --surface: #EDE7E0;
  --text: #1A1715;
  --text-muted: #6B6560;
  --text-dim: #9A948E;
  --accent: #7AB87A;
  --border: #D5CFC8;
  --border-strong: #C5BFB8;
}

/* Light mode specific overrides */
[data-theme="light"] .site-header {
  background: #F5F0EB;
}
[data-theme="light"] .hero-grain {
  opacity: 0.15;
  mix-blend-mode: multiply;
}
[data-theme="light"] .manifesto__watermark {
  opacity: 0.04;
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.6s ease, border-color 0.6s ease;
  padding: 0;
  flex-shrink: 0;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Hide moon in dark, sun in light */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle {
  border-color: rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .theme-toggle svg {
  stroke: var(--text);
}
[data-theme="light"] .lang a {
  color: var(--text-muted);
}
[data-theme="light"] .lang {
  border-left-color: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .site-header__nav a {
  color: var(--text);
}

/* Force white text on elements overlaying photos in light mode */
[data-theme="light"] .tile__cap,
[data-theme="light"] .tile__cap strong,
[data-theme="light"] .tile__cap span,
[data-theme="light"] .tile__num,
[data-theme="light"] .sel__cap,
[data-theme="light"] .sel__cap strong,
[data-theme="light"] .sel__cap span,
[data-theme="light"] .sel__pill,
[data-theme="light"] .marquee__cap,
[data-theme="light"] .marquee__cap strong,
[data-theme="light"] .marquee__pill,
[data-theme="light"] .project-hero h1,
[data-theme="light"] .project-hero__sub,
[data-theme="light"] .project-hero__index,
[data-theme="light"] .project-hero__index strong,
[data-theme="light"] .about-figure figcaption,
[data-theme="light"] .about-figure figcaption strong,
[data-theme="light"] .about-split figcaption {
  color: #E5E5E5 !important;
}

/* CTA visible border in light mode */
[data-theme="light"] .hero-cta {
  border-color: var(--text-muted);
}

/* ============================================================
   MICRO-INTERACTIONS v2 — 8 upgrades across all pages
   ============================================================ */

/* 1. Services: number accent + title slide */
.svc__num { transition: color var(--t-med); }
.svc:hover .svc__num { color: var(--accent); }
.svc__title { transition: transform var(--t-med), color var(--t-med); }
.svc:hover .svc__title { transform: translateX(6px); }

/* 2. Selected works: caption parallax rise */
.sel__cap {
  transition: transform var(--t-med), opacity var(--t-med);
  transform: translateY(8px);
  opacity: 0.7;
}
.sel:hover .sel__cap {
  transform: translateY(0);
  opacity: 1;
}

/* 3. Portfolio tiles: accent border frame on hover */
.tile::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border: 1px solid var(--accent);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.tile:hover::after { opacity: 0.45; }

/* 4. Gallery: brightness lift + cursor */
.gallery figure img {
  filter: brightness(.92) !important;
  cursor: zoom-in;
  transition: transform 3s cubic-bezier(.2,.7,.2,1), filter 0.8s ease !important;
}
.gallery figure:hover img {
  transform: scale(1.03) !important;
  filter: brightness(1) !important;
}

/* 5. About sections: stagger reveal */
.about-body__sections > section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.about-body__sections > section.is-in {
  opacity: 1;
  transform: none;
}

/* 6. Contact blocks: accent line draw */
.contact-block {
  position: relative;
}
.contact-block::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-med);
}
.contact-block:hover::before { right: 0; }

/* 7. Footer links: underline draw */
.site-footer__col a {
  position: relative;
}
.site-footer__col a::after {
  content: "";
  position: absolute; bottom: 4px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--t-med);
}
.site-footer__col a:hover::after { right: 0; }

/* 8. Project hero: cinematic Ken Burns settle */
.project-hero__img img {
  animation: kenburns 12s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .about-body__sections > section { opacity: 1; transform: none; }
  .project-hero__img img { animation: none; }
}


/* ============================================================
   CONTACT PAGE — Complete redesign, minimal and elegant
   ============================================================ */

/* Override the old 2-column layout */
.contact-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  padding: clamp(40px, 6vh, 80px) var(--gutter) !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

/* Hide the left column (blocks + aside) — integrate info into the form */
.contact-blocks-wrap { display: none !important; }

/* Form section */
.contact-form h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(14px, 1vw, 16px) !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.02em !important;
  margin-bottom: clamp(32px, 4vh, 48px) !important;
}
.contact-form .form-note { display: none !important; }

/* Form grid */
.contact-form form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.contact-form .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}
@media (max-width: 700px) {
  .contact-form .row { grid-template-columns: 1fr !important; }
}

/* Fields — glass card */
.contact-form .field {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px 20px 14px !important;
  transition: border-color 0.4s ease, background 0.4s ease !important;
}
.contact-form .field:focus-within {
  border-color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
[data-theme="light"] .contact-form .field {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}
[data-theme="light"] .contact-form .field:focus-within {
  border-color: var(--accent) !important;
  background: rgba(0, 0, 0, 0.05) !important;
}
.contact-form .field label {
  font-family: var(--font-mono) !important;
  font-size: 9px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  margin-bottom: 8px !important;
  padding-left: 0 !important;
}
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: var(--text-dim) !important;
  font-style: normal !important;
}
.contact-form .field select {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23666' stroke-width='1.5'><polyline points='4 6 8 10 12 6'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 0 center !important;
  background-size: 14px !important;
  cursor: pointer !important;
}
.contact-form .field textarea {
  resize: none !important;
  min-height: 100px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Consent */
.contact-form .consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 11px !important;
  color: var(--text-dim) !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
.contact-form .consent input[type="checkbox"] {
  accent-color: var(--accent) !important;
  margin-top: 2px !important;
}

/* Submit — pill */
.contact-form button[type="submit"] {
  align-self: flex-start !important;
  background: var(--accent) !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 14px 36px !important;
  font-family: var(--font-mono) !important;
  font-size: 10px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  color: #0A0A0A !important;
  cursor: pointer !important;
  transition: background 0.4s ease, transform 0.2s ease !important;
  margin-top: 16px !important;
}
.contact-form button[type="submit"]:hover {
  background: var(--text) !important;
  transform: translateY(-1px) !important;
}

.contact-form .form-status {
  font-size: 13px !important;
  color: var(--text-muted) !important;
  margin-top: 16px !important;
}

/* Compact info below the form */
.contact-info-footer {
  margin-top: clamp(56px, 8vh, 96px);
  padding-top: clamp(32px, 4vh, 48px);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}
.contact-info-footer a { color: var(--text); transition: color 0.6s ease; }
.contact-info-footer a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .contact-form .row { grid-template-columns: 1fr !important; }
}
