/* soul-LL storefront design system
   Palette: rice paper, warm stone, dark tea, muted wood, moss.
   No external font, CSS, or image dependency is required. */

:root {
  color-scheme: light;
  --paper: #f5f1e8;
  --paper-soft: #faf8f3;
  --stone: #e7e0d4;
  --stone-deep: #cbc0b1;
  --tea: #2e251f;
  --tea-soft: #4b3d34;
  --wood: #8b6549;
  --wood-light: #b89475;
  --moss: #737764;
  --ink-muted: #746c64;
  --line: rgba(46, 37, 31, 0.18);
  --white-line: rgba(255, 255, 255, 0.18);
  --display: Georgia, "Times New Roman", serif;
  --body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 24px 60px rgba(58, 42, 31, 0.12);
  --radius-sm: 2px;
  --radius-pill: 999px;
  --shell: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--tea);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

p,
h1,
h2,
h3,
dl,
dd,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 4px;
}

::selection {
  background: var(--wood);
  color: var(--paper-soft);
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.shell-wide {
  width: min(1440px, 100%);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--tea);
  color: var(--paper-soft);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

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

.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--wood);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.55rem, 4.5vw, 4.8rem);
  letter-spacing: -0.04em;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button {
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  transition: background 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--tea);
  color: var(--paper-soft);
}

.button-dark:hover {
  background: var(--wood);
}

.button-light {
  background: var(--paper-soft);
  color: var(--tea);
}

.button-light:hover {
  background: #fff;
}

.button-outline {
  border-color: var(--tea);
  background: transparent;
}

.button-outline:hover {
  background: var(--tea);
  color: var(--paper-soft);
}

.text-link {
  gap: 0.7rem;
  min-height: 36px;
  border-bottom: 1px solid currentColor;
  transition: color 200ms ease, gap 250ms var(--ease);
}

.text-link:hover {
  gap: 1rem;
  color: var(--wood);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading-split,
.product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.section-heading-split > p {
  max-width: 30rem;
  color: var(--ink-muted);
}

.section-heading-centered {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

/* Announcement */
.announcement {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.25rem;
  background: var(--tea);
  color: #f3eee5;
  text-align: center;
}

.announcement p {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.announcement span {
  padding-inline: 0.55rem;
  color: var(--wood-light);
}

/* Header and navigation */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(15px);
}

.header-inner {
  display: grid;
  min-height: 78px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  border: 1px solid var(--tea);
  border-radius: 50%;
  place-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.33rem;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.1rem, 2.6vw, 2.5rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.65rem 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--ease);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 1.1rem;
}

.icon-button,
.cart-link {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.cart-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.cart-link {
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-link svg {
  display: none;
}

.cart-count {
  display: inline-grid;
  min-width: 23px;
  height: 23px;
  padding-inline: 5px;
  border-radius: var(--radius-pill);
  background: var(--tea);
  color: var(--paper-soft);
  font-size: 0.66rem;
  place-items: center;
}

.menu-toggle {
  display: none;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 21px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 220ms ease, opacity 180ms ease;
}

.menu-lines {
  position: relative;
}

.menu-lines::before {
  position: absolute;
  top: -6px;
}

.menu-lines::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  top: 79px;
  right: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding-block: 1.75rem 3rem;
}

.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 2.45rem);
  line-height: 1.1;
}

.mobile-nav-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  padding-top: 2rem;
}

