@font-face {
  font-family: "IranSans Display";
  src: url("assets/fonts/IranSans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansX FaNum";
  src: url("assets/fonts/IRANSansXFaNum-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #160c08;
  --cocoa: #2b1711;
  --cocoa-soft: #4a2a20;
  --cream: #f4eadc;
  --cream-dim: #d9c9b7;
  --gold: #c79b60;
  --product-accent: #c79b60;
  --wine: #6b221f;
  --line-dark: rgba(244, 234, 220, 0.2);
  --line-light: rgba(22, 12, 8, 0.18);
  --display: "IranSans Display", "IRANSansX FaNum", Tahoma, sans-serif;
  --body: "IRANSansX FaNum", "IranSans Display", Tahoma, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  touch-action: manipulation;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  right: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.grain {
  position: fixed;
  z-index: 100;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 76px);
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 320ms ease, color 320ms ease, border-color 320ms ease, min-height 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.theme-dark {
  border-color: rgba(244, 234, 220, 0.09);
  background: rgba(22, 12, 8, 0.78);
  color: var(--cream);
}

.site-header.theme-light {
  border-color: rgba(22, 12, 8, 0.11);
  background: rgba(244, 234, 220, 0.88);
  color: var(--ink);
}

.site-header.theme-wine {
  border-color: rgba(244, 234, 220, 0.12);
  background: rgba(107, 34, 31, 0.84);
  color: var(--cream);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
}

.brand__mark {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 46px);
  font-size: 0.76rem;
  font-weight: 500;
}

.collection-status {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 0.68rem;
}

.collection-status > span:first-child {
  opacity: 0.52;
}

.collection-status .nav-state {
  display: inline-block;
  min-width: auto;
  padding-right: 18px;
  border-right: 1px solid rgba(244, 234, 220, 0.22);
  color: currentColor;
  opacity: 1;
}

.order-trigger {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.7rem;
  opacity: 0.88;
  transition: background 220ms ease, color 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.order-trigger:hover,
.order-trigger:focus-visible {
  background: var(--cream);
  color: var(--ink);
  opacity: 1;
  transform: translateY(-1px);
}

.theme-light .order-trigger:hover,
.theme-light .order-trigger:focus-visible {
  background: var(--ink);
  color: var(--cream);
}

.site-nav a {
  position: relative;
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  opacity: 0.78;
  transition: opacity 180ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
}

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

.site-nav a.is-active {
  opacity: 1;
}

.site-nav a.is-active::after {
  left: 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.site-nav .nav-cta {
  padding-inline: 22px;
  border: 1px solid rgba(244, 234, 220, 0.52);
  border-radius: 999px;
  opacity: 1;
}

.theme-light .site-nav .nav-cta {
  border-color: rgba(22, 12, 8, 0.45);
}

.site-nav .nav-cta.is-active {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--wine);
}

.nav-state {
  display: none;
  min-width: 86px;
  color: currentColor;
  font-size: 0.68rem;
  opacity: 0.72;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-content: center;
  overflow: hidden;
  padding: 130px clamp(20px, 8vw, 130px) 80px;
  background:
    radial-gradient(circle at 15% 28%, rgba(126, 56, 34, 0.38), transparent 34%),
    radial-gradient(circle at 78% 80%, rgba(107, 34, 31, 0.28), transparent 28%),
    var(--ink);
  color: var(--cream);
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(244, 234, 220, 0.14);
  content: "";
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.75;
  pointer-events: none;
}

.hero__orb--one {
  top: 17%;
  right: -7vw;
  width: min(28vw, 440px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 38% 34%, #75402e, #2a130d 60%, #100705 75%);
  box-shadow: inset -25px -30px 50px rgba(0, 0, 0, 0.5), -20px 40px 80px rgba(0, 0, 0, 0.34);
  transform: rotate(-16deg);
}

.hero__orb--two {
  bottom: -13vw;
  left: -4vw;
  width: min(25vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(199, 155, 96, 0.28);
  box-shadow: 0 0 0 42px rgba(199, 155, 96, 0.035), 0 0 0 84px rgba(199, 155, 96, 0.018);
}

.eyebrow,
.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow {
  margin-bottom: 28px;
  color: var(--gold);
}

.hero__title {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(4.1rem, 10.8vw, 10.7rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.055em;
}

.hero__title span {
  display: block;
  color: var(--gold);
  font-size: 1.18em;
  font-weight: 700;
}

.hero__lead {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 36px auto 0;
  color: var(--cream-dim);
  font-size: clamp(0.94rem, 1.25vw, 1.1rem);
  font-weight: 300;
}

.scroll-cue {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 38px;
  padding: 0 4px 5px;
  border-bottom: 1px solid rgba(244, 234, 220, 0.5);
  font-size: 0.75rem;
}

.scroll-cue svg,
.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.scroll-cue svg {
  animation: nudge 1.8s ease-in-out infinite;
}

.hero__index {
  position: absolute;
  right: clamp(44px, 6vw, 92px);
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 234, 220, 0.55);
  font-size: 0.6rem;
  writing-mode: vertical-rl;
}

.hero__index i {
  width: 1px;
  height: 60px;
  background: currentColor;
}

.story {
  position: relative;
  height: 520vh;
  background: var(--ink);
  color: var(--cream);
}

.story__stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.story__media,
.story__media video,
.story__canvas,
.chocolate-fallback,
.story__vignette {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story__media video {
  z-index: 2;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.story__canvas {
  z-index: 2;
  display: block;
  opacity: 0;
}

.story.has-video .story__media video {
  opacity: 1;
}

.story.has-video .chocolate-fallback,
.story.has-frames .chocolate-fallback {
  display: none;
}

.story.has-frames .story__media video {
  opacity: 0;
}

.story.has-frames .story__canvas {
  opacity: 1;
}

.chocolate-fallback {
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at calc(22% + var(--scroll-x, 0%)) 34%, rgba(145, 76, 47, 0.72), transparent 28%),
    radial-gradient(circle at calc(76% - var(--scroll-x, 0%)) 65%, rgba(101, 41, 28, 0.75), transparent 34%),
    linear-gradient(130deg, #0d0503 0%, #3a1b12 44%, #160805 100%);
}

.chocolate-fallback__glow {
  position: absolute;
  top: -25%;
  left: calc(38% + var(--flow, 0%));
  width: 32%;
  height: 150%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(240, 171, 109, 0.28), transparent);
  filter: blur(24px);
  transform: rotate(calc(18deg + var(--rotate, 0deg)));
}

.chocolate-fallback__fold {
  position: absolute;
  border-radius: 48% 52% 43% 57% / 60% 38% 62% 40%;
  background: linear-gradient(135deg, #6b3322 0%, #1b0906 38%, #7d402a 55%, #1a0805 78%);
  box-shadow: inset 30px 18px 54px rgba(244, 174, 116, 0.15), 0 60px 100px rgba(0, 0, 0, 0.5);
  filter: saturate(0.8);
}

.chocolate-fallback__fold--a {
  top: calc(-14% + var(--fold-a, 0%));
  left: -12%;
  width: 70vw;
  height: 95vh;
  transform: rotate(calc(-18deg + var(--rotate, 0deg)));
}

.chocolate-fallback__fold--b {
  right: -18%;
  bottom: calc(-36% + var(--fold-b, 0%));
  width: 72vw;
  height: 98vh;
  transform: rotate(calc(14deg - var(--rotate, 0deg)));
}

.chocolate-fallback__seed {
  position: absolute;
  top: calc(48% - 8vw);
  left: calc(50% - 5vw);
  width: clamp(90px, 10vw, 170px);
  aspect-ratio: 0.68;
  border-radius: 52% 48% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 38% 28%, #9a5d40, #432318 45%, #1a0b08 80%);
  box-shadow: inset -16px -24px 30px rgba(0, 0, 0, 0.55), 0 45px 70px rgba(0, 0, 0, 0.5);
  opacity: var(--seed-opacity, 1);
  transform: rotate(calc(-22deg + var(--seed-rotate, 0deg))) scale(var(--seed-scale, 1));
}

.chocolate-fallback__seed::after {
  position: absolute;
  top: 8%;
  left: 49%;
  width: 1px;
  height: 84%;
  background: rgba(246, 194, 151, 0.34);
  box-shadow: 7px 0 14px rgba(255, 185, 132, 0.18);
  content: "";
  transform: rotate(3deg);
}

.story__vignette {
  z-index: 3;
  background:
    radial-gradient(circle at 72% 52%, color-mix(in srgb, var(--product-accent) 14%, transparent), transparent 38%),
    linear-gradient(90deg, rgba(10, 4, 2, 0.2) 0%, rgba(10, 4, 2, 0.28) 50%, rgba(10, 4, 2, 0.78) 100%),
    linear-gradient(180deg, rgba(10, 4, 2, 0.58) 0%, transparent 28%),
    linear-gradient(0deg, rgba(10, 4, 2, 0.7), transparent 38%);
  pointer-events: none;
  transition: background 500ms ease;
}

.story__topline {
  position: absolute;
  z-index: 4;
  top: 94px;
  right: clamp(22px, 5vw, 76px);
  left: clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(244, 234, 220, 0.72);
  font-size: 0.66rem;
}

.story__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.story__status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--product-accent);
  content: "";
}

.story__chapters {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: clamp(24px, 9vw, 150px);
  width: min(640px, 70vw);
  transform: translateY(-50%);
}

.story__watermark {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 43%;
  color: var(--product-accent);
  font-family: var(--display);
  font-size: clamp(16rem, 31vw, 34rem);
  font-weight: 700;
  line-height: 0.7;
  letter-spacing: -0.08em;
  opacity: 0.075;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: color 450ms ease;
}

.chapter {
  position: absolute;
  top: 50%;
  right: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 28px));
  transition: opacity 420ms ease, transform 650ms var(--ease);
}

.chapter.is-active {
  opacity: 1;
  transform: translateY(-50%);
}

.chapter__number {
  color: var(--product-accent);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 450ms ease;
}

.chapter h1,
.chapter h2 {
  max-width: 620px;
  margin: 15px 0 18px;
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.chapter p {
  max-width: 480px;
  margin: 0;
  color: var(--cream);
  font-size: clamp(0.88rem, 1.2vw, 1.05rem);
  font-weight: 300;
}

.story__progress {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: clamp(20px, 4vw, 64px);
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: rgba(244, 234, 220, 0.4);
  font-size: 0.6rem;
  list-style: none;
  transform: translateY(-50%);
}

.story__progress li {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 220ms ease;
}

.story__progress i {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: width 300ms var(--ease);
}

.story__progress li.is-active {
  color: var(--cream);
}

.story__progress li.is-active i {
  width: 42px;
  background: var(--product-accent);
}

.story__scroll-hint {
  position: absolute;
  z-index: 6;
  right: clamp(22px, 5vw, 76px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 234, 220, 0.46);
  font-size: 0.58rem;
}

.story__scroll-hint i {
  position: relative;
  display: block;
  width: 74px;
  height: 1px;
  overflow: hidden;
  background: rgba(244, 234, 220, 0.22);
}

.story__scroll-hint i::after {
  position: absolute;
  inset: 0;
  background: var(--product-accent);
  content: "";
  transform: scaleX(var(--story-progress, 0));
  transform-origin: right;
}

.manifesto,
.collection {
  padding: clamp(90px, 13vw, 190px) clamp(22px, 7vw, 108px);
}

.manifesto {
  background: var(--cream);
}

.section-label {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-light);
  color: rgba(22, 12, 8, 0.58);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(56px, 10vw, 160px);
  align-items: end;
  margin-top: clamp(60px, 9vw, 130px);
}

.manifesto h2,
.collection h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.manifesto h2 {
  font-size: clamp(4rem, 8.5vw, 9rem);
}

.manifesto__copy > p {
  max-width: 560px;
  margin: 0 0 55px;
  color: rgba(22, 12, 8, 0.68);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
}

.manifesto dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}

.manifesto dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line-light);
}

