@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('./assets/fonts/syne-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D7-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url('./assets/fonts/syne-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/cormorant-garamond-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D7-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/inter-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D1, U+02D7-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./assets/fonts/inter-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --ink: #0C0C0C;
  --muted: #525252;
  --line: #B2B2B2;
  --accent: #9E1B32;
  --section-space: clamp(56px, 7vw, 96px);
  --font-display: 'Syne', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--line);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 18px;
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  min-height: 48px;
  align-items: center;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
}

@media (max-width: 429px) {
  .brand-sub {
    display: none;
  }
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.top-nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Typography */
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-light {
  color: var(--bg);
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
}

.signature {
  margin: 10px 0 18px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--accent);
}

.section-title,
.chapter-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
}

.title-light {
  color: var(--bg);
}

p {
  margin: 0 0 14px;
  max-width: 54ch;
}

/* Hero */
.hero {
  overflow: hidden;
}

.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: var(--ink);
}

.hero-note {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.channel-hint {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-portrait {
  margin: 0;
  width: 100%;
  max-width: 460px;
  justify-self: center;
  border: 1px solid var(--line);
}

.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

/* Buttons & Shiny Sweep */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-line {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

.btn-line:hover {
  border-color: var(--ink);
  color: var(--accent);
}

.btn-primary-dark {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.btn-primary-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-line-dark {
  background: transparent;
  color: var(--bg);
  border-color: var(--line);
}

.btn-line-dark:hover {
  border-color: var(--bg);
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -45%;
  width: 34%;
  height: 140%;
  transform: skewX(-15deg);
  pointer-events: none;
  animation: shiny-sweep 7.5s ease-in-out infinite;
}

.btn-primary.btn-shine::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
}

.btn-primary-dark.btn-shine::after {
  background: linear-gradient(90deg, transparent, rgba(12, 12, 12, 0.24), transparent);
}

@keyframes shiny-sweep {
  0%, 72% {
    left: -45%;
  }
  100% {
    left: 135%;
  }
}

/* Phase Index */
.phases-index {
  text-align: left;
}

.section-lead {
  color: var(--muted);
}

.phase-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.phase-tab {
  min-height: 48px;
  padding: 10px 18px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.phase-tab:hover {
  border-color: var(--ink);
}

.phase-tab.is-active {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.phase-status {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Chapters & Photo Grids */
.chapter[hidden] {
  display: none;
}

.chapter-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

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

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s ease;
}

.inline-link:hover {
  color: var(--accent);
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.photo-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.25s ease;
}

.photo-trigger:hover {
  border-color: var(--accent);
}

.photo-trigger img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.55s ease;
}

.photo-trigger:hover img {
  transform: scale(1.02);
}

/* Process & Manifesto */
.process-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.process-step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.process-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.process-step p {
  margin: 0;
  color: var(--muted);
}

.manifesto-quote {
  margin: 0 0 14px;
  max-width: 780px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  color: var(--ink);
}

.manifesto-note {
  margin: 0;
  color: var(--muted);
}

/* Closing Dark Ink Section */
.closing {
  background: var(--ink);
  color: var(--bg);
  border-top-color: var(--ink);
}

.closing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.closing-lead {
  color: var(--bg);
}

.closing-warn {
  color: var(--line);
  font-size: 0.9375rem;
}

.booking-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bg);
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  background: transparent;
  color: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 1rem;
  border-radius: 0;
}

.field input::placeholder {
  color: var(--line);
}

.field select option {
  background: var(--ink);
  color: var(--bg);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.form-feedback {
  margin: 0;
  font-size: 0.875rem;
  color: var(--line);
}

/* Footer */
.footer {
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--muted);
  padding-block: 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--bg);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.footer a:hover {
  border-bottom-color: var(--bg);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 12, 12, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lb-figure {
  margin: 0;
  max-width: min(880px, 88%);
  max-height: 86vh;
}

.lb-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 84vh;
  height: auto;
  border: 1px solid var(--line);
}

.lb-close,
.lb-nav {
  position: fixed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--line);
  cursor: pointer;
}

.lb-close {
  top: 16px;
  right: 16px;
}

.lb-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 600px) {
  .gallery-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .chapter-layout {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .closing-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-shine::after {
    animation: none;
    display: none;
  }

  .photo-trigger img {
    transition: none;
  }
}
