:root {
  --pool: #0b1418;
  --pool-deep: #081014;
  --granite: #23282b;
  --granite-light: #31383b;
  --marble: #ede7da;
  --marble-dim: #c9c2b2;
  --bronze: #9c7a3c;
  --brass: #c9a227;
  --brass-bright: #e4c15a;
  --verdigris: #4f7268;
  --ink: #12181a;
  --line: rgba(237, 231, 218, 0.14);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--marble);
  font-family: "Source Serif 4", serif;
  font-size: 17px;
  line-height: 1.65;
}
h1,
h2,
h3,
.display {
  font-family: "Cinzel", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--marble);
  margin: 0;
}
.mono {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}
a {
  color: inherit;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- NAV ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 20, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: "Cinzel", serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marble);
}
.brand span {
  color: var(--brass);
}
nav.links {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
nav.links a {
  text-decoration: none;
  color: var(--marble-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition:
    color 0.25s,
    border-color 0.25s;
}
nav.links a:hover {
  color: var(--brass-bright);
  border-color: var(--brass);
}
.nav-cta {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  padding: 9px 18px;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 0.25s,
    color 0.25s;
}
.nav-cta:hover {
  background: var(--brass);
  color: var(--ink);
}
@media (max-width: 760px) {
  nav.links {
    display: none;
  }
}

/* ---------- HERO / REFLECTING POOL ---------- */
.hero {
  position: relative;
  padding: 88px 32px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(79, 114, 104, 0.16),
      transparent 60%
    ),
    var(--pool);
}
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verdigris);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  max-width: 820px;
  margin: 0 auto 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--brass-bright);
}
.hero p.lede {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--marble-dim);
  font-size: 18px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--brass);
  color: var(--ink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.25);
}
.btn-ghost {
  border: 1px solid var(--marble-dim);
  color: var(--marble);
}
.btn-ghost:hover {
  border-color: var(--marble);
  transform: translateY(-2px);
}

/* pool reflection rig */
.pool-rig {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.monument-img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.03) contrast(1.03);
  border: 1px solid var(--line);
}
.waterline {
  position: relative;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--brass) 20%,
    var(--brass) 80%,
    transparent
  );
  box-shadow: 0 0 18px 2px rgba(201, 162, 39, 0.5);
}
.reflection {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 220px;
}
.reflection img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: scaleY(-1);
  filter: blur(1.5px) brightness(0.55) saturate(0.9) hue-rotate(-4deg);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    transparent 85%
  );
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  animation: ripple 7s ease-in-out infinite;
}
@keyframes ripple {
  0%,
  100% {
    transform: scaleY(-1) skewX(0deg);
  }
  50% {
    transform: scaleY(-1) skewX(0.4deg);
  }
}
.pool-caption {
  margin-top: 26px;
  font-size: 12px;
  color: var(--marble-dim);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
}

/* ---------- SECTION HEADERS ---------- */
.section {
  padding: 96px 0;
}
.section-head {
  max-width: 660px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head .eyebrow {
  color: var(--brass);
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
}
.section-head p {
  color: var(--marble-dim);
  font-size: 16px;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 20%,
    var(--line) 80%,
    transparent
  );
  max-width: 1120px;
  margin: 0 auto;
}

/* ---------- WELCOME ---------- */
.welcome {
  background: var(--granite);
}
.welcome .wrap {
  max-width: 760px;
  text-align: center;
}
.welcome p {
  color: var(--marble-dim);
  font-size: 18px;
}
.welcome p.intro {
  font-size: 20px;
  color: var(--marble);
  font-style: italic;
  margin-bottom: 28px;
}

/* ---------- CHAPTERS ---------- */
.chapters {
  background: var(--ink);
}
.chapter {
  border-top: 1px solid var(--line);
  padding: 0;
}
.chapter:last-child {
  border-bottom: 1px solid var(--line);
}
.frieze {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
  opacity: 0.92;
}
.chapter-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 36px 0 48px;
}
.chapter-meta {
  padding-top: 2px;
}
.chapter-num {
  font-family: "Cinzel", serif;
  font-size: 15px;
  color: var(--bronze);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.chapter-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--verdigris);
  letter-spacing: 0.05em;
}
.chapter-text h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--marble);
}
.chapter-text p {
  color: var(--marble-dim);
  font-size: 16px;
  max-width: 640px;
}
@media (max-width: 640px) {
  .chapter-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0 36px;
  }
  .frieze {
    height: 110px;
  }
}

