/* Generated by tools/build-delivery.mjs. Edit the individual CSS sources. */
.portfolio-return-link {
  position: fixed;
  z-index: 10000;
  left: max(clamp(0.75rem, 2vw, 1.75rem), env(safe-area-inset-left));
  bottom: max(clamp(0.75rem, 2vw, 1.75rem), env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(248, 247, 244, 0.82);
  border-radius: 999px;
  background: transparent;
  color: #f8f7f4;
  box-shadow:
    0 0 0 1px rgba(28, 43, 53, 0.48),
    0 4px 18px rgba(28, 43, 53, 0.12);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(28, 43, 53, 0.95);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease,
    text-shadow 220ms ease,
    transform 220ms ease;
}

.portfolio-return-link::before {
  content: "\2190";
  font-size: 1.1em;
  line-height: 1;
  transform: translateY(-0.02em);
}

.portfolio-return-link:hover,
.portfolio-return-link:focus-visible {
  border-color: rgba(248, 247, 244, 0.96);
  background: rgba(28, 43, 53, 0.94);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(28, 43, 53, 0.3),
    0 9px 24px rgba(28, 43, 53, 0.3);
  text-decoration: none;
  text-shadow: none;
  transform: translateY(-2px);
}

.portfolio-return-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .portfolio-return-link {
    min-height: 42px;
    padding: 0.62rem 0.82rem;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-return-link {
    transition: none;
  }
}

.portfolio-scroll-nav {
  --botanical-track-height: clamp(310px, 56vh, 520px);
  --botanical-stem-right: 7px;
  --botanical-leaf-width: 26px;
  --botanical-leaf-height: 46px;
  --botanical-leaf-anchor-x: 0.75px;
  --botanical-leaf-color: #617f91;
  --botanical-hitbox-height: 78px;
  position: fixed;
  z-index: 1000;
  top: 50%;
  right: clamp(4px, 0.55vw, 10px);
  width: 58px;
  height: calc(var(--botanical-track-height) + var(--botanical-hitbox-height));
  pointer-events: none;
  transform: translateY(-50%);
}

html.has-botanical-scrollbar {
  scrollbar-width: none;
}

html.has-botanical-scrollbar::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.portfolio-scroll-nav__rail {
  position: absolute;
  top: calc(var(--botanical-hitbox-height) / 2);
  right: 0;
  width: 58px;
  height: var(--botanical-track-height);
}

.portfolio-scroll-nav__stem {
  position: absolute;
  top: 0;
  right: var(--botanical-stem-right);
  width: 1px;
  height: 0;
  background: var(--botanical-leaf-color);
  pointer-events: none;
  will-change: height;
}

.portfolio-scroll-nav__marker,
.portfolio-scroll-nav__thumb {
  appearance: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: var(--botanical-hitbox-height);
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  pointer-events: auto;
}

.portfolio-scroll-nav__marker svg,
.portfolio-scroll-nav__thumb svg {
  position: absolute;
  top: 50%;
  right: calc(var(--botanical-stem-right) - var(--botanical-leaf-anchor-x));
  display: block;
  width: var(--botanical-leaf-width);
  height: var(--botanical-leaf-height);
  overflow: visible;
  transform: translateY(-100%);
}

.portfolio-scroll-nav__marker .botanical-leaf__body,
.portfolio-scroll-nav__marker .botanical-leaf__stalk {
  fill: none;
  stroke: var(--botanical-leaf-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.portfolio-scroll-nav__marker {
  z-index: 1;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
}

.portfolio-scroll-nav__marker.is-reached {
  visibility: visible;
  opacity: 0.72;
  pointer-events: auto;
}

.portfolio-scroll-nav__marker:hover,
.portfolio-scroll-nav__marker:focus-visible {
  opacity: 1;
}

.portfolio-scroll-nav__marker:focus-visible .botanical-leaf__body,
.portfolio-scroll-nav__marker:focus-visible .botanical-leaf__stalk {
  stroke-width: 2;
}

.portfolio-scroll-nav__thumb {
  z-index: 2;
  top: calc(var(--botanical-hitbox-height) / -2);
  cursor: grab;
  touch-action: none;
  transform: translateY(0);
  will-change: transform;
}

.portfolio-scroll-nav__thumb .botanical-leaf__body {
  fill: var(--botanical-leaf-color);
  stroke: var(--botanical-leaf-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.portfolio-scroll-nav__thumb .botanical-leaf__stalk {
  fill: none;
  stroke: var(--botanical-leaf-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.portfolio-scroll-nav__thumb:focus-visible .botanical-leaf__body,
.portfolio-scroll-nav__thumb:focus-visible .botanical-leaf__stalk {
  stroke-width: 2;
}

.portfolio-scroll-nav.is-dragging .portfolio-scroll-nav__thumb {
  cursor: grabbing;
}

@media (max-width: 620px) {
  .portfolio-scroll-nav {
    --botanical-track-height: clamp(230px, 44vh, 350px);
    --botanical-stem-right: 5px;
    --botanical-leaf-width: 22px;
    --botanical-leaf-height: 39px;
    --botanical-leaf-anchor-x: 0.6px;
    --botanical-hitbox-height: 64px;
    right: 2px;
    width: 50px;
    height: calc(var(--botanical-track-height) + var(--botanical-hitbox-height));
  }

  .portfolio-scroll-nav__rail {
    top: calc(var(--botanical-hitbox-height) / 2);
    width: 50px;
  }

  .portfolio-scroll-nav__marker,
  .portfolio-scroll-nav__thumb {
    width: 50px;
    height: var(--botanical-hitbox-height);
  }

  .portfolio-scroll-nav__thumb {
    top: calc(var(--botanical-hitbox-height) / -2);
  }
}

:root {
  --forest: #294c35;
  --forest-deep: #173825;
  --sage: #82917c;
  --paper: #f8f6f1;
  --paper-warm: #f2eee6;
  --white: #fffefb;
  --ink: #17241d;
  --muted: #626d63;
  --control-line: #788570;
  --line: #d7d0c4;
  --label-color: #586552;
  --heading-accent: #2f4729;
  --page-pad: clamp(1.5rem, 5.4vw, 6rem);
  --scroll-control-gutter: 4.25rem;
  /* Adobe font roles; components request only the faces they use. */
  --serif: "dejanire-headline", "Times New Roman", Times, serif;
  --sans: "arboria", Arial, Helvetica, sans-serif;
  --display-font: "dejanire-headline", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--sage);
  color: var(--white);
}

.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: fixed;
  z-index: 12000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--forest-deep);
  font-family: var(--sans);
  font-size: 0.8rem;
  transform: translateY(-170%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 4px;
  scroll-margin-block: 7rem;
}

/* ReLeaf keeps the shared scrollbar behavior and applies its own logo mark. */
.portfolio-scroll-nav {
  --botanical-track-height: clamp(390px, 70vh, 650px);
  --botanical-stem-right: 7px;
  --botanical-leaf-width: 25px;
  --botanical-leaf-height: 21px;
  --botanical-leaf-anchor-x: 0.5px;
  --botanical-hitbox-height: 58px;
  --botanical-leaf-color: #4c5c43;
}

.portfolio-scroll-nav__thumb .botanical-leaf__body {
  fill: var(--botanical-leaf-color);
}

.portfolio-scroll-nav.is-over-footer .portfolio-scroll-nav__thumb {
  --botanical-leaf-color: var(--sage);
}

@media (max-width: 620px) {
  .portfolio-scroll-nav {
    --botanical-track-height: clamp(300px, 62vh, 480px);
    --botanical-stem-right: 5px;
    --botanical-leaf-width: 22px;
    --botanical-leaf-height: 18.5px;
    --botanical-leaf-anchor-x: 0.45px;
    --botanical-hitbox-height: 52px;
  }
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.35rem var(--page-pad);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(74, 92, 69, 0.12);
}

.brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: clamp(6.5rem, 11vw, 9.5rem);
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 100%;
}

.brand span,
.footer-brand span {
  margin-top: -0.1rem;
  font-family: var(--sans);
  font-size: 0.44rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(1.3rem, 2.6vw, 2.75rem);
  color: #435047;
}

.site-nav :is(a, .nav-contact) {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-contact { padding-inline: 0; border: 0; background: transparent; cursor: pointer; }

.site-nav :is(a, .nav-contact) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: 0.5rem;
}

.site-nav :is(a, .nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 0.3rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav :is(a, .nav-contact):hover::after,
.site-nav :is(a, .nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.search-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-toggle svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.search-panel {
  position: absolute;
  z-index: 5;
  top: calc(100% - 0.25rem);
  right: var(--page-pad);
  width: min(25rem, calc(100vw - 3rem));
  max-height: calc(100dvh - 7rem);
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1rem 2.5rem rgba(23, 36, 29, 0.12);
  font-family: var(--sans);
  scrollbar-color: var(--control-line) var(--paper-warm);
  scrollbar-width: thin;
}
.search-panel::-webkit-scrollbar { width: 0.5rem; }
.search-panel::-webkit-scrollbar-track { background: var(--paper-warm); }
.search-panel::-webkit-scrollbar-thumb { border: 2px solid var(--paper-warm); border-radius: 1rem; background: var(--control-line); }
.search-panel::-webkit-scrollbar-thumb:hover { background: var(--forest); }

.search-panel > label {
  display: block;
  min-height: 2.75rem;
  padding-right: 2.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-panel > div,
.newsletter-fields {
  display: flex;
  border: 1px solid currentColor;
}
.search-panel > div:focus-within,
.newsletter-fields:focus-within {
  outline: 2px solid var(--field-focus, var(--forest));
  outline-offset: -1px;
}
.newsletter-fields { --field-focus: var(--sage); }

.search-panel input,
.newsletter-form input {
  min-width: 0;
  flex: 1;
  padding: 0.72rem 0.85rem;
  border: 0;
  background: transparent;
  color: inherit;
}

.search-panel input {
  font-size: 1rem;
}
/* Replace the browser's blue search decoration with one accessible brand control. */
.search-panel input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.search-panel .search-clear { flex: 0 0 2.8rem; color: var(--forest); }
.search-clear svg { display: block; width: 1.15rem; height: 1.15rem; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.search-panel .search-clear:hover { background: var(--paper-warm); }
.search-panel .search-clear:focus-visible { outline: 2px solid var(--forest); outline-offset: -3px; }
.search-panel input:focus,
.newsletter-form input:focus {
  /* The shared field frame above provides one visible ring, including pointer focus. */
  outline: none;
}
.search-results {
  padding: 0;
  margin: 0.75rem 0 0;
  list-style: none;
}
.search-results:empty { display: none; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a {
  display: grid;
  gap: 0.3rem;
  min-height: 2.75rem;
  padding: 0.8rem 0.25rem;
  text-decoration: none;
}
.search-results a:hover { background: var(--paper-warm); }
.search-result-kind { font-size: 0.75rem; color: #53604f; }
.search-results strong { font-size: 1rem; font-weight: 400; }

.search-panel button,
.newsletter-form button {
  width: 2.8rem;
  min-height: 2.75rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-panel .search-close { position: absolute; top: 0.5rem; right: 0.5rem; font-size: 1.4rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-family: var(--sans); font-size: 0.75rem; }
.required-note { font-size: 0.75rem; font-weight: 400; letter-spacing: normal; text-transform: none; }
.field-error { margin: 0.65rem 0 0; color: var(--forest-deep); font-family: var(--sans); font-size: 0.85rem; line-height: 1.5; }
.site-footer .field-error { color: var(--white); }

.search-status,
.newsletter-status {
  min-height: 1em;
  margin: 0.55rem 0 0;
  font-size: 0.875rem;
}

.hero {
  position: relative;
  /* Reserve the measured header and claim heights, including wrapped copy. */
  height: max(0px, calc(100svh - var(--hero-surrounding-height, 11rem)));
  min-height: var(--hero-content-height, 0px);
  background: var(--paper);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  height: 100%;
  padding: clamp(2.2rem, 4vw, 4rem) clamp(2.5rem, 5.5vw, 5.5rem);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
}

.hero h1,
.philosophy-intro h2,
.value-list h3,
.card-copy h3,
.journal-feature h3,
.story-copy h2,
.collection-hero h1,
.collection-editorial h2,
.collection-related > h2,
.product-copy h3,
.journal-page h1,
.journal-index-card :is(h2, h3),
.journal-article-body h2,
.journal-more > h2,
.releaf-dialog h2,
.bag-item h3 {
  color: var(--forest-deep);
}

h1 {
  width: calc(100% + 3rem);
  margin-bottom: 0.95rem;
  font-size: clamp(2.05rem, 4.05vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1.3rem;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4vw, 5rem);
  font-weight: 400;
  font-style: normal;
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title-lead,
.hero-title-follow {
  display: block;
}

.hero-title-lead {
  font-family: var(--display-font);
  /* Scale within the existing text column so the two-line title stays intact. */
  font-size: clamp(4rem, 7vw, 7rem);
  /* Keep the italic descenders clear of the regular line at the tight leading. */
  margin-bottom: 0.1em;
  font-weight: 700;
  font-style: italic;
  line-height: 0.82;
  letter-spacing: -0.035em;
  color: var(--heading-accent);
}

.hero-title-follow {
  font-family: var(--display-font);
  font-size: 1em;
  font-weight: 400;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--heading-accent);
}

.short-rule {
  display: block;
  width: 2.65rem;
  height: 1px;
  background: #b3a58f;
}

.hero-text {
  margin: 0.9rem 0 1rem;
  color: #545c56;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.15vw, 1.05rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 10.9rem;
  gap: 1.1rem;
  padding: 0.72rem 1.05rem;
  background: var(--forest);
  color: var(--white);
  font-family: var(--sans);
  min-height: 2.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, transform 180ms ease;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.button-link span,
.journal-read-link > [aria-hidden] {
  transition: transform 180ms ease;
}

.button-link:hover span,
.journal-read-link:hover > [aria-hidden] {
  transform: translateX(0.25rem);
}

.hero-visual {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: #d7ccbd;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 246, 241, 0.94), rgba(248, 246, 241, 0.57) 28%, transparent 53%, rgba(41, 47, 37, 0.14));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.8fr);
  align-items: end;
  gap: clamp(2rem, 4.5vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem) clamp(2.5rem, 4vw, 4rem) clamp(2rem, 12vw, 11rem);
  overflow: hidden;
  background: var(--paper);
}

.philosophy-branch {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(16rem, 22vw, 22rem);
  clip-path: inset(0 50% 0 0);
  opacity: 0.9;
  filter: brightness(0.94);
  pointer-events: none;
  transform: translateY(-50%);
}

.philosophy-intro {
  position: relative;
  z-index: 1;
  max-width: 27rem;
  text-align: left;
}

.section-label {
  margin-bottom: 0.65rem;
  color: var(--label-color);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.philosophy-intro h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 3.65vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.philosophy-intro > p:not(.section-label) {
  margin: 0;
  color: #565f59;
  font-size: 1rem;
  line-height: 1.45;
}

.section-divider {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.section-divider > span {
  height: 1px;
  background: var(--line);
}

.section-divider h2 {
  margin: 0;
  color: var(--label-color);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.27em;
  text-transform: uppercase;
}

.value-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-list li {
  position: relative;
  isolation: isolate;
}

.value-list li::before {
  position: absolute;
  z-index: -1;
  top: -0.25rem;
  left: 1.5rem;
  width: 5.5rem;
  height: 5rem;
  border-radius: 46% 54% 32% 68% / 55% 65% 35% 45%;
  background: rgba(130, 145, 124, 0.16);
  transform: rotate(24deg);
  pointer-events: none;
  content: "";
}

.value-list li:nth-child(2)::before {
  border-radius: 62% 38% 55% 45% / 40% 52% 48% 60%;
  transform: rotate(-22deg);
}

.value-list li:nth-child(3)::before {
  border-radius: 40% 60% 30% 70% / 55% 65% 35% 45%;
  background: rgba(169, 158, 138, 0.16);
  transform: rotate(18deg);
}

.value-list li:nth-child(4)::before {
  border-radius: 63% 37% 52% 48% / 46% 54% 46% 54%;
  background: rgba(169, 158, 138, 0.16);
  transform: rotate(-28deg);
}

.value-number {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--label-color);
  font-size: 1rem;
}

.value-list h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.15;
}

.value-list li > p {
  margin: 0;
  color: #646c66;
  font-size: 1rem;
  line-height: 1.5;
}

.statement {
  padding: 1.2rem var(--page-pad);
  background: var(--paper-warm);
  color: var(--forest);
  text-align: center;
}

.statement h2 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-wrap: balance;
}

.statement-name { white-space: nowrap; }

/* Exact logo paths supply the script; em dimensions keep them on the text baseline. */
.statement-re,
.statement-wordmark {
  display: inline-block;
  max-width: none;
  width: auto;
  height: 1em;
  vertical-align: -0.12em;
}
.statement-wordmark {
  height: 1.6em;
  margin-right: -0.65em;
  vertical-align: -0.24em;
}

.statement > p {
  margin: 0;
  color: #596351;
  font-size: 0.8rem;
  line-height: 1.5;
}

.content-section {
  padding: clamp(1.2rem, 1.9vw, 2.25rem) var(--page-pad);
  background: var(--white);
}

.collections {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 4vw, 4rem) var(--page-pad);
  background: var(--paper);
}
.story-copy { align-self: center; }
.story-copy h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(2.3rem, 3.65vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.story-copy > p:not(.section-label) {
  max-width: 31rem;
  margin-bottom: 1.5rem;
  color: #5b635e;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.5;
}
.story-copy .story-intro { font-size: clamp(1.1rem, 1.4vw, 1.35rem); }
.story-collage {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 4px;
  height: clamp(17rem, 25vw, 27rem);
}
.story-collage img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.story-main-image { grid-row: span 2; }
.story-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}
.story-timeline li { position: relative; padding: 1rem 0.75rem 0 0; }
.story-timeline li::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: var(--sage);
  content: "";
}
.story-timeline li:last-child::before { width: 1px; }
.story-timeline li::after {
  position: absolute;
  left: 0;
  top: -0.3rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #6b7a65;
  content: "";
}
.story-number { display: block; margin-bottom: 0.45rem; color: #607054; letter-spacing: 0.15em; }
.story-timeline h3 {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.story-timeline p { margin: 0; color: #626a61; font-size: 1rem; line-height: 1.45; }

@media (max-width: 840px) {
  .about-story { grid-template-columns: 1fr; gap: 1.5rem; }
  .story-copy > p:not(.section-label) { max-width: 40rem; }
  .story-collage { height: clamp(20rem, 50vw, 27rem); }
}
@media (max-width: 560px) {
  .story-collage { height: 19rem; grid-template-columns: 1.4fr 1fr; }
  .story-timeline { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .story-timeline li { padding: 0 0 1.5rem 1.5rem; }
  .story-timeline li::before { width: 1px; height: 100%; top: 0.2rem; left: 0.3rem; }
  .story-timeline li:last-child::before { display: none; }
  .story-timeline li::after { top: 0.15rem; }
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.collection-card {
  display: block;
  position: relative;
  min-height: clamp(10rem, 17.2vw, 17rem);
  overflow: hidden;
  background: var(--paper-warm);
  text-decoration: none;
}

.collection-card::after {
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(to top, rgba(248, 246, 241, 0.97), rgba(248, 246, 241, 0.82) 45%, rgba(248, 246, 241, 0));
  content: "";
}

.collection-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-card:nth-child(1) > img {
  object-position: 43% center;
}

.collection-card:nth-child(2) > img {
  object-position: 63% center;
}

.collection-card:nth-child(3) > img {
  object-position: center 58%;
}

.collection-card:hover > img,
.collection-card:focus-visible > img {
  transform: scale(1.025);
}

.card-copy {
  position: absolute;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: last baseline;
  column-gap: 0.75rem;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.75rem 0.85rem 0.65rem;
}

.card-copy h3 {
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
  font-size: clamp(1.05rem, 1.55vw, 1.6rem);
  line-height: 1;
}

.card-copy p {
  margin: 0;
  color: #5f6962;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.card-copy .collection-arrow {
  display: inline-block;
  margin-top: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  text-decoration: none;
}

.journal {
  padding-block: clamp(2rem, 3vw, 3rem) clamp(2.5rem, 4vw, 4rem);
}

.journal-heading {
  position: relative;
}

.journal-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 2.6vw, 3rem);
  margin-top: 1rem;
}

.journal-feature {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  max-width: 72rem;
  gap: clamp(1rem, 2vw, 2rem);
}

.journal-image-link {
  display: block;
  overflow: hidden;
  background: var(--paper-warm);
}

.journal-feature .journal-image-link {
  height: clamp(17rem, 28vw, 25rem);
}

.journal-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 350ms ease;
}

.journal-feature:hover .journal-image-link img,
.journal-feature:focus-within .journal-image-link img,
.journal-index-card:hover .journal-image-link img,
.journal-index-card:focus-within .journal-image-link img {
  transform: scale(1.025);
}

.journal-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.journal-feature h3 {
  max-width: 100%;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  line-height: 1.12;
}

.journal-title-lead,
.journal-title-follow {
  display: block;
  font-family: var(--display-font);
  color: var(--heading-accent);
}

.journal-title-lead {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 700;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.journal-title-follow {
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  font-style: normal;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.journal-category {
  margin-bottom: 0.65rem;
  color: #52624b;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.journal-summary {
  margin-bottom: 1rem;
  color: #596351;
  font-size: clamp(1rem, 1.08vw, 1.08rem);
  line-height: 1.45;
}

.journal-read-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.8rem;
  min-height: 2.75rem;
  color: var(--forest);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.journal-read-label {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.journal-read-link:hover { color: var(--forest-deep); }
.journal-index-card { position: relative; }
.journal-read-link::after { position: absolute; inset: 0; content: ""; }
.journal-read-link:focus-visible::after { outline: 2px solid var(--forest); outline-offset: 4px; }


.site-footer {
  /* Right-aligned legal links leave room beside the fixed portfolio link. */
  padding: clamp(3rem, 6vw, 6rem) var(--page-pad) calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--forest-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.footer-brand { width: min(100%, 11rem); }
.footer-brand span { font-size: 0.55rem; letter-spacing: 0.2em; }
.footer-main h2 { margin: 0 0 1rem; font-family: var(--sans); font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-follow { display: flex; flex-direction: column; align-items: flex-start; }
.footer-follow button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 254, 251, 0.8);
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.footer-follow button:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-follow svg { width: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.25; }
.footer-concept-note { margin: -0.5rem 0 0.5rem; color: rgba(255, 254, 251, 0.75); font-size: 0.8125rem; }
.footer-community > p { color: rgba(255, 254, 251, 0.75); font-size: 0.95rem; }
.newsletter-form { min-height: 2.75rem; color: var(--white); border-radius: 0; }
.newsletter-form input { color: inherit; font-family: var(--sans); font-size: 0.8rem; padding: 0.75rem; }
.newsletter-form input::placeholder { color: rgba(255, 254, 251, 0.7); }
.newsletter-form button { flex-shrink: 0; width: 2.75rem; min-height: 2.75rem; color: inherit; font-size: 1.2rem; }
.newsletter-status { margin: 0.75rem 0 0; }
.newsletter-status:empty { display: none; }
.newsletter-note { margin: 0.5rem 0 0; color: rgba(255, 254, 251, 0.75); font-size: 0.8125rem; line-height: 1.5; }
.footer-legal {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 254, 251, 0.2);
}
.footer-legal button { min-width: 2.75rem; min-height: 2.75rem; padding: 0; border: 0; background: none; color: rgba(255, 254, 251, 0.7); font-family: var(--sans); font-size: 0.8125rem; cursor: pointer; }
.footer-legal button:hover { text-decoration: underline; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-community { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  /* On small screens the legal row still clears the fixed portfolio link. */
  .site-footer { padding: 3rem 1.5rem calc(4rem + env(safe-area-inset-bottom, 0px)); }
  .footer-main { gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; width: 9rem; }
  .footer-legal { gap: 0.25rem clamp(0.5rem, 3vw, 1.25rem); }
}

@media (width < 1081px) {
  .site-nav {
    gap: 1.15rem;
  }

  .philosophy {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-inline: var(--page-pad);
  }

  .philosophy-intro {
    max-width: 34rem;
  }

  .philosophy-branch {
    display: none;
  }

}

@media (max-width: 840px) {
  html {
    scroll-padding-top: 6rem;
  }

  .site-header {
    min-height: 5.5rem;
    gap: 0.5rem;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: var(--sans);
    min-height: 2.75rem;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .menu-toggle-icon,
  .menu-toggle-icon::before {
    display: block;
    width: 1.35rem;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-toggle-icon {
    position: relative;
  }

  .menu-toggle-icon::before {
    position: absolute;
    top: -0.38rem;
    content: "";
  }

  .menu-open .menu-toggle-icon {
    transform: rotate(45deg);
  }

  .menu-open .menu-toggle-icon::before {
    top: 0;
    transform: rotate(-90deg);
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.8rem;
    margin-left: 0;
    padding: 7rem var(--page-pad);
    overflow-y: auto;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .menu-open .brand { position: relative; z-index: 3; }
  .menu-open .portfolio-return-link,
  .menu-open .portfolio-scroll-nav { visibility: hidden; }

  .site-nav :is(a, .nav-contact) {
    font-family: var(--sans);
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .search-toggle {
    margin-top: 0.7rem;
  }

  .search-panel {
    position: fixed;
    z-index: 4;
    top: 5.8rem;
    right: var(--page-pad);
    left: var(--page-pad);
    width: auto;
  }

  h1 {
    width: auto;
    font-size: clamp(2.45rem, 4.15vw, 4rem);
  }

  .hero h1 {
    font-size: clamp(2.4rem, 4.05vw, 4.1rem);
  }

  .hero-title-lead {
    font-size: 1.75em;
  }

  .hero-copy {
    width: min(100%, 38rem);
    min-height: inherit;
    padding-top: 5rem;
  }

  .hero-visual::after {
    background: linear-gradient(90deg, rgba(248, 246, 241, 0.95), rgba(248, 246, 241, 0.72) 30%, transparent 60%);
  }

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

  .journal-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

}

@media (width < 768px) {
  .statement {
    /* Leave room for the fixed portfolio link below the centered claim. */
    padding-bottom: 4.75rem;
  }

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

  .collections .collection-card {
    min-height: clamp(15rem, 42vw, 20rem);
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 1.25rem;
  }

  .newsletter-form input { font-size: 1rem; }

  .brand {
    width: 8.6rem;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hero-copy {
    justify-content: flex-start;
    min-height: inherit;
    padding: 2.25rem 1.5rem;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.1vw, 3.3rem);
  }

  .hero-visual img {
    object-position: 66% center;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.98), rgba(248, 246, 241, 0.96) var(--hero-copy-bottom, 60%), rgba(248, 246, 241, 0.05) calc(var(--hero-copy-bottom, 60%) + 4rem));
  }

  .philosophy,
  .content-section {
    padding-inline: 1.5rem;
  }

  .section-divider {
    gap: 0.8rem;
  }

  .value-list {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .value-list li::before {
    top: -0.75rem;
    width: 5rem;
    height: 4.25rem;
  }

  .value-number {
    display: none;
  }

  .value-list h3 {
    margin-bottom: 1rem;
  }

  .value-list li > p {
    max-width: 22rem;
  }

  .journal-heading .section-divider {
    padding-right: 0;
  }

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

  .journal-feature .journal-image-link {
    height: auto;
    aspect-ratio: 1.55;
  }

  .journal-feature-copy { padding-bottom: 0.5rem; }
  .journal-feature h3 { font-size: 2rem; }
}

/* The scroll control keeps its full touch area outside linked artwork. */
.collections.content-section,
.journal.content-section,
.collection-related.content-section {
  padding-right: max(var(--page-pad), var(--scroll-control-gutter));
}
@media (max-width: 560px) {
  :root { --scroll-control-gutter: 3.5rem; }
}

@media (max-height: 600px) {
  .hero-copy { padding-block: 1rem; }
  .hero h1 { font-size: clamp(1.4rem, 6.7svh, 2.65rem); }
  .hero-title-lead { font-size: 1.75em; }
  .hero-text { margin: 0.6rem 0 0; }
}

@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;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .collection-card:is(:hover, :focus-visible) > img,
  .product-card:hover .product-image img,
  .journal-feature:is(:hover, :focus-within) .journal-image-link img,
  .journal-index-card:is(:hover, :focus-within) .journal-image-link img,
  .button-link:is(:hover, :focus-visible),
  .text-link:hover span,
  .journal-read-link:hover > [aria-hidden] { transform: none; }
}

/* Shop interactions are separate from the editorial and collection layouts. */
.bag-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: var(--forest-deep);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.bag-toggle:hover { text-decoration: underline; text-underline-offset: 0.3em; }
.bag-icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.25; }
.bag-count { min-width: 1rem; font-size: 0.65rem; }
.collection-price { margin: 1.25rem 0; font-size: 1.2rem; }
.collection-purchase select, .collection-purchase input { min-height: 2.75rem; padding: 0.65rem; border: 1px solid var(--control-line); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; }
.collection-purchase select { width: 100%; }
.collection-purchase input { width: 5rem; }
.collection-purchase :is(input, select, button):focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.releaf-dialog.product-dialog { width: min(46.5rem, calc(100% - 2rem)); padding-left: 1.5rem; }
.releaf-dialog.product-dialog > form { position: sticky; z-index: 5; top: 0; grid-column: 1 / -1; height: 0; width: 100%; }
.hero-hotspots { position: absolute; z-index: 3; inset: 0; overflow: hidden; pointer-events: none; }
.hero-hotspot {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 35%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.hero-hotspot > span {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(41, 76, 53, 0.55);
  border-radius: 50%;
  background: rgba(248, 246, 241, 0.9);
  color: var(--forest-deep);
  font: 1.1rem var(--sans);
  opacity: 0.45;
  transition: opacity 160ms ease;
}
.hero-hotspot:hover { border-color: rgba(255, 254, 251, 0.65); background: rgba(255, 254, 251, 0.07); }
.hero-hotspot:hover > span, .hero-hotspot:focus-visible > span { opacity: 1; }
.hero-hotspot:focus-visible { outline: 2px solid var(--forest); outline-offset: -2px; background: rgba(255, 254, 251, 0.12); box-shadow: 0 0 0 2px var(--paper); }
@media (hover: none), (pointer: coarse) { .hero-hotspot > span { opacity: 0.85; } }

.releaf-dialog.quick-view, .releaf-dialog.bag-drawer, .releaf-dialog.demo-checkout {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.releaf-dialog.quick-view::backdrop, .releaf-dialog.bag-drawer::backdrop, .releaf-dialog.demo-checkout::backdrop {
  background: rgba(23, 36, 29, 0.38);
  backdrop-filter: blur(2px);
}
.releaf-dialog.quick-view { width: min(70rem, calc(100% - 3rem)); max-width: none; max-height: calc(100dvh - 3rem); }
.releaf-dialog.quick-view > form { position: sticky; z-index: 5; top: 0; right: 0; height: 0; width: 100%; margin: 0; }
.quick-view-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.quick-view-gallery { min-width: 0; padding: 2.5rem 1.5rem 1.5rem; background: var(--paper-warm); }
.product-stage { position: relative; height: clamp(18rem, 48vh, 34rem); }
.product-stage canvas, .product-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-stage canvas { cursor: grab; touch-action: pan-y; }
.product-stage canvas:active { cursor: grabbing; }
.viewer-status { position: absolute; inset: 45% 1rem auto; color: var(--muted); text-align: center; font-size: 0.9rem; pointer-events: none; }
.rotation-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.rotation-controls button { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: var(--forest); font-size: 1.15rem; cursor: pointer; }
.rotation-controls p { min-width: 7.5rem; min-height: 1.25rem; margin: 0; font-size: 0.75rem; color: var(--muted); text-align: center; }
.product-views { display: flex; justify-content: center; gap: 0.5rem; }
.product-views button { min-width: 3.75rem; min-height: 2.75rem; padding: 0.5rem; border: 1px solid transparent; background: transparent; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; cursor: pointer; }
.product-views button[aria-pressed="true"] { border-color: var(--control-line); text-decoration: underline; text-underline-offset: 0.25em; }
.rotation-controls button:disabled, .product-views button:disabled { opacity: 0.4; cursor: default; }
.quick-view-copy { min-width: 0; align-self: center; padding: 3.5rem clamp(1.5rem, 3vw, 3rem) 2rem; }
.quick-view-copy h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; }
.quick-view-price { margin: 0 0 1.25rem; font-size: 1.2rem; }
.quick-view-description { color: #5b635e; line-height: 1.55; }
.shop-label { display: block; margin: 1.25rem 0 0.5rem; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
.quick-view-copy select { width: 100%; min-height: 2.75rem; padding: 0.65rem; border: 1px solid var(--control-line); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 0.95rem; }
.quick-view-copy select, .collection-purchase select {
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("../assets/releaf-select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65rem;
}
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--control-line); }
.quantity-control button { width: 2.75rem; min-height: 2.75rem; border: 0; background: transparent; color: var(--forest); font-size: 1.15rem; cursor: pointer; }
.quantity-control output { min-width: 2rem; text-align: center; font-family: var(--sans); font-size: 0.8rem; }
.quantity-control button:disabled { opacity: 0.35; cursor: default; }
.shop-primary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.25rem; margin: 1.5rem 0 0; padding: 0.85rem 1.15rem; border: 1px solid var(--forest); background: var(--forest); color: var(--white); font-family: var(--sans); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em; cursor: pointer; }
.shop-primary:hover { background: var(--forest-deep); }
.shop-primary:disabled { opacity: 0.45; cursor: default; }
.shop-notice { margin: 0.75rem 0; font-family: var(--sans); font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.shop-detail-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.8rem; text-underline-offset: 0.25em; }
.bag-toast { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; padding: 0.5rem 0; border-top: 1px solid var(--line); }
.bag-toast p { margin: 0; font-size: 0.85rem; }
.bag-toast button { min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--forest); text-decoration: underline; text-underline-offset: 0.2em; font-size: 0.8rem; cursor: pointer; }

/* Keep the native top-layer/backdrop stationary; composite only the inner panel. */
/* Unlike hidden, clip prevents focus from scrolling the host toward its offscreen close button. */
.releaf-dialog.bag-drawer { inset: 0 0 0 auto; margin: 0; width: min(30rem, calc(100% - 1rem)); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; background: transparent; overflow: clip; }
.releaf-dialog.bag-drawer::backdrop { backdrop-filter: none; }
.bag-panel { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-left: 1px solid var(--line); background: var(--paper); overflow-y: auto; }
.bag-drawer[open] .bag-panel { will-change: transform; animation: bag-enter 280ms cubic-bezier(0.2, 0.65, 0.3, 1) both; }
.bag-heading { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; }
.bag-heading h2 { margin: 0; font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.2em; }
.bag-heading .dialog-close { position: static; border: 0; background: transparent; }
.bag-items { flex: 1; overflow-y: auto; min-height: 5rem; margin-top: 1rem; }
.bag-item { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.bag-item > img { width: 5.25rem; height: 6.5rem; object-fit: cover; background: var(--paper-warm); }
.bag-item h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.bag-item p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.8rem; }
.bag-item .bag-item-price { color: var(--ink); }
.bag-item-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; }
.bag-remove { min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--muted); font-size: 0.75rem; text-decoration: underline; cursor: pointer; }
.bag-status { margin: 0.5rem 0; color: var(--muted); font-size: 0.8rem; }
.bag-summary { padding-top: 1.25rem; border-top: 1px solid var(--line); }
.bag-summary > p:first-child { display: flex; justify-content: space-between; margin: 0; font-size: 1.15rem; }
.bag-summary strong, .checkout-total strong { font-weight: 400; }
.shipping-note { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.8rem; }
.bag-summary .shop-primary { margin-top: 1.25rem; }
.releaf-dialog.demo-checkout { width: min(34rem, calc(100% - 2rem)); }
.checkout-items { margin: 1.5rem 0; padding: 0; list-style: none; }
.checkout-items li { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; border-top: 1px solid var(--line); font-size: 0.9rem; }
.checkout-total { display: flex; justify-content: space-between; }
.quick-view button:focus-visible, .quick-view select:focus-visible, .quick-view canvas:focus-visible, .bag-drawer button:focus-visible, .demo-checkout button:focus-visible, .bag-toggle:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
.releaf-dialog :focus-visible { scroll-margin-block: 3.5rem; }
@keyframes bag-enter { from { transform: translate3d(100%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

@media (max-width: 840px) {
  .releaf-dialog.product-dialog { padding-right: 1.5rem; scrollbar-gutter: stable both-edges; }
  .releaf-dialog.product-dialog .dialog-copy { padding-inline: 0; }
  .releaf-dialog.product-dialog > form { width: calc(100% + 1.5rem); }
  .bag-toggle { position: relative; z-index: 3; order: 1; margin-left: auto; }
  .menu-toggle { order: 2; }
  .releaf-dialog.quick-view { width: calc(100% - 1.5rem); max-height: calc(100dvh - 1.5rem); }
  .quick-view-gallery { padding-inline: 0.75rem; }
  .quick-view-copy { padding-inline: 1.5rem; }
}
@media (max-width: 620px) {
  .quick-view-layout { grid-template-columns: 1fr; }
  .releaf-dialog.quick-view { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); }
  .quick-view-gallery { margin: 1rem 1rem 0; padding: 0; background: var(--paper); }
  .product-stage { height: clamp(7rem, 20svh, 11rem); }
  .quick-view-copy { padding: 1rem 1.5rem; }
  .quick-view-copy h2 { margin-bottom: 0.5rem; font-size: 2rem; }
  .quick-view-price { margin-bottom: 0.5rem; }
  .quick-view-description { margin-bottom: 0.75rem; }
  :is(.quick-view-copy, .collection-purchase) .shop-label { margin: 0.75rem 0 0.35rem; }
  :is(.quick-view-copy, .collection-purchase) .shop-primary { margin-top: 1rem; }
  .quick-view-copy .shop-primary { position: sticky; bottom: 0; z-index: 1; }
  .releaf-dialog.bag-drawer { width: calc(100% - 0.5rem); }
  .bag-panel { padding: 1.25rem; }
}
@media (max-width: 560px) {
  .releaf-dialog.product-dialog { padding-top: 1rem; }
  .product-dialog .dialog-copy h2 { margin-bottom: 0.5rem; }
  .product-dialog .dialog-copy > p:not(.section-label) { margin-bottom: 0.75rem; line-height: 1.45; }
  .product-dialog .collection-price { margin: 0.75rem 0; }
}
@media (max-width: 420px) {
  .menu-toggle { gap: 0; width: 2.75rem; justify-content: center; }
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .bag-toggle { font-size: 0.75rem; }
}
@media (max-width: 560px) and (max-height: 650px) {
  .quick-view-gallery { margin-top: 0.75rem; }
  .quick-view .product-stage { height: 4.5rem; }
  .quick-view-copy { padding-top: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bag-drawer[open] .bag-panel { animation: none; will-change: auto; }
  .hero-hotspot > span { transition: none; }
}

/* Shared native dialog layout. Footer styles live in styles.css. */
.portfolio-return-link {
  /* Match the main portfolio's dark canvas without changing ReLeaf's palette. */
  --portfolio-blue: #1c2b35;
  background: var(--paper);
  border-color: var(--portfolio-blue);
  color: var(--forest-deep);
  font-family: var(--sans);
  font-weight: 400;
  text-shadow: none;
}
.portfolio-return-link:hover,
.portfolio-return-link:focus-visible {
  background: var(--portfolio-blue);
  border-color: var(--portfolio-blue);
  color: var(--paper);
  outline-color: var(--portfolio-blue);
}
.releaf-dialog {
  position: fixed;
  width: min(45rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.releaf-dialog::backdrop {
  background: rgba(23, 36, 29, 0.65);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-close {
  position: absolute;
  z-index: 2;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}
.dialog-close,
.search-close {
  caret-color: transparent;
  user-select: none;
}
.releaf-dialog .dialog-close:focus-visible,
.search-panel .search-close:focus-visible {
  outline: 1px solid var(--forest);
  outline-offset: 3px;
}
.dialog-close:focus:not(:focus-visible),
.search-close:focus:not(:focus-visible) {
  outline: none;
}
.releaf-dialog > form {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
.dialog-copy {
  padding: 3.5rem 1.5rem 1.5rem;
}
.dialog-copy h2 {
  font-size: 2rem;
  line-height: 1.1;
}
.information-dialog {
  width: min(35rem, calc(100% - 2rem));
}
.information-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  color: var(--forest);
  overflow-wrap: anywhere;
  text-underline-offset: 0.2em;
}
