/* =========================================================
   BEACH HARD - Editorial Coastal
   Palette: warm sand · deep navy · sunset coral · ocean blue
   ========================================================= */

:root {
  /* Core palette */
  --sand: #F4EEE2;
  --sand-2: #ECE4D2;
  --sand-3: #E0D4BA;
  --paper: #FAF6EC;

  --ink: #14253A;          /* deep navy ink */
  --ink-soft: #2A3B52;
  --ink-muted: #6E7989;

  --coral: #D8623F;        /* sunset accent */
  --coral-deep: #B94A2A;
  --ocean: #3A6E8A;
  --ocean-deep: #1F4A66;

  /* Type */
  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(60px, 9vw, 140px);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle paper grain across whole site */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .045;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Typography ─── */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.serif em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 300;
}

.kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ─── Announcement bar ─── */
.announce {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}
.announce-track {
  display: flex;
  gap: 38px;
  white-space: nowrap;
  animation: scroll 36s linear infinite;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 38px;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ─── Navigation ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--sand);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(244, 238, 226, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(20, 37, 58, 0.08);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px var(--pad);
  gap: 32px;
}
.nav-left, .nav-right {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.nav-right { justify-content: flex-end; }
.nav-left a, .nav-right a {
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-left a::after, .nav-right a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-left a:hover::after, .nav-right a:hover::after { transform: scaleX(1); }

.nav-logo {
  justify-self: center;
  display: block;
}
.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.cart-link { display: inline-flex; align-items: center; gap: 6px; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 28px; height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}

/* Drawer (mobile) */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--sand);
  z-index: 95;
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
  padding: 90px var(--pad) var(--pad);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-inner { display: flex; flex-direction: column; gap: 18px; }
.drawer-inner a {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.drawer-inner hr {
  border: none;
  border-top: 1px solid rgba(20, 37, 58, 0.15);
  margin: 12px 0;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  border-radius: 0;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--coral);
  transform: translateY(-1px);
}
.btn.added, .btn-primary.added { background: var(--coral); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.link-arrow:hover::after {
  transform: scaleX(0);
  transform-origin: left;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow.centered { display: block; text-align: center; margin: 32px auto 0; }

/* ─── Hero ─── */
.hero {
  position: relative;
  height: clamp(560px, 88vh, 880px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(60px, 9vw, 100px);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-vignette {
  position: absolute; inset: 0;
  /* Stronger left fade keeps the headline readable against the bright sky.
     Lighter bottom fade because the image already has dark grass at the bottom. */
  background:
    linear-gradient(180deg, rgba(20,37,58,0) 0%, rgba(20,37,58,0) 55%, rgba(20,37,58,0.45) 100%),
    linear-gradient(90deg, rgba(20,37,58,0.55) 0%, rgba(20,37,58,0.15) 45%, rgba(20,37,58,0) 70%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  color: var(--paper);
  max-width: 720px;
}
.hero-copy .kicker {
  color: rgba(250, 246, 236, 0.85);
  margin-bottom: 22px;
}

.display {
  font-family: var(--serif);
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  margin-bottom: 28px;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--coral);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero-copy .lede {
  color: rgba(250, 246, 236, 0.85);
  font-size: 18px;
  margin-bottom: 36px;
  max-width: 46ch;
}

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost {
  color: var(--paper);
  border-color: var(--paper);
}
.hero .btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-meta {
  position: absolute;
  top: 24px;
  right: var(--pad);
  z-index: 2;
  color: rgba(250, 246, 236, 0.85);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* fade-up stagger */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.2s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Marquee ─── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(20px, 4vw, 36px) 0;
  border-bottom: 1px solid rgba(250, 246, 236, 0.1);
}
.marquee-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  padding-left: 40px;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.marquee-track span:nth-child(odd) {
  font-style: italic;
  color: var(--coral);
}

/* ─── Story ─── */
.story {
  padding: var(--section) var(--pad);
  background: var(--paper);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.story-img {
  position: relative;
  aspect-ratio: 4 / 5;
}
.story-img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.story-img-inner::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(20, 37, 58, 0.1);
}
.story-img-caption {
  position: absolute;
  bottom: -28px;
  left: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.story-text .kicker { margin-bottom: 18px; }
.story-text h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  margin-bottom: 28px;
}
.story-text p {
  font-size: 16px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  max-width: 50ch;
}
.signoff {
  font-family: var(--serif);
  font-size: 22px !important;
  margin-top: 28px !important;
  margin-bottom: 32px !important;
}
.signoff em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* ─── Categories ─── */
.categories { padding: var(--section) var(--pad); }
.section-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(38px, 5vw, 72px);
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
}
.section-head-row h2 { margin: 0; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}
.cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
}
/* Top row: hero + accent (8 + 4) — cat-2 stretches to match cat-1's height */
.cat-1 { grid-column: span 8; aspect-ratio: 8 / 5; }
.cat-2 { grid-column: span 4; height: 100%; }
/* Bottom row: three even (4 + 4 + 4) */
.cat-3 { grid-column: span 4; aspect-ratio: 4 / 4; }
.cat-4 { grid-column: span 4; aspect-ratio: 4 / 4; }
.cat-5 { grid-column: span 4; aspect-ratio: 4 / 4; }

.cat-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease);
}
.cat-card:hover .cat-img { transform: scale(1.04); }
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,37,58,0) 40%, rgba(20,37,58,0.55) 100%);
}
.cat-label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.cat-label span {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 9, "WONK" 1;
}
.cat-label h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  flex: 1;
}
.cat-label p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.85;
}

