:root {
  color-scheme: light;
  --bg: #f4ead9;
  --paper: rgba(255, 249, 238, 0.86);
  --paper-solid: #fff8eb;
  --ink: #0f312b;
  --ink-soft: #2f4d45;
  --muted: #687168;
  --jade: #103f35;
  --jade-2: #1f6456;
  --sage: #d9e3d4;
  --gold: #b98238;
  --ember: #d99055;
  --cream: #fff4dd;
  --line: rgba(22, 52, 45, 0.14);
  --line-strong: rgba(22, 52, 45, 0.24);
  --shadow: 0 30px 90px rgba(58, 42, 22, 0.16);
  --shadow-deep: 0 38px 110px rgba(11, 45, 37, 0.28);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --ui: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui);
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 4%, rgba(255, 232, 180, 0.8) 0 7%, transparent 18%),
    radial-gradient(circle at 20% 6%, rgba(222, 233, 221, 0.9), transparent 31%),
    linear-gradient(180deg, #fff5df 0%, var(--bg) 46%, #ead6bc 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.08)),
    url("assets/paper-texture.png") center top / cover no-repeat;
  opacity: 0.17;
  mix-blend-mode: multiply;
}

body::after {
  z-index: 0;
  background:
    radial-gradient(ellipse at 8% 86%, rgba(5, 39, 33, 0.27) 0 16%, transparent 34%),
    radial-gradient(ellipse at 94% 20%, rgba(178, 119, 61, 0.12) 0 18%, transparent 38%),
    linear-gradient(165deg, transparent 0 55%, rgba(11, 53, 45, 0.08) 55% 58%, transparent 72%);
}

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

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

code {
  font-family: "SFMono-Regular", "Consolas", "Menlo", monospace;
  font-size: 0.95em;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 24px 0 82px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.74);
  backdrop-filter: blur(20px) saturate(1.25);
  box-shadow: 0 18px 46px rgba(41, 33, 17, 0.11);
  padding: 12px 16px 12px 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: rgba(255, 250, 239, 0.72);
  box-shadow: 0 0 0 1px rgba(143, 106, 50, 0.14), 0 16px 34px rgba(16, 63, 53, 0.14);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong,
.site-footer strong {
  font-family: var(--display);
  font-size: 1.26rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.nav a,
.button {
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.nav a {
  padding: 11px 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a[aria-current="page"],
.nav a:hover {
  background: rgba(16, 63, 53, 0.09);
  color: var(--jade);
}

.nav a:focus-visible,
.button:focus-visible,
.footer-nav a:focus-visible {
  outline: 3px solid rgba(185, 130, 56, 0.34);
  outline-offset: 3px;
}

main {
  display: grid;
  gap: 30px;
}

.hero,
.section,
.site-footer,
.release-strip {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero,
.section {
  padding: clamp(24px, 4vw, 44px);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(255, 248, 232, 0.96) 0%, rgba(255, 248, 232, 0.86) 48%, rgba(236, 211, 176, 0.74) 100%),
    radial-gradient(circle at 84% 17%, rgba(255, 232, 171, 0.86), transparent 22%),
    var(--paper-solid);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -14% -8%;
  z-index: 0;
  height: 44%;
  background:
    radial-gradient(ellipse at 16% 92%, rgba(6, 44, 37, 0.96) 0 17%, transparent 38%),
    radial-gradient(ellipse at 70% 84%, rgba(16, 63, 53, 0.28) 0 20%, transparent 47%),
    linear-gradient(176deg, transparent 0 30%, rgba(14, 52, 43, 0.12) 31% 42%, rgba(14, 52, 43, 0.88) 75%);
  opacity: 0.86;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 5% 14%, rgba(167, 114, 43, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 9% 68%, rgba(185, 130, 56, 0.24) 0 2px, transparent 3px),
    radial-gradient(circle at 44% 36%, rgba(185, 130, 56, 0.18) 0 1px, transparent 2px);
  background-size: 160px 160px, 210px 180px, 130px 150px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(24px, 4vw, 54px);
}

.hero-copy,
.hero-visual,
.hero > *,
.section > *,
.site-footer > *,
.release-strip > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  min-width: 0;
  min-height: 590px;
}

.hero-copy h1,
.section-heading h2,
.callout h2,
.page-hero h1,
.gallery-copy h3,
.info-card h2,
.legal-card h2,
.feature-card h3,
.faq-item h3,
.floating-note strong,
.release-strip strong {
  font-family: var(--display);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.8rem, 7.5vw, 7.7rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.07em;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preview-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede,
.section-heading p,
.gallery-copy p,
.feature-card p,
.callout p,
.info-card p,
.legal-card p,
.faq-item p,
.site-footer p,
.microcopy,
.release-strip span {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.lede {
  max-width: 51ch;
  font-size: clamp(1.06rem, 1.55vw, 1.28rem);
}

.pill-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(16, 63, 53, 0.18);
  border-radius: 999px;
  background: rgba(255, 252, 244, 0.62);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--jade), var(--jade-2));
  color: #fff8e8;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(16, 63, 53, 0.24);
}

.button.secondary {
  background: rgba(255, 252, 244, 0.58);
  color: var(--ink-soft);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  box-shadow: 0 22px 46px rgba(16, 63, 53, 0.31);
}

.microcopy {
  max-width: 64ch;
  font-size: 0.95rem;
}

.microcopy a,
.legal-card a,
.info-card a {
  color: var(--jade-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(31, 100, 86, 0.3);
  text-underline-offset: 3px;
}

.hero-showcase {
  min-height: 590px;
  overflow: visible;
}

.sun-disc,
.brush-ring,
.ink-hill,
.phone-frame,
.floating-note {
  position: absolute;
}

.sun-disc {
  top: 18px;
  right: 12%;
  width: 138px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 210, 0.96), rgba(255, 225, 150, 0.45) 65%, transparent 70%);
  filter: blur(0.2px);
}

