/* ==========================================================================
   Valerian Glonti — Design System
   Fonts: Instrument Serif (editorial/display), Instrument Sans (UI/body),
          Belma (oversized stamp type)
   Palette: White Sepia #CFC9BF · Black Sepia #121212 / #201e1e
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Belma";
  src: url("../fonts/belma-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --sepia-white: #cfc9bf;
  --sepia-white-soft: #e5e1d8;
  --sepia-black: #121212;
  --sepia-black-2: #201e1e;
  --ink: #0c0c0c;
  --paper: #f4efe5;
  --line: rgba(18, 18, 18, 0.14);
  --line-on-dark: rgba(207, 201, 191, 0.22);

  /* Semantic (light section default) */
  --bg: var(--paper);
  --fg: var(--sepia-black);
  --fg-soft: rgba(18, 18, 18, 0.62);
  --accent: var(--sepia-black);

  /* Type */
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-sans: "Instrument Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Belma", "Instrument Serif", serif;

  --container: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 10vw, 160px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
svg { display: block; }

::selection { background: var(--sepia-black); color: var(--sepia-white); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ------------------------------ Grain overlay ---------------------------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ------------------------------ Custom cursor ---------------------------- */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--sepia-white);
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: difference;
  transition: transform 0.15s var(--ease-soft), opacity 0.2s ease;
  transform: translate3d(var(--x, -100px), var(--y, -100px), 0);
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 1px solid var(--sepia-white);
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: difference;
  transition: transform 0.5s var(--ease-soft), width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s ease;
  transform: translate3d(var(--x, -100px), var(--y, -100px), 0);
}
.cursor-ring.is-active { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------------------------------- Layout ------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--dark { background: var(--sepia-black); color: var(--sepia-white); }
.section--tight { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
}
.section--dark .eyebrow { color: rgba(207, 201, 191, 0.85); }
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* --------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn--solid { background: var(--sepia-black); color: var(--sepia-white); border-color: var(--sepia-black); }
.btn--solid:hover { background: transparent; color: var(--sepia-black); }
.section--dark .btn--solid { background: var(--sepia-white); color: var(--sepia-black); border-color: var(--sepia-white); }
.section--dark .btn--solid:hover { background: transparent; color: var(--sepia-white); }
.btn--ghost { color: inherit; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover span { color: var(--bg); }
.btn--ghost span { transition: color 0.4s var(--ease); }
.section--dark .btn--ghost:hover span { color: var(--sepia-black); }

/* ------------------------------- Header/Nav ------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sepia-white);
  mix-blend-mode: normal;
  transition: transform 0.5s var(--ease), background 0.4s ease, color 0.4s ease, padding 0.4s ease;
}
.site-header.is-scrolled {
  background: var(--sepia-black);
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header.on-light { color: var(--sepia-black); }

.brand {
  position: relative;
  display: block;
  width: 168px;
  height: 36px;
}
.brand-icon,
.brand-full {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.5s var(--ease);
}
.brand-icon {
  width: 36px;
  height: 36px;
  opacity: 1;
}
.brand-icon svg { width: 100%; height: 100%; fill: currentColor; }
.brand-full {
  width: 168px;
  opacity: 0;
}
.brand-full img { width: 100%; height: auto; display: block; }
.site-header.is-scrolled .brand-icon { opacity: 0; }
.site-header.is-scrolled .brand-full { opacity: 1; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.nav-link {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 0;
  overflow: hidden;
  height: 1.4em;
}
.nav-link .stack { display: block; transition: transform 0.5s var(--ease); }
.nav-link:hover .stack { transform: translateY(-1.4em); }
.nav-link span { display: block; height: 1.4em; }
.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.header-right { display: flex; align-items: center; gap: 22px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 6px;
}
.lang-switch button {
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.lang-switch button.is-active {
  opacity: 1;
  background: var(--sepia-white);
  color: var(--sepia-black);
}
.on-light .lang-switch button.is-active {
  background: var(--sepia-black);
  color: var(--sepia-white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.menu-toggle span { display: block; height: 1px; background: currentColor; width: 100%; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--sepia-black);
  color: var(--sepia-white);
  z-index: 190;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease);
}
.nav-overlay.is-open { transform: translateY(0); }
.nav-overlay a { font-family: var(--font-serif); font-size: clamp(32px, 8vw, 56px); }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--sepia-black);
  color: var(--sepia-white);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.08);
  animation: hero-in 2.4s var(--ease-soft) forwards;
}
@keyframes hero-in { from { transform: scale(1.14); } to { transform: scale(1.02); } }

.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.15) 0%, rgba(18,18,18,0.35) 45%, rgba(18,18,18,0.94) 100%),
    linear-gradient(90deg, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--gutter);
  padding-bottom: clamp(48px, 7vw, 96px);
  padding-top: clamp(140px, 22vw, 220px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 40px);
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(207,201,191,0.75);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: #c4432e; }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-logotype {
  width: min(560px, 62vw);
}
.hero-logotype img { width: 100%; height: auto; }

.hero-meta {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(207,201,191,0.82);
  padding-bottom: 10px;
}
.hero-meta strong { color: var(--sepia-white); font-weight: 500; }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(207,201,191,0.85);
  writing-mode: vertical-rl;
}
.scroll-cue .line { width: 1px; height: 42px; background: rgba(207,201,191,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--sepia-white);
  animation: scrollcue 2.4s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* --------------------------------- Marquee -------------------------------- */
.marquee {
  background: var(--sepia-black);
  color: var(--sepia-white);
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 64s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.9vw, 20px);
  padding: 0 22px;
  white-space: nowrap;
  color: rgba(207,201,191,0.86);
}
.marquee-item.sep { padding: 0 22px; }
.marquee-item.sep img {
  display: block;
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
  opacity: 0.55;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------- Intro ---------------------------------- */
.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.intro-figure { position: relative; }
.intro-figure img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1);
}
.intro-figure .signature {
  position: absolute;
  top: -24px; left: -14px;
  width: 168px;
  opacity: 0.9;
}
.intro-figure .signature img { aspect-ratio: auto; filter: none; }

