/* ============================================================
   ONYX LAGREE — design system
   Palette: onyx black · deep forest marble · taupe · sage · bone
   Typography: Instrument Sans [display/body] · Space Grotesk
   [labels/buttons — semi-mono accent] · Italiana [logotype only]
   Reference: o-p-e-n.com [Monument Grotesk + Semi-Mono]
   ============================================================ */

:root {
  --onyx: #181713;
  --charcoal: #23221d;
  --forest: #2e3b33;
  --forest-deep: #222d27;
  --taupe: #8a7565;
  --taupe-light: #b3a191;
  --sage: #9aa38f;
  --sage-light: #c3c8b8;
  --bone: #f1ede4;
  --bone-warm: #e9e2d4;
  --travertine: #d9cfbe;
  --ink: #1d1c18;
  --hairline: rgba(24, 23, 19, 0.14);
  --hairline-light: rgba(241, 237, 228, 0.18);
  --serif-logo: 'Italiana', serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --mono: 'Space Grotesk', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bone);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 5vw; }
.wrap > * { min-width: 0; }

/* ---------- type utilities ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--taupe);
}

.display {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.editorial {
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.35;
}

.grain { position: relative; }
.grain::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}
.grain > * { position: relative; z-index: 2; }

/* ---------- announcement bar ---------- */

.announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  display: block;
  text-align: center;
  background: var(--forest-deep);
  color: var(--bone-warm);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.62rem 1rem;
  border-bottom: 1px solid var(--hairline-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announce:hover { color: var(--sage-light); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 33px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4vw;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  color: var(--bone);
}

.nav.scrolled {
  background: rgba(24, 23, 19, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.8rem 4vw;
}

.nav-logo {
  font-family: var(--serif-logo);
  font-size: 1.55rem;
  letter-spacing: 0.22em;
  line-height: 1;
}

.nav-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.52rem;
  letter-spacing: 0.62em;
  margin-top: 0.28rem;
  color: var(--sage-light);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.nav-links a { opacity: 0.85; transition: opacity 0.25s; }
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.2;
  padding: 0.8rem 1.7rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  background: transparent;
  text-align: center;
}

.btn-solid {
  background: linear-gradient(180deg, #faf6ec, var(--bone-warm));
  color: var(--onyx);
  border-color: rgba(241,237,228,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 6px 18px rgba(12,12,10,0.28);
}
.btn-solid:hover, .btn-solid:active { background: var(--bone); color: var(--onyx); box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 3px 10px rgba(12,12,10,0.3); }

.btn-glass {
  background: linear-gradient(165deg, rgba(241,237,228,0.14), rgba(241,237,228,0.05));
  color: var(--bone);
  border-color: rgba(241,237,228,0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(241,237,228,0.28), 0 6px 18px rgba(12,12,10,0.22);
}
.btn-glass:hover, .btn-glass:active { background: rgba(241,237,228,0.22); border-color: rgba(241,237,228,0.5); color: var(--bone); }

.btn-dark {
  background: var(--onyx);
  color: var(--bone);
  border-color: var(--onyx);
}
.btn-dark:hover { background: transparent; color: var(--onyx); }

.btn-outline-dark { color: var(--onyx); border-color: var(--onyx); }
.btn-outline-dark:hover { background: var(--onyx); color: var(--bone); }

.nav .btn { padding: 0.7rem 1.6rem; }

.nav-toggle { display: none; background: none; border: none; color: inherit; font-size: 1.6rem; cursor: pointer; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,23,19,0.42) 0%, rgba(24,23,19,0.08) 38%, rgba(24,23,19,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 33px 5vw 6vh;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  margin: 0.9rem 0 1.2rem;
  max-width: 14ch;
}

.hero p.lede {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.55;
  max-width: 44ch;
  opacity: 0.92;
  margin-bottom: 2rem;
}

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

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- sections ---------- */

section { padding: 4.6rem 0; }

.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top: 0.9rem; }
.section-head p { margin-top: 1.4rem; color: rgba(29,28,24,0.72); font-size: 1.02rem; }

/* method */

.method { background: var(--bone); }

.method-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.4rem;
  align-items: center;
}

.method-img {
  position: relative;
}

.method-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.method-img img { border-radius: 14px; }

.spec { margin-top: 2rem; border-top: 1px solid var(--hairline); }

.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.2rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: baseline;
}

.spec-k {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

.spec-v { font-size: 1rem; font-weight: 500; color: var(--ink); }

.method-points { display: grid; gap: 0; margin-top: 2.5rem; }

.method-point {
  padding: 1.6rem 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  align-items: baseline;
}

.method-point:last-child { border-bottom: 1px solid var(--hairline); }

.method-point .num {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--taupe);
}

.method-point h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.3rem;
}

