:root {
  --ink: #111411;
  --ink-soft: #252922;
  --forest: #073d31;
  --forest-deep: #01251d;
  --cream: #f4efe4;
  --paper: #fbfaf6;
  --stone: #d9d7d0;
  --taupe: #a3937b;
  --clay: #8a4d3b;
  --gold: #c4a35a;
  --line: rgba(17, 20, 17, 0.14);
  --line-light: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  --sans: Arial, Helvetica, sans-serif;
  --serif: "Bodoni 72", "Didot", "Georgia", serif;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.45;
  overflow-x: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
  line-height: 1;
}

.brand-star {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  color: transparent;
  position: relative;
  transform: rotate(45deg);
}

.brand-star::before,
.brand-star::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: var(--gold);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.brand-star::before {
  width: 2px;
  height: 18px;
}

.brand-star::after {
  width: 18px;
  height: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 36px);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 25px 0 23px;
}

.nav-links > a::after,
.nav-dropdown-trigger::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger::before {
  width: 5px;
  height: 5px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  order: 2;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  z-index: 60;
  min-width: 190px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.98);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  min-height: 36px;
  padding: 9px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.search-control {
  width: min(220px, 18vw);
  min-width: 150px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ececea;
}

.search-control svg,
.icon-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  border: 0;
  border-radius: 50%;
  background: transparent;
  position: relative;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: #ececea;
  outline: none;
}

.menu-toggle {
  display: none;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  color: var(--paper);
  background: var(--forest);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 8px;
}

.auth-gate.open {
  display: grid;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: min(376px, 100%);
  max-height: calc(100svh - 16px);
  overflow-y: auto;
  padding: 24px 12px 18px;
  color: var(--ink);
  background: #fff;
}

.auth-close {
  position: absolute;
  top: 0;
  right: 0;
  color: #111;
  background: transparent;
}

.auth-panel h2 {
  max-width: 280px;
  margin: 0 auto;
  padding: 0;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.12;
  text-align: center;
}

.auth-copy {
  max-width: 302px;
  margin: 22px auto 34px;
  color: #111;
  font-size: 18px;
  line-height: 1.34;
  text-align: center;
}

.auth-provider-list {
  display: grid;
  gap: 12px;
}

.auth-provider,
.auth-submit {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

.auth-provider {
  color: #111;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.provider-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #111;
  flex: 0 0 auto;
}

.provider-icon svg {
  width: 19px;
  height: 19px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 28px;
  color: #111;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: #dfdfdf;
}

.auth-form {
  display: grid;
  gap: 22px;
  margin-top: 0;
}

.auth-field {
  display: block;
}

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

.auth-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1.5px solid #111;
  border-radius: 999px;
  outline: 0;
  color: #111;
  background: #fff;
  font-size: 18px;
}