/* ─── Featured Products ─── */
.featured { padding: var(--section) var(--pad); background: var(--sand-2); }
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  max-width: 1400px;
  margin: 0 auto;
}
.product {
  display: block;
  cursor: pointer;
}
.product-img {
  aspect-ratio: 4/5;
  background: var(--sand);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
}
.product-img::after {
  content: '';
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.product:hover .product-img::after { opacity: 1; }
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  z-index: 2;
}
.product-tag.new { background: var(--coral); color: #fff; }
.product h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  font-variation-settings: "opsz" 14, "SOFT" 50;
}
.product .product-cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.product .product-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

/* ─── Lookbook ─── */
.lookbook { padding: var(--section) var(--pad); }
.lookbook-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: end;
}
.lb { display: block; }
.lb-img {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.lb-1 .lb-img { aspect-ratio: 4/5; }
.lb-2 .lb-img { aspect-ratio: 3/4; margin-bottom: 60px; }
.lb-3 .lb-img { aspect-ratio: 4/5; }
.lb figcaption {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ─── Values ─── */
.values {
  padding: clamp(48px, 7vw, 80px) var(--pad);
  background: var(--ink);
  color: var(--paper);
}
.values-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 60px);
}
.values-intro .kicker { margin-bottom: 14px; color: var(--coral); }
.values-intro h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  margin-bottom: 20px;
}
.values-lede {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(250, 246, 236, 0.7);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 880px;
  margin: 0 auto;
}
.value-num {
  font-size: 20px;
  color: var(--coral);
  margin-bottom: 12px;
}
.value-icon {
  width: 36px; height: 36px;
  margin-bottom: 18px;
  color: var(--coral);
}
.value h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-variation-settings: "opsz" 14, "SOFT" 50;
  margin-bottom: 8px;
}
.value p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(250, 246, 236, 0.7);
  max-width: 32ch;
}

/* ─── Newsletter ─── */
.newsletter {
  padding: var(--section) var(--pad);
  background: var(--coral);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.12) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(20,37,58,0.18) 0, transparent 50%);
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.newsletter .kicker {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}
.newsletter h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  margin-bottom: 20px;
  color: #fff;
}
.newsletter .lede {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 36px;
  text-align: center;
}
.news-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 8px;
}
.news-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
  padding: 12px 0;
  font-family: var(--sans);
}
.news-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.news-form .btn {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 22px;
}
.news-form .btn:hover { background: var(--paper); color: var(--ink); }
.news-note {
  margin-top: 18px;
  font-size: 13px;
  min-height: 18px;
}

/* ─── Footer ─── */
.footer {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(60px, 8vw, 100px) var(--pad) 32px;
  border-top: 1px solid rgba(20, 37, 58, 0.1);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  max-width: 1400px;
  margin: 0 auto 64px;
}
.footer-logo { height: 88px; width: auto; display: block; }
.footer-tag {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 18px;
  font-variation-settings: "opsz" 14, "SOFT" 50;
}
.footer-tag em {
  font-style: italic;
  color: var(--coral);
  font-variation-settings: "opsz" 14, "SOFT" 100, "WONK" 1;
}
.footer-addr {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-cols h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--ink);
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--coral); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(20, 37, 58, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-muted);
}
.footer-policies { display: flex; gap: 22px; }

/* ─── Utility ─── */
.desktop-only { display: inline-flex; }

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav-logo { justify-self: center; }
  .nav-logo img { height: 44px; }

  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .story-img { aspect-ratio: 4 / 5; max-width: 480px; }

  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-1, .cat-2, .cat-3, .cat-4, .cat-5 {
    grid-column: span 1;
    aspect-ratio: 4/5;
  }
  /* On tablet, the 5th card spans the full width */
  .cat-5 { grid-column: span 2; aspect-ratio: 8/3; }

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

  .lookbook-row { grid-template-columns: 1fr 1fr; }
  .lb-3 { grid-column: span 2; }
  .lb-2 .lb-img { margin-bottom: 0; }

  .values-grid { gap: 36px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  .section-head-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .desktop-only { display: none; }
}

