/* ============================================================
   PAULINA ROMANOWSKA — INTERIORS · Modern homepage
   Brand: warm neutrals, Cormorant Garamond + Manrope
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&display=swap');

:root {
  --container: 1320px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home-modern {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.hm-container { width: min(var(--container), calc(100% - 4rem)); margin: 0 auto; }
.hm-container.narrow { width: min(880px, calc(100% - 4rem)); }

/* ---------- Section labels & headings ---------- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.section-label.light { color: rgba(255, 255, 255, 0.75); }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
h2 em { font-style: italic; color: var(--ink-2); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.45s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.pill i { font-style: normal; transition: transform 0.45s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill:hover i { transform: translateX(5px); }
.pill-dark { background: var(--accent); color: #f6f1e9; }
.pill-dark:hover { background: #3d342c; }
.pill-ghost { border-color: rgba(38, 33, 29, 0.35); color: var(--ink); background: rgba(246, 241, 233, 0.5); backdrop-filter: blur(6px); }
.pill-ghost:hover { border-color: var(--ink); }
.pill-ghost-dark { border-color: rgba(38, 33, 29, 0.35); color: var(--ink); }
.pill-ghost-dark:hover { background: var(--accent); color: #f6f1e9; border-color: var(--accent); }
.pill-light { background: #f6f1e9; color: var(--ink); }
.pill-light:hover { background: #fff; }
.pill-ghost-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.pill-ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; }

/* ---------- Intro curtain ---------- */
.intro-curtain {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.intro-curtain.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-mark { text-align: center; }
.intro-logo {
  display: block;
  height: clamp(110px, 16vh, 160px);
  width: auto;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  animation: introUp 1.2s var(--ease) 0.1s forwards;
}
.intro-name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  opacity: 0;
  transform: translateY(18px);
  animation: introUp 1.1s var(--ease) 0.55s forwards;
}
.intro-sub {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--muted);
  opacity: 0;
  animation: introUp 1.1s var(--ease) 0.85s forwards;
}
@keyframes introUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- Page fade transition ---------- */
.page-fader {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  opacity: 0; pointer-events: none;
  transition: opacity 0.48s var(--ease);
}
.page-fader.active { opacity: 1; pointer-events: all; }

/* ---------- Scroll progress line ---------- */
.scroll-line {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--accent);
  transform-origin: 0 0;
  transform: scaleX(0);
  z-index: 150;
}

