@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --ink: #11110f;
  --ink-soft: #2b2b27;
  --paper: #f0eee7;
  --paper-soft: #e5e1d7;
  --white: #fbfaf5;
  --acid: #d8ff46;
  --ocean: #194b56;
  --rust: #b84c32;
  --line: rgba(17, 17, 15, 0.2);
  --serif: 'Instrument Serif', 'Iowan Old Style', Baskerville, Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.75rem);
  --radius: 1.15rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

::selection { color: var(--ink); background: var(--acid); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 6.5rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--pad);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  justify-self: start;
  font-size: .77rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: -.08em;
}

.desktop-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.4rem); }
.desktop-nav a, .language-switcher a {
  position: relative;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.desktop-nav a::after, .language-switcher a::after {
  position: absolute;
  right: 0;
  bottom: -.4rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.desktop-nav a:hover::after, .language-switcher a:hover::after,
.language-switcher a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }

.header-tools { display: flex; align-items: center; gap: 1.4rem; justify-self: end; }
.language-switcher { display: flex; gap: .65rem; }
.language-switcher a { opacity: .55; }
.language-switcher a[aria-current='page'], .language-switcher a:hover { opacity: 1; }

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: transparent;
  place-items: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::after {
  display: block;
  width: .95rem;
  height: 1px;
  background: currentColor;
  content: '';
  transition: transform .25s ease;
}
.menu-toggle span { transform: translateY(-3px); }
.menu-toggle::after { transform: translateY(3px); }
.menu-open .menu-toggle span { transform: translateY(1px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(0) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: 8.5rem var(--pad) 2rem;
  color: var(--white);
  background: var(--ink);
  opacity: 0;
  transition: opacity .3s ease, visibility .3s;
  align-content: space-between;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  padding-block: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  line-height: .95;
}
.mobile-menu-meta { display: flex; justify-content: space-between; color: rgba(255,255,255,.6); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}
.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,14,14,.88) 0%, rgba(8,14,14,.34) 55%, rgba(8,14,14,.16) 100%), linear-gradient(0deg, rgba(8,14,14,.6), transparent 50%);
  content: '';
}

