/* ============================================================
   TRY STUDIO — Design System v2
   Asian minimalism × refined editorial
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Palette — quiet, paper, dual accent: red + deep navy */
  --paper:   #FAFAF8;     /* off-white, slight warmth */
  --paper-2: #F2F1ED;     /* secondary surface */
  --ink:     #0A0B33;     /* deep navy — primary dark */
  --ink-60:  rgba(10,11,51,0.60);
  --ink-40:  rgba(10,11,51,0.40);
  --ink-20:  rgba(10,11,51,0.20);
  --ink-10:  rgba(10,11,51,0.10);
  --ink-06:  rgba(10,11,51,0.06);
  --rule:    rgba(10,11,51,0.12);
  --red:     #E5251B;     /* signature accent */
  --white:   #FFFFFF;

  /* Type — Helvetica Neue display + Geist body */
  --font-display: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --font-body: 'Geist', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Menlo', monospace;

  /* Type scale */
  --t-xs:   11px;
  --t-sm:   13px;
  --t-base: 15px;
  --t-md:   17px;
  --t-lg:   22px;
  --t-xl:   32px;
  --t-2xl:  48px;
  --t-3xl:  72px;
  --t-display: clamp(64px, 10vw, 168px);

  /* Spacing scale */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-6:  24px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-24: 96px;
  --s-32: 128px;
  --s-48: 192px;

  /* Layout */
  --max-w:   1440px;
  --read-w:  720px;
  --gutter:  clamp(20px, 4vw, 40px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-quick: 0.3s;
  --t-mid: 0.6s;
  --t-slow: 1.2s;
}

/* ===================== Floating decorative red circle ===================== */
/* Behind all content (z-index 0). Drifts along the edges only —
   smaller and further out, mostly clipped off-screen. */
.float-circle {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  filter: blur(2px);
  top: 0;
  left: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: opacity 0.6s var(--ease);
}
@media (max-width: 700px) {
  .float-circle { width: 220px; height: 220px; }
}
.no-float .float-circle { display: none !important; }

/* Foreground content sits above the circle */
.site-header, main, footer, section, .pull-quote, .index-strip,
.cases-table, .svc-table, .case-preview, .projects-filters,
.page-hero, .container, .hero, .contact-page, .case-meta,
.case-cover, .case-prose, .case-gallery, .case-results, .next-case,
.team, .process {
  position: relative;
  z-index: 1;
}

/* Sections that must HIDE the circle (opaque backgrounds).
   Hero, footer and the cases area let it show through. */
.section--dark, .case-meta, .case-results,
.next-case, .pull-quote, .index-strip {
  background: var(--paper);
}
.section--dark { background: var(--ink); }

/* ===================== Reset & Base ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.005em;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  letter-spacing: inherit;
}
ul, ol { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

/* ===================== Typography utilities ===================== */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-40);
}

/* ===================== Layout primitives ===================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
  width: 100%;
}
.rule--center {
  width: 1px;
  height: 60px;
  background: var(--rule);
  border: 0;
  margin: var(--s-12) auto;
}
.section {
  padding: var(--s-24) 0;
  position: relative;
}
.section--xl { padding: var(--s-32) 0; }
.section--tight { padding: var(--s-16) 0; }

/* Section header — Japanese editorial format */
.sec-head {
  text-align: center;
  margin-bottom: var(--s-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-6);
  position: relative;
}
.sec-head__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-40);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.sec-head__index::before,
.sec-head__index::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--ink-20);
  display: inline-block;
}
.sec-head__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.035em;
  line-height: 1;
  position: relative;
}
.sec-head__title .em {
  font-style: italic;
  color: var(--red);
  font-weight: 400;
}
.sec-head__brush {
  display: block;
  width: clamp(80px, 10vw, 140px);
  height: 18px;
  margin-top: var(--s-2);
}
.sec-head__sub {
  font-size: var(--t-md);
  color: var(--ink-60);
  max-width: 48ch;
  line-height: 1.5;
  margin-top: var(--s-4);
}

