:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --bone: #f2eee7;
  --ink: #171411;
  --muted: #6f6a62;
  --line: rgba(23, 20, 17, 0.1);
  --line-strong: rgba(23, 20, 17, 0.18);
  --gold: #9b742f;
  --sage: #dfe8de;
  --sage-ink: #314f36;
  --blue: #e6eef3;
  --blue-ink: #2e5367;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    var(--bg);
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 84px;
  margin: 0;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid transparent;
  background: transparent;
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  box-shadow: 0 10px 32px rgba(23, 20, 17, 0.06);
  backdrop-filter: blur(18px) saturate(1.1);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 48px;
  overflow: hidden;
}

.brand img {
  width: 142%;
  max-width: none;
}

.menu-trigger,
.mobile-nav-head,
.nav-backdrop {
  display: none;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: #3f3932;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 160ms var(--ease-out);
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--ink);
}

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

.cart-trigger,
.menu-trigger,
.nav-close,
.button,
.product-buy button,
.filter-button,
.category-rail button,
.icon-button,
.quantity-controls button {
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

.cart-trigger:active,
.menu-trigger:active,
.nav-close:active,
.button:active,
.product-buy button:active,
.filter-button:active,
.category-rail button:active,
.icon-button:active,
.quantity-controls button:active {
  transform: scale(0.97);
}

.cart-trigger {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
}

.cart-trigger span {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

main {
  width: 100%;
}

.opening-hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--bone);
  isolation: isolate;
}

.opening-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
  z-index: -2;
}

.opening-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.9) 0%, rgba(251, 250, 247, 0.66) 34%, rgba(251, 250, 247, 0.12) 68%),
    linear-gradient(180deg, rgba(23, 20, 17, 0.02), rgba(23, 20, 17, 0.16));
  z-index: -1;
}