.method-point p { font-size: 0.95rem; color: rgba(29,28,24,0.7); }

/* gallery */

.gallery { background: var(--onyx); color: var(--bone); }
.gallery .section-head p { color: rgba(241,237,228,0.65); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gallery-grid figure { overflow: hidden; position: relative; }

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid figure:hover img { transform: scale(1.045); }

.gallery-grid figcaption {
  position: absolute;
  left: 1.2rem; bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.85;
}

/* event banner */

.event {
  background: linear-gradient(180deg, var(--forest-deep) 0%, var(--onyx) 100%);
  color: var(--bone);
  text-align: center;
}

.event h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 1rem auto 0.7rem; max-width: 18ch; }
.event .event-sub { max-width: 52ch; margin: 0 auto; color: rgba(241,237,228,0.72); }

.ticket {
  display: flex;
  max-width: min(680px, 100%);
  margin: 2.2rem auto 2.2rem;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  transform: rotate(-1.2deg);
  filter: drop-shadow(0 30px 56px rgba(0,0,0,0.5));
}

.ticket-main {
  flex: 1;
  min-width: 0;
  background: linear-gradient(170deg, #f6f2e8, #e9e2d4);
  color: var(--ink);
  padding: 2.4rem 2.4rem 2rem;
}

.ticket-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.ticket-logo { font-family: var(--serif-logo); font-size: 1.9rem; letter-spacing: 0.16em; color: var(--ink); display: block; }
.ticket-logo-sub { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.6em; color: var(--taupe); display: block; margin-top: 0.2rem; }

.ticket-row {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 0.42rem 0;
}

.ticket-row .tk {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  width: 92px;
  flex: none;
}

.ticket-row .tv { font-size: 1rem; font-weight: 500; color: var(--ink); }

.ticket-fine { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; color: var(--taupe); margin-top: 1.3rem; }

.ticket-stub {
  width: 128px;
  background: linear-gradient(170deg, #efe9dc, #e2dac9);
  border-left: 3px dashed rgba(29,28,24,0.35);
  padding: 1.8rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.ticket-admit {
  font-family: var(--mono);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.05rem;
  letter-spacing: 0.42em;
  color: var(--ink);
  font-weight: 500;
}

.ticket-barcode {
  width: 100%;
  height: 42px;
  background: repeating-linear-gradient(90deg, #1d1c18 0 3px, transparent 3px 5px, #1d1c18 5px 11px, transparent 11px 13px, #1d1c18 13px 15px, transparent 15px 21px);
}

/* pricing */

.pricing {
  background: linear-gradient(180deg, var(--onyx) 0%, var(--forest-deep) 100%);
  color: var(--bone);
}

.pricing .section-head p { color: rgba(241,237,228,0.7); }
.pricing .eyebrow { color: var(--sage-light); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.price-card {
  background: linear-gradient(165deg, rgba(241,237,228,0.10), rgba(241,237,228,0.03));
  border: 1px solid rgba(241,237,228,0.16);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(241,237,228,0.16), 0 24px 48px rgba(12,12,10,0.35);
  padding: 2.6rem 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.price-card:hover { transform: translateY(-4px); border-color: rgba(241,237,228,0.3); }

.price-card.featured {
  background: linear-gradient(165deg, rgba(241,237,228,0.18), rgba(241,237,228,0.07));
  border-color: rgba(195,200,184,0.45);
}

.price-card .tier {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1.4rem;
}

.price-card .amount {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 2.15rem;
  line-height: 1;
}

.price-card .amount small {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--sage-light);
}

.price-card ul {
  list-style: none;
  margin: 1.6rem 0 2rem;
  flex: 1;
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
}

.price-card ul li { opacity: 0.78; }

.price-card .btn { width: 100%; padding: 0.8rem 0.6rem; font-size: 0.85rem; }

.pricing-note { margin-top: 2rem; font-size: 0.85rem; color: rgba(241,237,228,0.55); text-align: center; }

/* locations */

.locations { background: var(--bone); }

.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.loc-card {
  position: relative;
  color: var(--bone);
  padding: 3.2rem 2.6rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.loc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,23,19,0.1), rgba(24,23,19,0.78));
}

.loc-card > * { position: relative; }

.loc-card .status {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.8rem;
}

.loc-card h3 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; font-size: 1.7rem; margin-bottom: 0.5rem; }
.loc-card p { font-size: 0.92rem; opacity: 0.85; margin-bottom: 1.4rem; max-width: 40ch; }

/* waitlist / email */

.waitlist {
  background: var(--forest-deep);
  color: var(--bone);
  text-align: center;
}

.waitlist h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0.9rem auto 1rem; max-width: 24ch; }
.waitlist p { max-width: 50ch; margin: 0 auto 2.4rem; color: rgba(241,237,228,0.75); }

.email-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(241,237,228,0.28);
  border-radius: 999px;
  background: linear-gradient(165deg, rgba(241,237,228,0.12), rgba(241,237,228,0.04));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(241,237,228,0.2), 0 12px 30px rgba(12,12,10,0.25);
  padding: 0.35rem;
}