.auth-field input:focus {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.auth-field input::placeholder {
  color: #8f8f8f;
}

.auth-submit {
  color: #fff;
  border: 1px solid #111;
  background: #111;
}

.auth-submit:hover,
.auth-submit:focus-visible,
.auth-provider:hover,
.auth-provider:focus-visible {
  border-color: #111;
  outline: none;
}

.auth-status {
  min-height: 18px;
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.hero {
  position: relative;
  min-height: clamp(520px, calc(100svh - 150px), 760px);
  overflow: hidden;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(1, 37, 29, 0.95) 0%, rgba(1, 37, 29, 0.82) 36%, rgba(1, 37, 29, 0.22) 68%, rgba(244, 239, 228, 0.08) 100%),
    var(--forest-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: min(50vw, 690px);
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center 28%;
  position: absolute;
  right: clamp(18px, 5vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  box-shadow: var(--shadow);
  opacity: 0.96;
}

.hero-shade {
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(470px, calc(100% - 48px));
  margin-left: clamp(24px, 6vw, 92px);
  padding: 48px 0 78px;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 14px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  opacity: 0.78;
}

.hero h1 {
  max-width: 470px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6.1vw, 98px);
  font-weight: 700;
  line-height: 0.9;
}

.hero-copy {
  max-width: 430px;
  margin: 24px 0 0;
  color: rgba(251, 250, 246, 0.84);
  font-size: clamp(17px, 1.4vw, 21px);
}

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

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.button-light {
  color: var(--paper);
  background: rgba(251, 250, 246, 0.08);
  border-color: rgba(251, 250, 246, 0.7);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.hero-rail {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 28px;
  left: 32px;
  display: grid;
  grid-template-columns: 60px repeat(3, minmax(0, 1fr));
  gap: 1px;
  color: var(--paper);
  border: 1px solid var(--line-light);
  background: rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-rail span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-rail span:last-child {
  border-right: 0;
}

.collection-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.strip-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 28px clamp(22px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item span {
  color: rgba(17, 20, 17, 0.62);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.strip-item strong {
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 44px);
  line-height: 1;
}

.feature-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(68px, 8vw, 128px) clamp(22px, 5vw, 76px);
  background: #e7e4dc;
}

.feature-band::before,
.feature-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.feature-band::before {
  z-index: -2;
  background: url("assets/products/new/feature-background-luxury.png") center / cover no-repeat;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.02);
}

.feature-band::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(232, 229, 220, 0.96) 0%, rgba(232, 229, 220, 0.9) 38%, rgba(232, 229, 220, 0.68) 100%),
    radial-gradient(circle at 80% 28%, rgba(4, 45, 37, 0.18), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(139, 76, 56, 0.14), transparent 32%);
}

.section-heading {
  max-width: 860px;
  position: relative;
}

.section-heading h2,
.shop-header h2,
.lookbook-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 82px);
  font-weight: 700;
  line-height: 0.98;
}

.feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid rgba(17, 20, 17, 0.12);
  background: rgba(17, 20, 17, 0.18);
  box-shadow: 0 24px 70px rgba(17, 20, 17, 0.12);
}

.feature-grid article {
  min-height: 270px;
  padding: clamp(28px, 4vw, 48px);
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(18px);
}

.feature-number {
  display: inline-flex;
  color: var(--clay);
  font-family: var(--serif);
  font-size: 36px;
  margin-bottom: 42px;
}

.feature-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.04;
}

.feature-grid p,
.lookbook-copy p,
.footer p {
  margin: 0;
  color: rgba(17, 20, 17, 0.68);
  font-size: 15px;
}

.shop-section {
  padding: clamp(62px, 7vw, 104px) clamp(18px, 4.8vw, 72px);
  background: var(--paper);
}

.category-hero {
  --category-hero-image: url("assets/products/new/luxury-poster.png");
  position: relative;
  isolation: isolate;
  min-height: clamp(390px, 38vw, 520px);
  display: grid;
  align-content: end;
  gap: 18px;
  overflow: hidden;
  padding: clamp(72px, 9vw, 132px) clamp(22px, 5vw, 76px) clamp(48px, 6vw, 86px);
  color: var(--paper);
  background: var(--forest-deep);
}

.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    var(--category-hero-image) right clamp(18px, 5vw, 92px) center / min(62vw, 940px) auto no-repeat,
    linear-gradient(135deg, #062d25 0%, #111411 100%);
  filter: saturate(0.96) contrast(1.03);
  transform: scale(1.015);
  transform-origin: right center;
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 37, 29, 0.99) 0%, rgba(1, 37, 29, 0.94) 34%, rgba(1, 37, 29, 0.69) 62%, rgba(1, 37, 29, 0.24) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.04) 55%, rgba(255, 255, 255, 0.06));
}

.category-hero-all {
  --category-hero-image: url("assets/products/new/luxury-poster.png");
}

.category-hero-caps {
  --category-hero-image: url("assets/products/ai/navy-cap.png");
}

.category-hero-hoodies {
  --category-hero-image: url("assets/products/new/cream-hoodie-set.png");
}

.category-hero-crewnecks {
  --category-hero-image: url("assets/products/new/stone-crewneck.png");
}

.category-hero-shirts {
  --category-hero-image: url("assets/products/new/cream-shirt.png");
}

.category-hero-quarterzip {
  --category-hero-image: url("assets/products/ai/quarter-zip.png");
}

.category-hero-jackets {
  --category-hero-image: url("assets/products/new/varsity-jacket.png");
}

