/* =========================================================
   Hakan Pehlivan — Art & Paper
   Design system inspired by Squarespace: generous whitespace,
   editorial serif display + clean sans UI, modular sections.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #ffffff;
  --bg-warm:       #f5f2ec;   /* warm paper off-white */
  --bg-ink:        #16140f;   /* near-black warm */
  --text:          #1a1813;
  --text-soft:     #57514a;
  --text-mute:     #8a837a;
  --line:          #e7e1d6;
  --line-strong:   #d8d0c2;
  --accent:        #9b4a35;   /* oxblood / terracotta, echoes the paintings */
  --accent-deep:   #7d3a29;
  --on-dark:       #f3efe8;
  --on-dark-soft:  #b8b1a6;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: clamp(1.15rem, 1.7vw, 1.42rem); line-height: 1.55; color: var(--text-soft); font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 11vw, 9.5rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5.5rem); }
.bg-warm { background: var(--bg-warm); }
.bg-ink { background: var(--bg-ink); color: var(--on-dark); }
.bg-ink .kicker { color: #d99a86; }
.bg-ink .lead { color: var(--on-dark-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95em 1.8em;
  border-radius: 100px;
  border: 1px solid var(--bg-ink);
  background: var(--bg-ink); color: var(--on-dark);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--bg-ink); color: var(--on-dark); border-color: var(--bg-ink); }
.bg-ink .btn { background: var(--on-dark); color: var(--bg-ink); border-color: var(--on-dark); }
.bg-ink .btn:hover { background: var(--accent); color: var(--on-dark); border-color: var(--accent); }
.bg-ink .btn--ghost, .hero .btn--ghost { background: transparent; color: var(--on-dark); border-color: rgba(243,239,232,.45); }
.bg-ink .btn--ghost:hover, .hero .btn--ghost:hover { background: var(--on-dark); color: var(--bg-ink); border-color: var(--on-dark); }

.textlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.03em;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.textlink:hover { gap: 0.85em; color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { font-family: var(--font-display); font-size: 1.32rem; letter-spacing: -0.01em; line-height: 1; display: flex; flex-direction: column; }
.brand small { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 4px; opacity: .7; font-weight: 600; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav a { font-size: 0.83rem; font-weight: 500; letter-spacing: 0.02em; position: relative; padding-block: 4px; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor;
  transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { padding: 0.7em 1.4em; }
.nav .btn::after { display: none; }

/* header colour states */
.site-header.is-light { color: var(--on-dark); }
.site-header.is-light .brand small { opacity: .85; }
.site-header.is-solid {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid .nav .btn { background: var(--bg-ink); color: var(--on-dark); border-color: var(--bg-ink); }
.site-header.is-solid .nav .btn:hover { background: var(--accent); border-color: var(--accent); }
.site-header.is-light .nav .btn { background: transparent; color: var(--on-dark); border-color: rgba(243,239,232,.5); }
.site-header.is-light .nav .btn:hover { background: var(--on-dark); color: var(--bg-ink); border-color: var(--on-dark); }

/* mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; z-index: 110; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }

/* Layered "fade to black" hero slideshow */
.hero { background-color: #181a17; isolation: isolate; } /* dark base (no white flash); isolate so the bg stays BEHIND the negative-z image layers */
.hero__lqip {
  position: absolute; inset: 0; z-index: -4;
  background-size: cover; background-position: center;
  filter: blur(30px); transform: scale(1.18);
}
.hero__layers { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__layers .layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.04);
  transition: transform 7s linear; /* opacity is instant; the black veil provides the fade */
}
.hero__layers .layer.is-active { opacity: 1; transform: scale(1.12); }
.hero__veil { position: absolute; inset: 0; z-index: -2; background: #0a0907; opacity: 0; transition: opacity .85s ease; pointer-events: none; }
.hero__veil.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero__layers .layer { transition: opacity .5s ease; transform: none; }
  .hero__layers .layer.is-active { transform: none; }
}

.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,10,8,.42) 0%, rgba(12,10,8,.05) 32%, rgba(12,10,8,.12) 60%, rgba(12,10,8,.72) 100%);
}
.hero__inner { padding-bottom: clamp(3rem, 8vw, 6rem); padding-top: calc(var(--header-h) + 2rem); max-width: 1280px; }
.hero h1 { max-width: 14ch; margin: 0.4em 0 0.5em; }
.hero .lead { color: rgba(243,239,232,.92); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(3rem,8vw,6rem); writing-mode: vertical-rl; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase; opacity: .8; display: flex; align-items: center; gap: 1rem; }
.hero__scroll::after { content: ""; width: 1px; height: 54px; background: currentColor; animation: scrollPulse 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollPulse { 0%,100% { transform: scaleY(.4); opacity:.4 } 50% { transform: scaleY(1); opacity:1 } }
@media (max-width: 700px){ .hero__scroll{ display:none; } }

/* ---------- Generic section heading ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sec-head__text { max-width: 30ch; }
.sec-head h2 { margin-top: 0.5rem; }
.sec-head p { margin-top: 1rem; color: var(--text-soft); max-width: 42ch; }

/* ---------- Statement (big centered text) ---------- */
.statement { text-align: center; max-width: 24ch; margin-inline: auto; }
.statement p { font-family: var(--font-display); font-size: clamp(1.8rem, 4.2vw, 3.2rem); line-height: 1.18; letter-spacing: -0.01em; }
.statement .kicker { display: inline-block; margin-bottom: 1.6rem; }
.statement em { font-style: italic; color: var(--accent); }

/* ---------- Series cards ---------- */
.series { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.series__card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--bg-warm); }
.series__card .frame { aspect-ratio: 3/4; overflow: hidden; }
.series__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.series__card:hover img { transform: scale(1.06); }
.series__card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.6rem; color: var(--on-dark);
  background: linear-gradient(180deg, transparent, rgba(12,10,8,.78)); }
.series__card .meta h3 { color: #fff; }
.series__card .meta .n { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: .8; }
.series__card .meta .go { margin-top: .4rem; font-size: .8rem; font-weight: 600; display: inline-flex; gap: .4em; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.series__card:hover .meta .go { opacity: 1; transform: translateY(0); }

/* ---------- Editorial selected works ---------- */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.2vw, 2.2rem); align-items: center; }
.ed-figure { overflow: hidden; border-radius: var(--radius); }
.ed-figure img { width: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ed-figure:hover img { transform: scale(1.04); }
.ed-cap { margin-top: 1rem; }
.ed-cap .t { font-family: var(--font-display); font-size: 1.25rem; }
.ed-cap .d { color: var(--text-mute); font-size: 0.86rem; margin-top: 0.2rem; }
.col-7 { grid-column: span 7; } .col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-8 { grid-column: span 8; }
.push { margin-top: clamp(2rem, 6vw, 4.5rem); }

/* ---------- Split (about teaser) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--rev { grid-template-columns: 0.95fr 1.05fr; }
.split__media { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin: 0.6rem 0 1.2rem; }
.split__body p + p { margin-top: 1.1rem; }
.split__body .btn, .split__body .textlink { margin-top: 1.8rem; }
.split--rev .split__media { order: 2; }

/* ---------- Stats / facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.facts .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.facts .lbl { margin-top: .5rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }

/* ---------- Quote ---------- */
.quote { max-width: 24ch; margin-inline: auto; text-align: center; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.22; font-style: italic; }
.quote cite { display: block; margin-top: 1.6rem; font-family: var(--font-sans); font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); }

/* ---------- Editorial statement / manifesto (asymmetric split) ---------- */
.estmt {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: start;
  max-width: 68rem;
}
.estmt .label { border-top: 2px solid var(--accent); padding-top: 1rem; }
.bg-ink .estmt .label { border-color: #d99a86; }
.estmt .label .kicker { display: block; }
.estmt .label cite {
  display: block; margin-top: 1rem;
  font-family: var(--font-sans); font-style: normal;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute);
}
.bg-ink .estmt .label cite { color: var(--on-dark-soft); }
.estmt .body {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  font-size: clamp(1.7rem, 3.35vw, 2.85rem);
  line-height: 1.26;
  letter-spacing: -0.014em;
  max-width: 24ch;
  text-wrap: balance;
  hanging-punctuation: first last;
  color: var(--text);
}
.bg-ink .estmt .body { color: var(--on-dark); }
.estmt .body em { font-style: italic; color: var(--accent); }
.bg-ink .estmt .body em { color: #e6ad97; }
@media (max-width: 720px) {
  .estmt { grid-template-columns: 1fr; gap: 1.1rem; }
  .estmt .body { font-size: clamp(1.55rem, 7vw, 2.1rem); max-width: 30ch; }
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin: 0 auto 1.4rem; }
.cta-band .lead { max-width: 50ch; margin: 0 auto 2.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-ink); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(243,239,232,.14); }
.footer-brand .brand { font-size: 1.7rem; }
.footer-brand p { color: var(--on-dark-soft); max-width: 32ch; margin-top: 1.1rem; font-size: .95rem; }
.fcol h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #d99a86; margin-bottom: 1.1rem; font-weight: 600; }
.fcol a, .fcol li { color: var(--on-dark-soft); font-size: .92rem; display: block; padding: .28rem 0; transition: color .3s var(--ease); }
.fcol a:hover { color: var(--on-dark); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: .8rem; color: var(--on-dark-soft); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(243,239,232,.22); border-radius: 50%; display: grid; place-items: center; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero .kicker { display: inline-block; margin-bottom: 1.2rem; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { color: var(--text-soft); max-width: 52ch; margin-top: 1.4rem; font-size: 1.08rem; }

/* ---------- Work gallery + filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filters button {
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  padding: .6em 1.25em; border-radius: 100px; border: 1px solid var(--line-strong);
  color: var(--text-soft); transition: all .3s var(--ease);
}
.filters button:hover { border-color: var(--bg-ink); color: var(--text); }
.filters button.active { background: var(--bg-ink); color: var(--on-dark); border-color: var(--bg-ink); }

.gallery { columns: 3; column-gap: clamp(1rem, 2vw, 1.6rem); }
.gallery .item { break-inside: avoid; margin-bottom: clamp(1rem, 2vw, 1.6rem); position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: var(--bg-warm); }
.gallery .item img { width: 100%; transition: transform 1s var(--ease), filter .5s var(--ease); }
.gallery .item:hover img { transform: scale(1.045); }
.gallery .item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.2rem .95rem;
  color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  background: linear-gradient(180deg, transparent, rgba(12,10,8,.8));
}
.gallery .item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery .item figcaption .t { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.1; }
.gallery .item figcaption .d { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; opacity: .82; margin-top: .25rem; }
.gallery .item.is-hidden { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,12,9,.96); display: none; align-items: center; justify-content: center; padding: clamp(1rem, 5vw, 4rem); opacity: 0; transition: opacity .35s var(--ease); }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__cap { position: absolute; bottom: clamp(1.2rem,4vw,2.4rem); left: 0; right: 0; text-align: center; color: var(--on-dark); }
.lightbox__cap .t { font-family: var(--font-display); font-size: 1.2rem; }
.lightbox__cap .d { font-size: .8rem; color: var(--on-dark-soft); margin-top: .2rem; letter-spacing: .06em; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(243,239,232,.25); color: var(--on-dark); display: grid; place-items: center; transition: background .3s var(--ease), border-color .3s; }
.lb-btn:hover { background: rgba(243,239,232,.12); border-color: rgba(243,239,232,.5); }
.lb-prev { left: clamp(1rem, 3vw, 2.5rem); } .lb-next { right: clamp(1rem, 3vw, 2.5rem); }
.lb-close { position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243,239,232,.25); color: var(--on-dark); display: grid; place-items: center; transition: background .3s, transform .3s; }
.lb-close:hover { background: rgba(243,239,232,.12); transform: rotate(90deg); }
.lb-btn svg, .lb-close svg { width: 20px; height: 20px; }

/* ---------- About page specifics ---------- */
.bio-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.bio-portrait { position: sticky; top: calc(var(--header-h) + 2rem); }
.bio-portrait img { border-radius: var(--radius); width: 100%; }
.bio-portrait .cap { margin-top: .9rem; font-size: .8rem; color: var(--text-mute); }
.prose p { margin-bottom: 1.15rem; color: var(--text-soft); }
.prose p:first-child { font-size: 1.18rem; color: var(--text); }
.prose strong { color: var(--text); font-weight: 600; }

.timeline { border-top: 1px solid var(--line); margin-top: 1rem; }
.timeline .row { display: grid; grid-template-columns: 110px 1fr; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.timeline .yr { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); }
.timeline .ev strong { display: block; }
.timeline .ev span { color: var(--text-mute); font-size: .9rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-block + .contact-block { margin-top: 2.2rem; }
.contact-block .k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.contact-block a, .contact-block p { font-size: 1.15rem; }
.contact-block a { border-bottom: 1px solid var(--line-strong); transition: border-color .3s; }
.contact-block a:hover { border-color: var(--accent); color: var(--accent); }
.form .field { margin-bottom: 1.1rem; }
.form label { display: block; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: .5rem; }
.form input, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: .85em 1em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); color: var(--text); transition: border-color .3s; } /* 16px prevents iOS zoom-on-focus */
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 130px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__media img { animation: none; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .editorial .col-7,.editorial .col-5,.editorial .col-6,.editorial .col-4,.editorial .col-8 { grid-column: span 12; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 2rem; }
  .split--rev .split__media { order: 0; }
  .bio-grid { grid-template-columns: 1fr; }
  .bio-portrait { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { columns: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.6rem;
    background: var(--bg-ink); color: var(--on-dark);
    transform: translateX(100%); transition: transform .5s var(--ease); padding: 2rem;
  }
  body.nav-open .nav { transform: none; }
  .nav a { font-size: 1.5rem; font-family: var(--font-display); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 1rem; font-size: 1rem; }
  .site-header.is-light .nav, .site-header.is-solid .nav { color: var(--on-dark); }
  .series { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .timeline .row { grid-template-columns: 70px 1fr; gap: 1rem; }
}