.manifesto dt {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1;
}

.manifesto dd {
  margin: 8px 0 0;
  color: rgba(22, 12, 8, 0.58);
  font-size: 0.7rem;
}

.collection {
  background: #d9c8b4;
}

.collection__heading {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  gap: 40px;
  align-items: end;
  margin: clamp(60px, 8vw, 110px) 0 64px;
}

.collection h2 {
  font-size: clamp(4rem, 8vw, 8rem);
}

.collection__heading p {
  max-width: 360px;
  margin: 0;
  color: rgba(22, 12, 8, 0.66);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product {
  min-width: 0;
}

.product__art {
  position: relative;
  display: grid;
  aspect-ratio: 0.82;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.product__art::before,
.product__art::after {
  position: absolute;
  border: 1px solid rgba(244, 234, 220, 0.28);
  content: "";
  inset: 26px;
}

.product__art::after {
  z-index: -1;
  top: 15%;
  right: -35%;
  bottom: auto;
  left: auto;
  width: 95%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.45;
}

.product__art span {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 1;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  transform: translateY(-4%);
}

.product--copper .product__art {
  background: linear-gradient(145deg, #a7633c, #492218);
}

.product--wine .product__art {
  background: linear-gradient(145deg, #7c2d28, #2a0e0d);
}

.product--night .product__art {
  background: linear-gradient(145deg, #35201a, #0d0705);
}

.product__info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
}

.product__info h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
}

.product__info p,
.product__info > span {
  margin: 7px 0 0;
  color: rgba(22, 12, 8, 0.6);
  font-size: 0.64rem;
}

.product__info > span {
  white-space: nowrap;
}

.closing {
  position: relative;
  display: grid;
  min-height: 90svh;
  place-content: center;
  overflow: hidden;
  padding: 120px 22px;
  background: var(--wine);
  color: var(--cream);
  text-align: center;
}

.closing h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(5rem, 12vw, 12rem);
}

.button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 18px;
  min-height: 54px;
  margin-top: 42px;
  padding: 0 28px;
  border: 1px solid rgba(244, 234, 220, 0.55);
  border-radius: 999px;
  font-size: 0.78rem;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--cream);
  color: var(--wine);
  transform: translateY(-2px);
}

