@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/CormorantGaramond-SemiBold.ttf") format("truetype");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/SourceSerif4-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("assets/SourceSerif4-Italic.ttf") format("truetype");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

:root {
  --paper: #f2ead8;
  --paper-light: #fbf7ed;
  --ink: #261a1a;
  --ink-soft: #55483f;
  --ink-faint: #8c7760;
  --rule: rgba(107, 84, 57, 0.31);
  --olive: #5c604d;
  --wax: #7a3f35;
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #261d16;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(255, 255, 255, .1), rgba(137, 94, 45, .06)),
    url("assets/parchment.jpg");
  background-size: auto, 780px auto;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper-light);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 96px), var(--max));
  height: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  line-height: 1;
  text-decoration: none;
}

.brand-seal {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--olive);
  font-size: 13px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}

nav a {
  padding: 12px 0 8px;
  text-decoration: none;
  font-size: 16px;
}

nav a:hover,
nav a:focus-visible {
  color: var(--wax);
}

.nav-download {
  border-bottom: 1px solid var(--wax);
}

.hero {
  position: relative;
  min-height: 920px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 190px 48px 95px;
  display: grid;
  grid-template-columns: minmax(430px, .82fr) minmax(600px, 1.18fr);
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.hero-copy {
  position: relative;
  z-index: 5;
  padding-left: 28px;
}

.plate-number,
.eyebrow {
  margin: 0 0 20px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: .94;
}

h1 {
  max-width: 630px;
  font-size: clamp(74px, 7.1vw, 124px);
  letter-spacing: -.025em;
}

h1 .headline-line {
  display: inline-block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(46px, 4.3vw, 72px);
}

.ornamental-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 170px;
  margin: 38px 0 30px;
  color: var(--olive);
  font-size: 11px;
}

.ornamental-rule::before,
.ornamental-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--rule);
}

.ornamental-rule.centered {
  margin-right: auto;
  margin-left: auto;
}

.hero-deck {
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: clamp(21px, 1.8vw, 29px);
  font-style: italic;
  line-height: 1.46;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  width: 190px;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid #000;
  border-radius: 9px;
  background: #050505;
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.store-badge:hover,
.store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(38, 26, 26, .2);
}

.store-badge>svg {
  width: 30px;
  height: 34px;
  fill: currentColor;
  flex: 0 0 auto;
}