.category-hero-pants {
  --category-hero-image: url("assets/products/new/cream-sweatpants.png");
}

.category-hero-shorts {
  --category-hero-image: url("assets/products/new/black-shorts.png");
}

.category-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 124px);
  font-weight: 700;
  line-height: 0.9;
}

.category-hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 0;
  color: rgba(251, 250, 246, 0.72);
  font-size: clamp(17px, 1.45vw, 22px);
}

.category-products {
  padding-top: clamp(44px, 6vw, 84px);
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 15px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: none;
}

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

.empty-products {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.empty-products h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.empty-products p {
  margin: 0;
  color: rgba(17, 20, 17, 0.68);
}

.product-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 0;
  color: inherit;
  border: 1px solid rgba(17, 20, 17, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(17, 20, 17, 0.06)),
    #e9dfcf;
  box-shadow: 0 18px 42px rgba(17, 20, 17, 0.08);
  cursor: zoom-in;
  appearance: none;
}

.product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 32%),
    linear-gradient(0deg, rgba(17, 20, 17, 0.10), rgba(17, 20, 17, 0) 36%);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 300ms ease;
}

.product-image:hover img,
.product-image:focus-visible img {
  transform: scale(1.035);
}

.product-image:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.crop-cap-single img {
  object-position: center center;
}

.crop-hoodie-single img {
  object-position: 55% center;
}

.crop-campus-single img {
  object-position: 42% center;
}

.crop-shirt-single img {
  object-position: center center;
}

.crop-quarter-single img {
  object-position: 46% center;
}

.product-info {
  min-height: 54px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-info h3 {
  margin: 0 0 3px;
  font-size: 17px;
}

.product-info p {
  margin: 0;
  color: rgba(17, 20, 17, 0.62);
  font-size: 14px;
}

.swatches,
.size-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swatch {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(17, 20, 17, 0.25);
  border-radius: 50%;
  background: var(--stone);
}

.swatch.active {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.swatch.green {
  background: var(--forest);
}

.swatch.cream {
  background: var(--cream);
}

.swatch.black {
  background: var(--ink);
}

.swatch.stone {
  background: #c8c6bf;
}

.swatch.taupe {
  background: var(--taupe);
}

.swatch.navy {
  background: #111927;
}

.size-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.size-row-compact {
  grid-template-columns: minmax(0, 1fr);
}

.size-row button {
  min-height: 40px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.size-row button:hover,
.size-row button:focus-visible,
.size-row button.active {
  color: var(--paper);
  background: var(--forest);
  outline: none;
}

.add-button {
  min-height: 48px;
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.add-button:hover,
.add-button:focus-visible {
  color: var(--ink);
  background: var(--gold);
  outline: none;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(5, 8, 7, 0.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  backdrop-filter: blur(16px);
}

.image-viewer.open {
  opacity: 1;
  pointer-events: auto;
}

.image-viewer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}

.image-viewer-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: grid;
  gap: 14px;
  justify-items: center;
}

.image-viewer-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - 168px);
  object-fit: contain;
  border: 1px solid rgba(251, 250, 246, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(17, 20, 17, 0.05)),
    #e9dfcf;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34);
}

.image-viewer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: var(--paper);
  background: rgba(17, 20, 17, 0.58);
  border: 1px solid rgba(251, 250, 246, 0.24);
  backdrop-filter: blur(12px);
}

.image-viewer-close:hover,
.image-viewer-close:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.image-viewer-caption {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--paper);
}

.image-viewer-caption h2,
.image-viewer-caption p {
  margin: 0;
}

.image-viewer-caption h2 {
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.05;
}

.image-viewer-caption p {
  color: rgba(251, 250, 246, 0.68);
  font-size: 14px;
  text-align: right;
}

.lookbook {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
}

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

.lookbook-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.lookbook-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--ink);
}

.lookbook-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: var(--ink);
}

.lookbook-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 700ms ease, transform 1200ms ease;
}

.lookbook-carousel img.active {
  opacity: 1;
  transform: scale(1);
}

.lookbook-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(48px, 6vw, 92px);
}

.lookbook-copy p {
  max-width: 520px;
  margin: 24px 0 32px;
  color: rgba(251, 250, 246, 0.72);
  font-size: 17px;
}

