:root {
  --jungle-black: #070f09;
  --canopy: #0d1a10;
  --understory: #142118;
  --deep-sage: #355f4a;
  --moss: #537a68;
  --moss-light: #7fa890;
  --antique-gold: #be8a48;
  --warm-gold: #ce9a52;
  --cream: #ede4ce;
  --warm-white: #f9f4e6;
  --light-surface-ink: #283c2f;
  --muted-green-text: #6e8c7a;
  --paradise-deep-blue: #091b30;
  --lagoon-blue: #1a5e8a;
  --waterline-blue: #2888bc;
  --jungle-preset-green: #1c4825;
  --rice-terrace-green: #285e3c;
  --display-font: "Cormorant Garamond", Georgia, serif;
  --body-font: "Jost", "Avenir Next", Helvetica, Arial, sans-serif;
  --container: min(1180px, calc(100vw - 2rem));
  --container-narrow: min(860px, calc(100vw - 2rem));
  --hairline-gold: rgba(190, 138, 72, 0.36);
  --hairline-cream: rgba(237, 228, 206, 0.22);
  --hairline-ink: rgba(40, 60, 47, 0.18);
  --grain-opacity: 0.045;
  --nav-height: 5.25rem;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--jungle-black);
  scroll-behavior: smooth;
}

body {
  background: var(--jungle-black);
  color: var(--cream);
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.62;
  margin: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: inherit;
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.45rem, 11vw, 9rem);
}

h2 {
  font-size: clamp(2.25rem, 6.8vw, 5rem);
}

h3 {
  font-size: clamp(1.65rem, 4vw, 2.6rem);
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

::selection {
  background: rgba(190, 138, 72, 0.46);
  color: var(--warm-white);
}

.shell {
  width: var(--container);
  margin-inline: auto;
}

.narrow-shell {
  width: var(--container-narrow);
  margin-inline: auto;
}

.page-main {
  min-height: 100vh;
}

.page-section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.8rem);
}

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

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

.section-black {
  background: var(--jungle-black);
}

.section-sage {
  background: var(--deep-sage);
}

.section-light {
  background: var(--warm-white);
  color: var(--light-surface-ink);
  color-scheme: light;
}

.section-light :is(h1, h2, h3, h4) {
  color: var(--jungle-black);
}

.section-divider::before {
  background: linear-gradient(90deg, transparent, var(--hairline-gold), transparent);
  content: "";
  height: 1px;
  inset: 0 0 auto;
  position: absolute;
}

.grain {
  isolation: isolate;
  overflow: clip;
}

.grain::after {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: var(--grain-opacity);
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.label {
  color: var(--antique-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.label::after {
  background: currentColor;
  content: "";
  height: 1px;
  opacity: 0.55;
  width: clamp(2rem, 7vw, 5rem);
}

.label.no-rule::after {
  display: none;
}

.lede {
  color: rgba(237, 228, 206, 0.78);
  font-size: clamp(1rem, 2vw, 1.22rem);
  max-width: 42rem;
}

.section-light .lede {
  color: rgba(40, 60, 47, 0.82);
}

.display-italic {
  font-family: var(--display-font);
  font-style: italic;
}

.eyebrow-group {
  max-width: 48rem;
}

.muted {
  color: var(--muted-green-text);
}

.price {
  color: var(--cream);
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 1;
}

.section-light .price {
  color: var(--jungle-black);
}

.gold {
  color: var(--antique-gold);
}

.dot {
  color: var(--antique-gold);
}

.image-frame {
  border: 1px solid var(--hairline-gold);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.image-frame > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.portrait-frame {
  aspect-ratio: 4 / 5;
}

.landscape-frame {
  aspect-ratio: 16 / 10;
}

.split-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.stack {
  display: grid;
  gap: 1rem;
}

.icon {
  aspect-ratio: 1;
  color: currentColor;
  flex: 0 0 auto;
  height: 1.45rem;
  width: 1.45rem;
}

.feature-list,
.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list {
  display: grid;
  gap: 0;
}

.feature-list li {
  border-bottom: 1px solid var(--hairline-cream);
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.section-light .feature-list li {
  border-color: var(--hairline-ink);
}

.prose {
  max-width: 45rem;
}

.prose p {
  margin-bottom: 1.2rem;
}

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

@media (min-width: 760px) {
  :root {
    --container: min(1180px, calc(100vw - 4rem));
  }

  .split-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
