/* ==========================================================================
   Garden of Sorn — design system
   Colours, type, spacing, and every component style for the one-page site.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Logo palette — the source of truth */
  --olive: #a9af69;
  /* The logo's Deep Olive is #6F7638, which only reaches 4.37:1 as text on the
     cream ground — just under AA. Nudged ~4% darker (same hue, imperceptibly
     different) so it passes wherever it is used for text. */
  --olive-deep: #676d31;
  --olive-dark: #565c2b;
  --lilac: #ceb5cb;
  --lilac-soft: #e6dae4;
  --lilac-wash: #f0e9ef;
  /* Lilac deepened for button hover states — still clearly lilac, dark enough
     that ink text on it stays above 4.5:1. */
  --lilac-deep: #b391b0;
  --cream: #f5f3ee;
  --white: #ffffff;

  /* Text — darkened olive so body copy clears WCAG AA on every ground it sits
     on: 5.5:1 on white, 5.0:1 on cream, 4.6:1 on the lilac wash. */
  --ink: #2f3220;
  --ink-soft: #5a5f45;
  --ink-muted: #676b58;

  --line: rgba(47, 50, 32, 0.12);
  --line-soft: rgba(47, 50, 32, 0.07);

  --shadow-xs: 0 1px 2px rgba(47, 50, 32, 0.04);
  --shadow-sm: 0 1px 2px rgba(47, 50, 32, 0.04), 0 10px 24px -16px rgba(47, 50, 32, 0.22);
  --shadow-md: 0 2px 4px rgba(47, 50, 32, 0.04), 0 24px 48px -24px rgba(47, 50, 32, 0.28);
  --shadow-lg: 0 40px 80px -32px rgba(47, 50, 32, 0.36);

  --radius: 4px;
  --radius-card: 6px;
  --radius-lg: 10px;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 136px);

  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 84px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

/* The overlays (quick view, bag, search) live in the document permanently and
   are shown and hidden with the `hidden` attribute, since there is no framework
   here to mount and unmount them. Nearly all of them are laid out with
   `display: flex`, which would otherwise beat the browser's own `[hidden]`
   rule, so this has to win outright. Hiding with `display` also restarts each
   overlay's entrance animation on the next open, which is what we want. */
[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
  /* Without this, the width/height attributes we set on each <img> (to reserve
     space and avoid layout shift) win as presentational hints, and any
     `aspect-ratio` in a component rule is ignored — the hero photo rendered
     1500px tall inside a 545px column. Rules that genuinely need a fixed
     height, like .modal__media img, override this by specificity. */
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--olive-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--lilac);
  color: var(--ink);
}

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease-soft);
}

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--olive-deep);
  letter-spacing: -0.015em;
  line-height: 1.08;
}

p {
  margin: 0;
}

.display {
  font-size: clamp(2.85rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(2.05rem, 4vw, 3.4rem);
  line-height: 1.06;
}

.h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.italic {
  font-style: italic;
  color: var(--olive-deep);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--olive);
}

.eyebrow--center::after {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--olive);
}

.lede {
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  scroll-margin-top: var(--nav-h);
}

.section--tint {
  background: var(--white);
}

.section--lilac {
  background: linear-gradient(180deg, var(--lilac-wash), var(--cream));
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(38px, 5vw, 60px);
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section__head--center .lede {
  margin-inline: auto;
}

.section__head-text {
  max-width: 620px;
}

.section__title {
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease-soft), color 0.35s var(--ease-soft),
    border-color 0.35s var(--ease-soft), transform 0.35s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft);
}

.btn:active {
  transform: translateY(1px);
}

/* Olive ground with dark ink — 5.6:1, comfortably AA. */
.btn--primary {
  background: var(--olive);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn--primary:hover {
  background: var(--olive-deep);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--olive-deep);
  color: var(--olive-deep);
  background: rgba(169, 175, 105, 0.08);
}

/* Lilac ground with dark ink — used for secondary actions. Ink on lilac is
   6.9:1, ink on the deeper hover lilac 4.75:1, both comfortably AA. */
