@import url('../_ds/aela-jewels-design-system-5097cf45-9ced-4226-9d18-039af2679a07/styles.css');

/* ==========================================================================
   Aela Collection — landing page
   Ported from "Aela Collection Landing Page.dc.html" (Claude Design project
   52f55005-a81e-4568-bf8d-276decf772e4). Tokens live in _ds/, untouched.
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html { scrollbar-gutter: stable; }

body {
  margin: 0;
  background: var(--cream);
  font-family: var(--font-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:hover { color: var(--golddeep); }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

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

.u-container {
  max-width: var(--container-site);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Design-system components (from _ds_bundle.js: Button, Input)
   -------------------------------------------------------------------------- */

.ds-btn {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-size: 11.5px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .25s var(--ease-spring), opacity .25s var(--ease-spring),
              background-color .25s ease, color .25s ease;
}
.ds-btn--sm { font-size: 10.5px; padding: 10px 20px; }
.ds-btn:active:not(:disabled) { transform: scale(.97); }
.ds-btn:disabled { cursor: not-allowed; opacity: .45; }

.ds-btn--primary { background: var(--gold); color: var(--cream); }
.ds-btn--primary:hover:not(:disabled) { background: var(--golddeep); color: var(--cream); }

.ds-btn--secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.ds-btn--secondary:hover:not(:disabled) { background: var(--ink); color: var(--cream); }

.ds-btn--ghost {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ds-btn--ghost:hover:not(:disabled) { opacity: .55; color: var(--ink); }

.ds-btn--on-dark { background: var(--cream); color: var(--ink); }
.ds-btn--on-dark:hover:not(:disabled) { background: var(--sand); color: var(--ink); }

.ds-field { display: flex; flex-direction: column; font-family: var(--font-body); }
.ds-field__label {
  font-size: var(--text-label-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  margin-bottom: 10px;
  color: var(--stone);
}
.ds-field__input {
  background: var(--cream);
  border: 1px solid var(--linen);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ds-field__input:focus {
  border-color: var(--champagne);
  box-shadow: 0 0 0 2px rgba(201, 169, 106, .4);
}
.ds-field--on-dark .ds-field__label { color: rgba(250, 247, 242, .8); }
.ds-field--on-dark .ds-field__input {
  background: rgba(250, 247, 242, .07);
  border-color: rgba(250, 247, 242, .3);
  color: var(--cream);
}
.ds-field--on-dark .ds-field__input::placeholder { color: rgba(250, 247, 242, .5); }
.ds-field--on-dark .ds-field__input:focus { border-color: var(--champagne); }

/* --------------------------------------------------------------------------
   Image slots
   The design uses <image-slot> elements filled by drag-and-drop in the Claude
   Design canvas. Here each slot is a real <img> over a styled placeholder: drop
   a file at the slot's `src` path and it takes over, otherwise the placeholder
   shows. `.is-empty` is set by app.js when the image is absent or fails to load.
   -------------------------------------------------------------------------- */

.slot {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sand) 0%, var(--parchment) 100%);
}
/* --slot-tx/-ty/-scale carry the pan and zoom each slot was framed with in the
   design canvas; --slot-zoom is the hover magnification layered on top. */
.slot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--slot-tx, 0), var(--slot-ty, 0))
             scale(calc(var(--slot-scale, 1) * var(--slot-zoom, 1)));
}
.slot.is-empty .slot__img { visibility: hidden; }

.slot__placeholder {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
}
/* Only frame unclipped shapes — an inset ring under an arch/circle mask reads
   as a stray rectangle where the clip-path cuts it. */
.slot--rect .slot__placeholder,
.slot--rounded .slot__placeholder { box-shadow: inset 0 0 0 1px rgba(201, 169, 106, .35); }
.slot.is-empty .slot__placeholder { display: flex; }
.slot__placeholder svg { color: var(--champagne); opacity: .8; }
.slot__placeholder span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.3;
  color: var(--fog);
}

/* Slot shapes — mirrors the `tileShape` prop from the design (arch by default). */
.slot--arch    { clip-path: inset(0 round 160px 160px 0 0); }
.slot--rounded { clip-path: inset(0 round 12px); }
.slot--circle  { clip-path: inset(0 round 50%); }
.slot--rect    { clip-path: none; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */

.announce {
  background: var(--gold);
  color: var(--cream);
  padding: 9px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.announce .marquee-row {
  position: relative;
  top: auto;
  left: auto;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: var(--weight-medium);
  font-size: 10.5px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--cream);
  animation-duration: 44s, 6s;
}
.announce .marquee-row__tick { padding: 0; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  height: 76px;
  gap: 24px;
}
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-medium);
  font-size: 38px;
  letter-spacing: var(--tracking-tight);
  color: #160F0A;
  white-space: nowrap;
  justify-self: center;
  text-decoration: none;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.navlink {
  color: var(--ink);
  text-decoration: none;
  transition: opacity .2s ease;
}
.navlink:hover { color: var(--ink); opacity: .55; }