@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-1, .cat-2, .cat-3, .cat-4, .cat-5 { grid-column: span 1; aspect-ratio: 4/3; }
  .products { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .lookbook-row { grid-template-columns: 1fr; }
  .lb-3 { grid-column: span 1; }
  .news-form { flex-direction: column; gap: 14px; border: none; }
  .news-form input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 0;
  }
  .news-form .btn { width: 100%; justify-content: center; }
  .hero-meta { display: none; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   POLISH LAYER — type/spacing, product cards, subtle motion
   Appended last so it cleanly overrides earlier rules.
   ============================================================ */

/* ─── Section reveal motion (hooks into app.js IntersectionObserver) ─── */
/* Only apply when JS is actually running on this page (app.js sets .js-enabled
   on <html>, and the IntersectionObserver toggles .in-view per element).
   Without this guard, sections would be permanently invisible on any page
   that doesn't load app.js (story, shop, journal, article, product). */
.js-enabled .story,
.js-enabled .categories,
.js-enabled .featured,
.js-enabled .lookbook,
.js-enabled .values,
.js-enabled .newsletter {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.js-enabled .story.in-view,
.js-enabled .categories.in-view,
.js-enabled .featured.in-view,
.js-enabled .lookbook.in-view,
.js-enabled .values.in-view,
.js-enabled .newsletter.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-enabled .story, .js-enabled .categories, .js-enabled .featured,
  .js-enabled .lookbook, .js-enabled .values, .js-enabled .newsletter {
    opacity: 1; transform: none; transition: none;
  }
  .hero-img { animation: none; transform: none; }
  .fade-up { animation: none; opacity: 1; transform: none; }
}

/* ─── Tighter editorial type rhythm ─── */
.kicker { font-size: 10.5px; letter-spacing: 0.28em; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .kicker { margin-bottom: 18px; }
.story-text h2, .section-head h2, .newsletter h2 { letter-spacing: -0.028em; }

/* Hero copy gets a touch more breathing room and a deeper vignette
   so the new photography reads with editorial weight */
.hero-vignette {
  background:
    linear-gradient(180deg, rgba(20,37,58,0) 0%, rgba(20,37,58,0) 38%, rgba(20,37,58,0.62) 100%),
    linear-gradient(90deg, rgba(20,37,58,0.42) 0%, rgba(20,37,58,0) 55%);
}
.hero-copy .lede { font-size: 17px; max-width: 44ch; }

/* ─── Stronger product cards ─── */
.product {
  transition: transform .5s var(--ease);
}
.product:hover { transform: translateY(-3px); }
.product-img {
  background-color: var(--sand-2);
  box-shadow: 0 1px 0 rgba(20,37,58,0.04);
  transition: box-shadow .5s var(--ease);
}
.product-img::before {
  /* zoom-on-hover, applied to the bg via a pseudo-layer using the parent's bg */
  content: '';
  position: absolute; inset: 0;
  background-image: inherit;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  transition: transform 1.2s var(--ease);
  z-index: 0;
}
.product:hover .product-img {
  box-shadow: 0 12px 28px -16px rgba(20,37,58,0.28);
}
.product:hover .product-img::before { transform: scale(1.05); }
.product-tag {
  background: rgba(250, 246, 236, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 2px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  padding: 6px 11px;
}
.product h3 {
  font-size: 20px;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 24, "SOFT" 50;
}
.product .product-cat { font-size: 10.5px; letter-spacing: 0.22em; margin-bottom: 8px; }
.product .product-price {
  font-size: 14px;
  font-feature-settings: "tnum" 1;
}

/* Quick-add affordance on hover (visual only — no click handler) */
.product .product-img .quick-add,
.product-img::after {
  /* keep the original ::after as a darken layer for the hover state */
  background: linear-gradient(180deg, rgba(20,37,58,0) 60%, rgba(20,37,58,0.18) 100%);
  opacity: 0;
}
.product:hover .product-img::after { opacity: 1; }

/* ─── Category card — slightly richer overlay for photo legibility ─── */
.cat-card::after {
  background: linear-gradient(180deg, rgba(20,37,58,0) 35%, rgba(20,37,58,0.62) 100%);
}
.cat-label h3 { font-variation-settings: "opsz" 144, "SOFT" 50; }

/* ─── Lookbook captions: a touch more refined ─── */
.lb figcaption { letter-spacing: 0.26em; }

/* ─── Story image: softer inset edge over photography ─── */
.story-img-inner::after { box-shadow: inset 0 0 0 1px rgba(20, 37, 58, 0.06); }

/* ─── Buttons: slight lift, refined hover ─── */
.btn { letter-spacing: 0.2em; padding: 15px 30px; }
.btn-primary { transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn-primary:hover { box-shadow: 0 10px 24px -12px rgba(216, 98, 63, 0.55); }
