@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/syne-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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: "Syne";
  src: url("../assets/fonts/syne-700-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-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";
  src: url("../assets/fonts/syne-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  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: "Syne";
  src: url("../assets/fonts/syne-800-ext.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-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: "Literata";
  src: url("../assets/fonts/literata-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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: "Literata";
  src: url("../assets/fonts/literata-400-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-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: "Literata";
  src: url("../assets/fonts/literata-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  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: "Literata";
  src: url("../assets/fonts/literata-600-ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-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: "Literata";
  src: url("../assets/fonts/literata-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  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: "Literata";
  src: url("../assets/fonts/literata-700-ext.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-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;
}

:root {
  --ink: #121417;
  --stone: #d9ddd9;
  --paper: #eceeea;
  --panel: #f7f7f4;
  --lacquer: #8f1d2c;
  --lacquer-deep: #6e1420;
  --mist: #6f7875;
  --line: rgba(18, 20, 23, 0.14);
  --rail-w: 5.5rem;
  --type-body: "Literata", Georgia, serif;
  --type-display: "Syne", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--type-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(143, 29, 44, 0.07), transparent 55%),
    linear-gradient(165deg, var(--paper) 0%, var(--stone) 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lacquer);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--lacquer-deep);
}

.spine-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0.6rem;
  background: var(--ink);
  color: var(--stone);
}

.spine-mark {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}

.spine-word {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--type-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
}

.spine-age {
  font-family: var(--type-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lacquer);
  border: 1px solid var(--lacquer);
  padding: 0.35rem 0.4rem;
}

.stage-wrap {
  margin-left: var(--rail-w);
  min-height: 100vh;
}

.top-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 244, 0.88);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.nav-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-orbit a {
  font-family: var(--type-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav-orbit a[aria-current="page"],
.nav-orbit a:hover {
  color: var(--lacquer);
}

.pulse-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--panel);
  background: var(--lacquer);
  border: none;
  cursor: pointer;
  padding: 0.85rem 1.25rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.pulse-cta:hover {
  background: var(--lacquer-deep);
  color: var(--panel);
  transform: translateY(-1px);
}

.pulse-cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.pulse-cta--ghost:hover {
  background: var(--ink);
  color: var(--panel);
}

.hero-cleave {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100vh - 4.5rem);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  background: var(--panel);
}

.brand-blast {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--ink);
}

.brand-blast span {
  display: block;
  color: var(--lacquer);
}

.lead-ink {
  max-width: 34rem;
  margin: 0;
  font-size: 1.2rem;
  color: var(--mist);
}

.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 22rem;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.04);
  animation: slow-drift 18s var(--ease) infinite alternate;
}

@keyframes slow-drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.slab {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4.5rem);
}

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

.slab-kicker {
  font-family: var(--type-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lacquer);
  margin: 0 0 0.75rem;
}