.store-badge>svg.play-mark {
  width: 29px;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.store-badge small {
  margin-bottom: 3px;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.store-badge strong {
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.availability-note {
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
  font-style: italic;
}

.hero-art {
  position: relative;
  min-height: 650px;
  align-self: stretch;
}

.hero-flower {
  position: absolute;
  top: -60px;
  left: 0;
  width: min(74%, 610px);
  height: 750px;
  object-fit: contain;
  object-position: top center;
  filter: drop-shadow(0 14px 18px rgba(73, 46, 24, .08));
}

.phone {
  position: relative;
  overflow: hidden;
  padding: 9px;
  border: 2px solid #231f1c;
  border-radius: 44px;
  background: #111;
  box-shadow: 0 26px 48px rgba(34, 24, 18, .26), inset 0 0 0 2px #897766;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 37px;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.phone-hero {
  position: absolute;
  right: 0;
  bottom: 14px;
  width: 260px;
  aspect-ratio: 1206 / 2622;
  transform: rotate(.7deg);
}

.petal {
  position: absolute;
  width: 62px;
  height: 35px;
  border-radius: 90% 8% 85% 20%;
  background: linear-gradient(145deg, #f1b7aa, #c98278);
  opacity: .75;
  filter: blur(.2px);
}

.petal-one {
  top: 120px;
  right: 8px;
  transform: rotate(-28deg);
}

.petal-two {
  top: 225px;
  right: 110px;
  width: 42px;
  height: 25px;
  transform: rotate(32deg);
}

.lifecycle {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 48px 96px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(50px, 5vw, 76px);
}

.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 62px 0 0;
  padding: 0;
  list-style: none;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* .stage:not(:last-child)::after { content: "→"; position: absolute; top: 47%; right: -22px; color: var(--ink-faint); font-size: 30px; } */
.stage .figure {
  align-self: flex-start;
  margin-left: 18%;
  color: var(--ink-soft);
  font-size: 16px;
}

.stage>img,
.seed-packet,
.pressed-sheet {
  width: 100%;
  height: 330px;
  object-fit: contain;
}

.stage h3 {
  margin-top: 16px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.stage h3::after {
  content: "";
  display: block;
  width: 70px;
  margin: 10px auto 0;
  border-bottom: 1px solid var(--rule);
}

.stage p {
  margin: 11px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
  font-style: italic;
}

.seed-packet {
  position: relative;
  width: min(68%, 224px);
  margin: 0 auto;
  overflow: hidden;
  filter: drop-shadow(0 8px 8px rgba(65, 45, 29, .14));
  transform: rotate(-1.5deg) scale(.88);
}

.seed-packet-paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  transform: scaleX(1.18);
}

.seed-packet-botanical {
  position: absolute;
  bottom: 20%;
  left: -7%;
  width: 96%;
  height: 58%;
  object-fit: contain;
  opacity: .54;
  filter: sepia(.78) saturate(.68) contrast(1.04);
  transform: rotate(-6deg);
}

.pressed-sheet {
  position: relative;
  width: min(86%, 276px);
  margin: 0 auto;
  filter: drop-shadow(0 8px 8px rgba(65, 45, 29, .14));
  transform: rotate(1.5deg);
}

.pressed-sheet-paper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: .88;
}

.pressed-sheet-flower {
  position: absolute;
  inset: 2% 6% 1%;
  width: 88%;
  height: 97%;
  object-fit: contain;
}

.meaning {
  position: relative;
  min-height: 890px;
  overflow: hidden;
  padding: 120px max(7vw, 48px);
  display: grid;
  grid-template-columns: minmax(380px, .92fr) minmax(440px, 1fr) minmax(230px, .48fr);
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.meaning-phone {
  display: flex;
  justify-content: center;
}

.phone-specimen {
  width: min(380px, 100%);
  aspect-ratio: 1206 / 2622;
  transform: rotate(-2deg);
}

@media (min-width: 1121px) {
  .phone-specimen {
    width: min(316px, 100%);
  }
}

.meaning-copy {
  max-width: 600px;
}

.meaning-copy h2 {
  max-width: 650px;
  font-size: clamp(52px, 5vw, 82px);
  line-height: 1.02;
}

.meaning-copy>p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.72;
}

.meaning-copy .meaning-coda {
  margin-top: 25px;
  font-style: italic;
}

.observation {
  align-self: end;
  margin-bottom: 55px;
  padding: 44px 30px 28px;
  border: 1px solid #bda984;
  background: rgba(232, 216, 184, .72);
  box-shadow: 0 14px 25px rgba(42, 27, 18, .16);
  transform: rotate(4deg);
}

.observation span {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.observation p {
  margin: 18px 0 20px;
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
}

.observation img {
  width: 80px;
  margin-left: auto;
  opacity: .6;
}

.privacy-cta {
  padding: 108px 24px 90px;
  text-align: center;
}

.footer-ornament {
  width: min(430px, 76vw);
  margin: 0 auto 28px;
  opacity: .52;
}

.privacy-cta h2 {
  font-size: clamp(50px, 5vw, 74px);
}

.privacy-cta>p:not(.eyebrow) {
  margin: 14px 0 30px;
  color: var(--ink-soft);
  font-style: italic;
}

.centered-badges {
  justify-content: center;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 48px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 14px;
}

footer a {
  text-underline-offset: 4px;
}

.footer-seal {
  color: var(--olive);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.legal-page .site-header {
  position: relative;
  left: auto;
  transform: none;
  margin: 0 auto;
}

.legal-main {
  width: min(calc(100% - 48px), 790px);
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal-main h1 {
  font-size: clamp(58px, 7vw, 88px);
}

.legal-main h2 {
  margin: 54px 0 12px;
  font-size: 34px;
  line-height: 1.1;
}

.legal-main h3 {
  margin: 36px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.15;
}

.legal-main p,
.legal-main li {
  color: var(--ink-soft);
}

.legal-main ul,
.legal-main ol {
  padding-left: 1.4em;
}

.legal-main a {
  overflow-wrap: anywhere;
}

.legal-main .updated {
  margin-top: 18px;
  color: var(--ink-faint);
  font-size: 14px;
  font-style: italic;
}

.legal-main a {
  text-underline-offset: 4px;
}

@media (min-width: 1121px) and (max-width: 1320px) {
  .meaning {
    padding-right: max(6vw, 48px);
    padding-left: max(6vw, 48px);
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    gap: clamp(56px, 6vw, 84px);
  }

  .observation {
    display: none;
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(390px, .95fr) minmax(0, 1.05fr);
    min-height: 820px;
    padding: 150px 32px 80px;
  }

  .hero-copy {
    padding-left: 0;
  }

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

  .hero-flower {
    top: -70px;
    left: -12%;
    width: min(68%, 360px);
    height: 600px;
  }

  .phone-hero {
    width: 220px;
  }

  .stage>img,
  .seed-packet,
  .pressed-sheet {
    height: 270px;
  }

  .meaning {
    padding: 130px max(6vw, 48px) 90px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .5fr);
    gap: clamp(72px, 8vw, 110px);
  }

  .meaning-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 620px;
  }

  .meaning-phone {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-content: flex-end;
    position: relative;
    top: 68px;
  }

  .phone-specimen {
    width: min(270px, 100%);
  }

  .observation {
    display: none;
  }
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }

  .site-header {
    width: calc(100% - 36px);
    height: 72px;
  }

  .brand {
    font-size: 30px;
  }

  .brand-seal {
    width: 32px;
    height: 32px;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 13px;
  }

  nav a:first-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 125px 24px 70px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: 0;
  }

  .plate-number {
    margin-bottom: 14px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 94px);
  }

  .hero-art {
    min-height: 630px;
    margin-top: 26px;
  }

  .hero-flower {
    top: 0;
    left: -5%;
    width: 78%;
    height: 610px;
  }

  .phone-hero {
    right: 0;
    bottom: 4px;
    width: min(40vw, 205px);
  }

  .petal-one {
    right: 10px;
  }

  .lifecycle {
    padding: 70px 20px;
  }

  .stages {
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 18px;
  }

  .stage:not(:last-child)::after {
    display: none;
  }

  .stage>img,
  .seed-packet,
  .pressed-sheet {
    height: 240px;
  }

  .seed-packet {
    width: min(56%, 180px);
  }

  .meaning {
    min-height: auto;
    padding: 90px 44px 0;
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .meaning-phone {
    order: 2;
    grid-column: 1;
    grid-row: auto;
    align-items: flex-start;
    align-self: auto;
    justify-content: center;
    height: min(430px, 110vw);
    overflow: hidden;
    top: 0;
    transform: none;
  }

  .meaning-copy {
    order: 1;
    grid-column: 1;
    grid-row: auto;
  }

  .phone-specimen {
    flex: 0 0 auto;
    width: min(300px, 78vw);
  }

  footer {
    padding-right: 24px;
    padding-left: 24px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .site-header nav a:not(.nav-download) {
    display: none;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-deck br {
    display: none;
  }

  .store-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .store-badge {
    width: 100%;
    min-height: 52px;
    padding: 6px 9px;
    gap: 6px;
  }

  .store-badge>svg {
    width: 23px;
    height: 27px;
  }

  .store-badge small {
    font-size: 8px;
  }

  .store-badge strong {
    font-size: 16px;
  }

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

  .hero-flower {
    left: -15%;
    width: 91%;
    height: 520px;
  }

  .phone-hero {
    width: 42vw;
  }

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

  .stage>img,
  .seed-packet,
  .pressed-sheet {
    height: 310px;
  }

  .seed-packet {
    width: min(68%, 224px);
  }

  .meaning {
    padding-right: 34px;
    padding-left: 34px;
  }

  .meaning-copy h2 {
    font-size: 48px;
  }

  .privacy-cta .store-row {
    width: min(100%, 390px);
    margin-right: auto;
    margin-left: auto;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