/* ===================== Header / Nav — Larger, Spiilka-style ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--s-6) var(--gutter);
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-quick) var(--ease), padding var(--t-quick) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
}

/* Left: BIG logo slot */
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--ink);
}
.brand__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 56px;
  background: transparent;
  position: relative;
}
.brand__slot img,
.brand__slot svg,
.brand__slot video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Center: nav — 2x bigger */
.site-nav {
  justify-self: center;
  display: flex;
  gap: var(--s-10);
  align-items: center;
}
.site-nav__link {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  position: relative;
  padding: var(--s-3) 0;
  color: var(--ink);
  transition: color var(--t-quick) var(--ease);
}
.site-nav__link::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  margin-left: -36px;
  transition: transform var(--t-quick) var(--ease), opacity var(--t-quick) var(--ease);
}
.site-nav__link:hover::before,
.site-nav__link.is-active::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.site-nav__link.is-active { color: var(--ink); }

/* Right: lang + cta */
.header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-40);
}
.lang button {
  padding: var(--s-1) var(--s-2);
  color: var(--ink-40);
  transition: color var(--t-quick);
  font-size: 14px;
}
.lang button:hover { color: var(--ink); }
.lang button.is-active { color: var(--ink); }
.lang span { color: var(--ink-20); }

/* Header CTA — text + red dot + underline (Spiilka-style, no pill) */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-1) 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  position: relative;
  transition: color var(--t-quick) var(--ease);
}
.header-cta::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.header-cta__label {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  transition: color var(--t-quick), border-color var(--t-quick);
}
.header-cta:hover { color: var(--red); }
.header-cta:hover .header-cta__label { border-bottom-color: var(--red); }

.menu-toggle { display: none; }


/* ===================== HERO (home) — Logo container ===================== */
.hero {
  min-height: 100vh;
  width: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

/* Logo container — where the client drops their MP4/animation */
.hero__logo-slot {
  position: relative;
  width: 40vh;
  height: 40vh;
  max-width: 80vw;
  max-height: 80vw;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-slot video,
.hero__logo-slot img,
.hero__logo-slot svg,
.hero__logo-slot canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Bottom scroll indicator — Japanese tate-gaki style */
.hero__scroll {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-60);
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--ink-20);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 50%;
  background: var(--ink);
  animation: scrollLine 2s var(--ease-soft) 1s infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

@media (max-width: 700px) {
  .hero__logo-slot { width: 70vw; height: 70vw; }
}

/* Brush-mark divider — wavy hand-drawn line between sections */
.brush-mark {
  display: block;
  margin: 0 auto;
  width: clamp(140px, 18vw, 220px);
  height: 24px;
  color: var(--ink);
  opacity: 0.85;
}
.brush-mark--red { color: var(--red); }

/* Red corner squares (hieroglyph print accent) — used on sections */
.print-accent {
  position: relative;
}
.print-accent::before {
  content: '';
  position: absolute;
  top: var(--s-8);
  right: var(--s-8);
  width: 14px;
  height: 14px;
  background: var(--red);
  z-index: 5;
}

/* Side labels — disabled (was hiding decorative vertical text) */
.side-mark { display: none !important; }

/* ===================== Index strip ===================== */
.index-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-6) var(--gutter);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.index-strip__item { display: inline-flex; align-items: center; gap: var(--s-2); }
.index-strip__dot {
  width: 4px;
  height: 4px;
  background: var(--red);
  border-radius: 50%;
}
@media (max-width: 800px) {
  .index-strip { flex-wrap: wrap; gap: var(--s-3) var(--s-6); }
}

/* ===================== Projects table (Spiilka-style) ===================== */
.projects {
  padding: var(--s-24) 0;
  position: relative;
}
.projects-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1);
  padding: var(--s-4) 0;
  margin-bottom: var(--s-8);
}
.filter-btn {
  padding: var(--s-2) var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.is-active {
  color: var(--ink);
  border-color: var(--ink);
}

/* The table itself */
.cases-table-head {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 80px;
  gap: var(--s-6);
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink-20);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
}
.cases-table-head > span:last-child { text-align: right; }
@media (max-width: 900px) {
  .cases-table-head { display: none; }
}
.cases-table {
  position: relative;
}
.case-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 80px;
  gap: var(--s-6);
  padding: var(--s-6) var(--s-4);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  position: relative;
  transition: padding var(--t-quick) var(--ease);
  cursor: pointer;
}
.case-row::before {
  /* hover hairline ink fill */
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-mid) var(--ease);
  z-index: 0;
  opacity: 0;
}
.case-row > * { position: relative; z-index: 1; transition: color var(--t-mid) var(--ease); }
.case-row:hover::before {
  transform: scaleX(1);
  opacity: 1;
}
.case-row:hover > * { color: var(--paper); }
.case-row:hover .case-row__num { color: var(--paper); opacity: 0.5; }
.case-row:hover .case-row__cat,
.case-row:hover .case-row__year { color: var(--paper); opacity: 0.7; }
.case-row:hover .case-row__arrow { opacity: 1; transform: translateX(0); color: var(--paper); }

