/* Iron Sharpens Iron — Brand Website
   Editorial monochrome: Ink Black (#232323) on Parchment Cream (#eeede5).
   1px hairlines, 0px corner radius, zero shadows, photography carries the warmth. */

@property --drawer-backdrop {
  syntax: '<number>';
  inherits: true;
  initial-value: 0;
}

:root {
  --cream: #eeede5;
  --ink: #232323;
  --white: #ffffff;
  --gray: #4a4a4a;
  --stone: #ddddda;

  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-display: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4.5vw, 48px);
  --section: clamp(88px, 11vw, 152px);
  --max: 1240px;
  --header-h: 112px;
  --hair: 1px solid currentColor;
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: 0.28s ease-out both vt-fade-out;
  }

  ::view-transition-new(root) {
    animation: 0.32s ease-in both vt-fade-in;
  }

  html {
    scroll-behavior: smooth;
  }
}

@keyframes vt-fade-out {
  to { opacity: 0; }
}

@keyframes vt-fade-in {
  from { opacity: 0; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--cream);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  font-feature-settings: "ss01" on, "tnum" on;
  -webkit-font-smoothing: antialiased;
}

html:not(.age-ok) body {
  overflow: hidden;
}

h1, h2, h3, p, ol, ul, dl, dd, figure {
  margin: 0;
}

ol, ul {
  list-style: none;
  padding: 0;
}

a {
  color: inherit;
}

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

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

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography ---------- */

.label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.04;
  text-transform: uppercase;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.chapter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.chapter--left {
  justify-content: flex-start;
}

.subhead {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--ink);
}

.lede {
  max-width: 48ch;
  margin-inline: auto;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 1.75;
  color: var(--gray);
}

.prose {
  max-width: 54ch;
  margin-inline: auto;
  color: var(--gray);
}

.prose p + p {
  margin-top: 1.35em;
}

.prose em {
  font-style: normal;
  color: var(--ink);
}

.fine {
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: var(--gray);
}

.link {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: opacity 0.2s;
}

.link:hover {
  opacity: 0.65;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 30px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: var(--hair);
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-solid {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-solid:hover {
  background: transparent;
  color: var(--ink);
}

.btn-light {
  color: var(--cream);
  border-color: rgba(238, 237, 229, 0.85);
}

.btn-light:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.65;
}

/* ---------- Seal & Social Icons ---------- */

.seal {
  display: block;
  height: auto;
  margin-inline: auto;
}

.seal--gate   { width: 128px; margin-bottom: 24px; }

.socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
  background: currentColor;
}

.social-btn:hover svg {
  color: var(--cream);
}

.site-header.is-hero:not(.is-scrolled) .social-btn:hover svg {
  color: var(--ink);
}

.social-btn svg {
  width: 13px;
  height: 13px;
  display: block;
}

/* ---------- Age Gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 40px var(--gutter);
  background: var(--cream);
  text-align: center;
  transition: opacity 0.45s ease;
}

.age-ok .gate {
  display: none;
}

.gate.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.gate-inner {
  width: 100%;
  max-width: 500px;
}

.gate-brand {
  margin-bottom: 36px;
}

.gate-q {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.gate-country {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 12px;
  margin-bottom: 32px;
}

.gate-country select {
  appearance: none;
  -webkit-appearance: none;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: max(1rem, 14px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 2px 20px 3px 0;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%23232323' stroke-width='1.25'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}

.gate-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.gate-actions .btn {
  width: 100%;
  min-height: 54px;
}

.gate-actions [data-gate="no"] {
  min-width: 112px;
}

.gate-msg {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.gate-fine {
  margin-top: 36px;
}

/* ---------- Header (Delaluz minimal 3-column bar) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px var(--gutter);
  background: var(--cream);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-hero {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  background: transparent;
  color: var(--cream);
}

.site-header.is-scrolled {
  background: var(--cream);
  color: var(--ink);
  border-bottom-color: rgba(35, 35, 35, 0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: start;
}

.header-center {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.header-mark {
  width: 60px;
  height: 60px;
  transition: filter 0.3s ease;
}

.site-header.is-hero:not(.is-scrolled) .header-mark {
  filter: invert(1) brightness(1.06);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-self: end;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 4px;
  margin-inline-start: -8px;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-bars span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.25s ease;
}

.menu-bars span:last-child {
  width: 72%;
}

.menu-btn:hover .menu-bars span:last-child {
  width: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  text-decoration: none;
  position: relative;
  padding-block: 4px;
}

.header-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-nav a:hover::after,
.header-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.header-cta:hover {
  opacity: 0.7;
}

.noscript-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
  grid-column: 1 / -1;
}

/* ---------- Navigation Drawer (native <dialog> + scroll-snap) ---------- */