.btn--lilac {
  background: var(--lilac);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn--lilac:hover {
  background: var(--lilac-deep);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--solid-dark {
  background: var(--ink);
  color: var(--cream);
}

.btn--solid-dark:hover {
  background: var(--olive-deep);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 13px 22px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Small circular icon buttons used in the nav and drawers. */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  position: relative;
  transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

.icon-btn:hover {
  background: rgba(169, 175, 105, 0.18);
  color: var(--olive-deep);
}

/* --------------------------------------------------------------------------
   6. Scroll reveal
   -------------------------------------------------------------------------- */

/* The hidden start state is scoped to `.js`, a class the inline script in
   <head> puts on <html>. Without scripting the whole page stays visible:
   otherwise a single failed script would leave a blank cream screen, which is
   exactly what the reveal effect is meant to avoid. */
.reveal {
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}

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

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

  /* Scoped to `.js` to outrank the hidden start state above — a bare `.reveal`
     would lose to `.js .reveal` and leave the page invisible for anyone who
     has asked their system to reduce motion. */
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

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

/* --------------------------------------------------------------------------
   7. Navbar
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  background: rgba(245, 243, 238, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft),
    box-shadow 0.4s var(--ease-soft);
}

.nav.is-scrolled {
  background: rgba(245, 243, 238, 0.95);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 20px -12px rgba(47, 50, 32, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
  transition: height 0.4s var(--ease-soft);
}

.nav.is-scrolled .nav__inner {
  height: 68px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
}

.nav__link {
  position: relative;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease-soft);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--olive-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--olive-deep);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

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

.nav__badge {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--olive-deep);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
}

.nav__badge--pulse {
  animation: badge-pop 0.5s var(--ease-out);
}

@keyframes badge-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.nav__burger {
  display: none;
}

/* Mobile menu panel */
.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 89;
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px var(--gutter) 28px;
  box-shadow: var(--shadow-md);
  animation: menu-drop 0.35s var(--ease-out);
}

@keyframes menu-drop {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.nav__mobile-link {
  display: block;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--olive-deep);
  text-align: left;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
}

.hero__copy {
  max-width: 560px;
}

.hero__title {
  margin-bottom: 26px;
}

.hero__text {
  margin-bottom: 38px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__meta-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--olive-deep);
  line-height: 1.1;
}

.hero__meta-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__media {
  position: relative;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--lilac-soft);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.01);
  animation: hero-settle 1.6s var(--ease-out) both;
}

@keyframes hero-settle {
  from { transform: scale(1.08); opacity: 0.4; }
  to { transform: scale(1.01); opacity: 1; }
}

/* Soft lilac disc behind the photograph */
.hero__media::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -48px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--lilac), var(--lilac-soft));
  opacity: 0.5;
  z-index: -1;
}

.hero__sprig {
  position: absolute;
  left: -34px;
  bottom: -26px;
  width: 130px;
  color: var(--olive);
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}

.hero__note {
  position: absolute;
  right: -22px;
  bottom: 38px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  max-width: 230px;
}

.hero__note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lilac-wash);
  color: var(--olive-deep);
}

.hero__note-text {
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero__note-text strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   9. Category filter
   -------------------------------------------------------------------------- */

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter__btn {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: transparent;
  transition: all 0.3s var(--ease-soft);
}

.filter__btn:hover {
  border-color: var(--olive);
  color: var(--olive-deep);
}

.filter__btn.is-active {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: var(--white);
}

/* --------------------------------------------------------------------------
   10. Product grid & cards
   -------------------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px) clamp(14px, 1.8vw, 24px);
}

/* Each cell is a Reveal wrapper, so it has to stretch its card to full height. */
.gallery-grid__cell {
  display: flex;
}

.gallery-grid__cell > .product-card {
  flex: 1;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow 0.45s var(--ease-soft), transform 0.45s var(--ease-soft);
  animation: card-in 0.5s var(--ease-out) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.product-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  background: var(--lilac-wash);
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.product-card__badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--olive);
}

.product-card__badge--seasonal::before {
  background: var(--lilac);
}

.product-card__badge--limited::before {
  background: #c9a227;
}