.navlink--label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-medium);
}
.navlink--journal { margin-right: 20px; }

.iconbtn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}
.iconbtn__badge {
  position: absolute;
  top: 2px;
  right: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  font-size: 9px;
  font-weight: var(--weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.subnav {
  background: var(--parchment);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
  gap: 36px;
  padding: 18px 40px;
  flex-wrap: wrap;
}
.subnav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--weight-medium);
  color: var(--ink);
}
.subnav a.is-sale { font-weight: var(--weight-semibold); color: oklch(58% 0.15 55); }

.utilnav {
  background: #160F0A;
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 14px 40px;
  flex-wrap: wrap;
}
.utilnav a {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: var(--weight-medium);
  color: var(--cream);
}
.utilnav a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   Marquee field — the rotated wordmark texture behind the dark sections
   -------------------------------------------------------------------------- */

.marquee-field {
  position: absolute;
  inset: -60% -20%;
  transform: rotate(-45deg);
  transform-origin: center;
  pointer-events: none;
}
.marquee-row {
  position: absolute;
  left: 0;
  white-space: nowrap;
  display: flex;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-semibold);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .03em;
  color: rgba(250, 247, 242, .12);
  will-change: transform;
}
.marquee-row span { padding: 0 22px; flex: 0 0 auto; }
.marquee-row--a { animation: marquee-a 22s linear infinite, marquee-pulse 6s ease-in-out infinite; }
.marquee-row--b { animation: marquee-b 26s linear infinite, marquee-pulse 7s ease-in-out infinite; }

@keyframes marquee-a { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes marquee-b { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes marquee-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px;
  background: #0A1F24;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero__inner {
  max-width: var(--container-site);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--gold);
  margin: 0 0 20px;
  display: inline-block;
  cursor: default;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: var(--weight-medium);
  /* background-clip:text only paints within the box, and line-height .95 lets
     descenders ("Living") hang below it — they'd render transparent. Pad the
     box past them and pull the same amount back off the margin so the rule
     underneath keeps the design's 28px gap. */
  margin: 0 auto -.18em;
  padding-bottom: .18em;
  max-width: 14ch;
  line-height: .95;
  background: linear-gradient(100deg, #FAF7F2 0%, #E7E0D5 45%, #C9B896 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  cursor: default;
  text-align: center;
}
.hero__rule { width: 110px; height: 3px; background: #123C5B; margin: 28px auto 0; }
.hero__lede {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: var(--leading-relaxed);
  color: rgba(250, 247, 242, .75);
  max-width: 480px;
  margin: 24px auto 0;
}
.hero__actions { display: flex; gap: 16px; margin-top: 36px; justify-content: center; flex-wrap: wrap; }
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #0A1F24);
  pointer-events: none;
}

/* The hero's primary CTA is a one-off terracotta, not a DS Button variant. */
.ds-btn--terracotta {
  background: oklch(58% 0.15 55);
  color: var(--cream);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
  transition: transform .25s var(--ease-spring), box-shadow .25s ease, background-color .25s ease;
}
.ds-btn--terracotta:hover:not(:disabled) {
  background-color: oklch(50% 0.16 48);
  box-shadow: 0 10px 24px -6px rgba(90, 40, 0, .45);
  transform: translateY(-2px);
}

.kinetic-headline {
  animation: headline-in 1s cubic-bezier(.16, 1, .3, 1) both;
  transition: letter-spacing .35s ease;
}
.kinetic-headline:hover { letter-spacing: .02em; }
@keyframes headline-in {
  from { opacity: 0; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1); }
}

.hover-expand { transition: letter-spacing .35s ease; }
.hover-expand:hover { letter-spacing: .14em; }

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.section { padding: 96px 40px; }

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-medium);
  color: var(--ink);
  margin: 0;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.section__head-link {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
.section__head-link:hover { color: var(--ink); opacity: .6; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--gold);
  margin: 0 0 20px;
}

/* Intro statement */
.intro { background: var(--cream); }
.intro__inner { max-width: 680px; margin: 0 auto; padding: 56px 40px; text-align: center; }
.intro p {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: var(--leading-relaxed);
  color: var(--stone);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Categories
   -------------------------------------------------------------------------- */

.categories {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--sand) 0%, var(--parchment) 50%, var(--cream) 100%);
}
.categories__inner { position: relative; z-index: 1; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease-spring), box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cat-card .slot { width: 100%; aspect-ratio: 4 / 5; }
.cat-card .slot__img { transition: transform .9s var(--ease-spring); }
.cat-card:hover .slot__img { --slot-zoom: 1.045; }
.cat-card__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--ink);
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}

.glass-card {
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.noise-layer {
  position: absolute;
  inset: -2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: .12;
  pointer-events: none;
  animation: noise-breathe 1.5s steps(2) infinite;
}
@keyframes noise-breathe {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(2px, 2px); }
}

/* --------------------------------------------------------------------------
   The Edit — tabbed product rails
   -------------------------------------------------------------------------- */

