:root {
  --ink: #171714;
  --paper: #f2efe8;
  --sand: #d8cebc;
  --cream: #f7f4ed;
  --accent: #7b2d22;
  --line: rgba(23, 23, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 4vw;
  color: white;
  mix-blend-mode: difference;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.main-nav a,
.header-actions a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.main-nav a:hover,
.header-actions a:hover {
  opacity: 1;
}

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

.language-toggle {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  padding: 6px;
}

.header-cta {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  padding: 13vw 7vw 7vw;
  background: #0d0d0b;
  isolation: isolate;
}

.hero-media,
.hero-cinematic,
.hero-vignette,
.hero-grain {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
}

.hero-cinematic {
  inset: -6%;
  background:
    radial-gradient(ellipse at 74% 38%, rgba(224, 181, 111, 0.42) 0%, rgba(155, 100, 54, 0.18) 21%, transparent 45%),
    radial-gradient(ellipse at 47% 88%, rgba(44, 65, 48, 0.78) 0%, transparent 53%),
    linear-gradient(180deg, rgba(11, 14, 12, 0.03) 0%, rgba(9, 11, 9, 0.4) 54%, rgba(5, 6, 5, 0.92) 100%),
    linear-gradient(125deg, #111711 0%, #384034 34%, #8c6847 62%, #171611 100%);
  transform: scale(1.08);
  animation: cinematicDrift 18s ease-in-out infinite alternate;
}

.hero-cinematic::before,
.hero-cinematic::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-cinematic::before {
  width: 72vw;
  height: 31vw;
  left: -9vw;
  bottom: 4vh;
  background: linear-gradient(165deg, rgba(18, 29, 21, 0.2), #132019 54%, #080b09 100%);
  transform: rotate(-7deg);
  box-shadow: 24vw -7vw 0 rgba(25, 37, 28, 0.82), 52vw -3vw 0 rgba(17, 26, 20, 0.74);
}

.hero-cinematic::after {
  width: 23vw;
  height: 23vw;
  right: 15vw;
  top: 14vh;
  background: radial-gradient(circle, rgba(248, 214, 156, 0.66) 0%, rgba(197, 141, 78, 0.24) 32%, transparent 70%);
  filter: blur(12px);
  animation: sunrisePulse 7s ease-in-out infinite alternate;
}

.hero-vignette {
  background:
    linear-gradient(90deg, rgba(5, 6, 5, 0.78) 0%, rgba(5, 6, 5, 0.35) 48%, rgba(5, 6, 5, 0.2) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.48) 100%);
}

.hero-grain {
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.hero-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 48px;
  padding: 7vw;
  text-align: center;
  color: #f7f4ed;
  background: #080806;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}

.hero-intro p {
  margin: 0;
  max-width: 1000px;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4.7vw, 76px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  opacity: 0;
  transform: translateY(16px);
  animation: introText 1.2s 0.25s ease forwards;
}

.hero-intro span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.42em;
  opacity: 0;
  animation: introBrand 1s 1.75s ease forwards;
}

.hero-intro.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  opacity: 0;
  transform: translateY(22px);
  animation: heroReveal 1.4s 3.45s cubic-bezier(.2,.7,.2,1) forwards;
}

.eyebrow {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
}

.eyebrow.dark {
  color: var(--accent);
}

.hero h1,
.statement h2,
.lot-copy h2,
.origin h2,
.membership h2,
.modal h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 1040px;
  font-size: clamp(52px, 7.2vw, 118px);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  margin-top: 0.13em;
  font-weight: 500;
  color: #d8c19c;
}

.hero-copy {
  max-width: 690px;
  font-size: clamp(15px, 1.25vw, 19px);
  margin: 30px 0 0;
  color: rgba(255,255,255,0.76);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  border: 0;
  cursor: pointer;
  padding: 16px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: #f3eee4; color: var(--ink); }
.button-dark { background: var(--ink); color: white; }

.text-link {
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.45);
  padding-bottom: 4px;
}

.hero-release {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 5vw;
  display: grid;
  gap: 4px;
  text-align: right;
  opacity: 0;
  animation: heroReveal 1.2s 4s ease forwards;
}

.hero-release span,
.hero-release small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
}

.hero-release strong {
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

.scroll-cue {
  position: absolute;
  left: 3.2vw;
  bottom: 4.5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroReveal 1s 4.3s ease forwards;
}

.scroll-cue span {
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.52);
  transform-origin: top;
  animation: scrollLine 2.2s ease-in-out infinite;
}

.scroll-cue small {
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.55);
}