.hero-grid {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, .5fr);
  align-items: end;
  padding: 10.2rem var(--pad) clamp(2.5rem, 6vw, 5.75rem);
}
.hero-copy { max-width: 74rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.5rem;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 2.5rem; height: 1px; background: currentColor; content: ''; }
.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9.2vw, 9.25rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .79;
}
.hero h1 em { color: var(--acid); font-weight: 400; }
.hero-bottom {
  display: grid;
  max-width: 52rem;
  grid-template-columns: minmax(15rem, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.hero-lead { max-width: 31rem; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(.95rem, 1.2vw, 1.08rem); }

.hero-card {
  align-self: end;
  max-width: 19rem;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(17,17,15,.22);
  backdrop-filter: blur(12px);
}
.hero-card .index { color: var(--acid); font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.hero-card p { margin: 2rem 0 .25rem; color: rgba(255,255,255,.65); font-size: .7rem; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.hero-card strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.05; }

.button {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  padding: .95rem 1.35rem;
  border: 1px solid currentColor;
  border-radius: 100vw;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.button::after { content: '↗'; font-size: 1rem; line-height: 1; }
.button:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .25rem;
  border-bottom: 1px solid currentColor;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.text-link::after { content: '↗'; transition: transform .25s ease; }
.text-link:hover::after { transform: translate(3px,-3px); }

.ticker { overflow: hidden; color: var(--ink); background: var(--acid); border-block: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 2rem; padding: 1.05rem 1rem; font-size: .69rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ticker span::after { content: '✦'; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: clamp(5.5rem, 10vw, 10rem) var(--pad); }
.section-intro { display: grid; grid-template-columns: minmax(9rem,.42fr) minmax(0,1fr); gap: clamp(2rem,7vw,9rem); }
.section-label { margin: .55rem 0 0; font-size: .67rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-label span { display: inline-block; min-width: 2.2rem; color: var(--rust); }
.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .9;
}
.display em { color: var(--rust); font-weight: 400; }
.intro-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.intro-copy p { max-width: 34rem; margin: 0; }
.intro-copy p:first-child { font-size: 1.13rem; }
.intro-copy p:last-child { color: #5b5a53; }

.manifesto { color: var(--white); background: var(--ink); }
.manifesto .section-label span, .manifesto .display em { color: var(--acid); }
.manifesto .intro-copy p:last-child { color: rgba(255,255,255,.55); }
.principles { display: grid; grid-template-columns: repeat(3,1fr); margin-top: clamp(4rem,8vw,8rem); border-top: 1px solid rgba(255,255,255,.23); }
.principle { min-height: 19rem; padding: 1.6rem 1.8rem 1rem 0; border-right: 1px solid rgba(255,255,255,.23); }
.principle + .principle { padding-left: 1.8rem; }
.principle:last-child { border-right: 0; }
.principle-number { color: var(--acid); font-size: .67rem; letter-spacing: .12em; }
.principle h3 { max-width: 9ch; margin: 4.5rem 0 1.2rem; font-family: var(--serif); font-size: clamp(2rem,3vw,3.4rem); font-weight: 400; line-height: .95; }
.principle p { max-width: 23rem; margin: 0; color: rgba(255,255,255,.55); font-size: .88rem; }

.craft { background: var(--paper-soft); }
.craft-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,7vw,8rem); align-items: start; }
.craft-sticky { position: sticky; top: 2rem; }
.craft-visual { position: relative; overflow: hidden; min-height: 42rem; border-radius: var(--radius); background: var(--ocean); }
.craft-visual img { width: 100%; height: 100%; min-height: 42rem; object-fit: cover; transition: transform 1s var(--ease); }
.craft-visual:hover img { transform: scale(1.025); }
.craft-caption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; display: flex; align-items: end; justify-content: space-between; padding: 1.25rem; color: var(--white); background: rgba(17,17,15,.65); backdrop-filter: blur(10px); }
.craft-caption strong { max-width: 12ch; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1; }
.craft-caption span { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.step-index { padding-top: .35rem; color: var(--rust); font-size: .65rem; letter-spacing: .1em; }
.step h3 { margin: 0 0 .6rem; font-family: var(--serif); font-size: clamp(2rem,3.5vw,3.3rem); font-weight: 400; line-height: 1; }
.step p { max-width: 32rem; margin: 0; color: #5b5a53; font-size: .9rem; }

.journal { background: var(--paper); }
.journal-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.journal-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 1rem; }
.story-card { position: relative; display: grid; overflow: hidden; min-height: 34rem; padding: 1.25rem; color: var(--white); background: var(--ink-soft); isolation: isolate; align-content: space-between; }
.story-card::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(6,8,8,.88), transparent 65%); content: ''; }
.story-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.story-card:hover img { transform: scale(1.04); filter: saturate(1.15); }
.story-card-top { display: flex; justify-content: space-between; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.story-card h3 { max-width: 12ch; margin: 0 0 .75rem; font-family: var(--serif); font-size: clamp(2rem,3.5vw,3.8rem); font-weight: 400; line-height: .9; }
.story-card p { max-width: 28rem; margin: 0 0 1.25rem; color: rgba(255,255,255,.65); font-size: .82rem; }
.story-card .text-link { font-size: .59rem; }

.constellation { color: var(--white); background: var(--ocean); }
.constellation .section-label span, .constellation .display em { color: var(--acid); }
.constellation-head { display: grid; grid-template-columns: 1fr .65fr; gap: 4rem; align-items: end; }
.constellation-head > p { max-width: 29rem; margin: 0; color: rgba(255,255,255,.64); }
.link-directory { margin-top: 5rem; border-top: 1px solid rgba(255,255,255,.25); }
.directory-row {
  display: grid;
  grid-template-columns: 3rem minmax(12rem,1fr) minmax(11rem,.45fr) 2rem;
  gap: 1rem;
  align-items: center;
  min-height: 5.25rem;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .3s ease, padding .3s var(--ease), background .3s ease;
}
.directory-row:hover { padding-inline: 1rem; color: var(--ink); background: var(--acid); }
.directory-index, .directory-kind { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.directory-name { font-family: var(--serif); font-size: clamp(1.4rem,2.5vw,2.25rem); line-height: 1; }
.directory-arrow { font-size: 1.2rem; }

.quote-section { position: relative; overflow: hidden; min-height: 70vh; padding: 8rem var(--pad); color: var(--white); background: var(--ink); display: grid; place-items: center; text-align: center; }
.quote-section::before { position: absolute; width: 55vw; height: 55vw; border: 1px solid rgba(216,255,70,.28); border-radius: 48% 52% 61% 39% / 46% 38% 62% 54%; content: ''; animation: drift 16s ease-in-out infinite alternate; }
.quote-section::after { position: absolute; width: 36vw; height: 36vw; border: 1px solid rgba(216,255,70,.18); border-radius: 60% 40% 44% 56% / 37% 58% 42% 63%; content: ''; animation: drift 12s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: rotate(18deg) scale(1.08); } }
.quote-inner { position: relative; z-index: 1; }
.quote-section blockquote { max-width: 15ch; margin: 0 auto 2rem; font-family: var(--serif); font-size: clamp(3rem,7vw,7.2rem); font-weight: 400; letter-spacing: -.045em; line-height: .88; }
.quote-section cite { font-style: normal; font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--acid); }

.cta-section { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; color: var(--ink); background: var(--acid); }
.cta-section .display { max-width: 12ch; }

.site-footer { padding: 3.5rem var(--pad) 2rem; color: var(--white); background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 3rem; padding-bottom: 4rem; }
.footer-statement { max-width: 18ch; margin: 1.5rem 0 0; color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.footer-column h2 { margin: 0 0 1rem; color: rgba(255,255,255,.42); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a { display: table; margin: .45rem 0; font-size: .8rem; }
.footer-column a:hover { color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.43); font-size: .61rem; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-tools .language-switcher { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .section-intro, .craft-grid, .constellation-head { grid-template-columns: 1fr; }
  .section-label { margin-bottom: 2rem; }
  .craft-sticky { position: relative; top: 0; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .story-card:first-child { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header { min-height: 5.4rem; }
  .hero { min-height: 48rem; }
  .hero-grid { padding-top: 8rem; }
  .hero h1 { font-size: clamp(3.8rem, 18vw, 6.5rem); }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom .button { width: 100%; }
  .intro-copy, .principles, .journal-grid { grid-template-columns: 1fr; }
  .principle { min-height: auto; padding: 1.8rem 0 2.5rem !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.23); }
  .principle h3 { margin-top: 2.5rem; }
  .craft-visual, .craft-visual img { min-height: 31rem; }
  .journal-heading { display: block; }
  .journal-heading .text-link { margin-top: 1.5rem; }
  .story-card, .story-card:first-child { min-height: 30rem; grid-column: auto; }
  .directory-row { grid-template-columns: 2.2rem 1fr 1.5rem; }
  .directory-kind { display: none; }
  .quote-section { min-height: 38rem; }
  .quote-section::before { width: 95vw; height: 95vw; }
  .quote-section::after { width: 65vw; height: 65vw; }
  .cta-section { grid-template-columns: 1fr; }
  .cta-section .button { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}



/* --- Real photography integration --- */
.craft-visual > .craft-main {
  width: 100%;
  height: 100%;
  min-height: 42rem;
  object-fit: cover;
  object-position: center 40%;
}
.craft-visual > .craft-detail {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: min(48%, 21rem);
  height: 13rem;
  min-height: 0;
  border: 6px solid var(--paper-soft);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 1.25rem 3rem rgba(17,17,15,.25);
  transition: transform .7s var(--ease);
}
.craft-visual:hover > .craft-detail { transform: translateY(-5px) rotate(.6deg); }
.story-photo-cardinal { object-position: 42% center !important; }
.quote-section { isolation: isolate; }
.quote-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.quote-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,15,.88), rgba(17,17,15,.58)), linear-gradient(0deg, rgba(17,17,15,.55), transparent 60%);
  content: '';
}
.quote-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; filter: saturate(.72) contrast(1.06); }

@media (max-width: 680px) {
  .craft-visual > .craft-main { min-height: 31rem; }
  .craft-visual > .craft-detail { width: 52%; height: 9.5rem; border-width: 4px; }
  .quote-media img { object-position: 54% center; }
}


/* --- Bonzer editorial image crossfade --- */
.story-photo-bonzer,
.story-photo-bonzer-alt { object-position: 78% center !important; }
.story-photo-bonzer-alt {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease) !important;
}
.story-card:hover .story-photo-bonzer-alt { opacity: 1; }
@media (hover: none) {
  .story-photo-bonzer-alt { display: none; }
}


/* --- Cinematic quote background correction --- */
.quote-section {
  min-height: clamp(34rem, 43.75vw, 48rem);
  padding-block: clamp(6rem, 10vw, 9rem);
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, rgba(17,17,15,.82) 0%, rgba(17,17,15,.68) 52%, rgba(17,17,15,.76) 100%),
    url('/assets/quote-workshop-wide-1400.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.quote-media { display: none !important; }
.quote-section::before,
.quote-section::after { z-index: 1; }
.quote-inner {
  z-index: 2;
  max-width: 74rem;
  text-shadow: 0 1px 28px rgba(0,0,0,.38);
}
@media (min-width: 1500px) and (min-resolution: 1.25dppx) {
  .quote-section {
    background-image:
      linear-gradient(90deg, rgba(17,17,15,.82) 0%, rgba(17,17,15,.68) 52%, rgba(17,17,15,.76) 100%),
      url('/assets/quote-workshop-wide-2400.webp');
  }
}
@media (max-width: 680px) {
  .quote-section {
    min-height: 36rem;
    background-position: 55% center;
    background-image:
      linear-gradient(90deg, rgba(17,17,15,.82), rgba(17,17,15,.72)),
      url('/assets/quote-workshop-wide-1400.webp');
  }
}