.brush-ring {
  top: 28px;
  left: 4px;
  width: 185px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 18px solid rgba(166, 120, 48, 0.18);
  border-right-color: transparent;
  transform: rotate(-16deg);
  filter: blur(0.5px);
}

.ink-hill {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  border-radius: 48% 52% 0 0 / 60% 55% 0 0;
  opacity: 0.86;
}

.hill-one {
  background:
    radial-gradient(ellipse at 15% 85%, rgba(5, 41, 35, 0.98), transparent 48%),
    radial-gradient(ellipse at 60% 80%, rgba(21, 76, 64, 0.58), transparent 54%);
}

.hill-two {
  bottom: 52px;
  height: 35%;
  background:
    radial-gradient(ellipse at 78% 56%, rgba(184, 142, 82, 0.18), transparent 54%),
    linear-gradient(176deg, transparent, rgba(31, 100, 86, 0.17));
}

.phone-frame {
  top: 58px;
  right: 14%;
  width: min(284px, 52vw);
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(145deg, #191d1b, #050706);
  box-shadow:
    0 44px 90px rgba(6, 31, 26, 0.36),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 84px;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #050706;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1320 / 2868;
  border-radius: 31px;
  object-fit: cover;
}

.floating-note {
  max-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 249, 235, 0.84);
  box-shadow: 0 22px 48px rgba(20, 46, 37, 0.16);
  backdrop-filter: blur(18px);
  padding: 18px 20px;
}

.floating-note strong {
  display: block;
  margin-top: 7px;
  color: var(--jade);
  font-size: 1.35rem;
  line-height: 1.1;
}

.floating-note span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.55;
}

.note-quote {
  left: 5%;
  top: 48%;
}

.note-flow {
  right: 0;
  bottom: 52px;
}

.section {
  display: grid;
  gap: 26px;
  background:
    linear-gradient(160deg, rgba(255, 251, 242, 0.92), rgba(255, 245, 226, 0.72)),
    var(--paper);
  backdrop-filter: blur(16px);
}

.section-heading {
  display: grid;
  gap: 11px;
  max-width: 62rem;
}

.section-heading h2,
.callout h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.stats-grid,
.gallery-grid,
.feature-band,
.panel-grid,
.legal-grid,
.faq-list {
  display: grid;
  gap: 18px;
}

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

.gallery-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.feature-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card,
.stat-card,
.feature-card,
.info-card,
.legal-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 246, 229, 0.52));
  box-shadow: 0 14px 38px rgba(69, 48, 23, 0.08);
}

.stat-card,
.feature-card,
.info-card,
.legal-card,
.faq-item {
  padding: 24px;
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before,
.feature-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(185, 130, 56, 0));
}

.stat-card strong,
.gallery-copy h3,
.feature-card h3,
.faq-item h3,
.info-card h2,
.legal-card h2 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.38rem;
  line-height: 1.12;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.gallery-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 225, 165, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(255, 249, 237, 0.92), rgba(241, 226, 203, 0.82));
}

.gallery-card {
  overflow: hidden;
  padding: 0;
  transform: translateY(var(--lift, 0));
}

.gallery-card:nth-child(2) { --lift: 22px; }
.gallery-card:nth-child(4) { --lift: 18px; }

.gallery-card img {
  aspect-ratio: 4 / 5.28;
  width: 100%;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(180deg, rgba(214, 230, 222, 0.22), rgba(211, 154, 115, 0.12));
}

.gallery-copy {
  padding: 20px;
}

.gallery-copy h3 {
  font-size: 1.22rem;
}

.gallery-copy p {
  font-size: 0.95rem;
}