.email-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1.1rem 1.4rem;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  outline: none;
  min-width: 0;
}

.email-form input::placeholder { color: rgba(241,237,228,0.45); }

.email-form button { border: none; }

.form-msg { margin-top: 1.1rem; font-size: 0.85rem; color: var(--sage-light); min-height: 1.2em; }

.mono-note {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(241,237,228,0.45);
  margin-top: 1.6rem;
}

/* footer */

footer {
  background: var(--onyx);
  color: var(--bone);
  padding: 3.8rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--hairline-light);
}

.footer-logo {
  font-family: var(--serif-logo);
  font-size: 2rem;
  letter-spacing: 0.22em;
}

.footer-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.62em;
  margin-top: 0.35rem;
  color: var(--sage-light);
}

.footer-grid h4 {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-light);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.footer-grid ul { list-style: none; display: grid; gap: 0.6rem; font-size: 0.9rem; }
.footer-grid ul a { opacity: 0.75; transition: opacity 0.25s; }
.footer-grid ul a:hover { opacity: 1; }

.footer-tag {
  margin-top: 1.2rem;
  color: rgba(241,237,228,0.6);
  font-size: 0.98rem;
  max-width: 30ch;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(241,237,228,0.45);
}

/* reveal on scroll */

body.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
body.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .method-grid { gap: 2.2rem; }
  .section-head { margin-bottom: 1.8rem; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .section-head h2 { font-size: clamp(1.65rem, 6.5vw, 2.3rem); }
  .event h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  .waitlist h2 { font-size: clamp(1.65rem, 6.5vw, 2.2rem); }
  .spec-row { grid-template-columns: 104px 1fr; gap: 1rem; }
  .spec-v { font-size: 0.94rem; }
  .price-card { padding: 2rem 1.6rem 1.8rem; }
  .loc-card { min-height: 340px; padding: 2.2rem 1.6rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(24,23,19,0.97);
    padding: 2rem 4vw 2.4rem;
    gap: 1.6rem;
  }
  .nav-toggle { display: block; }
  .method-grid { grid-template-columns: 1fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 5rem 0; }
}

@media (max-width: 700px) {
  .ticket { flex-direction: column; transform: none; }
  .ticket-stub { width: 100%; border-left: none; border-top: 3px dashed rgba(29,28,24,0.35); flex-direction: row; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; }
  .ticket-admit { writing-mode: horizontal-tb; transform: none; letter-spacing: 0.3em; font-size: 0.9rem; }
  .ticket-stub > div { flex: 1; }
  .ticket-main { padding: 1.8rem 1.5rem 1.5rem; }
  .ticket-row { flex-direction: column; gap: 0.15rem; padding: 0.55rem 0; border-bottom: 1px solid rgba(29,28,24,0.08); }
  .ticket-row .tk { width: auto; }
  .ticket-row .tv { font-size: 0.95rem; }
}

@media (max-width: 560px) {
  .announce { font-size: 0.58rem; letter-spacing: 0.06em; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-ctas .btn { width: 100%; }
  section { padding: 3rem 0; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.24em; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .nav-logo { font-size: 1.3rem; }
  .hero p.lede { font-size: 1.02rem; }
  .pricing-note { font-size: 0.78rem; }
  .mono-note { font-size: 0.6rem; letter-spacing: 0.16em; }
  .email-form { flex-direction: column; }
  .email-form button { border-left: none; border-top: 1px solid var(--hairline-light); padding: 1rem; }
}