.social-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  padding: clamp(54px, 6vw, 92px) clamp(22px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(17, 20, 17, 0.08);
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.8), rgba(231, 228, 220, 0.92)),
    #e7e4dc;
}

.social-band h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 72px);
  font-weight: 700;
  line-height: 1;
}

.social-copy {
  display: grid;
  gap: 26px;
  justify-items: start;
  padding-left: clamp(0px, 3vw, 42px);
  border-left: 1px solid rgba(17, 20, 17, 0.14);
}

.social-copy p {
  max-width: 500px;
  margin: 0;
  color: rgba(17, 20, 17, 0.68);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.65;
}

.social-copy strong {
  color: var(--forest);
  font-weight: 900;
}

.social-actions,
.contact-socials,
.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(17, 20, 17, 0.14);
}

.social-icon-link {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid rgba(17, 20, 17, 0.16);
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.74);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  flex: 0 0 auto;
}

.social-icon-link svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-icon-link svg path {
  fill: none;
}

.social-icon-instagram {
  width: 52px;
  height: 52px;
  color: var(--ink);
  border-color: rgba(17, 20, 17, 0.16);
  background: rgba(251, 250, 246, 0.74);
}

.social-icon-instagram svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 32px;
  align-items: end;
  padding: 44px clamp(22px, 5vw, 72px);
  color: var(--paper);
  background: var(--forest-deep);
}

.footer-brand {
  color: var(--paper);
  margin-bottom: 16px;
}

.footer p {
  max-width: 520px;
  color: rgba(251, 250, 246, 0.64);
}

.footer-contact {
  display: grid;
  gap: 10px;
  justify-items: start;
  font-size: 13px;
  font-weight: 900;
}

.footer-label {
  margin: 0;
  color: rgba(251, 250, 246, 0.54);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact a {
  color: rgba(251, 250, 246, 0.82);
}

.footer-social-row {
  gap: 10px;
}

.footer-social-row .social-icon-link {
  width: 38px;
  height: 38px;
  color: rgba(251, 250, 246, 0.86);
  border-color: rgba(251, 250, 246, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.footer-social-row .social-icon-link svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.contact-page {
  min-height: calc(100svh - 145px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(72px, 9vw, 138px) clamp(22px, 5vw, 76px);
  background:
    linear-gradient(120deg, rgba(244, 239, 228, 0.96), rgba(231, 228, 220, 0.94)),
    var(--paper);
}

.contact-intro h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 112px);
  font-weight: 700;
  line-height: 0.92;
}

.contact-intro p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(17, 20, 17, 0.68);
  font-size: clamp(17px, 1.4vw, 21px);
}

.contact-grid {
  display: grid;
  gap: 1px;
  background: rgba(17, 20, 17, 0.16);
}

.contact-panel {
  min-height: 156px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper);
}

.contact-panel a {
  width: fit-content;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 900;
}

.contact-panel p:last-child {
  margin: 0;
  color: rgba(17, 20, 17, 0.68);
  font-size: 18px;
}

.social-link-dark svg {
  width: 24px;
  height: 24px;
}

.contact-socials .social-icon-link {
  background: #fff;
}

.contact-socials {
  gap: 18px;
  padding-top: 10px;
}

.contact-socials .social-icon-link {
  width: 62px;
  height: 62px;
}

.contact-socials .social-icon-link svg {
  width: 28px;
  height: 28px;
}

.cart-page {
  min-height: calc(100svh - 145px);
  padding: clamp(62px, 8vw, 118px) clamp(18px, 5vw, 76px);
  background: var(--paper);
}

.cart-heading {
  max-width: 780px;
  margin-bottom: 40px;
}

.cart-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.94;
}

.cart-heading p:not(.eyebrow) {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(17, 20, 17, 0.68);
  font-size: 18px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 1px;
  background: rgba(17, 20, 17, 0.16);
}

.cart-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
}

.cart-item-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  background: #efe5d8;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-main h2 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 28px);
}

.cart-item-main p {
  margin: 0 0 10px;
  color: rgba(17, 20, 17, 0.62);
  font-size: 14px;
  font-weight: 800;
}