.drawer {
  --drawer-width: min(22rem, 84dvw, 100dvw - 24px);
  --drawer-backdrop: 0;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.drawer::backdrop {
  background: #141412;
  opacity: calc(var(--drawer-backdrop) * 0.52);
}

.drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.drawer-scroller::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .drawer-scroller {
    scroll-behavior: smooth;
  }
}

.drawer-scroller::after {
  content: '';
  scroll-snap-align: end;
  scroll-initial-target: nearest;
}

.drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  padding: 28px 32px 36px;
  background: var(--cream);
  color: var(--ink);
  border-right: 1px solid var(--ink);
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: none;
}

.drawer-sheet::-webkit-scrollbar {
  display: none;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(35, 35, 35, 0.18);
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -10px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-block: 36px;
}

.drawer-links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(35, 35, 35, 0.14);
  transition: opacity 0.2s ease, padding-inline-start 0.2s ease;
}

.drawer-links a:hover {
  opacity: 0.6;
}

.drawer-links a[aria-current="page"] {
  opacity: 0.5;
}

.drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(35, 35, 35, 0.18);
}

.drawer-legal {
  display: flex;
  gap: 18px;
}

@supports (animation-timeline: scroll()) {
  .drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }

  .drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }

  @keyframes fade-drawer-backdrop {
    0% { --drawer-backdrop: 1; }
    100% { --drawer-backdrop: 0; }
  }
}

/* ---------- Hero (Full-Bleed Agave Field) ---------- */

.hero-stage {
  position: relative;
  height: 100svh;
  min-height: 600px;
  max-height: 980px;
  width: 100%;
  overflow: hidden;
  background: #1a1d19;
  color: var(--cream);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: contrast(1.02) saturate(0.95);
}

/* Top scrim keeps the overlaid header crisp over the pale sky;
   bottom scrim grounds the minimal typographic lockup. */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(18, 19, 17, 0.52) 0%, rgba(18, 19, 17, 0.16) 24%, transparent 46%),
    linear-gradient(to top, rgba(18, 19, 17, 0.68) 0%, rgba(18, 19, 17, 0.24) 34%, transparent 62%);
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  padding: 0 var(--gutter) clamp(44px, 7vh, 80px);
  text-align: center;
}

.hero-eyebrow {
  color: rgba(238, 237, 229, 0.88);
  margin-bottom: 14px;
}

#site {
  overflow-x: clip;
}

.hero-title {
  font-size: clamp(32px, 6.2vw, 76px);
  letter-spacing: 0.08em;
  line-height: 1.04;
  color: var(--cream);
  margin-bottom: 28px;
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

/* ---------- Page Intro (Subpages: Our Story, Contact, Legal) ---------- */

.page-intro {
  padding: clamp(72px, 10vw, 130px) var(--gutter) clamp(56px, 7vw, 88px);
  text-align: center;
}

.page-intro .h1 {
  max-width: 18ch;
  margin: 0 auto 22px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: 0.05em;
}

.page-intro .subhead {
  color: var(--gray);
}

/* ---------- Editorial Sections ---------- */

.section {
  padding: var(--section) var(--gutter);
  text-align: center;
}

.section--white {
  background: var(--white);
}

.section--stone {
  background: var(--stone);
}

.section--tight {
  padding-block: clamp(64px, 8vw, 104px);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.h2 {
  max-width: 20ch;
  margin: 0 auto 20px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0.05em;
}

.section-sub {
  margin-bottom: 40px;
}

.verse-credit {
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- No. 1 — Split Origin Feature (Delaluz bottle slot → ISI Seal) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 108px);
  align-items: center;
  max-width: 1060px;
  margin-inline: auto;
  text-align: left;
}

.seal-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: clamp(36px, 5vw, 64px);
  background: var(--white);
  border: 1px solid rgba(35, 35, 35, 0.22);
}

/* Minimal editorial registration hairlines inside the seal plinth */
.seal-frame::before,
.seal-frame::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  height: 1px;
  background: rgba(35, 35, 35, 0.14);
}

.seal-frame::before { top: 20px; }
.seal-frame::after  { bottom: 20px; }

.seal-frame-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.seal-frame img {
  width: clamp(168px, 20vw, 240px);
  height: auto;
}

.seal-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.split-content .h2 {
  margin-inline: 0;
  max-width: 14ch;
  margin-bottom: 18px;
}

.split-content .subhead {
  margin-bottom: 22px;
}

.split-content .prose {
  margin-inline: 0;
  max-width: 46ch;
}