/* ---------- Header ---------- */
.hm-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s, box-shadow 0.5s, backdrop-filter 0.5s;
}
.hm-header.solid {
  background: rgba(246, 241, 233, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.hm-nav-row {
  width: min(var(--container), calc(100% - 4rem));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 0;
}
.hm-logo { display: flex; align-items: center; gap: 0.9rem; }
.hm-logo-mark { height: 58px; width: auto; flex-shrink: 0; }
.hm-logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.hm-logo-name {
  font-family: var(--serif);
  font-size: 1.22rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hm-logo-sub { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.46em; color: var(--muted); margin-top: 0.15rem; }
.hm-nav { display: flex; gap: 2.4rem; }
.hm-nav a {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em;
  color: var(--ink-2); position: relative; padding: 0.3rem 0;
}
.hm-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 0.45s var(--ease);
}
.hm-nav a:hover::after, .hm-nav a.active::after { transform: scaleX(1); transform-origin: 0 50%; }
.hm-nav a.active { color: var(--ink); }
.hm-cta-pill {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em;
  border: 1px solid rgba(38, 33, 29, 0.4); border-radius: 999px;
  padding: 0.75rem 1.5rem;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.hm-cta-pill:hover { background: var(--accent); color: #f6f1e9; border-color: var(--accent); }
.hm-burger { display: none; }
.hm-mobile-menu { display: none; }
.hm-lang { display: flex; align-items: center; gap: 0.45rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; }
.hm-lang a { color: var(--muted); transition: color 0.3s; }
.hm-lang a.active { color: var(--ink); }
.hm-lang a:hover { color: var(--ink); }
.hm-lang span { color: var(--muted); opacity: 0.45; }

/* ---------- HERO (pinned) ---------- */
.hero-pin { height: 150vh; position: relative; }
.hero-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.04 + var(--p, 0) * 0.14));
  transition: transform 0.1s linear;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 241, 233, 0.46) 0%, rgba(246, 241, 233, 0.08) 22%, transparent 44%),
    linear-gradient(90deg, rgba(28, 22, 16, 0.64) 0%, rgba(28, 22, 16, 0.44) 36%, rgba(28, 22, 16, 0.12) 68%, transparent 100%),
    linear-gradient(180deg, transparent 58%, rgba(28, 22, 16, calc(0.16 + var(--p, 0) * 0.35)) 100%);
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  width: min(var(--container), calc(100% - 4rem));
  margin: 0 auto; left: 0; right: 0;
  transform: translateY(calc(var(--p, 0) * -10vh));
  opacity: calc(1 - var(--p, 0) * 1.25);
}
.hero-kicker span {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.38em;
  color: rgba(246, 241, 233, 0.86);
  text-shadow: 0 1px 18px rgba(20, 15, 11, 0.45);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 8.5vw, 8rem);
  line-height: 0.94;
  letter-spacing: 0;
  margin: 1.5rem 0 1.8rem;
  color: #f6f1e9;
  text-shadow: 0 2px 24px rgba(20, 15, 11, 0.22);
}
.hero-title em { font-style: italic; color: var(--accent-soft); }
.hero-line { display: block; overflow: hidden; }
.hero-line > span { display: block; transform: translateY(110%); }
body.loaded .hero-line > span { animation: lineUp 1.3s var(--ease) forwards; }
body.loaded .hero-line:nth-child(1) > span { animation-delay: 0.95s; }
body.loaded .hero-line:nth-child(2) > span { animation-delay: 1.08s; }
body.loaded .hero-line:nth-child(3) > span { animation-delay: 1.21s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero-sub { max-width: 460px; }
.hero-sub span, .hero-kicker { display: inline-block; }
.reveal-line { overflow: hidden; }
.reveal-line > span { display: inline-block; transform: translateY(120%); opacity: 0; }
body.loaded .reveal-line > span { animation: subUp 1.1s var(--ease) 1.45s forwards; }
@keyframes subUp { to { transform: translateY(0); opacity: 1; } }
.hero-sub span {
  font-size: 1.02rem;
  color: rgba(246, 241, 233, 0.88);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 16px rgba(20, 15, 11, 0.55);
}
.hero-actions { margin-top: 2.2rem; }
.hero-actions > span { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .pill-dark {
  background: #f6f1e9;
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(20, 15, 11, 0.12);
}
.hero-actions .pill-dark:hover { background: #fff; }
.hero-scrollcue {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  opacity: calc(1 - var(--p, 0) * 3);
}
.hero-scrollcue span {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.45em;
  color: rgba(246, 241, 233, 0.76);
  text-shadow: 0 1px 12px rgba(20, 15, 11, 0.5);
}
.hero-scrollcue i {
  width: 1px; height: 52px;
  background: linear-gradient(rgba(246, 241, 233, 0.82) 50%, transparent 50%);
  background-size: 100% 200%;
  animation: cueDrop 2s infinite;
}
@keyframes cueDrop { 0% { background-position: 0 -52px; } 60%, 100% { background-position: 0 52px; } }

/* ---------- MASK REVEAL (pinned) ---------- */
.mask-pin { height: 155vh; position: relative; background: var(--bg); }
.mask-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.mask-img { position: absolute; inset: 0; }
.mask-img img { width: 100%; height: 100%; object-fit: cover; }
.mask-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  opacity: calc(0.68 - var(--p, 0) * 1.05);
}
.mask-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(20deg, rgba(27, 21, 17, 0.62) 0%, rgba(27, 21, 17, 0.22) 35%, transparent 65%);
  opacity: calc((var(--p, 0) - 0.64) * 3.2);
}
.mask-word {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 3vw;
  text-align: center;
  transform: scale(calc(5.8 - var(--p, 0) * 4.8));
  transition: transform 0.1s linear;
  will-change: transform;
  opacity: calc((0.88 - var(--p, 0)) * 5);
}
.mask-text {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3.7rem, 10vw, 9.5rem);
  letter-spacing: 0;
  line-height: 0.9;
  background-size: cover;
  background-position: center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mask-proof {
  position: absolute;
  z-index: 2;
  left: max(2rem, calc((100vw - var(--container)) / 2));
  bottom: clamp(3rem, 8vh, 6rem);
  width: min(700px, calc(100% - 4rem));
  color: #f6f1e9;
  opacity: calc((var(--p, 0) - 0.72) * 4);
  transform: translateY(calc((1 - var(--p, 0)) * 36px));
  will-change: transform, opacity;
}
.mask-proof span {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.38em;
}
.mask-proof p {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

/* ---------- FULL-BLEED IMAGE ---------- */
.full-image { position: relative; overflow: hidden; }
.full-image img {
  display: block; width: 100%; height: 92vh; object-fit: cover;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease);
}
.full-image.in img { clip-path: inset(0 0 0% 0); }
.full-image-caption {
  position: absolute; left: 0; top: 0; bottom: 0; right: auto;
  width: min(580px, 78%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 2rem clamp(1.8rem, 6vw, 6rem);
  background: linear-gradient(90deg, rgba(28, 22, 16, 0.62) 0%, rgba(28, 22, 16, 0.36) 42%, transparent 78%);
  color: #fff;
  text-shadow: 0 2px 22px rgba(28, 22, 16, 0.6);
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 2.2s var(--ease) 0.55s, transform 2.2s var(--ease) 0.55s;
}
.full-image.in .full-image-caption { opacity: 1; transform: none; }
.full-image-caption span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.34em; color: rgba(255, 255, 255, 0.78); }
.full-image-caption p { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); margin-top: 0.6rem; max-width: 34ch; }