@keyframes introText { to { opacity: 1; transform: none; } }
@keyframes introBrand { to { opacity: 0.74; } }
@keyframes heroReveal { to { opacity: 1; transform: none; } }
@keyframes cinematicDrift { to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes sunrisePulse { to { opacity: 0.72; transform: scale(1.12); } }
@keyframes scrollLine { 0%,100% { transform: scaleY(.25); opacity: .35; } 50% { transform: scaleY(1); opacity: 1; } }

@media (max-width: 900px) {
  .hero { padding: 128px 7vw 92px; }
  .hero h1 { font-size: clamp(46px, 11.5vw, 82px); }
  .hero-release { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .hero { align-items: flex-end; min-height: 100svh; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(42px, 12vw, 64px); line-height: .98; }
  .hero-copy { margin-top: 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-intro { gap: 34px; }
  .hero-intro p { font-size: clamp(32px, 9vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro { display: none; }
  .hero-content, .hero-release, .scroll-cue { opacity: 1; transform: none; animation: none; }
  .hero-cinematic, .hero-cinematic::after, .scroll-cue span { animation: none; }
}

.statement {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 13vw 7vw;
  border-bottom: 1px solid var(--line);
}

.section-number {
  font-size: 12px;
  color: var(--accent);
}

.statement-content {
  max-width: 900px;
}

.statement h2,
.lot-copy h2,
.origin h2,
.membership h2 {
  font-size: clamp(50px, 6.8vw, 102px);
}

.statement-content > p:last-child {
  max-width: 660px;
  margin: 36px 0 0;
  font-size: 20px;
  color: rgba(23,23,20,0.72);
}

.featured-lot {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 900px;
}

.lot-visual {
  display: grid;
  place-items: center;
  min-height: 760px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.55), transparent 45%),
    linear-gradient(140deg, #c9b89b, #8b745b);
}

.package {
  width: min(340px, 58%);
  aspect-ratio: 0.68;
  background: #efe8d9;
  border-radius: 2px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 50px 90px rgba(38, 24, 13, 0.35);
  transform: rotate(-4deg);
}

.package-top,
.package-bottom {
  font-size: 11px;
  letter-spacing: 0.2em;
}

.package-center span {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.package-center h3 {
  margin: 12px 0;
  font-family: "Playfair Display", serif;
  font-size: 48px;
  line-height: 0.9;
}

.package-center p {
  letter-spacing: 0.18em;
  font-size: 11px;
}

.lot-copy {
  padding: 10vw 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lot-copy h2 {
  font-size: clamp(54px, 6vw, 92px);
}

.lot-description {
  font-size: 19px;
  max-width: 540px;
  color: rgba(23,23,20,0.72);
  margin: 34px 0;
}

.specs {
  margin: 0;
  border-top: 1px solid var(--line);
}

.specs div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.specs dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(23,23,20,0.5);
}

.specs dd {
  margin: 0;
}

.purchase-row {
  margin-top: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.purchase-row > div {
  display: grid;
}

.price {
  font-family: "Playfair Display", serif;
  font-size: 34px;
}

.purchase-row small {
  color: rgba(23,23,20,0.55);
}

.origin {
  background: var(--ink);
  color: white;
  padding: 12vw 7vw;
}

.origin-copy {
  max-width: 980px;
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 9vw;
  background: rgba(255,255,255,0.16);
}

.origin-grid article {
  background: var(--ink);
  padding: 34px 32px;
}

.origin-grid article > span {
  color: #caa275;
  font-size: 12px;
}

.origin-grid h3 {
  margin: 70px 0 15px;
  font-family: "Playfair Display", serif;
  font-size: 30px;
}

.origin-grid p {
  color: rgba(255,255,255,0.64);
}

.membership {
  padding: 11vw 7vw;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.6fr);
  align-items: end;
  gap: 7vw;
}

.membership h2 {
  font-size: clamp(48px, 5.6vw, 84px);
}

.signup-form {
  display: flex;
  border-bottom: 1px solid var(--ink);
}

.signup-form input,
.modal-card input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 16px 0;
  outline: none;
}

.signup-form button {
  border: 0;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.form-message {
  min-height: 20px;
  font-size: 13px;
  margin-top: 12px;
}

footer {
  padding: 50px 7vw 35px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr auto;
  align-items: end;
  gap: 24px;
}

.brand-footer {
  letter-spacing: 0.2em;
  font-weight: 600;
}

footer p,
footer small {
  color: rgba(23,23,20,0.55);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.modal-card {
  position: relative;
  z-index: 2;
  width: min(520px, calc(100% - 32px));
  padding: 44px;
  background: var(--cream);
}

.modal-card h2 {
  font-size: 54px;
}

.modal-card form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.modal-card input {
  border-bottom: 1px solid var(--ink);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .hero {
    padding: 140px 24px 50px;
  }

  .hero::before {
    width: 340px;
    height: 340px;
    right: -80px;
    top: 22vh;
  }

  .hero::after {
    width: 120px;
    height: 330px;
    right: 15px;
  }

  .hero-content {
    z-index: 4;
  }

  .hero-release {
    display: none;
  }

  .statement {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 110px 24px;
  }

  .featured-lot {
    grid-template-columns: 1fr;
  }

  .lot-copy {
    padding: 100px 24px;
  }

  .origin {
    padding: 100px 24px;
  }

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

  .origin-grid h3 {
    margin-top: 36px;
  }

  .membership {
    grid-template-columns: 1fr;
    padding: 100px 24px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 44px 24px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button-dark {
    width: 100%;
  }

  .package {
    width: 70%;
  }

  .modal-card {
    padding: 34px 24px;
  }

  .modal-card h2 {
    font-size: 44px;
  }
}