.split-actions {
  margin-top: 36px;
}

.split--photo {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6.5vw, 96px);
}

.split--story {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 6.5vw, 96px);
}

.photo-frame {
  margin: 0;
}

.photo-frame-media {
  overflow: hidden;
  border: 1px solid rgba(35, 35, 35, 0.22);
  background: var(--stone);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.photo-frame--4x5 img {
  aspect-ratio: 4 / 5;
  object-position: center 30%;
}

.photo-frame--3x4 img {
  aspect-ratio: 3 / 4;
  object-position: center 42%;
}

.photo-frame figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: right;
}

.split--story .photo-frame figcaption {
  text-align: left;
}

/* ---------- Delaluz Hairline Spec Grid (2-col & 3-col) ---------- */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--ink);
  margin-top: 38px;
}

.spec-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1020px;
  margin: 52px auto 0;
}

.spec-cell {
  padding: 24px 20px;
  text-align: center;
}

.spec-cell + .spec-cell {
  border-left: 1px solid rgba(35, 35, 35, 0.35);
}

.spec-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 8px;
}

.spec-v {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.spec-v--email {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.spec-desc {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 28ch;
  margin-inline: auto;
}

/* ---------- No. 2 — Full-bleed Photographic Statement Band ---------- */

.photo-band {
  position: relative;
  min-height: clamp(400px, 56vh, 580px);
  display: grid;
  place-items: center;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
  overflow: hidden;
  background: #1a1816;
  color: var(--cream);
  text-align: center;
}

.photo-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 17, 15, 0.56);
  pointer-events: none;
}

.photo-band-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.photo-band .chapter {
  color: rgba(238, 237, 229, 0.8);
}

.photo-band .h2 {
  color: var(--cream);
  margin-bottom: 18px;
}

.photo-band .subhead {
  color: rgba(238, 237, 229, 0.86);
  font-weight: 400;
}

/* ---------- Thin Editorial Divider Band ---------- */

.band {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 16px var(--gutter);
  border-block: 1px solid rgba(35, 35, 35, 0.28);
  text-align: center;
}

/* ---------- No. 3 — The Label (Press Proof) ---------- */

.proof {
  --pad: clamp(32px, 5.5vw, 64px);
  --o: clamp(6px, 1vw, 10px);
  --crop: clamp(10px, 1.6vw, 16px);
  --dim: calc(var(--o) + var(--crop) + 8px);
  --gap: 28px;
  --note-w: 180px;
  --reach: calc(var(--pad) + var(--gap) + var(--note-w));
  --press: 1.7s cubic-bezier(.65, 0, .25, 1) .4s both;
  width: fit-content;
  max-width: 100%;
  margin: 56px auto 0;
}

.proof-sheet {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 18px var(--pad) var(--pad);
}

.proof-slug {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: var(--pad);
  font-size: 10px;
  letter-spacing: 0.167em;
  text-transform: uppercase;
  color: var(--gray);
}

.proof-stage {
  position: relative;
}

.proof-art {
  position: relative;
  width: min(400px, 100%);
  margin-inline: auto;
}

.proof-ink {
  display: block;
  width: 100%;
  height: auto;
}

.proof-art::after {
  content: "";
  position: absolute;
  left: calc(-1 * var(--crop));
  right: calc(-1 * var(--crop));
  top: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}

.crop { position: absolute; width: 0; height: 0; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: var(--crop); height: 1px; }
.crop::after { width: 1px; height: var(--crop); left: 0; }
.crop--tl { top: 0; left: 0; }
.crop--tr { top: 0; right: 0; }
.crop--bl { bottom: 0; left: 0; }
.crop--br { bottom: 0; right: 0; }
.crop--tl::before, .crop--bl::before { right: var(--o); }
.crop--tr::before, .crop--br::before { left: var(--o); }
.crop--tl::after, .crop--tr::after { bottom: var(--o); }
.crop--bl::after, .crop--br::after { top: var(--o); }

.dim { position: absolute; background: var(--ink); }
.dim::before, .dim::after { content: ""; position: absolute; background: var(--ink); }
.dim > span {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 4px 8px;
  background: var(--white);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.dim--w { left: 0; right: 0; top: calc(100% + var(--dim)); height: 1px; transform-origin: center; }
.dim--w::before, .dim--w::after { top: -4px; width: 1px; height: 9px; }
.dim--w::before { left: 0; }
.dim--w::after { right: 0; }

.dim--h { top: 0; bottom: 0; right: calc(100% + var(--dim)); width: 1px; transform-origin: center; }
.dim--h::before, .dim--h::after { left: -4px; width: 9px; height: 1px; }
.dim--h::before { top: 0; }
.dim--h::after { bottom: 0; }
.dim--h > span { top: 46%; padding: 8px 4px; writing-mode: vertical-rl; transform: translate(-50%, -50%) rotate(180deg); }

.proof-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  max-width: 400px;
  margin: calc(var(--dim) + 40px) 0 0;
  text-align: left;
}