/* Quick view button slides up on hover / focus-within */
.product-card__quick {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translate(-50%, 14px);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.product-card:hover .product-card__quick,
.product-card:focus-within .product-card__quick {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-card__quick:hover {
  background: var(--olive-deep);
  color: var(--white);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 0;
}

.product-card__name {
  font-size: 1.32rem;
  margin-bottom: 6px;
}

.product-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.product-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.product-card__price {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.product-card__type {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: right;
}

.product-card__actions {
  padding: 14px 20px 20px;
}

.gallery-empty {
  padding: 70px 0;
  text-align: center;
  color: var(--ink-muted);
}

.gallery-empty strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--olive-deep);
}

/* --------------------------------------------------------------------------
   11. Modal (product quick view)
   -------------------------------------------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(47, 50, 32, 0.42);
  backdrop-filter: blur(3px);
  animation: fade-in 0.3s var(--ease-soft);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* The search overlay hangs from the top of the screen rather than sitting in
   the middle, so the results do not jump around as the list grows. */
.overlay--top {
  place-items: start center;
  padding-top: 12vh;
}

.modal {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(940px, 100%);
  max-height: min(88vh, 720px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in 0.45s var(--ease-out);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal__media {
  position: relative;
  background: var(--lilac-wash);
  overflow: hidden;
}

.modal__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

.modal__close:hover {
  background: var(--ink);
  color: var(--white);
}

.modal__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3vw, 42px);
  overflow-y: auto;
}

.modal__title {
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  color: var(--olive-deep);
}

.modal__eyebrow {
  margin-bottom: 10px;
}

.modal__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1;
}

.modal__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.modal__spec {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: var(--radius-card);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.modal__spec svg {
  flex: none;
  margin-top: 2px;
  color: var(--olive-deep);
}

.modal__field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.size-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.size-btn {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-align: left;
  transition: all 0.3s var(--ease-soft);
}

.size-btn:hover {
  border-color: var(--olive);
}

.size-btn.is-active {
  border-color: var(--olive-deep);
  background: rgba(169, 175, 105, 0.14);
}

.size-btn__label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

.size-btn__price {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.modal__buy {
  display: flex;
  gap: 10px;
}

/* The add button takes whatever width the stepper leaves. */
.modal__buy .btn {
  flex: 1;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex: none;
}

.stepper__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 46px;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
}

.stepper__btn:hover:not(:disabled) {
  color: var(--olive-deep);
  background: rgba(169, 175, 105, 0.14);
}

.stepper__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.stepper__value {
  min-width: 34px;
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   12. Cart drawer
   -------------------------------------------------------------------------- */

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(47, 50, 32, 0.42);
  backdrop-filter: blur(3px);
  animation: fade-in 0.3s var(--ease-soft);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  display: flex;
  flex-direction: column;
  width: min(432px, 100%);
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  animation: drawer-in 0.42s var(--ease-out);
}

@keyframes drawer-in {
  from { transform: translateX(100%); }
  to { transform: none; }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream);
}

.drawer__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.5rem;
}

.drawer__count {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.drawer__foot {
  padding: 22px 24px 26px;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}

.cart-line {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__img {
  width: 78px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--lilac-wash);
}

.cart-line__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cart-line__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.2;
  color: var(--olive-deep);
}

.cart-line__size {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.cart-line__remove {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--ink-muted);
  transition: color 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
}

.cart-line__remove:hover {
  color: #a4462f;
  background: rgba(164, 70, 47, 0.1);
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.cart-line__price {
  font-size: 14px;
  font-weight: 500;
}

.stepper--sm .stepper__btn {
  width: 32px;
  height: 34px;
}

.stepper--sm .stepper__value {
  min-width: 26px;
  font-size: 13px;
}

.summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.summary-row--total {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

.summary-row--total span:first-child {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.summary-hint {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--lilac-wash);
  font-size: 12px;
  color: var(--olive-deep);
}

.drawer__cta {
  margin-top: 18px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 76px 20px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--white);
  color: var(--olive);
  box-shadow: var(--shadow-xs);
}

.cart-empty p {
  max-width: 30ch;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   13. Collections
   -------------------------------------------------------------------------- */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}

.collection-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.45s var(--ease-soft), transform 0.45s var(--ease-soft);
}

.collection-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}

.collection-card:hover img {
  transform: scale(1.06);
}

.collection-card__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(31, 33, 21, 0.78) 0%,
    rgba(31, 33, 21, 0.34) 42%,
    rgba(31, 33, 21, 0.04) 72%
  );
}

.collection-card__body {
  position: absolute;
  inset: auto 0 0;
  padding: 22px 20px;
  color: var(--white);
}

.collection-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  margin-bottom: 6px;
}

.collection-card__tagline {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.collection-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.9;
  transition: gap 0.35s var(--ease-out);
}

.collection-card:hover .collection-card__cta {
  gap: 12px;
}