.section.feature-band {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background:
    radial-gradient(circle at 18% 0%, rgba(209, 151, 73, 0.18), transparent 30%),
    linear-gradient(135deg, #0a3029, #123f35 52%, #08231e);
  color: #fff6df;
  box-shadow: var(--shadow-deep);
}

.section.feature-band .feature-card {
  border-color: rgba(255, 244, 219, 0.18);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.section.feature-band .eyebrow,
.section.feature-band .feature-card p {
  color: rgba(255, 244, 219, 0.72);
}

.section.feature-band .feature-card h3 {
  color: #fff8e8;
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(185, 130, 56, 0.18), transparent 18% 82%, rgba(185, 130, 56, 0.12)),
    #0d3a31;
  color: #fff6df;
  padding: 0;
  box-shadow: var(--shadow-deep);
}

.release-strip div {
  min-height: 146px;
  padding: 26px 28px;
  border-right: 1px solid rgba(255, 244, 219, 0.18);
}

.release-strip div:last-child {
  border-right: 0;
}

.release-strip strong {
  display: block;
  margin-bottom: 7px;
  color: #f4c36e;
  font-size: clamp(1.65rem, 2.7vw, 2.55rem);
  font-weight: 500;
  line-height: 1;
}

.release-strip span {
  display: block;
  color: rgba(255, 244, 219, 0.78);
  font-size: 0.95rem;
}

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 232, 172, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(255, 249, 237, 0.94), rgba(226, 205, 174, 0.82));
}

.callout::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  z-index: 0;
  width: 52%;
  height: 78%;
  background:
    radial-gradient(ellipse at 80% 70%, rgba(16, 63, 53, 0.18), transparent 58%),
    linear-gradient(168deg, transparent 0 45%, rgba(16, 63, 53, 0.13) 46% 56%, transparent 70%);
  pointer-events: none;
}

.callout-copy {
  display: grid;
  gap: 10px;
}

.callout-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.page-hero {
  display: grid;
  gap: 14px;
  min-height: auto;
}

.page-hero::before {
  opacity: 0.36;
}

.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.detail-list li + li {
  margin-top: 8px;
}

.faq {
  gap: 22px;
}

.panel-grid,
.legal-grid,
.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-grid > :only-child {
  grid-column: 1 / -1;
  max-width: 680px;
}

.site-footer {
  margin-top: 30px;
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  background:
    linear-gradient(135deg, #0b332b, #123f35);
  color: #fff8e8;
  box-shadow: var(--shadow-deep);
}

.site-footer p {
  margin-top: 8px;
  color: rgba(255, 248, 232, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(255, 248, 232, 0.76);
}

.footer-nav a:hover,
.brand:hover strong {
  color: var(--gold);
}

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

.topbar,
.hero,
.section,
.release-strip,
.site-footer {
  animation: rise-in 620ms ease both;
}

.section:nth-of-type(2) { animation-delay: 70ms; }
.section:nth-of-type(3) { animation-delay: 130ms; }
.section:nth-of-type(4) { animation-delay: 190ms; }

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

@media (max-width: 980px) {
  .hero-grid,
  .callout,
  .panel-grid,
  .legal-grid,
  .faq-list,
  .stats-grid,
  .section.feature-band,
  .release-strip {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-showcase {
    min-height: 540px;
    grid-column: 1 / -1;
  }

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

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(4) {
    --lift: 0;
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100vw - 20px);
    max-width: 100%;
    padding-top: 12px;
  }

  .topbar {
    display: grid;
    border-radius: 30px;
    padding: 14px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .brand-copy span:last-child {
    font-size: 0.82rem;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav a {
    border: 1px solid rgba(16, 63, 53, 0.1);
    background: rgba(255, 252, 244, 0.46);
    text-align: center;
  }

  .hero,
  .section,
  .site-footer {
    padding: 24px;
    border-radius: 30px;
  }

  .hero-grid,
  .callout,
  .panel-grid,
  .legal-grid,
  .faq-list,
  .gallery-grid,
  .stats-grid,
  .section.feature-band,
  .release-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 7.4ch;
    font-size: clamp(3rem, 14.8vw, 4.15rem);
    letter-spacing: -0.055em;
  }

  .pill-row,
  .button-row,
  .callout-links {
    flex-direction: column;
  }

  .hero-showcase {
    min-height: 520px;
    overflow: hidden;
  }

  .phone-frame {
    top: 42px;
    right: 50%;
    width: min(248px, 70vw);
    transform: translateX(50%);
  }

  .brush-ring {
    width: 132px;
  }

  .sun-disc {
    right: 8%;
    width: 104px;
  }

  .floating-note {
    max-width: 178px;
    padding: 14px 15px;
  }

  .note-quote {
    left: 12px;
    top: 338px;
  }

  .note-flow {
    right: 12px;
    bottom: 22px;
  }

  .release-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 244, 219, 0.18);
  }

  .release-strip div:last-child {
    border-bottom: 0;
  }

  .site-footer {
    display: grid;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}