.note {
  padding: 16px 0;
  border-top: 1px solid var(--ink);
}

.note-body {
  display: block;
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray);
}

.note-num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 1080px) {
  .proof-notes { display: block; max-width: none; margin: 0; }
  .note { position: absolute; top: var(--y); height: 0; padding: 0; }
  .note--r { left: var(--x); right: calc(-1 * var(--reach)); }
  .note--l { right: calc(100% - var(--x)); left: calc(-1 * var(--reach)); }
  .note::before {
    content: "";
    position: absolute;
    top: -4px;
    width: 7px;
    height: 7px;
    background: var(--white);
    border: 1px solid var(--ink);
  }
  .note--r::before { left: -3px; }
  .note--l::before { right: -3px; }
  .note-body { position: absolute; top: 10px; width: var(--note-w); }
  .note--r .note-body { right: 0; }
  .note--l .note-body { left: 0; text-align: right; }
}

/* ---------- No. 4 — Tequila Club Rules ---------- */

.rules {
  max-width: 560px;
  margin: 48px auto 0;
}

.rule {
  position: relative;
  padding: 24px 0 26px;
  text-align: center;
}

.rule + .rule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(35, 35, 35, 0.35);
}

.rule-text {
  display: block;
  font: 300 clamp(15px, 3.6vw, 17px)/1.55 var(--font-mono);
  letter-spacing: 0.02em;
}

.rule-text b {
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Waitlist Signup Band ---------- */

.waitlist-wrap {
  margin-top: 56px;
}

.waitlist-band {
  padding: clamp(72px, 9vw, 116px) var(--gutter);
  border-top: 1px solid rgba(35, 35, 35, 0.22);
  background: var(--cream);
  text-align: center;
  scroll-margin-top: var(--header-h);
}

.waitlist-band .h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.waitlist-band .lede {
  margin-bottom: 36px;
}

.join {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  text-align: left;
}

.fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  border: var(--hair);
  background: var(--white);
}

.field {
  min-width: 0;
}

.field + .field,
.fields .btn-join {
  border-left: var(--hair);
}

.input {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: max(1rem, 15px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.input::placeholder {
  color: var(--gray);
  opacity: 0.85;
}

.input:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: -5px;
}

.input[aria-invalid="true"],
.input:user-invalid {
  box-shadow: inset 0 -2px 0 var(--ink);
}

.select {
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none' stroke='%23232323' stroke-width='1.25'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.select[data-empty="true"] {
  color: var(--gray);
}

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

.btn-join {
  min-height: 54px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
}

@media (min-width: 1001px) {
  .join.has-state {
    max-width: 960px;
  }
  .join.has-state .fields {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .join.has-state .fields {
    grid-template-columns: 1fr 1fr;
  }
  .join.has-state .field:first-child,
  .join.has-state .btn-join {
    grid-column: 1 / -1;
  }
  .join.has-state .field + .field,
  .join.has-state .btn-join {
    border-top: var(--hair);
  }
  .join.has-state .field:first-child + .field,
  .join.has-state .btn-join {
    border-left: 0;
  }
}

.form-msg {
  min-height: 1.65em;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink);
}

.consent {
  margin-top: 4px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join-success {
  padding: 36px 28px;
  text-align: center;
  border: var(--hair);
  background: var(--white);
}

.success-title {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}

.join-success p:not(.display) {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--gray);
}

/* ---------- Contact Page Form ---------- */

.contact-shell {
  max-width: 680px;
  margin-inline: auto;
  text-align: left;
}

.contact-meta {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 56px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-control {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: max(1rem, 15px);
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}

.form-control::placeholder {
  color: var(--gray);
  opacity: 0.7;
}

.form-control:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}

.form-control[aria-invalid="true"],
.form-control:user-invalid {
  border-bottom-width: 2px;
}

textarea.form-control {
  min-height: 168px;
  resize: vertical;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
}

.contact-success {
  padding: 40px 32px;
  border: 1px solid var(--ink);
  background: var(--white);
  text-align: center;
}

.contact-success .display {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 14px;
}

/* ---------- Monumental Navigation Index (Delaluz signature block) ---------- */

.monument-nav {
  padding: clamp(72px, 9vw, 124px) var(--gutter) clamp(64px, 8vw, 100px);
  text-align: center;
  border-top: 1px solid rgba(35, 35, 35, 0.22);
  background: var(--cream);
}

.monument-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.monument-list a {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.22;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 0.22s ease;
}

.monument-list a:hover {
  opacity: 0.45;
}

.monument-list a[aria-current="page"] {
  opacity: 0.36;
}

/* ---------- Heritage Colophon Footer ---------- */

.colophon {
  padding: clamp(48px, 6vw, 72px) var(--gutter) 56px;
  text-align: center;
  background: var(--cream);
  border-top: 1px solid rgba(35, 35, 35, 0.14);
}

.colophon-origin {
  margin-bottom: 24px;
}

.colophon-origin small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 4px;
}