/* ---------- MANIFESTO ---------- */
.manifesto { padding: clamp(7rem, 14vh, 11rem) 0; background: var(--bg); text-align: center; }
.manifesto-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.manifesto-text .w { opacity: 0.16; transition: opacity 0.45s ease; }
.manifesto-text .w.on { opacity: 1; }
.manifesto-foot { margin-top: 2.6rem; color: var(--muted); font-size: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- FILM STRIP ---------- */
.strip { overflow: hidden; padding: 1rem 0 0; background: var(--bg); }
.strip-track { display: flex; width: max-content; animation: stripMove 75s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-set { display: flex; }
.strip-item {
  position: relative;
  display: block;
  margin-right: 1rem;
  overflow: hidden;
}
.strip-item img {
  height: clamp(180px, 26vh, 270px);
  width: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  filter: saturate(0.96);
  transition: filter 0.4s, transform 0.8s var(--ease);
}
.strip-item:hover img { filter: saturate(1.05); transform: scale(1.04); }
.strip-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28, 22, 16, 0.38);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.strip-item:hover .strip-overlay { opacity: 1; }
.strip-overlay i {
  font-style: normal;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}
@keyframes stripMove { to { transform: translateX(-50%); } }

/* ---------- SELECTED WORK ---------- */
.work { padding: clamp(7rem, 14vh, 12rem) 0 4rem; background: var(--bg); }
.work-head { margin-bottom: clamp(4rem, 8vh, 6rem); }
.work-item {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(5rem, 10vh, 8rem);
}
.work-item.flip { grid-template-columns: 0.75fr 1.25fr; }
.work-item.flip .work-media { order: 2; }
.work-item.flip .work-meta { order: 1; text-align: right; }
.work-item.flip .work-meta .work-link { justify-content: flex-end; }
.work-media { display: block; overflow: hidden; position: relative; cursor: zoom-in; }

/* ---------- Fullscreen lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  background: rgba(22, 18, 14, 0.94);
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure {
  margin: 0; text-align: center;
  transform: scale(0.93);
  transition: transform 1.4s var(--ease);
}
.lightbox.open figure { transform: scale(1); }
.lightbox img {
  display: block;
  max-width: 92vw; max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 48px 140px rgba(0, 0, 0, 0.55);
}
.lightbox figcaption {
  margin-top: 1.4rem;
  color: rgba(246, 241, 233, 0.7);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.34em;
}
.lightbox-close {
  position: absolute; top: 1.8rem; right: 2.2rem;
  width: 48px; height: 48px;
  background: none; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
  font-size: 1rem; cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox figure { transition: none; }
}
.work-media img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.work-media:hover img { transform: scale(1.0); }
.work-index {
  font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--sand); letter-spacing: 0.2em;
  display: block; margin-bottom: 0.8rem;
}
.work-meta h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.26em; margin-bottom: 0.7rem; }
.work-meta p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.6rem; }
.work-link {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em;
  border-bottom: 1px solid var(--line); padding-bottom: 0.35rem;
  transition: border-color 0.35s;
}
.work-link i { font-style: normal; transition: transform 0.4s var(--ease); }
.work-link:hover { border-color: var(--ink); }
.work-link:hover i { transform: translateX(5px); }
.work-all { text-align: center; padding: 1rem 0 2rem; }

/* image clip reveal (clip lives on a child so the observed element keeps a visible box) */
.reveal-img .work-media, .reveal-img.about-media img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease);
}
.reveal-img.in .work-media, .reveal-img.about-media.in img { clip-path: inset(0 0 0% 0); }
.reveal-img .work-meta { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease) 0.35s, transform 0.9s var(--ease) 0.35s; }
.reveal-img.in .work-meta { opacity: 1; transform: none; }

