@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@400;500;600&display=swap');

:root {
  --forest: #265044;
  --forest-deep: #193c32;
  --sage: #afbdad;
  --paper: #f8f8f3;
  --paper-deep: #ecefe7;
  --ink: #1c2924;
  --muted: #58675f;
  --amber: #e0b85e;
  --line: rgba(24,32,29,.18);
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --page: min(1400px, calc(100% - 64px));
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
body.menu-open, body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; height: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.announcement { height: 32px; display: grid; place-items: center; padding: 0 20px; background: var(--forest-deep); color: #f4f3eb; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 20; width: 100%; height: 72px; padding: 0 max(32px, calc((100vw - 1400px)/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(241,240,232,.93); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.wordmark { font-size: 14px; font-weight: 600; letter-spacing: .23em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
.primary-nav a, .footer-links a { position: relative; }
.primary-nav a::after, .footer-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .35s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .footer-links a:hover::after, .footer-links a:focus-visible::after { right: 0; }
.bag-button, .menu-button { justify-self: end; border: 0; background: transparent; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.menu-button { display: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.hero { width: var(--page); min-height: calc(100dvh - 104px); margin: auto; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(40px, 6vw, 100px); padding: 50px 0 70px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h1 { max-width: 720px; margin: 0; font-size: clamp(58px, 6.5vw, 108px); line-height: .86; letter-spacing: -.045em; }
h1 em { display: inline-block; padding-bottom: .12em; color: var(--forest); line-height: 1.1; }
.hero-text { max-width: 500px; margin: 30px 0; color: var(--muted); font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--forest); border-radius: var(--radius); cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: transform .2s ease, background .25s ease, color .25s ease; white-space: nowrap; }
.button-primary { background: var(--forest); color: #f4f3eb; }
.button:hover { background: var(--amber); border-color: var(--amber); color: var(--forest-deep); }
.button:active, .text-link:active, .add-to-bag:active { transform: translateY(1px); }
.text-link { display: inline-flex; padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.hero-media { position: relative; margin: 0; height: min(72vh, 770px); min-height: 540px; overflow: hidden; border-radius: var(--radius); }
.hero-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.hero-media img { height: 100%; object-fit: cover; filter: brightness(1.09) saturate(.94); }
.service-strip { min-height: 62px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-strip p { margin: 0; padding: 0 28px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.service-strip p + p { border-left: 1px solid var(--line); }

.section-shell { width: var(--page); margin: auto; padding: 130px 0; }
.section-heading { max-width: 560px; margin-bottom: 60px; }
h2 { margin: 0; font-size: clamp(45px, 5vw, 76px); line-height: .95; letter-spacing: -.035em; }
.world { padding-bottom: 70px; }
.world-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; grid-template-rows: 360px 260px; gap: 18px; }
.world-card { position: relative; min-height: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--forest); color: #f4f3eb; cursor: pointer; text-align: left; }
.world-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) saturate(.88); transition: transform .8s cubic-bezier(.16,1,.3,1), filter .4s ease; }
.world-card:hover img { transform: scale(1.025); filter: brightness(.68) saturate(.9); }
.world-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.world-card strong { font-family: var(--display); font-size: 28px; font-weight: 500; }
.world-card small { color: rgba(255,255,255,.76); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.world-jewelry { grid-row: 1 / 3; }
.world-jewelry img { object-position: 70% center; }
.world-candle img { object-position: 43% center; }
.world-box { grid-column: 3; grid-row: 1 / 3; }
.world-box img { object-position: 82% center; }
.world-reading { position: relative; grid-column: 2; background: var(--forest); }
.world-reading .world-caption { flex-direction: column; align-items: flex-start; }
.world-mark { position: absolute; top: 24px; right: 24px; color: var(--amber); font-family: var(--display); font-size: 70px; opacity: .7; }
.intention-list { border-top: 1px solid var(--line); }
.intention-item { width: 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; transition: padding .3s ease, color .3s ease; }
.intention-item span { font-family: var(--display); font-size: clamp(26px, 3vw, 42px); }
.intention-item small { color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.intention-item:hover, .intention-item.active { padding-left: 18px; color: var(--forest); }
.intention-item.active span::after { content: "  /"; color: var(--amber); }

.collection { padding-top: 70px; }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 55px; }
.collection-heading > p { color: var(--muted); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 52px 24px; align-items: start; }
.product { transition: opacity .3s ease, transform .3s ease; }
.product:nth-child(3) { grid-column: 2; }
.product-wide { grid-column: 1 / 3; width: 64%; margin: 15px auto 0; }
.product.filtered-out { display: none; }
.product-image { display: block; height: 470px; overflow: hidden; background: var(--paper-deep); }
.product-feature .product-image { height: 700px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.product-image:hover img { transform: scale(1.025); }
.crop-candle img { object-position: 43% center; }
.crop-box img { object-position: 82% center; }
.crop-necklace img { object-position: 17% 60%; }
.product-info { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-top: 18px; }
.product-info h3 { margin: 0 0 4px; font-size: 23px; }
.product-info p { margin: 0; color: var(--muted); font-size: 12px; }
.product-buy { display: flex; align-items: flex-start; gap: 18px; font-size: 13px; }
.add-to-bag { padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.empty-state { padding: 80px 0; text-align: center; }
.empty-state h3 { margin: 0; font-size: 34px; }

.chapter { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 780px; background: var(--paper-deep); }
.chapter-media { min-height: 650px; overflow: hidden; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.chapter-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(55px, 8vw, 135px); }
.chapter-copy > p:not(.eyebrow) { max-width: 520px; margin: 28px 0 38px; color: var(--muted); }
.chapter-details { width: 100%; margin-bottom: 38px; border-top: 1px solid var(--line); }
.chapter-details div { display: grid; grid-template-columns: 85px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.chapter-details span { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.chapter-details strong { font-family: var(--display); font-size: 17px; font-weight: 500; }

.finder { width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; padding: 0; background: var(--forest); color: #f0f0e8; }
.finder-image { height: 760px; overflow: hidden; }
.finder-image img { height: 100%; object-fit: cover; filter: brightness(1.06) saturate(.94); }
.finder-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(50px, 8vw, 130px); }
.finder-copy .eyebrow { color: #bac6b8; }
.finder-copy p:not(.eyebrow) { max-width: 450px; margin: 28px 0 34px; color: #d3d8d0; }
.finder .button-primary { background: var(--paper); border-color: var(--paper); color: var(--forest); }

.craft { display: grid; grid-template-columns: 1fr 1fr; gap: 13vw; }
.craft-copy { padding-top: 80px; }
.craft-copy > p { max-width: 590px; margin: 0 0 50px; color: var(--muted); font-size: 19px; line-height: 1.7; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: 18px 0; border-bottom: 1px solid var(--line); }
dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
dd { margin: 0; color: var(--muted); font-size: 13px; }

.symbols { padding-top: 60px; }
.symbol-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.symbol-grid a { min-height: 265px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-bottom: 1px solid var(--line); transition: background .3s ease, color .3s ease; }
.symbol-grid a + a { border-left: 1px solid var(--line); }
.symbol-grid a:hover { background: var(--forest); color: #f4f3eb; }
.symbol-glyph { margin-bottom: auto; color: var(--amber); font-family: var(--display); font-size: 45px; }
.symbol-grid strong { font-family: var(--display); font-size: 26px; font-weight: 500; }
.symbol-grid small { color: var(--muted); font-size: 11px; }
.symbol-grid a:hover small { color: #cbd4cd; }

.voices { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 720px; background: var(--forest); color: #f4f3eb; }
.voices-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 8vw, 130px); }
.voices-copy .eyebrow { color: #bdc9c1; }
blockquote { margin: 0; font-family: var(--display); font-size: clamp(39px, 4.5vw, 68px); line-height: 1.02; letter-spacing: -.03em; }
.voice-name { margin-top: 35px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.voice-name span { margin-left: 12px; color: #bdc9c1; text-transform: none; letter-spacing: 0; }
.voices-object { min-height: 650px; overflow: hidden; }
.voices-object img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; filter: brightness(.85); }

.journal { display: grid; grid-template-columns: 1.55fr .75fr; gap: 8vw; background: var(--paper-deep); width: 100%; padding-inline: max(32px, calc((100vw - 1400px)/2)); }
.journal-lead { display: grid; grid-template-columns: 1fr .85fr; gap: 40px; align-items: center; }
.journal-image { height: 540px; overflow: hidden; }
.journal-image img { height: 100%; object-fit: cover; object-position: 70% center; filter: brightness(1.07) saturate(.94); }
.journal-lead h2 { font-size: clamp(40px, 4vw, 64px); }
.journal-lead p:not(.eyebrow) { color: var(--muted); margin-bottom: 24px; }
.journal-notes { align-self: end; padding-bottom: 20px; }
.journal-notes a { display: flex; justify-content: space-between; gap: 25px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 20px; }
.journal-notes small { color: var(--muted); font-family: var(--sans); font-size: 10px; white-space: nowrap; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; align-items: end; }
.newsletter h2 { font-size: clamp(40px, 4vw, 62px); }
.newsletter p { color: var(--muted); }
#newsletter-form label { display: block; margin-bottom: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.email-row { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--ink); }
.email-row input { min-width: 0; padding: 16px 0; border: 0; background: transparent; color: var(--ink); }
.email-row input::placeholder { color: #707a75; }
.email-row button { border: 0; background: transparent; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.form-status { min-height: 20px; font-size: 12px; }

.site-footer { padding: 75px max(32px, calc((100vw - 1400px)/2)) 35px; display: grid; grid-template-columns: 1fr 1fr; gap: 55px; background: var(--forest-deep); color: #eef0e9; }
.footer-mark { font-family: var(--display); font-size: clamp(45px, 7vw, 90px); font-weight: 500; letter-spacing: -.03em; }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; gap: 25px; font-size: 12px; }
.site-footer p { max-width: 470px; margin: 0; color: #b9c4bd; font-size: 12px; }
.site-footer small { justify-self: end; align-self: end; color: #b9c4bd; }

dialog { width: min(680px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(13,31,26,.72); backdrop-filter: blur(8px); }
.quiz-shell { position: relative; min-height: 570px; padding: clamp(40px, 7vw, 85px); display: flex; flex-direction: column; justify-content: center; }
.dialog-close { position: absolute; top: 22px; right: 22px; border: 0; background: transparent; cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.quiz-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--paper-deep); }
.quiz-progress span { display: block; width: 33.333%; height: 100%; background: var(--amber); transition: width .4s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quiz-in .45s ease both; }
.quiz-step h2 { margin-bottom: 35px; font-size: clamp(38px, 6vw, 56px); }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button { padding: 18px 20px; border: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.quiz-options button:hover { background: var(--forest); color: #f4f3eb; }
.quiz-result p:not(.eyebrow) { margin: 0 0 32px; color: var(--muted); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 50; padding: 14px 18px; background: var(--forest-deep); color: #f4f3eb; font-size: 12px; opacity: 0; transform: translateY(15px); pointer-events: none; transition: .3s ease; }
.toast.visible { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.visible { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
@keyframes quiz-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  :root { --page: calc(100% - 36px); }
  .site-header { grid-template-columns: auto 1fr auto; padding-inline: 18px; }
  .menu-button { display: block; justify-self: center; }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; height: calc(100dvh - 72px); display: none; padding: 60px 20px; flex-direction: column; align-items: flex-start; background: var(--paper); font-family: var(--display); font-size: 35px; overflow-y: auto; }
  .primary-nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 36px; padding-block: 55px; }
  h1 { font-size: clamp(52px, 13vw, 82px); }
  .hero-media { grid-row: 1; height: 58vh; min-height: 420px; }
  .hero-media img { object-position: 67% center; }
  .section-shell { padding-block: 90px; }
  .product-grid { grid-template-columns: 1fr; }
  .product:nth-child(3) { grid-column: auto; }
  .product-wide { grid-column: auto; width: 100%; margin: 0; }
  .product-image, .product-feature .product-image { height: 520px; }
  .finder { grid-template-columns: 1fr; }
  .finder-image { height: 520px; }
  .finder-copy { padding: 70px 24px; }
  .craft { grid-template-columns: 1fr; gap: 25px; }
  .craft-copy { padding-top: 0; }
  .journal { grid-template-columns: 1fr; gap: 65px; }
  .newsletter { grid-template-columns: 1fr; }
  .world-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 480px 320px; }
  .world-jewelry, .world-box { grid-row: auto; }
  .world-jewelry { grid-column: 1; }
  .world-candle { grid-column: 2; }
  .world-box { grid-column: 1; }
  .world-reading { grid-column: 2; }
  .chapter, .voices { grid-template-columns: 1fr; }
  .chapter-media, .voices-object { min-height: 520px; }
  .symbol-grid { grid-template-columns: 1fr 1fr; }
  .symbol-grid a:nth-child(3) { border-left: 0; }
}

@media (max-width: 600px) {
  .announcement { font-size: 9px; }
  .site-header { height: 64px; }
  .wordmark { font-size: 11px; }
  .bag-button, .menu-button { font-size: 10px; }
  .primary-nav { top: 64px; height: calc(100dvh - 64px); }
  .hero-media { min-height: 350px; height: 48vh; }
  .service-strip { grid-template-columns: 1fr; padding: 12px 0; }
  .service-strip p { padding: 7px 18px; }
  .service-strip p + p { border-left: 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-shell { padding-block: 75px; }
  .world-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(4, 340px); }
  .world-jewelry, .world-candle, .world-box, .world-reading { grid-column: auto; grid-row: auto; }
  .world-caption { flex-direction: column; align-items: flex-start; }
  .intention-item { grid-template-columns: 1.2fr .8fr; }
  .collection-heading { align-items: flex-start; flex-direction: column; }
  .product-image, .product-feature .product-image { height: 430px; }
  .product-info { grid-template-columns: 1fr; }
  .product-buy { justify-content: space-between; }
  .finder-image { height: 400px; }
  .chapter-media, .voices-object { min-height: 410px; }
  .chapter-copy, .voices-copy { padding: 70px 20px; }
  .craft-copy > p { font-size: 16px; }
  dl div { grid-template-columns: 100px 1fr; }
  .symbol-grid { grid-template-columns: 1fr; }
  .symbol-grid a + a { border-left: 0; }
  .journal-lead { grid-template-columns: 1fr; }
  .journal-image { height: 380px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .site-footer small { justify-self: start; }
  .quiz-shell { min-height: 540px; padding: 55px 24px 35px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress and WooCommerce integration */
.primary-nav ul,
.primary-nav li,
.footer-links ul,
.footer-links li {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-page,
.commerce-shell {
  width: var(--page);
  min-height: 58vh;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 140px) 0;
}

.editorial-page > article,
.editorial-page > h1,
.editorial-page > p {
  max-width: 820px;
}

.editorial-page h1,
.commerce-shell .page-title,
.commerce-shell .woocommerce-products-header__title {
  margin-bottom: 36px;
  font-size: clamp(52px, 7vw, 92px);
}

.commerce-shell .woocommerce-breadcrumb,
.commerce-shell .woocommerce-result-count,
.commerce-shell .woocommerce-ordering {
  color: var(--muted);
  font-size: 12px;
}

.commerce-shell ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px) 22px;
  margin-top: 56px;
}

.commerce-shell ul.products::before,
.commerce-shell ul.products::after {
  display: none;
}

.commerce-shell ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
}

.commerce-shell ul.products li.product img {
  aspect-ratio: 4 / 5;
  margin: 0 0 18px;
  object-fit: cover;
  background: var(--paper-deep);
}

.commerce-shell ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
}

.commerce-shell ul.products li.product .price {
  color: var(--ink);
  font-size: 13px;
}

.commerce-shell .button,
.commerce-shell button.button,
.commerce-shell input.button {
  border-radius: var(--radius);
  background: var(--forest);
  color: #f4f3eb;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--forest);
  background: var(--paper-deep);
}

@media (max-width: 820px) {
  .commerce-shell ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .commerce-shell ul.products {
    grid-template-columns: 1fr;
  }
}

/* Compact editable homepage */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--forest);
  color: #f4f3eb;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 28, 23, .72));
}

.category-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.category-card:hover img { transform: scale(1.025); }

.category-card > span {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.category-card strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
}

.category-card small {
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-products { padding-top: 70px; }

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}

.home-product-image {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}

.home-product-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.home-product-image:hover img { transform: scale(1.025); }

.home-product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 16px;
  padding-top: 18px;
}

.home-product-info h3 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.08;
}

.home-product-info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.home-product-info .button {
  min-height: 38px;
  padding: 0 15px;
  font-size: 10px;
}

.home-story {
  width: var(--page);
  margin: 20px auto 130px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  min-height: 620px;
  background: var(--paper-deep);
}

.home-story-media { min-height: 520px; }
.home-story-media img { height: 100%; object-fit: cover; }

.home-story-copy {
  align-self: center;
  padding: clamp(50px, 7vw, 100px);
}

.home-story-copy h2 { font-size: clamp(44px, 5vw, 70px); }

.home-story-copy > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 28px 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card:last-child { grid-column: 1 / -1; }
  .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-story { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .category-grid,
  .home-product-grid { grid-template-columns: 1fr; }
  .category-card,
  .category-card:last-child { min-height: 420px; grid-column: auto; }
  .home-story { margin-bottom: 80px; }
  .home-story-copy { padding: 48px 24px; }
}