.intro-copy .statement {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.intro-copy .statement em { font-style: italic; color: rgba(18,18,18,0.55); }
.intro-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-soft);
  max-width: 46ch;
}
.intro-copy p + p { margin-top: 16px; }
.intro-copy .btn { margin-top: 32px; }

/* ------------------------------ Stamp / wordmark --------------------------- */
.stamp-row {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stamp-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.stamp-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 13vw, 180px);
  line-height: 1;
  padding: 0.15em 0.35em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(18,18,18,0.7);
  white-space: nowrap;
}

/* -------------------------------- Quote ------------------------------------ */
.quote {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.35;
}
.quote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* -------------------------------- Works ------------------------------------ */
.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}
.works-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  max-width: 14ch;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.work-card {
  position: relative;
  background: var(--sepia-black);
  aspect-ratio: 3/4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--sepia-white);
}
.work-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.9);
  transition: transform 1.2s var(--ease), filter 0.7s ease;
}
.work-card:hover img { transform: scale(1.06); filter: grayscale(0) brightness(1); }
.work-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.6) 0%, rgba(18,18,18,0) 22%, rgba(18,18,18,0) 55%, rgba(18,18,18,0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.work-card .tag {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(207,201,191,0.5);
  border-radius: 999px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.work-card .info {
  position: relative;
  z-index: 2;
  padding: 22px;
}
.work-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
.work-card .role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(207,201,191,0.7);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.works-more { margin-top: clamp(28px, 4vw, 48px); text-align: center; }

/* -------------------------------- CTA / Footer ------------------------------ */
.cta {
  text-align: center;
}
.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6.5vw, 88px);
  line-height: 1.05;
  max-width: 16ch;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--sepia-black);
  color: var(--sepia-white);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand { display: flex; align-items: center; }