/* ---------- PROCESS — sticky stacked cards ---------- */
.process { padding: clamp(6rem, 12vh, 10rem) 0 clamp(4rem, 8vh, 7rem); background: var(--bg-soft); }
.process-head { margin-bottom: clamp(3rem, 6vh, 5rem); }
.process-cards { display: flex; flex-direction: column; gap: 2rem; }
.process-card {
  position: sticky;
  top: calc(16vh + var(--i) * 3.4rem);
}
.process-card-inner {
  background: #fbf7f0;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(36, 28, 20, 0.08);
  display: grid;
  grid-template-columns: auto 1fr 0.9fr;
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.2rem);
  min-height: 42vh;
}
.process-num {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent-soft); line-height: 1;
}
.process-copy h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1rem; }
.process-copy p { color: var(--muted); font-size: 0.98rem; max-width: 46ch; }
.process-focus { margin-top: 1.6rem; }
.process-focus-label {
  display: block;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.28em;
  color: var(--ink-2); margin-bottom: 0.9rem;
}
.process-tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.process-tags li {
  font-size: 0.72rem; letter-spacing: 0.06em; color: var(--ink-2);
  padding: 0.36rem 0.8rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.process-img { overflow: hidden; height: 100%; min-height: 240px; }
.process-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- SERVICES ---------- */
.services { padding: clamp(7rem, 14vh, 11rem) 0; background: var(--accent); color: #efe9df; }
.services .section-label { color: rgba(239, 233, 223, 0.6); }
.services h2 em { color: var(--accent-soft); }
.services-head { margin-bottom: clamp(3.5rem, 7vh, 5.5rem); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid rgba(239, 233, 223, 0.18);
}
.service {
  padding: 3rem 2.4rem 3.4rem;
  border-right: 1px solid rgba(239, 233, 223, 0.18);
  border-bottom: 1px solid rgba(239, 233, 223, 0.18);
  transition: background 0.5s;
}
.service:hover { background: rgba(239, 233, 223, 0.05); }
.service:last-child { border-right: none; }
.service-num { font-family: var(--serif); font-style: italic; color: var(--accent-soft); font-size: 1rem; letter-spacing: 0.18em; }
.service h3 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; margin: 1.4rem 0 1rem; }
.service p { color: rgba(239, 233, 223, 0.66); font-size: 0.95rem; }

/* ---------- STATS ---------- */
.stats { background: var(--accent); color: #efe9df; padding: 0 0 clamp(6rem, 11vh, 9rem); }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; text-align: center;
  border-top: 1px solid rgba(239, 233, 223, 0.18);
  padding-top: clamp(3rem, 6vh, 4.5rem);
}
.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 500; line-height: 1.1;
}
.stat-label { display: block; margin-top: 0.7rem; font-size: 0.64rem; font-weight: 700; letter-spacing: 0.3em; color: rgba(239, 233, 223, 0.55); }