.cart-item-main span {
  font-weight: 900;
}

.cart-remove,
.clear-cart-button {
  min-height: 38px;
  padding: 8px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.cart-remove:hover,
.cart-remove:focus-visible,
.clear-cart-button:hover,
.clear-cart-button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  outline: none;
}

.cart-summary {
  position: sticky;
  top: 116px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.summary-row strong {
  font-size: 18px;
}

.summary-button {
  width: 100%;
}

.cart-empty {
  max-width: 560px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cart-empty h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.cart-empty p {
  margin: 0 0 24px;
  color: rgba(17, 20, 17, 0.68);
}

@media (max-width: 1050px) {
  .nav {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-dropdown {
    display: grid;
    align-items: stretch;
  }

  .nav-dropdown-trigger {
    padding: 14px 12px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown-menu a {
    min-height: 34px;
    padding: 8px 12px;
    color: rgba(17, 20, 17, 0.74);
  }

  .nav-actions {
    justify-self: end;
  }

  .search-control {
    width: 170px;
    min-width: 0;
  }

  .hero-media img,
  .hero-media video {
    width: min(68vw, 620px);
    right: -6vw;
    opacity: 0.8;
  }

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

  .feature-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1320px) {
  .hero-rail {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 62px;
    gap: 10px;
    padding: 0 14px;
  }

  .brand-mark {
    font-size: 24px;
  }

  .nav-actions {
    gap: 2px;
  }

  .search-control {
    width: 40px;
    min-width: 40px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .search-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .auth-gate {
    align-items: center;
    padding: 0;
  }

  .auth-panel {
    width: min(376px, 100%);
    max-height: 100svh;
    padding: 24px 12px 18px;
  }

  .hero {
    min-height: clamp(560px, calc(100svh - 112px), 690px);
    align-items: end;
    background:
      linear-gradient(0deg, rgba(1, 37, 29, 0.95) 0%, rgba(1, 37, 29, 0.72) 47%, rgba(1, 37, 29, 0.18) 100%),
      var(--forest-deep);
  }

  .hero-media img,
  .hero-media video {
    width: 92vw;
    height: 68vh;
    min-height: 500px;
    right: 50%;
    top: 35%;
    transform: translate(50%, -50%);
    object-position: center 28%;
    opacity: 0.88;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 235px 0 56px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-rail {
    display: none;
  }

  .category-hero {
    min-height: 430px;
    padding: 132px 18px 44px;
  }

  .category-hero::before {
    background-size: min(104vw, 540px) auto;
    background-position: right -96px top 28px;
    opacity: 0.8;
  }

  .category-hero::after {
    background:
      linear-gradient(0deg, rgba(1, 37, 29, 0.98) 0%, rgba(1, 37, 29, 0.9) 45%, rgba(1, 37, 29, 0.48) 100%),
      linear-gradient(90deg, rgba(1, 37, 29, 0.86), rgba(1, 37, 29, 0.2));
  }

  .category-hero h1 {
    font-size: clamp(52px, 17vw, 76px);
  }

  .collection-strip,
  .product-grid,
  .feature-grid,
  .lookbook,
  .contact-page,
  .cart-layout,
  .social-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .social-copy {
    padding-left: 0;
    border-left: 0;
  }

  .strip-item {
    min-height: 108px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .shop-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    justify-content: flex-start;
  }

  .feature-grid article:last-child {
    grid-column: auto;
  }

  .lookbook-image {
    min-height: 520px;
  }

  .lookbook-copy {
    padding: 44px 22px 56px;
  }

  .image-viewer {
    padding: 12px;
  }

  .image-viewer-image {
    max-height: calc(100svh - 130px);
  }

  .image-viewer-caption {
    flex-direction: column;
    gap: 4px;
  }

  .image-viewer-caption p {
    text-align: left;
  }

  .footer {
    align-items: start;
  }

  .footer-contact {
    justify-items: start;
  }

  .cart-summary {
    position: static;
  }

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

  .cart-remove {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 430px) {
  .icon-button {
    width: 36px;
    height: 36px;
  }

  .hero-content {
    padding-top: 220px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 13px;
  }
}