.footer-brand img { width: 190px; height: auto; display: block; }

.footer-nav { display: flex; gap: clamp(32px, 5vw, 80px); flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(207,201,191,0.8);
  margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 15px;
  padding: 4px 0;
  color: rgba(207,201,191,0.92);
}
.footer-col a { transition: opacity 0.3s ease; }
.footer-col a:hover { opacity: 0.6; }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}
.footer-social a:hover { background: var(--sepia-white); color: var(--sepia-black); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 8px;
  font-size: 12px;
  color: rgba(207,201,191,0.75);
}

.footer-wordmark {
  overflow: hidden;
  line-height: 0.75;
  margin-top: 10px;
}
.footer-wordmark img {
  width: 100%;
  transform: translateY(28%);
  opacity: 0.95;
}

/* ------------------------------ Reveal animation ---------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

/* ==========================================================================
   Portfolio page
   ========================================================================== */

/* ---- Page intro band ---- */
.page-intro-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-top: clamp(96px, 12vw, 140px) !important;
  padding-bottom: clamp(56px, 8vw, 100px) !important;
}
.page-intro { text-align: left; }
.page-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  max-width: 16ch;
  margin: 18px 0 28px;
}
.page-intro p {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(207,201,191,0.75);
}
.section--dark .page-intro p { color: rgba(207,201,191,0.75); }
.section:not(.section--dark) .page-intro p { color: var(--fg-soft); }

/* ---- Featured production (Absolution) ---- */
.feature {
  position: relative;
  overflow: hidden;
  background: var(--sepia-black);
  color: var(--sepia-white);
}
.feature-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0.55;
}
.feature-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.35) 0%, rgba(18,18,18,0.88) 70%, rgba(18,18,18,0.98) 100%),
    linear-gradient(90deg, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.1) 55%);
}
.feature-content {
  position: relative;
  z-index: 1;
}
.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e2a08a;
  margin-bottom: 22px;
}
.feature-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #c4432e; }

.title-stamp {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 160px);
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(207,201,191,0.9);
  margin: 0 0 8px;
  white-space: nowrap;
}
.feature-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 26px);
  color: rgba(207,201,191,0.85);
  margin-bottom: 30px;
}
.feature-copy {
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(207,201,191,0.85);
  margin-bottom: 32px;
}
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(207,201,191,0.4);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(207,201,191,0.9);
}
.feature-advisory {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(207,201,191,0.8);
  margin-top: 26px;
  max-width: 50ch;
}

/* ---- Meta icon row (calendar / role / status) ---- */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 18px 0 24px;
}
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.meta-item svg {
  width: 17px; height: 17px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  opacity: 0.75;
}

/* ---- Portfolio overview grid ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.portfolio-card {
  display: flex;
  flex-direction: column;
}
.portfolio-card .thumb {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 20px;
}
.portfolio-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.9);
  transition: transform 1.1s var(--ease), filter 0.7s ease;
}
.portfolio-card:hover .thumb img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
.portfolio-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 4px;
}
.portfolio-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin: 10px 0 18px;
}
.see-more {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  align-self: flex-start;
  transition: opacity 0.3s ease;
}
.see-more:hover { opacity: 0.6; }

/* ---- Production detail sections ---- */
.detail-section { scroll-margin-top: 82px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.detail-grid.is-reversed .detail-media { order: 2; }
.detail-grid.is-reversed .detail-copy { order: 1; }
.detail-media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Cutout variant — free-floating collage/PNG with real transparency, no frame */
.detail-grid.is-bottom-anchored { align-items: start; }
.detail-media.is-cutout img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: bottom;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}
.detail-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 24px);
  margin-bottom: 18px;
  opacity: 0.85;
}
.detail-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin-bottom: 4px;
}
.detail-copy p { font-size: 16px; line-height: 1.8; max-width: 56ch; }
.detail-copy p + p { margin-top: 16px; }