.mobile-nav-secondary a {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.no-script-nav {
  display: none;
}

/* Hero */
.hero {
  overflow: hidden;
  padding-top: clamp(2.25rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 8% 15%, rgba(184, 148, 117, 0.14), transparent 28%),
    var(--paper);
}

.hero-grid {
  display: grid;
  min-height: min(760px, calc(100vh - 112px));
  grid-template-columns: minmax(0, 0.87fr) minmax(440px, 1.13fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7.5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem;
}

.hero-copy h1 {
  max-width: 10ch;
}

.hero-intro {
  max-width: 34rem;
  margin: 2rem 0 2.4rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
}

.hero-notes {
  display: grid;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.hero-notes > div {
  padding-top: 1rem;
}

.hero-notes dt {
  color: var(--wood);
  font-family: var(--display);
  font-size: 0.82rem;
}

.hero-notes dd {
  margin-top: 0.25rem;
  color: var(--ink-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 600px;
  overflow: hidden;
  background: #d9cbb8;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  top: 1.5rem;
  right: 1.5rem;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.hero-visual:hover img {
  transform: scale(1.015);
}

.hero-caption {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(245, 241, 232, 0.88);
  backdrop-filter: blur(10px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Collections */
.collections {
  background: var(--paper-soft);
}

.collection-grid {
  display: grid;
  min-height: 860px;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.2rem;
}

.collection-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--stone);
}

.collection-card-tall {
  grid-row: 1 / 3;
}

.collection-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(31, 24, 20, 0.72) 100%);
  content: "";
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

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

.collection-card-copy {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 1.8rem;
  left: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  color: #fffaf2;
}

.collection-card-copy > span {
  grid-column: 1 / 3;
  margin-bottom: 0.4rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.collection-card-copy strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
}

.collection-card-copy em {
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 0.67rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Products */
.best-sellers {
  background: #eee8de;
}

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

.product-card {
  min-width: 0;
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ded5c8;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease), filter 650ms var(--ease);
}

.product-card:hover .product-image img {
  filter: saturate(1.04);
  transform: scale(1.025);
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.38rem 0.58rem;
  background: rgba(250, 248, 243, 0.92);
  color: var(--tea);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  padding-top: 1.1rem;
}

.product-kind {
  margin-bottom: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.product-info h3 a:hover {
  color: var(--wood);
}

.price {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.quick-add {
  display: none;
  width: 42px;
  height: 42px;
  margin-top: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.35rem;
  place-items: center;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.js .quick-add {
  display: grid;
}

.quick-add:hover,
.quick-add.is-added {
  border-color: var(--tea);
  background: var(--tea);
  color: var(--paper-soft);
  transform: rotate(90deg);
}

/* Product feature stories */
.feature {
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-image {
  min-height: 720px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.feature:hover .feature-image img {
  transform: scale(1.02);
}

.feature-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(4rem, 8vw, 9rem);
}

.feature-copy h2 {
  max-width: 9ch;
}

.feature-copy > p:not(.eyebrow, .safety-note) {
  max-width: 34rem;
  margin: 2rem 0 2.5rem;
  color: inherit;
  opacity: 0.76;
}

.feature-bracelet {
  background: var(--tea);
  color: var(--paper-soft);
}

.feature-bracelet .eyebrow {
  color: var(--wood-light);
}

.feature-bracelet .feature-image {
  border: 1.2rem solid var(--tea);
}

.detail-list {
  width: 100%;
  max-width: 35rem;
  margin: 0 0 2.6rem;
  list-style: none;
  border-top: 1px solid var(--white-line);
}

.detail-list li {
  display: grid;
  padding: 0.9rem 0;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1rem;
  border-bottom: 1px solid var(--white-line);
  font-size: 0.77rem;
}

.detail-list span {
  opacity: 0.56;
}

.detail-list strong {
  font-weight: 500;
}

.feature-incense {
  background: var(--stone);
}

.feature-grid-reverse .feature-image {
  grid-column: 2;
}

.feature-grid-reverse .feature-copy {
  grid-column: 1;
  grid-row: 1;
}

.safety-note {
  max-width: 34rem;
  margin-bottom: 2.5rem;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 1px solid var(--wood);
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.safety-note strong {
  color: var(--tea);
}

/* Brand story */
.brand-story {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: var(--paper-soft);
}

.story-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 10vw, 10rem);
}

.story-grid h2 {
  max-width: 8ch;
}

.story-copy {
  max-width: 40rem;
  padding-top: 4.5rem;
}

.story-copy > p {
  color: var(--ink-muted);
}

.story-copy .story-lead {
  margin-bottom: 1.5rem;
  color: var(--tea);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.story-copy .text-link {
  margin-top: 2rem;
}

.story-word {
  position: absolute;
  right: -0.04em;
  bottom: -0.34em;
  color: rgba(139, 101, 73, 0.06);
  font-family: var(--display);
  font-size: clamp(15rem, 32vw, 34rem);
  font-style: italic;
  letter-spacing: -0.1em;
  line-height: 1;
  pointer-events: none;
}

/* Craft */
.craft {
  background: #e8e1d6;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.craft-image {
  position: relative;
}

.craft-image::before {
  position: absolute;
  z-index: 0;
  top: -1.2rem;
  right: -1.2rem;
  width: 48%;
  height: 48%;
  border: 1px solid var(--wood-light);
  content: "";
}

.craft-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: var(--shadow);
}

.image-note {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.85rem;
  background: var(--paper-soft);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.craft-copy > p:not(.eyebrow) {
  max-width: 33rem;
  margin: 1.75rem 0 2rem;
  color: var(--ink-muted);
}

.material-list {
  max-width: 35rem;
  margin: 0 0 2.25rem;
  border-top: 1px solid var(--line);
}

.material-list > div {
  display: grid;
  padding: 1rem 0;
  grid-template-columns: 42px 1fr;
  border-bottom: 1px solid var(--line);
}

.material-list > div > span {
  color: var(--wood);
  font-family: var(--display);
  font-size: 0.8rem;
}

.material-list p {
  color: var(--ink-muted);
  font-size: 0.78rem;
}

.material-list strong {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--tea);
  font-size: 0.83rem;
  font-weight: 600;
}

/* Ritual */
.ritual {
  background: var(--paper-soft);
}

.ritual-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(4rem, 9vw, 9rem);
}

.ritual-copy h2 {
  max-width: 10ch;
}

.ritual-steps {
  max-width: 35rem;
  margin-top: 3rem;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ritual-steps li {
  display: grid;
  padding: 1.25rem 0;
  grid-template-columns: 48px 1fr;
  border-bottom: 1px solid var(--line);
}

.ritual-steps li > span {
  color: var(--wood);
  font-family: var(--display);
  font-size: 0.85rem;
}

.ritual-steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.ritual-steps p {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.ritual-image {
  position: relative;
  padding: 0 0 3.5rem 3.5rem;
}

.ritual-image img {
  width: 100%;
  box-shadow: var(--shadow);
}

.ritual-image blockquote {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 21rem;
  padding: 1.5rem 1.8rem;
  background: var(--tea);
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
}

/* Service */
.service {
  background: #ded6c9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 335px;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 320ms var(--ease), transform 320ms var(--ease);
}

.service-card:hover {
  z-index: 1;
  background: var(--paper-soft);
  transform: translateY(-5px);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 3.2rem;
  border: 1px solid var(--wood);
  border-radius: 50%;
  color: var(--wood);
  font-family: var(--display);
  font-size: 1.1rem;
  place-items: center;
}

.service-card h3 {
  font-size: 1.65rem;
}

.service-card p {
  margin: 0.9rem 0 1.6rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}

/* Journal */
.journal {
  background: var(--paper);
}

.journal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1.2rem;
}

.journal-card > a {
  display: block;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  background: var(--stone);
}

.journal-card-featured > a {
  aspect-ratio: 4 / 3.8;
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms var(--ease);
}

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

.journal-card > div {
  padding-top: 1.15rem;
}

.journal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.journal-card h3 a:hover {
  color: var(--wood);
}

.journal-card > div > p:last-child:not(.journal-meta) {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

/* Newsletter */
.newsletter {
  padding-block: clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(circle at 15% 80%, rgba(184, 148, 117, 0.14), transparent 32%),
    var(--tea);
  color: var(--paper-soft);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: end;
  gap: clamp(3rem, 9vw, 9rem);
}

.newsletter .eyebrow {
  color: var(--wood-light);
}

.newsletter h2 {
  max-width: 9ch;
}

.newsletter-inner > div:last-child > p:first-child {
  max-width: 33rem;
  margin-bottom: 1.75rem;
  color: rgba(250, 248, 243, 0.66);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
}

.newsletter-form input {
  min-width: 0;
  padding: 1rem 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-form:focus-within {
  border-color: #fff;
}

.newsletter-form button {
  padding: 0 0 0 1.5rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

/* Trust */
.trust {
  background: #d5cbbd;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
  display: grid;
  min-height: 155px;
  padding: 2rem 2.2rem;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 1.3rem;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust svg {
  width: 38px;
  fill: none;
  stroke: var(--wood);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.trust strong,
.trust span {
  display: block;
}

.trust strong {
  margin-bottom: 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.trust span {
  color: var(--ink-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  background: #211b17;
  color: var(--paper-soft);
}

.footer-top {
  display: grid;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.brand-footer .brand-mark {
  border-color: rgba(255, 255, 255, 0.62);
}

.footer-brand > p {
  max-width: 21rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.45;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 2rem;
}

.social-links a {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.8rem;
  place-items: center;
  transition: background 200ms ease, color 200ms ease;
}

.social-links a:hover {
  background: var(--paper-soft);
  color: var(--tea);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav h2 {
  margin-bottom: 0.85rem;
  color: var(--wood-light);
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: grid;
  min-height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.footer-bottom nav {
  display: flex;
  gap: 1.4rem;
}

.footer-bottom > p:last-child {
  text-align: right;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 1.5rem;
  bottom: 1.5rem;
  max-width: min(360px, calc(100% - 3rem));
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow);
  background: var(--tea);
  color: var(--paper-soft);
  font-size: 0.78rem;
}

.toast[hidden] {
  display: none;
}

/* Tablet */
@media (max-width: 1080px) {
  .desktop-nav {
    gap: 1rem;
  }

  .desktop-nav a {
    font-size: 0.66rem;
  }

  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .hero-notes > div {
    display: grid;
    padding: 0.55rem 0;
    grid-template-columns: 30px 1fr;
    border-bottom: 1px solid var(--line);
  }

  .hero-notes dd {
    margin: 0;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1rem;
  }

  .feature-copy {
    padding: 4rem;
  }

  .feature-image {
    min-height: 640px;
  }

  .service-card {
    padding: 2rem;
  }

  .trust-grid > div {
    padding-inline: 1.25rem;
  }
}

/* Mobile navigation breakpoint */
@media (max-width: 860px) {
  .shell {
    width: min(var(--shell), calc(100% - 32px));
  }

  .header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
  }

  .js .menu-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .no-script-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    padding-block: 0.9rem 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .header-inner > .brand {
    justify-self: center;
  }

  .header-inner .brand-mark {
    display: none;
  }

  .desktop-nav,
  .search-link,
  .cart-link > span:not(.cart-count) {
    display: none;
  }

  .cart-link svg {
    display: block;
  }

  .cart-link {
    position: relative;
    min-width: 42px;
  }

  .cart-count {
    position: absolute;
    top: 0;
    right: -1px;
    min-width: 18px;
    height: 18px;
    font-size: 0.56rem;
  }

  .mobile-menu {
    top: 69px;
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding-block: 4rem;
  }

  .hero-visual {
    min-height: 560px;
    grid-row: 1;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-notes {
    margin-top: 3rem;
  }

  .section-heading-split {
    display: block;
  }

  .section-heading-split > p {
    margin-top: 1.2rem;
  }

  .collection-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .collection-card,
  .collection-card-tall {
    min-height: 460px;
    grid-row: auto;
  }

  .feature-grid,
  .feature-grid-reverse {
    grid-template-columns: 1fr;
  }

  .feature-grid-reverse .feature-image,
  .feature-grid-reverse .feature-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .feature-image {
    min-height: 560px;
  }

  .feature-copy {
    padding: 4.5rem max(2rem, calc((100vw - 1240px) / 2));
  }

  .story-grid,
  .craft-grid,
  .ritual-grid,
  .newsletter-inner,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .story-copy {
    padding-top: 0;
  }

  .craft-grid,
  .ritual-grid {
    gap: 4rem;
  }

  .ritual-image {
    padding-left: 0;
  }

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

  .service-card {
    min-height: 260px;
  }

  .service-icon {
    margin-bottom: 2rem;
  }

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

  .journal-card-featured {
    grid-column: 1 / 3;
  }

  .journal-card-featured > a {
    aspect-ratio: 16 / 9;
  }

  .newsletter-inner {
    align-items: start;
    gap: 3rem;
  }

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

  .trust-grid > div,
  .trust-grid > div:first-child {
    min-height: 120px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .footer-top {
    gap: 3.5rem;
  }
}

@media (max-width: 600px) {
  .section-pad {
    padding-block: 4.75rem;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .button-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-copy {
    padding-block: 3.3rem 4rem;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-caption {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .collection-card,
  .collection-card-tall {
    min-height: 390px;
  }

  .collection-card-copy {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .product-heading {
    display: block;
  }

  .product-heading .text-link {
    margin-top: 1.2rem;
  }

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

  .feature-image {
    min-height: 440px;
  }

  .feature-bracelet .feature-image {
    border-width: 0.6rem;
  }

  .feature-copy {
    padding: 4rem 1.5rem;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .craft-image::before {
    display: none;
  }

  .ritual-image {
    padding-bottom: 2.5rem;
  }

  .ritual-image blockquote {
    max-width: calc(100% - 1.5rem);
    padding: 1rem 1.2rem;
  }

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

  .journal-card-featured {
    grid-column: auto;
  }

  .journal-card-featured > a,
  .journal-card > a {
    aspect-ratio: 4 / 4.3;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    justify-self: start;
    padding: 0.8rem 0 0;
  }

  .newsletter-form input {
    border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  }

  .newsletter-form {
    border: 0;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .footer-bottom {
    padding-block: 1.5rem;
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-bottom > p:last-child {
    text-align: left;
  }

  .toast {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-width: none;
  }
}

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

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

@media (prefers-contrast: more) {
  :root {
    --line: rgba(46, 37, 31, 0.46);
  }

  .eyebrow,
  .product-kind,
  .journal-meta {
    color: var(--tea);
  }
}

/* SOUL-LL logo: retain the existing home link and its accessible name. */
.brand::before {
  display: block;
  flex: none;
  width: 180px;
  height: 60px;
  background: url("../images/soul-ll-logo-minimal-v1.png") center / contain no-repeat;
  content: "";
}

.brand > .brand-mark,
.brand > .brand-name {
  display: none;
}

.brand-footer::before {
  filter: brightness(0) invert(1);
}

@media (max-width: 860px) {
  .brand::before {
    width: 156px;
    height: 52px;
  }
}

@media (forced-colors: active), print {
  .brand::before {
    display: none;
  }

  .brand > .brand-name {
    display: inline;
  }
}

/* SOUL-LL photo branding: overlays only; original image files stay unchanged. */
:is(.hero-visual, .collection-card, .product-image, .feature-image, .craft-image,
    .ritual-image, .journal-card > a, .product-main-image, .cart-item-image,
    .about-hero-image, .material-story-image, .everyday-ritual-image,
    .editorial-figure, .journal-entry-image, .payment-item-media) {
  position: relative;
}

.hero-visual::after,
.collection-card::before,
.product-image::before,
.feature-image::after,
.craft-image::after,
.ritual-image::after,
.journal-card > a::after,
.product-main-image::after,
.cart-item-image::after,
.about-hero-image::before,
.material-story-image::after,
.everyday-ritual-image::after,
.editorial-figure::after,
.journal-entry-image::after,
.payment-item-media::after {
  position: absolute;
  z-index: 3;
  top: var(--soul-image-logo-inset, 12px);
  left: var(--soul-image-logo-left, var(--soul-image-logo-inset, 12px));
  display: block;
  width: clamp(44px, 26%, 116px);
  aspect-ratio: 3 / 1;
  border: 1px solid rgba(46, 37, 31, 0.08);
  border-radius: 2px;
  background: rgba(250, 248, 243, 0.9) url("../images/soul-ll-logo-minimal-v1.png") center / calc(100% - 10px) auto no-repeat;
  content: "";
  pointer-events: none;
}

.ritual-image {
  --soul-image-logo-left: calc(3.5rem + 12px);
}

/* Keep existing product labels visible without covering the brand. */
.product-image > .product-badge {
  right: 12px;
  left: auto;
}

.cart-item-image {
  --soul-image-logo-inset: 6px;
}

.cart-item-image::after {
  width: clamp(44px, 44%, 60px);
}

/* The payment summary has its own small, non-interactive photo frame. */
.payment-item-media {
  display: block;
  width: 64px;
  height: 80px;
  overflow: hidden;
  --soul-image-logo-inset: 3px;
}

.payment-item-media::after {
  width: calc(100% - 6px);
  max-width: 48px;
  background-size: calc(100% - 6px) auto;
}

@media (max-width: 860px) {
  .ritual-image {
    --soul-image-logo-left: 12px;
  }
}

@media (max-width: 520px) {
  .payment-item-media {
    width: 54px;
    height: 68px;
  }
}

@media (max-width: 520px) {
  .product-image > .product-badge {
    top: auto;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 360px) {
  .payment-item-media {
    width: 48px;
    height: 60px;
    grid-row: span 2;
  }
}