/* --------------------------------------------------------------------------
   14. About
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

.about__media {
  position: relative;
}

.about__media-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Square: the studio photograph is shot 1:1, so nothing is cropped away. */
.about__media-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about__media-inset {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 46%;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-md);
}

.about__media-inset img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about__signature {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.about__signature-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--olive-deep);
}

.about__signature-role {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.about__list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.about__list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.about__list svg {
  flex: none;
  margin-top: 4px;
  color: var(--olive-deep);
}

/* --------------------------------------------------------------------------
   15. How it works
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.step__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--olive);
}

.step__icon {
  position: absolute;
  top: 26px;
  right: 0;
  color: var(--lilac);
}

.step__title {
  margin: 18px 0 10px;
  font-size: 1.42rem;
}

.step__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   16. Testimonials
   -------------------------------------------------------------------------- */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3vw, 36px);
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
}

.testimonial__stars {
  display: flex;
  gap: 3px;
  color: var(--olive);
}

.testimonial__quote {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.testimonial__author {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.testimonial__name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.testimonial__meta {
  font-size: 11.5px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   17. Order form
   -------------------------------------------------------------------------- */

.order__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 4vw, 64px);
  align-items: start;
}

.order__aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.order__summary {
  margin-top: 26px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xs);
}

.order__summary-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
}

/* Shown in place of the line items while the bag is empty. */
.order__summary-empty {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.order__summary-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.order__summary-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.order__summary-item span:last-child {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field__req {
  color: var(--olive-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.75;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--olive);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b04a33;
  background: rgba(176, 74, 51, 0.05);
}

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #a4462f;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.form__note {
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  color: var(--ink-muted);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 52px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--lilac-wash);
  color: var(--olive-deep);
  animation: badge-pop 0.6s var(--ease-out);
}

.form-success h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.form-success p {
  max-width: 46ch;
  font-size: 14px;
  color: var(--ink-soft);
}

.form-success__ref {
  padding: 9px 16px;
  border-radius: 100px;
  background: var(--cream);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: rgba(245, 243, 238, 0.72);
  padding-block: clamp(52px, 6vw, 76px) 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(245, 243, 238, 0.14);
}

.footer .logo__word {
  color: var(--cream);
}

/* The default muted ink is far too dark to read on the ink ground, so the
   wordmark's subtitle gets an explicit light value here. */
.footer .logo__sub {
  color: rgba(245, 243, 238, 0.72);
}

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

.footer__desc {
  max-width: 34ch;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.75;
}

.footer__heading {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__link {
  font-size: 13.5px;
  color: rgba(245, 243, 238, 0.72);
  transition: color 0.3s var(--ease-soft);
}

.footer__link:hover {
  color: var(--white);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  transition: color 0.3s var(--ease-soft);
}

.footer__contact:hover {
  color: var(--white);
}

/* The address sits in the same stack as the email and phone, but it is not a
   link, so it keeps the inherited colour and no pointer. */
.footer__contact--plain {
  color: inherit;
  cursor: default;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(245, 243, 238, 0.2);
  color: rgba(245, 243, 238, 0.85);
  transition: all 0.3s var(--ease-soft);
}

.footer__social:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--ink);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 12px;
  /* 0.5 alpha only reached 4.2:1 on the ink ground. */
  color: rgba(245, 243, 238, 0.62);
}

/* --------------------------------------------------------------------------
   19. Toast
   -------------------------------------------------------------------------- */

.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(430px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.4s var(--ease-out);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.toast__img {
  width: 42px;
  height: 52px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
}

.toast__text {
  flex: 1;
  font-size: 13px;
  line-height: 1.45;
}

.toast__text strong {
  display: block;
  font-weight: 500;
  color: var(--white);
}

.toast__action {
  flex: none;
  padding: 9px 15px;
  border-radius: var(--radius);
  background: var(--olive);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}

.toast__action:hover {
  background: var(--white);
}

.toast__dismiss {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: rgba(245, 243, 238, 0.6);
  font-size: 17px;
  line-height: 1;
  transition: color 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
}

.toast__dismiss:hover {
  color: var(--white);
  background: rgba(245, 243, 238, 0.14);
}

/* --------------------------------------------------------------------------
   20. Search overlay
   -------------------------------------------------------------------------- */

.search-panel {
  width: min(620px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in 0.4s var(--ease-out);
}

.search-panel__field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-muted);
}

.search-panel__field input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}