.opening-hero__content {
  min-height: 100dvh;
  width: min(900px, 100%);
  margin-left: max(0px, calc((100vw - 1440px) / 2));
  padding: clamp(112px, 12vh, 152px) clamp(22px, 4vw, 56px) clamp(94px, 13vh, 136px);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.opening-hero h1 {
  max-width: 820px;
  font-size: clamp(4rem, 5.45vw, 6.4rem);
  line-height: 1.02;
}

.opening-hero h1 span {
  display: block;
  text-wrap: balance;
}

.opening-hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: #4e473f;
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.hero {
  width: min(calc(100% - 32px), 1240px);
  min-height: calc(100dvh - 96px);
  margin: clamp(22px, 4vw, 48px) auto 0;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  align-items: stretch;
  gap: 22px;
}

.hero-campaign {
  position: relative;
}

.hero-media {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: saturate(0.92) contrast(1.02);
}

.price-note {
  position: absolute;
  width: min(220px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  color: #241d18;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(12px);
}

.price-note strong,
.price-note span {
  display: block;
}

.price-note strong {
  font-size: 1rem;
}

.price-note span {
  margin-top: 3px;
  color: #5e554c;
  font-size: 0.78rem;
}

.price-note-top {
  top: 26px;
  right: 26px;
}

.price-note-bottom {
  left: 26px;
  bottom: 26px;
}

.hero-copy {
  min-height: 680px;
  padding: clamp(32px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hero-campaign .hero-copy {
  justify-content: end;
  padding-bottom: clamp(42px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.95;
}

.hero-copy h2 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-copy h2 span {
  display: block;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.campaign-stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
}

.campaign-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(23, 20, 17, 0) 62%, rgba(23, 20, 17, 0.2));
  z-index: 1;
  pointer-events: none;
}

.campaign-stage figure {
  margin: 0;
}

.campaign-main {
  position: absolute;
  inset: 0;
}

.campaign-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.94) contrast(1.02);
}

.campaign-card {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(23, 20, 17, 0.14);
}

.campaign-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-card-one {
  width: min(210px, 28vw);
  aspect-ratio: 4 / 5;
  left: 28px;
  top: 34px;
}

.campaign-card-two {
  width: min(180px, 24vw);
  aspect-ratio: 4 / 5;
  right: 28px;
  bottom: 128px;
}

.campaign-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.campaign-note strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.campaign-note span {
  color: var(--muted);
  font-size: 0.9rem;
}

.button {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.light-button {
  border-color: rgba(23, 20, 17, 0.24);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px);
}

.category-rail {
  width: min(calc(100% - 32px), 1180px);
  margin: clamp(34px, 7vw, 78px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.lookbook-section,
.catalog-section,
.final-cta {
  scroll-margin-top: 104px;
}

.category-rail button {
  min-height: 76px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
}

.category-rail button:last-child {
  border-right: 0;
}

.catalog-section {
  width: min(calc(100% - 32px), 1240px);
  margin: clamp(78px, 11vw, 140px) auto 0;
}

.feature-strip,
.lookbook-section,
.gift-section {
  width: min(calc(100% - 32px), 1180px);
  margin: clamp(78px, 11vw, 142px) auto 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.section-heading h2,
.lookbook-copy h2,
.gift-copy h2,
.management-copy h2,
.final-cta h2 {
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 5.15rem);
  line-height: 0.98;
}

.compact-heading {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(240px, 0.95fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.feature-card {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

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

.feature-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.feature-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-card h3 {
  max-width: 360px;
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
}

.tall-card {
  grid-row: span 2;
  min-height: 660px;
}

.tall-card img {
  min-height: 660px;
}

.quiet-card {
  min-height: 320px;
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  align-items: end;
  background: var(--sage);
}

.quiet-card p {
  max-width: 460px;
  margin: 0;
  color: var(--sage-ink);
  font-size: clamp(1.35rem, 2.6vw, 2.4rem);
  line-height: 1.15;
}

.lookbook-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: stretch;
}

.lookbook-copy,
.steps-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.lookbook-copy {
  padding: clamp(28px, 5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.steps-grid article {
  min-height: 320px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.steps-grid span {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.steps-grid h3 {
  margin: auto 0 10px;
  font-size: 1.02rem;
}

.steps-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.gift-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.gift-image,
.gift-copy {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.gift-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.gift-copy {
  padding: clamp(30px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gift-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 24px 0 30px;
  color: var(--muted);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(280px, 1.7fr) minmax(180px, 0.8fr);
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.search-field,
.select-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition:
    border-color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
}

.search-field input:focus,
.select-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155, 116, 47, 0.12);
}

.filter-group {
  min-height: 48px;
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 48px;
  padding: 0 14px;
  background: var(--paper);
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.catalog-meta {
  min-height: 24px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
  transition: transform 200ms var(--ease-out);
}

.product-card:target {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(164 119 38 / 16%);
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone);
}

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

.product-status {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.9);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.product-card.is-unavailable .product-image img {
  opacity: 0.68;
  filter: grayscale(0.3) saturate(0.55);
}

.product-info {
  min-height: 216px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.product-type {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--blue);
  color: var(--blue-ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.08;
}

.product-info p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-buy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.product-buy strong {
  font-size: 1.02rem;
}

.product-buy button {
  min-height: 42px;
  padding: 0 12px;
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.product-buy button:disabled {
  border-color: var(--line-strong);
  background: var(--bone);
  color: var(--muted);
  cursor: not-allowed;
}

.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.final-cta {
  width: min(calc(100% - 32px), 1180px);
  margin: clamp(92px, 13vw, 160px) auto 0;
  padding: clamp(34px, 8vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  background: var(--ink);
  color: #fff;
}

.final-cta .eyebrow {
  color: #d6bd87;
}

.final-cta h2 {
  max-width: 780px;
}

.contact-number {
  display: inline-block;
  margin-top: 24px;
  color: #fff;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.final-cta .button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  width: 100%;
  margin: clamp(30px, 5vw, 64px) 0 0;
  padding: clamp(54px, 8vw, 96px) max(24px, calc((100vw - 1180px) / 2)) 24px;
  background: var(--bone);
  color: var(--muted);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) minmax(150px, 0.65fr) minmax(260px, 0.95fr);
  gap: clamp(42px, 8vw, 112px);
  padding-bottom: clamp(52px, 8vw, 92px);
}

.footer-brand a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 80%);
  height: 88px;
  overflow: hidden;
}

.footer-brand img {
  width: 142%;
  height: auto;
  max-width: none;
}

.footer-brand p {
  max-width: 440px;
  margin: 24px 0 0;
  color: #4e473f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 2.5vw, 2.55rem);
  line-height: 1.05;
  text-wrap: balance;
}

.footer-label {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  padding: 5px 0;
  color: var(--ink);
  font-size: 0.94rem;
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.footer-contact > p:not(.footer-label) {
  max-width: 340px;
  margin: 0;
  color: #4e473f;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-contact-link {
  margin-top: 24px;
  padding: 0 0 6px;
  display: inline-block;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.footer-contact-link span,
.footer-bottom a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 180ms var(--ease-out);
}

.footer-bottom {
  min-height: 56px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.76rem;
}

.footer-bottom a {
  justify-self: end;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover {
    color: var(--gold);
    transform: translateX(3px);
  }

  .footer-contact-link:hover {
    border-color: var(--gold);
    color: var(--gold);
  }

  .footer-contact-link:hover span {
    transform: translate(2px, -2px);
  }

  .footer-bottom a:hover span {
    transform: translateY(-2px);
  }
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 20, 17, 0.32);
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 180ms var(--ease-out);
}

.cart-panel.is-open {
  pointer-events: auto;
}

.cart-panel.is-open .cart-backdrop {
  opacity: 1;
}

.cart-panel.is-open .cart-drawer {
  transform: translateX(0);
  transition-duration: 280ms;
  transition-timing-function: var(--ease-drawer);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
  font-size: 2.2rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
}

.cart-items {
  overflow: auto;
  padding: 18px 4px 18px 0;
}

.cart-empty,
.empty-state {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.cart-empty h3,
.empty-state h3 {
  margin: 0;
}

.cart-empty p,
.empty-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 82px;
  height: 96px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bone);
}

.cart-item h3 {
  margin: 0;
  font-size: 0.94rem;
}

.cart-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.quantity-controls {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.quantity-controls button {
  min-height: 34px;
  padding: 0 10px;
  background: var(--paper);
}

.quantity-controls strong {
  min-width: 24px;
  text-align: center;
}

.cart-summary {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-summary span {
  color: var(--muted);
}

.cart-summary strong {
  font-size: 1.4rem;
}

[data-reveal],
.reveal {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

[data-reveal].is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 600ms var(--ease-reveal),
    transform 600ms var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal-group] [data-reveal-item] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

[data-reveal-group] [data-reveal-item][data-reveal-from="left"] {
  transform: translate3d(-16px, 0, 0);
}

[data-reveal-group] [data-reveal-item][data-reveal-from="right"] {
  transform: translate3d(16px, 0, 0);
}

[data-reveal-group] [data-reveal-item][data-reveal-kind="media"] {
  transform: translate3d(0, 10px, 0) scale(0.985);
}

[data-reveal-group] [data-reveal-item][data-reveal-kind="media"][data-reveal-from="left"] {
  transform: translate3d(-16px, 0, 0) scale(0.985);
}

[data-reveal-group].is-visible [data-reveal-item] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 600ms var(--ease-reveal),
    transform 600ms var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}

.product-card.reveal {
  opacity: 0;
  transform: none;
}

.product-card.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 200ms var(--ease-out);
  transition-delay: 0ms;
}

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover {
    color: var(--ink);
  }

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

  .button-primary:hover,
  .cart-trigger:hover,
  .product-buy button:not(:disabled):hover {
    background: #312a24;
  }

  .button-secondary:hover {
    background: var(--bone);
  }

  .category-rail button:hover {
    background: var(--sage);
    color: var(--sage-ink);
  }

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

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

@media (max-width: 940px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .cart-trigger {
    justify-self: end;
  }

  .hero,
  .opening-hero,
  .feature-grid,
  .lookbook-section,
  .gift-section,
  .section-heading,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .opening-hero,
  .opening-hero__content {
    min-height: 100dvh;
  }

  .opening-hero__content {
    margin-left: 0;
  }

  .opening-hero__overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.86) 0%, rgba(251, 250, 247, 0.52) 45%, rgba(23, 20, 17, 0.18) 100%),
      linear-gradient(90deg, rgba(251, 250, 247, 0.78), rgba(251, 250, 247, 0.1));
  }

  .hero-media,
  .hero-copy,
  .campaign-stage {
    min-height: auto;
  }

  .hero-media {
    aspect-ratio: 4 / 5;
  }

  .campaign-stage {
    aspect-ratio: 4 / 5;
  }

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

  .steps-grid article {
    min-height: 220px;
  }

  .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .final-cta {
    align-items: start;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .site-header {
    width: 100%;
    top: 0;
    margin: 0;
    padding: 10px 14px;
    grid-template-columns: auto auto;
    gap: 12px;
  }

  .brand {
    width: 106px;
  }

  .menu-trigger {
    width: 44px;
    height: 44px;
    padding: 11px;
    justify-self: end;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid rgba(23, 20, 17, 0.22);
    border-radius: 6px;
    background: rgba(251, 250, 247, 0.6);
    backdrop-filter: blur(10px);
  }

  .menu-trigger span {
    width: 100%;
    height: 1.5px;
    background: var(--ink);
  }

  .main-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    width: min(86vw, 340px);
    height: 100dvh;
    padding: 22px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 0;
    border-right: 1px solid var(--line-strong);
    background: var(--bg);
    box-shadow: 20px 0 48px rgba(23, 20, 17, 0.12);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-100%);
    transition:
      transform 180ms var(--ease-out),
      visibility 0s linear 180ms;
  }

  .main-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition:
      transform 240ms var(--ease-drawer),
      visibility 0s linear 0s;
  }

  .mobile-nav-head {
    margin-bottom: 48px;
    padding-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    color: var(--gold);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .nav-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-size: 1.55rem;
    line-height: 1;
  }

  .main-nav > a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.9rem, 9vw, 2.4rem);
    font-weight: 500;
    line-height: 1;
  }

  .main-nav > a::after {
    bottom: -1px;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: block;
    background: rgba(23, 20, 17, 0.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 160ms var(--ease-out),
      visibility 0s linear 160ms;
  }

  .nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 200ms var(--ease-out),
      visibility 0s linear 0s;
  }

  .cart-trigger {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    min-height: 56px;
    padding: 0 18px;
    border-color: rgba(255, 255, 255, 0.2);
    background: var(--ink);
    box-shadow: 0 12px 32px rgba(23, 20, 17, 0.24);
  }

  .cart-trigger span {
    min-width: 26px;
    height: 26px;
  }

  .hero,
  .catalog-section,
  .feature-strip,
  .lookbook-section,
  .gift-section,
  .final-cta,
  .category-rail {
    width: min(calc(100% - 20px), 1180px);
  }

  .hero-copy {
    padding: 28px;
  }

  .opening-hero,
  .opening-hero__content {
    min-height: 100dvh;
  }

  .opening-hero__content {
    margin-left: 0;
    padding: 112px 20px max(112px, 15vh);
  }

  .opening-hero h1 {
    font-size: clamp(3.6rem, 16vw, 5.4rem);
  }

  .opening-hero p:not(.eyebrow) {
    max-width: 34rem;
    margin-top: 20px;
    font-size: 0.95rem;
  }

  .opening-hero .hero-actions {
    width: min(100%, 340px);
    margin-top: 26px;
    flex-direction: column;
  }

  .opening-hero .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    aspect-ratio: 1 / 1.12;
  }

  .campaign-stage {
    aspect-ratio: 1 / 1.18;
  }

  .campaign-card-one {
    width: 38%;
    left: 12px;
    top: 12px;
  }

  .campaign-card-two {
    width: 34%;
    right: 12px;
    bottom: 112px;
  }

  .campaign-note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price-note {
    position: static;
    width: auto;
    margin: 10px;
  }

  .hero-media img {
    height: calc(100% - 134px);
  }

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

  .category-rail button {
    border-bottom: 1px solid var(--line);
  }

  .category-rail button:nth-child(2n) {
    border-right: 0;
  }

  .tall-card,
  .tall-card img,
  .gift-image img {
    min-height: 430px;
  }

  .site-footer {
    padding-right: 20px;
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
    padding-left: 20px;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 44px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-bottom {
    gap: 10px;
  }

  .footer-bottom a {
    justify-self: start;
    margin-top: 8px;
  }
}

@media (max-width: 440px) {
  .site-header {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    width: 96px;
    height: 42px;
  }

  .main-nav {
    width: min(88vw, 320px);
    padding-right: 20px;
    padding-left: 20px;
  }

  .opening-hero > img {
    object-position: 57% center;
  }

  .opening-hero__overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.9) 0%, rgba(251, 250, 247, 0.7) 52%, rgba(251, 250, 247, 0.42) 100%),
      linear-gradient(90deg, rgba(251, 250, 247, 0.84), rgba(251, 250, 247, 0.14));
  }

  .opening-hero__content {
    padding-right: 16px;
    padding-bottom: max(104px, 13vh);
    padding-left: 16px;
  }

  .opening-hero h1 {
    font-size: clamp(3.35rem, 15vw, 4.15rem);
  }

  .hero,
  .catalog-section,
  .feature-strip,
  .lookbook-section,
  .gift-section,
  .final-cta,
  .category-rail {
    width: calc(100% - 24px);
  }

  .hero-copy,
  .lookbook-copy,
  .gift-copy,
  .final-cta {
    padding: 26px 20px;
  }

  .section-heading h2,
  .lookbook-copy h2,
  .gift-copy h2,
  .final-cta h2 {
    font-size: clamp(2.15rem, 12vw, 3.45rem);
  }

  .category-rail button {
    min-height: 62px;
    font-size: 0.84rem;
  }

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

  .filter-button {
    width: 100%;
    padding: 0 8px;
  }

  .tall-card,
  .tall-card img,
  .gift-image img {
    min-height: 390px;
  }

  .cart-drawer {
    padding: 18px 16px;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .cart-item img {
    width: 68px;
    height: 82px;
  }

  .cart-trigger {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

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

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

  [data-reveal],
  .reveal,
  [data-reveal-group] [data-reveal-item] {
    opacity: 1;
    transform: none;
  }
}