/* ---------- ABOUT TEASER ---------- */
.about-teaser { padding: clamp(7rem, 14vh, 12rem) 0; background: var(--bg); }
.about-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem); align-items: center;
}
.about-media { overflow: hidden; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy p { color: var(--muted); margin-bottom: 1.4rem; font-size: 0.98rem; }
.about-copy h2 { margin-bottom: 1.8rem; }
.about-timeline {
  list-style: none; display: flex; flex-wrap: wrap; gap: 2.4rem;
  margin: 0 0 2rem; padding: 1.4rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.about-timeline-year {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: 1.7rem; line-height: 1; color: var(--accent-soft); margin-bottom: 0.5rem;
}
.about-timeline-text {
  display: block; font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--ink-2); max-width: 22ch;
}
.about-copy .pill { margin-top: 0.8rem; }

/* ---------- FINALE ---------- */
.finale { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.finale-bg { position: absolute; inset: 0; }
.finale-bg img { width: 100%; height: 100%; object-fit: cover; }
.finale-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.55), rgba(28, 22, 16, 0.72));
}
.finale-content {
  position: relative; z-index: 2;
  width: min(var(--container), calc(100% - 4rem));
  margin: 0 auto; text-align: center; color: #fff;
  padding: 6rem 0;
}
.finale-logo { height: 96px; width: auto; margin: 0 auto 1.8rem; display: block; }
.finale-content h2 { font-size: clamp(3.2rem, 7.5vw, 6.4rem); color: #fff; }
.finale-content h2 em { color: var(--accent-soft); }
.finale-content p { margin: 1.8rem auto 2.8rem; max-width: 480px; color: rgba(255, 255, 255, 0.82); }
.finale-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.hm-footer { background: var(--bg); border-top: 1px solid var(--line); }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.6rem 0; flex-wrap: wrap; gap: 1.4rem;
}
.footer-mail { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.22em; }
.footer-mail:hover { color: var(--ink-2); }
.footer-social { display: flex; gap: 1.8rem; }
.footer-social a { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; color: var(--muted); transition: color 0.3s; }
.footer-social a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.7rem; letter-spacing: 0.14em; color: var(--muted);
}
.footer-tag { letter-spacing: 0.26em; }

/* ---------- Generic reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Desktop/laptop only (above the 860px mobile breakpoint): nudge hero copy +5% */
@media (min-width: 861px) {
  .hero-kicker span { font-size: 0.735rem; }
  .hero-title { font-size: clamp(4.2rem, 8.93vw, 8.4rem); }
  .hero-sub span { font-size: 1.07rem; }
  .full-image-caption span { font-size: 0.819rem; }
  .full-image-caption p { font-size: clamp(1.575rem, 2.625vw, 2.205rem); }
}

@media (max-width: 1024px) {
  .process-card-inner { grid-template-columns: auto 1fr; }
  .process-img { grid-column: 1 / -1; min-height: 200px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
}
@media (max-width: 860px) {
  .hm-nav, .hm-header .hm-cta-pill { display: none; }
  .hm-nav-row .hm-lang { display: none; }
  .hm-mobile-menu .hm-lang { margin-top: 1.4rem; font-size: 0.95rem; letter-spacing: 0.22em; }
  .hm-burger {
    display: flex; flex-direction: column; gap: 7px;
    background: none; border: none; cursor: pointer; padding: 0.4rem;
  }
  .hm-burger span { width: 26px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s; }
  .hm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .hm-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .hm-mobile-menu {
    display: flex; flex-direction: column; gap: 1.6rem;
    position: fixed; inset: 0; padding: 7rem 2rem 2rem;
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s;
    z-index: -1;
  }
  .hm-header.menu-open .hm-mobile-menu { opacity: 1; visibility: visible; z-index: 99; }
  .hm-header.menu-open { background: var(--bg); }
  .hm-mobile-menu a { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.26em; }
  .hm-mobile-menu .hm-cta-pill { align-self: flex-start; margin-top: 1rem; }

  .work-item, .work-item.flip { grid-template-columns: 1fr; align-items: start; }
  .work-item.flip .work-media { order: 1; }
  .work-item.flip .work-meta { order: 2; text-align: left; }
  .work-item.flip .work-meta .work-link { justify-content: flex-start; }
  .about-split { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service { border-right: none; }
  .hero-pin { height: 130vh; }
  .mask-pin { height: 140vh; }
  .mask-word { padding: 0 1rem; }
  .mask-text { font-size: clamp(3rem, 13vw, 6rem); }
  .mask-proof {
    left: 1.3rem;
    bottom: 3.5rem;
    width: calc(100% - 2.6rem);
  }
  .mask-proof p { font-size: clamp(2rem, 10vw, 3.4rem); }
  .hm-container, .hm-nav-row, .hm-container.narrow { width: calc(100% - 2.6rem); }
}
@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(3.4rem, 16vw, 5rem); }
  .process-card { position: static; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro-curtain { display: none; }
  .hero-line > span, .reveal-line > span { transform: none !important; opacity: 1 !important; animation: none !important; }
  .reveal, .reveal-img .work-media, .reveal-img.about-media, .reveal-img .work-meta { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .strip-track { animation: none; }
  .manifesto-text .w { opacity: 1; }
  .hero-pin, .mask-pin { height: 100vh; }
  .mask-img, .mask-img::after, .mask-proof { opacity: 1; }
  .mask-img::before { opacity: 0; }
  .mask-proof { transform: none; }
  .mask-word { display: none; }
}