.colophon-origin strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}

.colophon-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-bottom: 28px;
}

.colophon-links a {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray);
}

.colophon-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.colophon-copy {
  max-width: 62ch;
  margin: 0 auto 28px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--gray);
}

.colophon-legal {
  margin-bottom: 22px;
}

.colophon-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Legal Pages ---------- */

.legal-body {
  text-align: left;
  max-width: 64ch;
  margin-inline: auto;
}

.legal-body h2 {
  margin: 2.5em 0 0.7em;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Opt-in Motion (only when user has no reduced-motion preference) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.85s ease, transform 0.85s ease;
  }

  .js [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }

  .js .proof .crop,
  .js .proof .note {
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .js .proof .dim--w { transform: scaleX(0); }
  .js .proof .dim--h { transform: scaleY(0); }
  .js .proof .dim { transition: transform 0.9s cubic-bezier(.65, 0, .25, 1) 0.25s; }
  .js .proof .dim > span { opacity: 0; transition: opacity 0.5s ease 0.9s; }
  .js .proof .proof-ink { clip-path: inset(0 0 100% 0); }

  .js .proof.is-in .crop { opacity: 1; }
  .js .proof.is-in .dim { transform: none; }
  .js .proof.is-in .dim > span { opacity: 1; }
  .js .proof.is-in .proof-ink { animation: press var(--press); }
  .js .proof.is-in .proof-art::after { animation: roll var(--press); }
  .js .proof.is-in .note { opacity: 1; }
  .js .proof.is-in .note:nth-child(1) { transition-delay: 1.95s; }
  .js .proof.is-in .note:nth-child(2) { transition-delay: 2.1s; }
  .js .proof.is-in .note:nth-child(3) { transition-delay: 2.25s; }
  .js .proof.is-in .note:nth-child(4) { transition-delay: 2.4s; }
  .js .proof.is-in .note:nth-child(5) { transition-delay: 2.55s; }

  .js .rule + .rule::before {
    transform: scaleX(0);
    transition: transform 0.75s cubic-bezier(.65, 0, .25, 1) calc(var(--i) * 0.4s);
  }

  .js .rule-text {
    opacity: 0;
    transition: opacity 0.65s ease calc(var(--i) * 0.4s + 0.18s);
  }

  .js .rules.is-in .rule + .rule::before { transform: none; }
  .js .rules.is-in .rule-text { opacity: 1; }
}

@keyframes press {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0); }
}

@keyframes roll {
  0% { top: 0; opacity: 0; }
  6%, 94% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .header-nav,
  .header-right .socials {
    display: none;
  }

  .split,
  .split--photo,
  .split--story {
    grid-template-columns: 1fr;
    max-width: 560px;
    text-align: center;
  }

  .photo-frame {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
  }

  .photo-frame figcaption,
  .split--story .photo-frame figcaption {
    text-align: center;
  }

  .chapter--left {
    justify-content: center;
  }

  .split-content .h2,
  .split-content .prose {
    margin-inline: auto;
  }

  .seal-frame {
    max-width: 380px;
    width: 100%;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
  }

  .spec-grid--3 {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .spec-grid--3 .spec-cell + .spec-cell {
    border-left: 0;
    border-top: 1px solid rgba(35, 35, 35, 0.35);
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 92px;
  }

  .site-header {
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
    padding-block: 12px;
  }

  .header-mark {
    width: 48px;
    height: 48px;
  }

  .header-right .header-cta {
    display: none;
  }

  .wordmark {
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .hero-stage {
    min-height: 540px;
  }

  .hero-media {
    object-position: 54% center;
  }

  .proof {
    width: 100%;
  }

  .fields {
    grid-template-columns: 1fr;
  }

  .field + .field,
  .fields .btn-join {
    border-left: 0;
    border-top: var(--hair);
  }

  .gate-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .proof-notes {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-cell + .spec-cell {
    border-left: 0;
    border-top: 1px solid rgba(35, 35, 35, 0.35);
  }
}