.slab-title {
  font-family: var(--type-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.prose-block p {
  margin: 0 0 1.1rem;
  max-width: 68ch;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.gallery-river {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(78%, 420px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-river figure {
  margin: 0;
  scroll-snap-align: start;
  background: var(--ink);
}

.gallery-river img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}

.gallery-river figcaption {
  padding: 0.85rem 1rem;
  font-family: var(--type-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.facts-ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
  background: var(--panel);
}

.facts-ledger caption {
  text-align: left;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 0 0.85rem;
}

.facts-ledger th,
.facts-ledger td {
  border: 1px solid var(--line);
  padding: 0.9rem 1rem;
  color:black;
  vertical-align: top;
  text-align: left;
}
td, a{
  color:red;
}

.facts-ledger thead th {
  background: var(--ink);
  color: var(--stone);
  font-family: var(--type-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facts-ledger tfoot td {
  background: rgba(143, 29, 44, 0.08);
  font-weight: 600;
}

.merit-list,
.step-rail {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.merit-list li,
.step-rail li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.merit-list li:last-child,
.step-rail li:last-child {
  border-bottom: 1px solid var(--line);
}

.merit-index,
.step-num {
  font-family: var(--type-display);
  font-weight: 800;
  color: var(--lacquer);
  font-size: 1.1rem;
}

.fold-stack {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.fold-item {
  border: 1px solid var(--line);
  background: var(--panel);
}

.fold-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--type-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  color: var(--ink);
}

.fold-trigger::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--lacquer);
  transition: transform 0.25s var(--ease);
}

.fold-item.is-open .fold-trigger::after {
  transform: rotate(45deg);
}

.fold-panel {
  display: none;
  padding: 0 1.15rem 1.15rem;
  color: var(--mist);
}

.fold-item.is-open .fold-panel {
  display: block;
  animation: rise-in 0.35s var(--ease);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(-0.35rem); }
  to { opacity: 1; transform: translateY(0); }
}

.split-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-dock {
  background: var(--ink);
  color: var(--stone);
}

.contact-dock a {
  color: #f0c9cf;
}

.contact-dock .slab-title,
.contact-dock .slab-kicker {
  color: var(--stone);
}

.contact-dock .slab-kicker {
  color: #e8a0aa;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
  margin: 0;
}

.hours-grid dt {
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hours-grid dd {
  margin: 0 0 0.75rem;
}

.site-foot {
  margin-left: var(--rail-w);
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--mist);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-links a {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--type-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foot-links a:hover {
  color: var(--lacquer);
}

.age-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  background:
    linear-gradient(160deg, #101214 0%, #1c2220 55%, #2a1418 100%);
  color: var(--stone);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.age-veil[hidden] {
  display: none;
}

.age-panel {
  max-width: 28rem;
  width: 100%;
  border: 1px solid rgba(217, 221, 217, 0.25);
  padding: 2rem 1.75rem;
  background: rgba(18, 20, 23, 0.72);
  animation: rise-in 0.45s var(--ease);
}

.age-panel h2 {
  font-family: var(--type-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 1rem;
  line-height: 1.15;
}

.age-panel p {
  margin: 0 0 1.5rem;
  color: #b7bfbb;
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-slip {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  max-width: 24rem;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(18, 20, 23, 0.12);
  padding: 1.15rem 1.2rem;
  animation: rise-in 0.4s var(--ease);
}

.cookie-slip[hidden] {
  display: none;
}

.cookie-slip p {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--mist);
}

.job-board,
.partner-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.job-card {
  border-left: 3px solid var(--lacquer);
  background: var(--panel);
  padding: 1.25rem 1.35rem;
}

.job-card h3 {
  font-family: var(--type-display);
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.field-row {
  display: grid;
  gap: 0.35rem;
}

.field-row label {
  font-family: var(--type-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field-row input,
.field-row select,
.field-row textarea {
  font: inherit;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  width: 100%;
}

.field-row textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 1rem;
  color: var(--mist);
  margin: 0;
}

.toast-ping {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(143, 29, 44, 0.1);
  border-left: 3px solid var(--lacquer);
  display: none;
}

.toast-ping.is-on {
  display: block;
  animation: rise-in 0.3s var(--ease);
}

.legal-stack h2 {
  font-family: var(--type-display);
  font-size: 1.45rem;
  margin: 2rem 0 0.75rem;
}

.legal-stack ul {
  padding-left: 1.2rem;
}

.menu-toggle {
  display: none;
  font-family: var(--type-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-cleave,
  .split-duo,
  .hours-grid {
    grid-template-columns: 1fr;
  }

  .brand-blast {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }
}

@media (max-width: 760px) {
  :root {
    --rail-w: 0px;
  }

  .spine-rail {
    position: static;
    width: 100%;
    flex-direction: row;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .spine-word {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.16em;
  }

  .stage-wrap,
  .site-foot {
    margin-left: 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-orbit {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 0.5rem;
  }

  .top-strip.is-expanded .nav-orbit {
    display: flex;
  }

  .top-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-river {
    grid-auto-columns: minmax(88%, 320px);
  }

  .cookie-slip {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