.search-panel__field input:focus {
  outline: none;
}

.search-panel__results {
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding: 8px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-card);
  text-align: left;
  transition: background-color 0.25s var(--ease-soft);
}

.search-result:hover {
  background: var(--cream);
}

.search-result img {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  flex: none;
}

.search-result__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--olive-deep);
}

.search-result__meta {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
}

.search-result__price {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 500;
}

.search-empty {
  padding: 34px 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   21. Logo
   -------------------------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.logo__mark {
  flex: none;
  color: var(--olive-deep);
}

.logo__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0.01em;
  color: var(--olive-deep);
}

.logo__sub {
  margin-top: 3px;
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .nav__burger {
    display: inline-flex;
  }

  .nav__actions {
    margin-left: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__copy {
    max-width: none;
    order: 2;
  }

  .hero__media {
    order: 1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__frame img {
    aspect-ratio: 5 / 4;
  }

  .hero__media::before {
    width: 180px;
    height: 180px;
    top: -28px;
    right: -28px;
  }

  .hero__note {
    right: 12px;
    bottom: -18px;
  }

  .about__grid,
  .order__grid {
    grid-template-columns: 1fr;
  }

  .order__aside {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .step {
    padding-top: 24px;
  }

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

  .modal {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal__media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    height: auto;
  }

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

@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .product-card__body {
    padding: 15px 14px 0;
  }

  .product-card__actions {
    padding: 12px 14px 15px;
  }

  .product-card__name {
    font-size: 1.14rem;
  }

  .product-card__desc {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .product-card__quick {
    opacity: 1;
    transform: translate(-50%, 0);
    padding: 10px 16px;
    font-size: 9.5px;
  }

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

  .size-row {
    grid-template-columns: 1fr;
  }

  .modal__buy {
    flex-direction: column;
  }

  .modal__buy .stepper {
    justify-content: space-between;
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about__media-inset {
    right: 0;
    bottom: -20px;
    width: 42%;
    border-width: 4px;
  }

  .hero__note {
    display: none;
  }

  .hero__sprig {
    width: 92px;
    left: -16px;
  }
}

@media (max-width: 430px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

/* A message about the whole form — a failed send, usually — rather than one
   field. Sits directly above the submit button, where the eye already is. */
.form__error {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 13px 15px;
  background: rgba(140, 62, 62, 0.07);
  border: 1px solid rgba(140, 62, 62, 0.22);
  border-radius: var(--radius-card);
  font-size: 13px;
  line-height: 1.6;
  color: #7d3434;
}

.form__error svg {
  flex: none;
  margin-top: 2px;
}
/* --------------------------------------------------------------------------
   Spam trap

   Present in the DOM so bots fill it in, but pushed off-screen and out of the
   tab order so a person never meets it. Deliberately not display:none — some
   bots skip fields that are hidden that way, which defeats the point.
   -------------------------------------------------------------------------- */

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* --------------------------------------------------------------------------
   23. Single product
   -------------------------------------------------------------------------- */

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

.product__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 9px 15px;
  background: rgba(47, 50, 32, 0.74);
  color: var(--cream);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 100px;
}

.product__latin {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.product__name {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  color: var(--olive-deep);
}

.product__desc {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.product__facts {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.product__facts li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}

.product__facts svg {
  flex: none;
  margin-top: 3px;
  color: var(--olive-deep);
}

/* --------------------------------------------------------------------------
   24. The growing journey
   -------------------------------------------------------------------------- */

/* Two columns, not four: the photographs are landscape, and at four across
   they would be too small to read the growing process in. */
.journey {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 48px) clamp(24px, 3vw, 40px);
}

.journey__item {
  display: flex;
  flex-direction: column;
}

.journey__media {
  position: relative;
  margin-bottom: 18px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.journey__media img {
  display: block;
  width: 100%;
  /* All four journey photographs are shot 3:2 landscape, so this reserves the
     exact frame their proportions need — nothing is cropped away. */
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.journey__item:hover .journey__media img {
  transform: scale(1.05);
}

.journey__step {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 11px;
  background: var(--cream);
  /* The dark ink (not olive-deep) keeps the small numeral comfortably above
     the 4.5:1 AA floor on the cream badge. */
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 100px;
  box-shadow: var(--shadow-xs);
}

.journey__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--olive-deep);
}

.journey__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   25. Single-product responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .journey {
    grid-template-columns: 1fr;
  }
}