.detail-secondary {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.detail-secondary img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: grayscale(1); }
.detail-secondary figcaption {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0.75;
}
.detail-pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.4;
}
.detail-pullquote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.detail-stat {
  border: 1px solid var(--line-on-dark);
  border-radius: 4px;
  padding: 28px;
}
.section:not(.section--dark) .detail-stat { border-color: var(--line); }
.detail-stat .num {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  display: block;
  margin-bottom: 6px;
}
.detail-stat .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ==========================================================================
   Glamageddon — bespoke feature treatment
   ========================================================================== */
.glam-hero {
  position: relative;
  overflow: hidden;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
}
.glam-hero-media { position: absolute; inset: 0; z-index: 0; }
.glam-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(1.08);
}
.glam-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.25) 0%, rgba(18,18,18,0.55) 55%, rgba(18,18,18,0.97) 100%),
    linear-gradient(90deg, rgba(18,18,18,0.65) 0%, rgba(18,18,18,0) 50%);
}
.glam-hero-content {
  position: relative;
  z-index: 1;
  padding: var(--gutter);
  padding-bottom: clamp(48px, 6vw, 88px);
  width: 100%;
}
.glam-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(207,201,191,0.8);
  margin-bottom: 22px;
}
.glam-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #c4432e; flex-shrink: 0; }
.glam-hero .title-stamp { margin-bottom: 6px; }
.glam-logo {
  width: clamp(260px, 34vw, 480px);
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.35));
}
.glam-hero .feature-subtitle { color: rgba(207,201,191,0.85); }
.glam-opener {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  max-width: 20ch;
  color: var(--sepia-white);
  margin-top: 22px;
}

.glam-medallion {
  position: absolute;
  z-index: 2;
  width: clamp(150px, 16vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  right: clamp(16px, 5vw, 64px);
  top: clamp(90px, 14vw, 160px);
  mask-image: radial-gradient(circle, black 52%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle, black 52%, transparent 78%);
  opacity: 0.92;
}
.glam-medallion img { width: 100%; height: 100%; object-fit: cover; }

.glam-body { padding-top: clamp(56px, 7vw, 96px); }
.glam-credit {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(207,201,191,0.85);
  margin-bottom: 22px;
}
.glam-copy { max-width: 68ch; font-size: 16.5px; line-height: 1.85; color: rgba(207,201,191,0.85); }
.glam-copy p + p { margin-top: 18px; }
.glam-statement {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
  color: var(--sepia-white);
  max-width: 26ch;
  margin: 40px 0;
  padding-left: 24px;
  border-left: 2px solid #c4432e;
}

.glam-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 40px 0;
}
.glam-stats .detail-stat { flex: 1 1 180px; }

.glam-gallery {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(16px, 3vw, 28px);
  margin: clamp(40px, 6vw, 72px) 0;
  align-items: start;
}
.glam-gallery .tall,
.glam-gallery .photo-slideshow.wide {
  width: 100%;
  height: clamp(360px, 34vw, 540px);
}
.glam-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Photo slideshow (crossfade, autoplay, pause on hover) ---- */
.photo-slideshow { position: relative; overflow: hidden; }
.photo-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.photo-slideshow .slide.is-active { opacity: 1; z-index: 1; }

/* Mono variant — grayscale by default, full color while hovered */
.photo-slideshow.is-mono .slide {
  filter: grayscale(1) brightness(0.92);
  transition: opacity 1s ease, filter 0.6s ease;
}
.photo-slideshow.is-mono:hover .slide { filter: grayscale(0) brightness(1); }

/* Banner variant — standalone full-width slideshow, no paired poster */
.photo-slideshow.is-banner { width: 100%; aspect-ratio: 21/9; }
@media (max-width: 640px) { .photo-slideshow.is-banner { aspect-ratio: 4/3; } }