.case-row__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-40);
}
.case-row__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.case-row__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-60);
}
.case-row__year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink-40);
  text-align: right;
}
.case-row__arrow {
  position: absolute;
  right: var(--s-4);
  top: 50%;
  transform: translate(8px, -50%);
  opacity: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  transition: opacity var(--t-quick) var(--ease), transform var(--t-quick) var(--ease);
}

@media (max-width: 900px) {
  .case-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    gap: var(--s-2) var(--s-4);
    padding: var(--s-6) var(--s-2);
  }
  .case-row__cat { grid-column: 2; }
  .case-row__year { grid-column: 2; text-align: left; }
}

/* Floating preview image that follows the cursor */
.case-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 240px;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  will-change: transform, opacity;
  overflow: hidden;
  border-radius: 2px;
  background: var(--ink);
}
.case-preview.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.case-preview img,
.case-preview svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .case-preview { display: none; }
}

/* ===================== Quote / Pull section ===================== */
.pull-quote {
  padding: var(--s-32) 0;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pull-quote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 22ch;
  margin: 0 auto var(--s-8);
}
.pull-quote__text .em { color: var(--red); font-style: italic; }
.pull-quote__attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* ===================== Services list (table-style) ===================== */
.svc-table {
  border-top: 1px solid var(--rule);
}
.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr 200px 80px;
  gap: var(--s-6);
  padding: var(--s-8) var(--s-4);
  border-bottom: 1px solid var(--rule);
  align-items: center;
  cursor: pointer;
  transition: padding var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
  position: relative;
}
.svc-row:hover { background: var(--ink); color: var(--paper); }
.svc-row:hover .svc-row__num,
.svc-row:hover .svc-row__desc { color: rgba(250,250,248,0.6); }
.svc-row:hover .svc-row__arrow { opacity: 1; transform: translateX(0); }
.svc-row__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-40);
}
.svc-row__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.svc-row__desc {
  font-size: 13px;
  color: var(--ink-60);
  line-height: 1.5;
  max-width: 38ch;
}
.svc-row__arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: right;
  opacity: 0.3;
  transform: translateX(-4px);
  transition: opacity var(--t-quick), transform var(--t-quick);
}
@media (max-width: 900px) {
  .svc-row {
    grid-template-columns: 40px 1fr;
    gap: var(--s-2) var(--s-4);
  }
  .svc-row__desc { grid-column: 2; }
  .svc-row__arrow { display: none; }
}

/* ===================== Dark section variant (services / process) ===================== */
.section--dark {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-24) 0;
  position: relative;
  z-index: 1;
}
.section--dark .sec-head__title { color: var(--paper); }
.section--dark .sec-head__title .em { color: var(--red); }
.section--dark .sec-head__index { color: rgba(250,250,248,0.5); }
.section--dark .sec-head__index::before,
.section--dark .sec-head__index::after { background: rgba(250,250,248,0.2); }
.section--dark .sec-head__sub { color: rgba(250,250,248,0.6); }

/* Dark service table */
.svc-table--dark {
  border-top: 1px solid rgba(250,250,248,0.15);
}
.svc-table--dark .svc-row {
  border-bottom: 1px solid rgba(250,250,248,0.15);
  position: relative;
  overflow: hidden;
}
.svc-table--dark .svc-row:hover { background: var(--red); color: var(--paper); }
.svc-table--dark .svc-row:hover .svc-row__num { color: rgba(250,250,248,0.7); }
.svc-table--dark .svc-row:hover .svc-row__desc { color: rgba(250,250,248,0.8); }
.svc-table--dark .svc-row__num { color: rgba(250,250,248,0.4); }
.svc-table--dark .svc-row__title { color: var(--paper); }
.svc-table--dark .svc-row__desc { color: rgba(250,250,248,0.55); }
.svc-table--dark .svc-row__arrow { color: var(--paper); }