.edit { background: var(--cream); }
.edit .section__title { margin-bottom: 40px; }

.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--linen);
  padding-bottom: 16px;
  overflow-x: auto;
}
.tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  padding: 8px 0;
  white-space: nowrap;
  color: var(--fog);
  transition: color .2s ease;
}
.tab[aria-selected="true"] { color: var(--ink); }

.rail {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
  list-style: none;
  margin-inline: 0;
}
.rail[hidden] { display: none; }

.product {
  display: flex;
  flex-direction: column;
  flex: 0 0 260px;
  text-decoration: none;
  color: inherit;
}
.product .slot { width: 100%; aspect-ratio: 8 / 9; }
.product .slot__img { transition: transform .9s var(--ease-spring); }
.product:hover .slot__img { --slot-zoom: 1.045; }
.product:hover .product__name { color: var(--golddeep); }
.product__name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--weight-medium);
  margin: 16px 0 0;
  color: var(--ink);
}
.product__meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--fog);
  margin: 2px 0 0;
}
.product__price {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: var(--weight-medium);
  color: var(--stone);
  margin: 6px 0 0;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Editorial
   -------------------------------------------------------------------------- */

.editorial { background: var(--cream); padding: 0 40px 96px; }
.editorial__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.editorial__grid > .slot { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.editorial h2 { margin: 0 0 24px; }
.editorial p.body {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: var(--leading-relaxed);
  color: var(--stone);
  margin: 0 0 16px;
}
.editorial p.body:last-of-type { margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.testimonials { position: relative; overflow: hidden; background-color: #0A1F24; }
.testimonials__inner { position: relative; z-index: 2; }
.testimonials .section__title { color: var(--cream); margin-bottom: 56px; text-align: center; }
.testimonials .marquee-row { color: rgba(250, 247, 242, .06); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--cream);
  margin: 0 0 20px;
}
.testimonial figcaption {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(250, 247, 242, .7);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Newsletter
   -------------------------------------------------------------------------- */

.newsletter { background: var(--ink); text-align: center; }
.newsletter__inner { max-width: 560px; margin: 0 auto; }
.newsletter h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-medium);
  color: var(--cream);
  margin: 0 0 16px;
}
.newsletter__lede {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(250, 247, 242, .7);
  margin: 0 0 32px;
}
.newsletter__form { display: flex; gap: 12px; justify-content: center; align-items: flex-end; }
.newsletter__form .ds-field { width: 280px; }
.newsletter__form .ds-field__input,
.newsletter__form .ds-btn { height: 46px; }
.newsletter__fineprint {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(250, 247, 242, .5);
  margin: 24px 0 0;
  min-height: 1em;
}
.newsletter__fineprint.is-success { color: var(--champagne); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--parchment);
  border-top: 1px solid var(--linen);
  padding: 80px 40px 0;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.footer__wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--weight-medium);
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 16px;
}
.footer__blurb {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: var(--leading-relaxed);
  color: var(--stone);
  max-width: 260px;
  margin: 0 0 20px;
}
.footer__social { display: flex; gap: 20px; }
.footer__social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.footer__coltitle {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--fog);
  margin: 0 0 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-family: var(--font-body); font-size: 13px; color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--golddeep); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--linen);
  margin-top: 64px;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom p { font-family: var(--font-body); font-size: 11.5px; color: var(--fog); margin: 0; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-family: var(--font-body); font-size: 11.5px; color: var(--fog); text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Discount rail
   -------------------------------------------------------------------------- */

.discount {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 40;
  background: #EAEBFA;
  box-shadow: -4px 0 24px rgba(0, 0, 0, .08);
  padding: 32px 14px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.discount[hidden] { display: none; }
.discount__label {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #160F0A;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}
.discount__close {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #160F0A;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.is-in-view { opacity: 1; transform: translateY(0); }
/* Without JS nothing would ever get .is-in-view, so leave content visible. */
html.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .nav__links,
  .navlink--journal { display: none; }

  .nav { padding: 0 24px; gap: 12px; }
  .nav__wordmark { font-size: 30px; }

  .hero { padding: 32px 24px; min-height: 520px; }
  .hero__title { font-size: clamp(32px, 7vw, 48px); }

  .section { padding-inline: 24px; }
  .section__title { font-size: clamp(30px, 6vw, 44px); }
  .newsletter h2 { font-size: clamp(30px, 6vw, 44px); }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .editorial { padding: 0 24px 72px; }
  .editorial__grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer { padding-inline: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .newsletter__form { flex-direction: column; align-items: stretch; }
  .newsletter__form .ds-field { width: auto; }

  /* The design hides this row on mobile; scrolling it keeps the categories
     reachable without introducing a menu the design doesn't have. */
  .subnav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 24px;
    padding-inline: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .subnav a { white-space: nowrap; }
  .utilnav { gap: 20px; padding-inline: 24px; }

  .discount { display: none; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .slot--arch { clip-path: inset(0 round 96px 96px 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-row--a,
  .marquee-row--b,
  .noise-layer,
  .kinetic-headline { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}
