@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/literata-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/literata-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/literata-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --espresso: #1a1210;
  --cocoa: #3e2e2e;
  --caramel: #c18d5d;
  --caramel-2: #e0b07a;
  --ivory: #f6f0e8;
  --sand: #eadfd2;
  --paper: #fbf7f2;
  --ink: #241816;
  --deep: #6e4a2e;
  --cream: #f6ede4;
  --line: rgba(62, 46, 46, 0.16);
  --glass: rgba(246, 240, 232, 0.08);
  --font-display: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --font-text: "Literata", "Iowan Old Style", Palatino, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.1rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-text);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--caramel); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--caramel-2); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  background: var(--caramel);
  color: var(--espresso);
  padding: 0.5rem 0.8rem;
  z-index: 80;
  text-decoration: none;
  font-family: var(--font-display);
}
.skip:focus { transform: none; }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 70;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--caramel);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.demo {
  margin: 0;
  padding: 0.55rem var(--pad);
  background: #120c0b;
  color: var(--caramel-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem var(--pad);
  background: rgba(26, 18, 16, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(193, 141, 93, 0.22);
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
@media (max-width: 859px) {
  .wordmark { font-size: 0.95rem; }
}
.nav-toggle {
  font-family: var(--font-display);
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(246, 240, 232, 0.3);
  min-height: 2.6rem;
  padding: 0 0.8rem;
}
.menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(26, 18, 16, 0.96);
  padding: 0.4rem var(--pad) 1rem;
  border-bottom: 1px solid rgba(193, 141, 93, 0.22);
}
.menu.is-open { display: grid; }
.menu a {
  text-decoration: none;
  font-family: var(--font-display);
  min-height: 2.7rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(246, 240, 232, 0.08);
}
.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--caramel);
  color: var(--espresso);
  border-radius: 999px;
  padding: 0.55rem 0.85rem 0.55rem 0.7rem;
  white-space: nowrap;
}
.wa-icon {
  width: 1.15em;
  height: 1.15em;
  display: block;
  flex: none;
}

.hero {
  display: grid;
  gap: 1.6rem;
  padding: 2.2rem var(--pad) 2.6rem;
  background:
    radial-gradient(900px 420px at 80% 10%, rgba(193, 141, 93, 0.18), transparent 60%),
    var(--espresso);
  min-height: calc(100svh - 7rem);
  align-items: end;
}
.hero-kicker {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  color: var(--caramel-2);
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 0;
}
h1 { font-size: clamp(3.4rem, 12vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); line-height: 0.98; max-width: 14ch; }
.line { display: block; overflow: hidden; }
.line-inner { display: block; }
.hero-lead {
  max-width: 38rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--sand);
  margin: 1.2rem 0 1.3rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--caramel);
  color: var(--espresso);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 0.6rem 1.4rem rgba(193, 141, 93, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 0.9rem 1.8rem rgba(193, 141, 93, 0.28); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(246, 240, 232, 0.35);
  box-shadow: none;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}
.pills li {
  backdrop-filter: blur(10px);
  background: var(--glass);
  border: 1px solid rgba(193, 141, 93, 0.35);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--cream);
}
.hero-visual { position: relative; }
.hero-frame {
  overflow: hidden;
  border-radius: 1.4rem;
  height: min(68vh, 640px);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.35);
}
.hero-frame img {
  width: 100%;
  height: 120%;
  object-fit: cover;
}
.portrait {
  position: absolute;
  left: 1rem;
  bottom: 3.2rem;
  width: 6.4rem;
  margin: 0;
  padding: 0.7rem;
  background: rgba(26, 18, 16, 0.82);
  border: 1px solid rgba(193, 141, 93, 0.5);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-align: center;
  backdrop-filter: blur(8px);
}
.portrait span {
  display: block;
  font-size: 1.4rem;
  color: var(--caramel);
  letter-spacing: -0.04em;
}
.hero-visual figcaption,
.about-photo figcaption {
  margin-top: 0.45rem;
  color: var(--caramel-2);
  font-size: 0.8rem;
}

.marquee {
  overflow: hidden;
  background: var(--caramel);
  color: var(--espresso);
  border-block: 1px solid rgba(26, 18, 16, 0.2);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.marquee p {
  margin: 0;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1rem, 2vw, 1.35rem);
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(193, 141, 93, 0.25);
}
.stat {
  background: var(--espresso);
  padding: 1.4rem var(--pad);
}
.stat-num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--caramel-2);
}
.stat-label {
  margin: 0.4rem 0 0;
  max-width: 18ch;
  color: var(--sand);
  font-size: 0.95rem;
}