/* Japanese-style circle that reveals on hover */
.svc-table--dark .svc-row::before {
  content: '';
  position: absolute;
  right: 100px;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  transform: translate(40px, -50%) scale(0);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.svc-table--dark .svc-row:hover::before {
  transform: translate(0, -50%) scale(1);
  opacity: 1;
}
@media (max-width: 900px) {
  .svc-table--dark .svc-row::before { display: none; }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: background var(--t-quick) var(--ease), color var(--t-quick) var(--ease), transform var(--t-quick) var(--ease);
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  transition: transform var(--t-quick) var(--ease);
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn:hover::before { transform: scale(1.3); }
.btn--filled {
  background: var(--ink);
  color: var(--paper);
}
.btn--filled:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ===================== Vertical service list (alt) ===================== */
.vlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-12) 0;
}
.vlist__item {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink-20);
  transition: color var(--t-quick);
  position: relative;
  cursor: default;
}
.vlist__item:hover { color: var(--ink); }
.vlist__item::after {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
  position: absolute;
  top: 0;
  right: -32px;
  opacity: 0;
  transition: opacity var(--t-quick);
}
.vlist__item:hover::after { opacity: 1; }

/* ===================== Footer — bigger fonts, no half-circle ===================== */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: var(--s-24) var(--gutter) var(--s-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Decorative element disabled — footer relies on the page-wide floating circle */
.footer-decor { display: none; }

.footer-mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(90px, 16vw, 280px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: var(--s-12);
}
.footer-mark .em { color: var(--red); font-style: italic; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-body);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: 0;
  padding: 0 0 var(--s-2);
  margin-top: var(--s-4);
  margin-bottom: var(--s-24);
  color: var(--ink);
  position: relative;
  transition: color var(--t-quick);
}
.footer-cta__dot {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-cta > span:last-child {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: border-color var(--t-quick), color var(--t-quick);
}
.footer-cta:hover { color: var(--red); }
.footer-cta:hover > span:last-child { border-bottom-color: var(--red); }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s-10);
  text-align: left;
  padding: var(--s-12) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  max-width: 1000px;
  margin: 0 auto;
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--s-4);
}
.footer-grid a {
  display: block;
  padding: var(--s-2) 0;
  font-size: 18px;
  font-weight: 500;
  transition: color var(--t-quick);
}
.footer-grid a:hover { color: var(--red); }
.footer-fine {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: var(--s-8);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-40);
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); text-align: center; }
  .footer-fine { flex-direction: column; gap: var(--s-2); }
}

/* ===================== Animations on scroll ===================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stag > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-stag.is-in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stag.is-in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stag.is-in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stag.is-in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stag.is-in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stag.is-in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stag.is-in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stag.is-in > * {
  opacity: 1;
  transform: translateY(0);
}

/* Char reveal — for hero title */
.split-line { display: inline-block; overflow: hidden; }
.split-line__inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
}
.is-in .split-line__inner { transform: translateY(0); }

/* ===================== Preloader — disabled ===================== */
.preloader { display: none !important; }

/* ===================== Page header (non-home) ===================== */
.page-hero {
  padding: 160px var(--gutter) var(--s-16);
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-hero__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: var(--s-6);
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 168px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: var(--s-8);
}
.page-hero__title .em { color: var(--red); font-style: italic; }
.page-hero__sub {
  font-size: var(--t-md);
  color: var(--ink-60);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0 auto;
}

/* ===================== Responsive nav ===================== */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav {
    position: fixed;
    inset: 60px 0 0 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: var(--s-6);
    transform: translateY(-100%);
    transition: transform var(--t-mid) var(--ease);
    border-bottom: 1px solid var(--rule);
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav__link { font-size: 24px; font-family: var(--font-display); font-weight: 300; }
  .header-right { display: none; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--s-3);
    justify-self: end;
  }
  .menu-toggle span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
  }
}
