
:root {
  --ivory: #f7f1e7;
  --paper: #fbf7f0;
  --navy: #0d2942;
  --blue: #173e60;
  --gold: #b88a35;
  --line: rgba(13, 41, 66, 0.18);
  --muted: #58626a;
  --terracotta: #a65d44;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.8), transparent 31%),
    var(--ivory);
  color: var(--navy);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  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='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}

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

button,
input {
  font: inherit;
}

.site-header {
  height: 82px;
  padding: 0 clamp(24px, 4.2vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(24px, 4vw, 58px);
  font-size: 16px;
  font-weight: 500;
}

nav a {
  position: relative;
  padding: 10px 0;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 1px;
  background: var(--gold);
  transition: right 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  right: 0;
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(500px, 44%) 1fr;
  overflow: hidden;
  position: relative;
}

.hero-copy {
  padding: clamp(72px, 11vh, 132px) 32px 64px clamp(32px, 5vw, 80px);
  position: relative;
  z-index: 2;
  animation: rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 30px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 58px;
  height: 1px;
  margin-top: 16px;
  background: var(--gold);
  content: "";
}

h1 {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 6.2vw, 104px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.intro {
  max-width: 520px;
  margin: 36px 0 28px;
  color: #394956;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.55;
}

.waitlist-form {
  display: flex;
  width: min(100%, 570px);
  min-height: 62px;
  position: relative;
}

.waitlist-form input[type="email"] {
  width: 66%;
  min-width: 0;
  padding: 0 22px;
  border: 1px solid #ccbfa9;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  outline: none;
  background: rgba(255, 255, 255, 0.34);
  color: var(--navy);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 138, 53, 0.17);
}

.waitlist-form input::placeholder {
  color: #7b858c;
}

.waitlist-form button {
  width: 34%;
  padding: 0 21px;
  border: 1px solid var(--navy);
  border-radius: 0 3px 3px 0;
  background: var(--navy);
  color: #f1c56d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 180ms ease, transform 180ms ease;
}

.waitlist-form button:hover:not(:disabled) {
  background: var(--blue);
}

.waitlist-form button:hover:not(:disabled) span:last-child {
  transform: translateX(4px);
}

.waitlist-form button:active:not(:disabled) {
  transform: translateY(1px);
}

.waitlist-form button:disabled {
  cursor: default;
  opacity: 0.82;
}

.waitlist-form button span:last-child {
  font-size: 24px;
  transition: transform 180ms ease;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #737a7d;
  font-size: 13px;
}

.form-message.success {
  color: #2b6b51;
}

.form-message.error {
  color: #9c3f34;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero-art {
  min-height: 100%;
  position: relative;
  animation: artReveal 900ms 100ms ease both;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -16%;
  z-index: 1;
  width: 35%;
  background: linear-gradient(90deg, var(--ivory) 0%, rgba(247, 241, 231, 0.88) 30%, transparent 100%);
  pointer-events: none;
}

.hero-art img {
  width: 118%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
  position: absolute;
  inset: 0 0 0 -10%;
  filter: saturate(0.94) contrast(1.02);
}

.art-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(247, 241, 231, 0.18), transparent 18%),
    linear-gradient(0deg, rgba(13, 41, 66, 0.06), transparent 30%);
  pointer-events: none;
}

.edition-mark {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 34px;
  padding: 10px 14px;
  border: 1px solid rgba(247, 241, 231, 0.75);
  background: rgba(13, 41, 66, 0.78);
  color: var(--paper);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.pillars {
  padding: 74px clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.pillars article {
  min-height: 190px;
  padding: 8px 38px 12px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  border-right: 1px solid var(--line);
  scroll-margin-top: 40px;
}

.pillars article:first-child {
  padding-left: 0;
}

.pillars article:last-child {
  border-right: 0;
}

.pillars article > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.pillar-label {
  margin: 0 0 20px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pillars h2 {
  max-width: 370px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.22;
}

footer {
  padding: 34px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-mark {
  font-size: 20px;
}

footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

footer p:last-child {
  justify-self: end;
  color: #b7c1c8;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes artReveal {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 72px 8vw 42px;
  }

  h1 {
    font-size: clamp(58px, 11vw, 90px);
  }

  .hero-art {
    min-height: 580px;
  }

  .hero-art::before {
    inset: -2px 0 auto;
    width: 100%;
    height: 18%;
    background: linear-gradient(180deg, var(--ivory), transparent);
  }

  .hero-art img {
    width: 100%;
    inset: 0;
  }

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

  .pillars article,
  .pillars article:first-child {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pillars article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 70px;
  }

  .wordmark {
    font-size: 22px;
  }

  nav {
    display: none;
  }

  .hero-copy {
    padding: 58px 24px 38px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 12px;
  }

  h1 {
    font-size: clamp(50px, 16.2vw, 72px);
    line-height: 0.94;
  }

  .intro {
    margin-top: 28px;
    font-size: 17px;
  }

  .waitlist-form {
    min-height: 0;
    flex-direction: column;
    gap: 10px;
  }

  .waitlist-form input[type="email"],
  .waitlist-form button {
    width: 100%;
    height: 56px;
    border: 1px solid;
    border-radius: 3px;
  }

  .waitlist-form input[type="email"] {
    border-color: #ccbfa9;
  }

  .waitlist-form button {
    border-color: var(--navy);
  }

  .hero-art {
    min-height: 430px;
  }

  .edition-mark {
    right: 20px;
    bottom: 20px;
  }

  .pillars {
    padding: 48px 24px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  footer p:last-child {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