.button svg {
  transform: rotate(180deg);
}

.closing__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72vw, 880px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 234, 220, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(244, 234, 220, 0.018), 0 0 0 140px rgba(244, 234, 220, 0.012);
  transform: translate(-50%, -50%);
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 22px;
  padding: 34px clamp(22px, 7vw, 108px);
  background: var(--ink);
  color: var(--cream-dim);
  font-size: 0.66rem;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer > span {
  text-align: left;
}

.brand--footer {
  font-size: 1.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 850ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

html.dialog-open {
  overflow: hidden;
}

.order-dialog {
  width: min(720px, calc(100vw - 32px));
  max-width: none;
  max-height: min(860px, calc(100svh - 32px));
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(22, 12, 8, 0.14);
  border-radius: 26px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(8, 3, 2, 0.5);
}

.order-dialog::backdrop {
  background: rgba(10, 4, 2, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.order-dialog[open] {
  animation: dialog-in 380ms var(--ease) both;
}

.order-form {
  padding: clamp(26px, 5vw, 54px);
}

.order-form__header,
.order-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.order-form__header > div > span {
  color: var(--wine);
  font-size: 0.7rem;
}

.order-form h2 {
  margin: 4px 0 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.order-close {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.order-close:hover,
.order-close:focus-visible {
  background: var(--ink);
  color: var(--cream);
  transform: rotate(4deg);
}

.order-close svg,
.order-submit svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.order-form__intro {
  max-width: 540px;
  margin: 22px 0 30px;
  color: rgba(22, 12, 8, 0.66);
  font-size: 0.88rem;
}

.order-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}

.order-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 0.72rem;
}

.order-form label small {
  color: rgba(22, 12, 8, 0.48);
  font-size: 0.62rem;
}

.order-form__wide {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 49px;
  padding: 10px 14px;
  border: 1px solid rgba(22, 12, 8, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.order-form textarea {
  min-height: 92px;
  resize: vertical;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none;
  border-color: var(--wine);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(107, 34, 31, 0.12);
}

.order-form__actions {
  margin-top: 26px;
}

.order-form__actions > p {
  margin: 0;
  color: rgba(22, 12, 8, 0.52);
  font-size: 0.64rem;
}

.order-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 0.76rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.order-submit:hover,
.order-submit:focus-visible {
  background: var(--wine);
  color: var(--cream);
  transform: translateY(-1px);
}

.order-form__status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--wine);
  font-size: 0.72rem;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 900px) {
  .site-nav > a:not(.nav-cta) {
    display: none;
  }

  .nav-state {
    display: inline-block;
  }

  .collection-status > span:first-child {
    display: none;
  }

  .collection-status .nav-state {
    padding-right: 0;
    border-right: 0;
  }

  .hero::before {
    inset: 16px;
  }

  .hero__orb--one {
    top: 15%;
    right: -20vw;
    width: 58vw;
  }

  .story__chapters {
    top: auto;
    right: 24px;
    bottom: 14vh;
    width: calc(100vw - 72px);
    transform: none;
  }

  .story__watermark {
    top: 43%;
    left: 50%;
    font-size: clamp(14rem, 62vw, 24rem);
    opacity: 0.055;
  }

  .chapter {
    top: auto;
    bottom: 0;
    transform: translateY(20px);
  }

  .chapter.is-active {
    transform: none;
  }

  .chapter h1,
  .chapter h2 {
    max-width: 520px;
    font-size: clamp(3.2rem, 10vw, 5.2rem);
  }

  .story__progress {
    top: auto;
    left: 22px;
    bottom: 24px;
    grid-template-columns: repeat(5, auto);
    gap: 9px;
    transform: none;
  }

  .story__progress span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .story__progress i,
  .story__progress li.is-active i {
    width: 20px;
  }

  .manifesto__grid,
  .collection__heading {
    grid-template-columns: 1fr;
  }

  .manifesto__copy {
    max-width: 680px;
    margin-right: auto;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product__art {
    aspect-ratio: 1.2;
  }
}

@media (max-width: 560px) {
  .grain {
    display: none;
  }

  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    min-height: 62px;
    padding: 7px 10px 7px 14px;
    border: 1px solid rgba(199, 155, 96, 0.2);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  }

  .site-header.theme-dark,
  .site-header.theme-light,
  .site-header.theme-wine {
    background: rgba(6, 5, 5, 0.96);
    color: var(--cream);
  }

  .brand {
    gap: 7px;
    min-height: 42px;
    font-size: 1.35rem;
  }

  .brand__mark {
    width: 24px;
  }

  .site-header.is-scrolled {
    min-height: 60px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .collection-status {
    gap: 10px;
  }

  .collection-status .nav-state {
    display: inline-flex;
    align-items: center;
    max-width: 82px;
    min-height: 34px;
    overflow: hidden;
    color: var(--cream-dim);
    font-size: 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .collection-status .nav-state::before {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-left: 6px;
    border-radius: 50%;
    background: var(--product-accent);
    content: "";
  }

  .order-trigger {
    min-height: 40px;
    padding-inline: 12px;
    border-color: rgba(244, 234, 220, 0.34);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.6rem;
  }

  .nav-cta {
    padding-inline: 15px !important;
  }

  .hero {
    padding-inline: 26px;
  }

  .hero__title {
    font-size: clamp(4rem, 21vw, 6.7rem);
    line-height: 0.84;
  }

  .hero__lead {
    max-width: 360px;
    font-size: 0.86rem;
  }

  .hero__index {
    display: none;
  }

  .story {
    height: 460vh;
  }

  .story__topline {
    top: 88px;
  }

  .story__chapters {
    right: 22px;
    bottom: 11vh;
    width: calc(100vw - 44px);
  }

  .chapter h1,
  .chapter h2 {
    margin-top: 10px;
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }

  .chapter p {
    max-width: 360px;
    font-size: 0.82rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
  }

  .story__scroll-hint {
    display: none;
  }

  .manifesto dl {
    grid-template-columns: 1fr;
  }

  .collection__heading {
    margin-bottom: 48px;
  }

  .product__art {
    aspect-ratio: 0.9;
  }

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

  .footer > span {
    text-align: center;
  }

  .order-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100svh - 16px);
    margin-bottom: 8px;
    border-radius: 22px;
  }

  .order-form {
    padding: 26px 20px 20px;
  }

  .order-form__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .order-form__wide {
    grid-column: auto;
  }

  .order-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .order-submit {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .story {
    height: auto;
  }

  .story__stage {
    position: relative;
    height: auto;
    min-height: 100svh;
    padding: 120px 22px 80px;
  }

  .story__media,
  .story__progress,
  .story__scroll-hint,
  .story__watermark {
    display: none;
  }

  .story__topline {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    margin-bottom: 50px;
  }

  .story__chapters {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: min(760px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .chapter,
  .chapter.is-active {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    margin-bottom: 70px;
    opacity: 1;
    transform: none;
  }
}