.glam-return {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.glam-return img { width: 96px; height: 128px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.glam-return-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 8px;
}
.glam-return-text p { font-size: 14.5px; line-height: 1.7; color: rgba(207,201,191,0.75); max-width: 52ch; }

/* ==========================================================================
   About page
   ========================================================================== */

/* ---- Centered manifesto-style statement ---- */
.manifesto {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.manifesto .statement {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.manifesto .statement em { font-style: italic; opacity: 0.7; }
.manifesto .statement.is-quote { font-style: italic; }
#arthaus .manifesto .statement { font-weight: 700; }
.manifesto p:not(.statement) {
  max-width: 62ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(207,201,191,0.85);
}
.section:not(.section--dark) .manifesto p:not(.statement) { color: var(--fg-soft); }

/* ---- Facets kinetic list ---- */
.facets-list { border-top: 1px solid var(--line-on-dark); }
.section:not(.section--dark) .facets-list { border-color: var(--line); }
.facet-row {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px) 4px;
  border-bottom: 1px solid var(--line-on-dark);
  transition: padding-left 0.4s var(--ease);
}
.section:not(.section--dark) .facet-row { border-color: var(--line); }
.facet-row:hover { padding-left: 16px; }
.facet-row .num {
  font-size: 13px;
  letter-spacing: 0.08em;
  opacity: 0.5;
  width: 34px;
  flex-shrink: 0;
  transition: color 0.4s ease, opacity 0.4s ease;
}
.facet-row:hover .num { color: #c4432e; opacity: 1; }
.facet-row h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 44px);
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 340px);
  transition: transform 0.4s var(--ease), font-style 0.4s ease;
}
.facet-row:hover h3 { transform: translateX(8px); font-style: italic; }
.facet-row p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 42ch;
  color: rgba(207,201,191,0.65);
  transition: color 0.4s ease;
}
.section:not(.section--dark) .facet-row p { color: var(--fg-soft); }
.facet-row:hover p { color: rgba(207,201,191,0.95); }
.section:not(.section--dark) .facet-row:hover p { color: var(--fg); }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: clamp(120px, 14vw, 180px) !important;
  padding-bottom: clamp(56px, 8vw, 96px) !important;
}

.puppet {
  width: clamp(240px, 27vw, 380px);
  height: auto;
  margin-bottom: clamp(24px, 4vw, 44px);
  transform-origin: 50% 4%;
  animation: puppet-sway 7s ease-in-out infinite;
}
@keyframes puppet-sway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .puppet { animation: none; }
}

.contact-hero .statement {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.18;
  max-width: 18ch;
  margin: 0 auto 18px;
}
.contact-hero .statement em { font-style: italic; opacity: 0.75; }
.contact-hero .subtext {
  font-size: 16px;
  color: rgba(207,201,191,0.8);
  max-width: 46ch;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(32px, 4.5vw, 48px);
}
.contact-links a {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.contact-links a:hover { border-color: currentColor; }
.contact-links .phone { font-size: clamp(16px, 1.8vw, 20px); opacity: 0.8; font-family: var(--font-sans); }

/* -------------------------------- Responsive -------------------------------- */
@media (max-width: 980px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .intro { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid.is-reversed .detail-media,
  .detail-grid.is-reversed .detail-copy { order: initial; }
  .detail-secondary { grid-template-columns: 1fr; }
  .glam-gallery { grid-template-columns: 1fr; }
  .glam-medallion { display: none; }
}

@media (max-width: 640px) {
  .works-grid { grid-template-columns: 1fr; }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
  .hero-logotype { width: min(420px, 78vw); }
  .footer-top { flex-direction: column; }
  .scroll-cue { display: none; }
  .brand { width: 132px; height: 30px; }
  .brand-icon { width: 30px; height: 30px; }
  .brand-full { width: 132px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .title-stamp { font-size: clamp(48px, 16vw, 90px); white-space: normal; }
  .glam-return { flex-direction: column; align-items: flex-start; }
  .glam-return img { width: 100%; height: auto; aspect-ratio: 3/4; max-width: 160px; }
  .facet-row { flex-wrap: wrap; }
  .facet-row h3 { width: auto; }
  .facet-row p { max-width: 100%; }
}