.about, .place, .faq, .open-lines, .close, .specialties, .quotes {
  padding: 4.2rem var(--pad);
}
.about {
  display: grid;
  gap: 2rem;
  background: var(--ivory);
  color: var(--ink);
}
.about blockquote {
  margin: 1.2rem 0;
  padding: 0;
  border: 0;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.45;
}
.about blockquote p { margin: 0 0 0.7rem; }
.source, .fine, .note { color: var(--deep); font-size: 0.92rem; }
.about .source { color: var(--deep); }
.creds { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.creds li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  max-width: 46rem;
}
.creds strong { font-family: var(--font-display); display: block; }
.blank {
  font-style: italic;
  border-bottom: 1px dotted var(--deep);
}
.about-photo img {
  width: 100%;
  border-radius: 1.2rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.specialties { background: #140e0c; }
.section-head p, .trajectory, .timeline-intro p, .place-copy p, .faq > p {
  max-width: 42rem;
  color: var(--sand);
}
.section-head { margin-bottom: 1.6rem; }
.section-head h2, .timeline-intro h2, .place h2, .faq h2, .open-lines h2, .close h2 { margin-bottom: 0.8rem; }
.cards {
  display: grid;
  gap: 0.8rem;
}
.card {
  background: rgba(246, 240, 232, 0.04);
  border: 1px solid rgba(193, 141, 93, 0.22);
  border-radius: 1.1rem;
  padding: 1.2rem 1.15rem 1.3rem;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 176, 122, 0.7);
  box-shadow: 0 1rem 2rem rgba(193, 141, 93, 0.12);
}
.icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  color: var(--caramel-2);
  border: 1px solid rgba(193, 141, 93, 0.4);
  border-radius: 50%;
  margin-bottom: 0.8rem;
}
.icon svg { width: 1.35rem; height: 1.35rem; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.45rem; line-height: 1.15; }
.card p { margin: 0; color: var(--sand); }
.card a { color: var(--caramel-2); }
.trajectory { margin-top: 1.4rem; }

.timeline { background: var(--sand); color: var(--ink); padding: 0; }
.timeline-sticky {
  padding: 4rem var(--pad);
  display: grid;
  gap: 1.6rem;
  background: var(--sand);
}
.timeline-intro p { color: var(--deep); }
.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.4rem;
  display: grid;
  gap: 1.2rem;
}
.rail {
  position: absolute;
  left: 0.7rem;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: rgba(62, 46, 46, 0.18);
}
.rail-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--cocoa);
  transform: scaleY(0);
  transform-origin: top center;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  opacity: 0.78;
  transition: opacity 0.4s var(--ease);
}
.step.is-on { opacity: 1; }
.dot {
  width: 1.7rem;
  height: 1.7rem;
  margin-left: -2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ivory);
  border: 1px solid var(--cocoa);
  font-family: var(--font-display);
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
}
.step.is-on .dot { background: var(--cocoa); color: var(--ivory); }
.step h3 { font-size: 1.35rem; line-height: 1.15; margin-bottom: 0.3rem; }
.step p { margin: 0 0 0.4rem; }

.quotes { background: var(--ivory); color: var(--ink); overflow: hidden; }
.section-head.light p, .quotes .fine { color: var(--deep); }
.quote-pin { overflow: hidden; }
.quote-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  padding-bottom: 0.4rem;
}
.quote {
  width: min(78vw, 26rem);
  margin: 0;
  padding: 1.3rem;
  background: var(--paper);
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  box-shadow: 0 0.8rem 1.6rem rgba(36, 24, 22, 0.05);
}
.quote p {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
}
.quote footer {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
}
.quotes .fine { margin-top: 1rem; }

.place {
  display: grid;
  gap: 1.2rem;
  background: var(--espresso);
}
.hours { margin: 1rem 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(246, 240, 232, 0.14);
  padding: 0.55rem 0;
  max-width: 24rem;
}
.hours dt { font-family: var(--font-display); }
.hours dd { margin: 0; }
.text-link { color: var(--caramel-2); }
.map {
  min-height: 18rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #2a211f;
}
.map iframe { width: 100%; height: 20rem; border: 0; }

.faq { background: #120d0c; }
.faq-list { margin-top: 1rem; max-width: 46rem; }
.faq details { border-top: 1px solid rgba(246, 240, 232, 0.14); }
.faq details:last-child { border-bottom: 1px solid rgba(246, 240, 232, 0.14); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--caramel-2);
  border-bottom: 2px solid var(--caramel-2);
  transform: rotate(45deg);
  flex: none;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq-panel { overflow: hidden; transition: height 0.4s var(--ease); }
.faq-panel p { margin: 0 0 1rem; color: var(--sand); }

.open-lines { background: var(--sand); color: var(--ink); }
.open-lines ul { list-style: none; margin: 1rem 0 0; padding: 0; max-width: 40rem; }
.open-lines li {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px dotted rgba(62, 46, 46, 0.35);
}
.open-lines li span:first-child { font-family: var(--font-display); font-weight: 700; }

.close {
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(193, 141, 93, 0.25), transparent 60%),
    var(--caramel);
  color: var(--espresso);
}
.close p { max-width: 36rem; }
.close .btn { background: var(--espresso); color: var(--ivory); }

.footer {
  padding: 2rem var(--pad) 5.5rem;
  background: #100c0b;
  color: var(--sand);
  font-size: 0.95rem;
}
.footer p { margin: 0 0 0.55rem; max-width: 46rem; }
.footer a { color: var(--caramel-2); }
.footer strong { font-family: var(--font-display); color: var(--ivory); }

.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: calc(1.1rem + env(safe-area-inset-bottom));
  z-index: 45;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--caramel);
  color: var(--espresso);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 0.7rem 1.4rem rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.float-wa .wa-icon { width: 1.85rem; height: 1.85rem; }
.float-wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.float-wa.is-on:hover { transform: translateY(-3px); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .menu {
    display: flex;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    gap: 1rem;
  }
  .menu a { border: 0; min-height: 0; font-size: 0.95rem; }
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .about, .place { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: 1 / -1; }
  .timeline-sticky {
    min-height: 100vh;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }
  .quote { width: 28rem; }
}

@media (max-width: 859px) {
  .quote-track {
    width: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.6rem;
  }
  .quote { scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .btn, .card, .float-wa, .step, .faq summary::after { transition: none; }
  .hero-frame img { height: 100%; }
}