/* ---------- MINT / NFT ---------- */
.mint {
  background: var(--granite);
  position: relative;
}
.mint-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .mint-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.mint-copy h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 20px;
}
.mint-copy p {
  color: var(--marble-dim);
  font-size: 16px;
  margin-bottom: 18px;
}
.mint-copy ul {
  list-style: none;
  margin: 26px 0;
  padding: 0;
}
.mint-copy li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--marble-dim);
}
.mint-copy li:last-child {
  border-bottom: 1px solid var(--line);
}
.mint-copy li .tick {
  color: var(--brass);
  font-family: "JetBrains Mono", monospace;
}

.mint-card {
  background: var(--ink);
  border: 1px solid var(--line);
  padding: 36px;
}
.mint-card .mono {
  color: var(--verdigris);
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.stat-row:first-of-type {
  padding-top: 0;
}
.stat-row .label {
  font-size: 13px;
  color: var(--marble-dim);
}
.stat-row .value {
  font-family: "Cinzel", serif;
  font-size: 19px;
  color: var(--marble);
}
.progress-wrap {
  margin: 26px 0 8px;
}
.progress-track {
  height: 8px;
  background: var(--granite-light);
  position: relative;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 13.3%;
  background: linear-gradient(90deg, var(--bronze), var(--brass-bright));
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--marble-dim);
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
}
.mint-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mint-price .amount {
  font-family: "Cinzel", serif;
  font-size: 28px;
  color: var(--brass-bright);
}
.mint-price .per {
  font-size: 12px;
  color: var(--marble-dim);
  display: block;
  margin-top: 2px;
}
.mint-btn {
  width: 100%;
  text-align: center;
  margin-top: 22px;
  padding: 17px;
  background: var(--brass);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.mint-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.25);
}
.fine {
  font-size: 11px;
  color: var(--marble-dim);
  margin-top: 14px;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--ink);
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-item h4 {
  font-family: "Cinzel", serif;
  font-size: 16px;
  color: var(--marble);
  margin-bottom: 10px;
  font-weight: 600;
}
.faq-item p {
  color: var(--marble-dim);
  font-size: 15px;
  margin: 0;
  max-width: 720px;
}

/* ---------- CLOSING ---------- */
.closing {
  background: var(--granite);
  text-align: center;
}
.closing .wrap {
  max-width: 700px;
}
.closing p {
  color: var(--marble-dim);
  font-size: 17px;
  margin-bottom: 18px;
}
.closing .signoff {
  font-family: "Cinzel", serif;
  color: var(--brass-bright);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 36px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--pool-deep);
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand {
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
  color: var(--marble-dim);
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
}
.footer-links a {
  text-decoration: none;
  color: var(--marble-dim);
}
.footer-links a:hover {
  color: var(--brass-bright);
}
.disclaimer {
  font-size: 12px;
  color: rgba(201, 194, 178, 0.55);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESERVE FORM ---------- */
.reserve {
  background: var(--granite);
}
.reserve-form {
  margin-top: 12px;
}
.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.two-col {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-row .field {
  margin-bottom: 0;
}
.field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marble-dim);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"] {
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--marble);
  font-family: "Source Serif 4", serif;
  font-size: 15px;
  padding: 13px 14px;
  width: 100%;
}
.field input:focus {
  outline: none;
  border-color: var(--brass);
}
.field input.touched:invalid {
  border-color: #a8433c;
}
.units-hint {
  font-size: 12px;
  color: var(--marble-dim);
  margin: 0;
  padding-bottom: 13px;
}

.buyer-toggle {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.buyer-btn {
  flex: 1;
  min-width: 180px;
  background: var(--ink);
  border: 1px solid var(--line);
  color: var(--marble-dim);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: "Source Serif 4", serif;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.buyer-btn span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--verdigris);
}
.buyer-btn.active {
  border-color: var(--brass);
  color: var(--marble);
}
.buyer-btn.active span {
  color: var(--brass-bright);
}

.reserve-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 4px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 14, 17, 0.78);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: var(--granite);
  border: 1px solid var(--line);
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
}
.modal-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--brass);
  color: var(--brass-bright);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.modal-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.modal-card p {
  color: var(--marble-dim);
  font-size: 15px;
  margin-bottom: 26px;
}
.modal-card .btn-ghost {
  display: inline-block;
  cursor: pointer;
  background: transparent;
}
