/* ==========================================================
   Store theme — layout replica
   Edit colours/fonts in :root. Media paths are listed in README.md
   ========================================================== */
:root {
  --bg: #f9f6f0;
  --bg-alt: #efe9df;
  --ink: #1a1613;
  --muted: #7c7468;
  --accent: #8a6a4a;
  --gold: #c8a468;          /* accent for italic headings — matches the logo */
  --brand-gold: #c8a468;    /* logo colour on dark backgrounds */
  --cream: #f9f6f0;
  --footer: #1a1613;
  --footer-text: #efebe3;
  --line: rgba(26, 22, 19, .12);
  --sale: #c0392b;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  /* side margin grows with the screen; on very wide screens content centres at 1640px */
  --gutter: max(clamp(18px, 3vw, 48px), calc((100vw - 1640px) / 2));
  --header-h: 64px;
  --space: clamp(72px, 8vw, 120px);   /* vertical rhythm between sections */
  --section-gap: 28px;                /* cream gap between every section */
  --bar-h: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;               /* clip (not hidden) keeps the sticky header working */
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: .96; }
.serif em, em.serif { font-style: italic; font-weight: 400; }
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Media placeholders ----------
   <div class="media" data-img="images/x.jpg"> shows a soft gradient until the
   file exists, then the image fills it. */
.media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d9d0c3 0%, #b9ac9a 55%, #8f8170 100%);
  background-size: cover;
  background-position: center;
}
.media.dark { background-image: linear-gradient(135deg, #3a332d 0%, #231e1a 60%, #120f0d 100%); }
.media.loaded { background-color: #000; }
.media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .ph-label {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  font-size: 10px; letter-spacing: .08em;
  background: rgba(255, 255, 255, .75); color: #333;
  padding: 3px 7px; border-radius: 3px;
  pointer-events: none;
}
.media.loaded .ph-label, .media.has-video .ph-label { display: none; }
.hero .ph-label { top: calc(var(--bar-h) + var(--header-h) + 14px); left: var(--gutter); }
.zoom > .media, .zoom .media { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover .media { transform: scale(1.04); }
/* Where the photo sits on a moving inner layer (sliders, feature bands), zoom only the
   photo inside the frame so the card's edges stay put; `scale` combines with the
   layer's scroll movement instead of replacing it. */
.zoom:has(.px-layer):hover .media { transform: none; }
.zoom .px-layer { transition: scale 1.6s cubic-bezier(.16, .84, .24, 1); }
.zoom:hover .px-layer { scale: 1.07; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  border: 1px solid var(--ink);
  transition: background .3s, color .3s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(249, 246, 240, .5); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn-block { width: 100%; }
.link-arrow {
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
}

/* ==========================================================
   Announcement bar + header
   ========================================================== */
.announce {
  position: relative; z-index: 60;
  height: var(--bar-h);
  background: var(--ink); color: rgba(249, 246, 240, .92);
  overflow: hidden;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.announce-track {
  display: flex; height: 100%; align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.announce-track span { padding: 0 clamp(40px, 7vw, 110px); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s, border-color .35s;
}
/* Home page: header sits over the hero until scrolled */
.home .site-header { position: fixed; top: var(--bar-h); left: 0; right: 0; background: transparent; color: #fff; border-color: transparent; }
.home .site-header.scrolled { top: 0; background: var(--bg); color: var(--ink); border-color: var(--line); }
.nav { display: flex; gap: clamp(18px, 2vw, 32px); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s; }
.nav a:hover::after { right: 0; }
.nav-right { justify-content: flex-end; }
/* Collections → About: golden-ratio spacing. The gap is φ² (≈2.618) × the text size,
   measured from the chevron to the A of About. */
.nav-left { align-items: center; gap: 2.618em; }
.nav-left .caret { letter-spacing: 0; }
.nav-left > a, .nav-left > .dropdown > a { display: inline-flex; align-items: center; line-height: 1.6; }
.dropdown { position: relative; }
.caret { display: inline-grid; place-items: center; width: 11px; height: 11px; margin-left: 7px; transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.caret svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dropdown.open .caret, .dropdown:not([data-dropdown]):hover .caret, .dropdown:not([data-dropdown]):focus-within .caret { transform: rotate(-180deg); }
.dropdown-menu {
  position: absolute; left: -18px; top: 100%; z-index: 10;
  min-width: 200px; margin-top: 14px; padding: 10px 0;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; } /* hover bridge */
/* the desktop menu opens on hover/focus; the compact header's Products button opens and closes only on click (.open) */
.dropdown:not([data-dropdown]):hover .dropdown-menu, .dropdown:not([data-dropdown]):focus-within .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.header-icons.header-left { justify-content: flex-start; }
.dd-toggle { font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; white-space: nowrap; }
.header-left .dropdown-menu { left: 0; margin-top: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.dropdown-menu a { display: block; padding: 9px 18px; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--bg-alt); }
.logo { display: flex; align-items: center; color: var(--ink); transition: color .35s; }
.logo-img {
  display: block;
  height: 42px; aspect-ratio: 769 / 470;
  background-color: currentColor;
  -webkit-mask-position: center; -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat;
          mask-position: center;         mask-size: contain;         mask-repeat: no-repeat;
}
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.home .site-header:not(.scrolled) .logo, .drawer .logo, .site-footer .logo { color: var(--brand-gold); }
.home .site-header:not(.scrolled) .logo { color: #ead3a4; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .6)); }  /* lighter gold over the video */
.home .site-header:not(.scrolled) .nav, .home .site-header:not(.scrolled) .header-icons { text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.header-icons { display: none; gap: 4px; justify-content: flex-end; align-items: center; }

/* Icon buttons (search, cart, menu): a soft circle fades in behind the icon on hover */
.nav-icons { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; color: inherit;
}
.nav .icon-btn { padding: 0; }
.nav a.icon-btn::after { display: none; }            /* no text underline on icons */
.icon-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: currentColor; opacity: 0; transform: scale(.55);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.icon-btn:hover::before, .icon-btn:focus-visible::before { opacity: .1; transform: scale(1); }
.icon-btn .icon {
  position: relative; width: 21px; height: 21px;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.icon-btn:hover .icon { transform: translateY(-1px) scale(1.07); }
.icon-btn:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
/* Header search: click the icon and the field opens toward the left while the icon
   glides from the right edge to the left end of the field; a close × fades in on the right */
.search-pill { --ease: cubic-bezier(.77, 0, .18, 1); position: relative; display: block; width: 40px; height: 40px; border-radius: 20px; transition: width .85s var(--ease); }
.search-pill::before, .search-pill::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.search-pill::before { border: 1px solid currentColor; }
.search-pill::after { background: currentColor; }
.search-pill.open { width: 252px; }
.search-pill.open::before { opacity: .38; }
.search-pill.open::after { opacity: .06; }
.search-pill input {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 38px 0 42px; border: 0; background: none; outline: none;
  color: inherit; font: 400 13px/1 var(--sans); letter-spacing: .04em; text-transform: none;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.search-pill.open input { opacity: 1; pointer-events: auto; transition: opacity .5s ease .35s; }
.search-pill input::placeholder { color: currentColor; opacity: .55; }
.search-pill input::-webkit-search-cancel-button { display: none; }
.search-pill .sp-icon { position: absolute; top: 0; left: calc(100% - 40px); z-index: 1; transition: left .85s var(--ease); }
.search-pill.open .sp-icon { left: 2px; }
.search-pill .sp-icon .icon { transition: transform .85s var(--ease); }
.search-pill.open .sp-icon .icon { transform: scale(.86); }
.search-pill .icon-btn::before { display: none; }         /* the field outline replaces the hover circle */
.sp-close {
  position: absolute; top: 0; right: 4px; z-index: 1; display: grid; place-items: center; width: 34px; height: 40px;
  opacity: 0; transform: rotate(-90deg) scale(.5); pointer-events: none;
  transition: opacity .3s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.search-pill.open .sp-close { opacity: .7; transform: none; pointer-events: auto; transition-delay: .4s; }
.search-pill.open .sp-close:hover { opacity: 1; }
.sp-close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.icon-btn .cart-count {
  position: absolute; top: 3px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--brand-gold); color: #14110f;
  font-size: 10px; font-weight: 600; line-height: 17px; letter-spacing: 0; text-align: center; text-shadow: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s;
}
.icon-btn .cart-count.empty { transform: scale(0); opacity: 0; }
.icon-btn .cart-count.bump { animation: badge-bump .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes badge-bump { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.cart-count { font-variant-numeric: tabular-nums; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--ink); color: var(--cream);
  display: flex; flex-direction: column;
  padding: 24px var(--gutter) 40px;
  transform: translateX(100%); transition: transform .5s cubic-bezier(.7, 0, .2, 1);
}
.drawer.open { transform: none; }
.drawer-close { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.drawer nav a { font-family: var(--serif); font-size: 34px; font-weight: 400; letter-spacing: -.01em; line-height: 1.15; }
.drawer-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; margin-top: 4px; }
.drawer .drawer-sub { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 14px 14px; border-left: 1px solid rgba(249, 246, 240, .15); margin-bottom: 8px; }
.drawer .drawer-sub a { font-size: 26px; }
.drawer-foot { margin-top: auto; display: flex; gap: 24px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

/* ==========================================================
   Home — hero
   ========================================================== */
.hero {
  position: relative;
  /* full screen minus the announcement bar above it, so the bottom line is never cut off */
  height: calc(100vh - var(--bar-h)); height: calc(100svh - var(--bar-h)); min-height: 440px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero > .media { position: absolute; inset: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  /* darker at the top so the logo and menu read clearly over the video */
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.08) 24%, rgba(0,0,0,0) 34%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.62) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(28px, 4vw, 56px); }
/* sized by width AND height, so on short windows the line and link below still fit on the first screen */
.hero h1 { font-size: clamp(48px, min(9.5vw, 14.5vh), 150px); line-height: .96; }
.hero h1 span { display: block; letter-spacing: -.02em; }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-top: clamp(18px, 3.5vh, 36px); padding-top: clamp(14px, 2.4vh, 22px);
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero-foot p { max-width: 380px; font-size: 15px; line-height: 1.6; font-weight: 300; color: rgba(255, 255, 255, .8); }

/* ---------- Category tiles ---------- */
/* Seven tiles in one row. On hover the tile widens to the photo's own 3:2 shape so the
   whole photo shows, and the others narrow to make room. Grow factor: the row is
   7 x (3 / 4.4) wide per unit of height, so a 3:2 tile needs flex-grow 2.75 against 1. */
.tiles { display: flex; container-type: inline-size; }
.tile { position: relative; flex: 1 1 0; min-width: 0; height: calc(100cqw * 4.4 / 21); color: #fff; overflow: hidden; transition: flex-grow .9s cubic-bezier(.22, .8, .2, 1); }
.tile .media { position: absolute; inset: 0; }
.tile.zoom:hover > .media { transform: none; }                /* widening replaces the zoom */
.tile::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); transition: background .9s ease; }
.tile:hover::after { background: rgba(0, 0, 0, .06); }
.tile h3 {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  font-size: clamp(12px, 1.1vw, 18px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
@media (hover: hover) and (min-width: 769px) {
  .tile:hover { flex-grow: 2.75; }
}
/* keep the scroll-reveal fade (.stagger-item) and the widening animation together */
.tiles .tile.stagger-item { transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, .84, .24, 1), flex-grow .9s cubic-bezier(.22, .8, .2, 1); }

/* ---------- Section heads ---------- */
/* full space on top (the section above slides away over its own bottom), lighter below */
.section { padding: var(--space) 0 calc(var(--space) * .6); }
.section.container { padding-left: var(--gutter); padding-right: var(--gutter); }   /* keep the side gutter on grid sections */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.section-head h2 { font-size: clamp(48px, 6.2vw, 90px); }
.section-head h2.grid-title { font-size: 15px; }   /* small label-style heading, not the big serif one */
.slider-arrows { display: flex; gap: 8px; }
.slider-arrows button {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; line-height: 1;
  background: var(--bg); transition: background .3s, color .3s;
}
.slider-arrows button:hover { background: var(--ink); color: var(--cream); }

/* ---------- Horizontal slider ---------- */
.slider {
  display: grid; grid-auto-flow: column; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter);
}
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.slider.fabrics { grid-auto-columns: calc((100% - 2 * var(--gutter) - 30px) / 4.15); }
.fabric-card .media { aspect-ratio: 1 / 1.05; }
.fabric-card .meta { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; }
.fabric-card h4 { font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.fabric-card span { font-size: 12.5px; font-weight: 300; color: var(--muted); }

/* ---------- Manifesto ---------- */
.manifesto { padding: var(--space) var(--gutter); text-align: center; }
.manifesto p { max-width: 900px; margin: 0 auto; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.18; }
.manifesto em { color: var(--accent); font-weight: 300; }

/* ---------- Lookbook ---------- */
.slider.lookbook { grid-auto-columns: calc((100% - 2 * var(--gutter) - 30px) / 4); }
.look-card { position: relative; aspect-ratio: 3 / 4.2; color: #fff; }
.look-card .media { position: absolute; inset: 0; }
.look-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.45)); }
.look-card h3 { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -.01em; transition: transform 1.2s cubic-bezier(.16, .84, .24, 1); }
.look-card:hover h3 { transform: translateY(-6px); }

/* ---------- Product grid ---------- */
.grid-title { font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; }
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(30px, 3vw, 48px) clamp(10px, 1.2vw, 18px); }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; }
.card .media { aspect-ratio: 3 / 4; }
.card .badge {
  position: absolute; left: 10px; top: 10px; z-index: 2;
  background: #e8505b; color: #fff;
  font-size: 10px; padding: 2px 8px; border-radius: 3px;
}
/* ---------- Premium line (Elegance) ---------- */
.card-premium .tag { color: #a07e45; }
.premium-pill {
  display: inline-block; margin-left: 6px; padding: 1px 6px; vertical-align: 1px;
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: #a07e45; border: 1px solid rgba(160, 126, 69, .5);
}
.drawer .premium-pill { font-family: var(--sans); font-size: 10px; vertical-align: middle; color: var(--brand-gold); border-color: rgba(200, 164, 104, .5); }
.pill-nav a.pill-premium { border-color: rgba(160, 126, 69, .55); color: #8a6a3a; }
.pill-nav a.pill-premium::before { content: "✦ "; color: var(--brand-gold); }
.pill-nav a.pill-premium.active, .pill-nav a.pill-premium:hover { background: #14110f; color: var(--brand-gold); border-color: #14110f; }
.gold-rule { display: block; width: 48px; height: 1px; background: var(--brand-gold); }


.btn-gold { background: var(--brand-gold); border-color: var(--brand-gold); color: #14110f; }
.btn-gold:hover { background: transparent; color: var(--brand-gold); }

.feature-premium { display: grid; grid-template-columns: 1.25fr 1fr; background: #14110f; color: var(--cream); min-height: 600px; }
.feature-premium.reverse { grid-template-columns: 1fr 1.25fr; }
.feature-premium.reverse .feature-media { order: 2; }
.feature-premium + .feature-premium { border-top: 1px solid rgba(200, 164, 104, .25); }
.feature-media { position: relative; overflow: hidden; display: block; }
.feature-media .media { position: absolute; inset: 0; }
.feature-text { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 64px clamp(24px, 5vw, 80px); }
.feature-text h2 { font-size: clamp(56px, 7vw, 104px); }
.feature-text h2.long { font-size: clamp(40px, 4.6vw, 72px); line-height: 1.02; }
.feature-text p { max-width: 440px; font-size: 15.5px; font-weight: 300; line-height: 1.75; color: rgba(249, 246, 240, .75); }
.feature-text .btn { align-self: flex-start; }
.feature-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feature-swatches a { position: relative; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(249, 246, 240, .25); transition: transform .2s; }
.feature-swatches a::after { content: ""; position: absolute; inset: -5px; }   /* bigger tap area, same look */
.feature-swatches a:hover { transform: scale(1.2); }
.feature-swatches span { margin-left: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(249, 246, 240, .55); }

.card .tag { display: block; margin-top: 16px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card h4 { margin-top: 5px; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.price { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.price s { margin-right: 6px; }
.price .now { color: var(--ink); }
.center { text-align: center; }
.mt-l { margin-top: clamp(40px, 4vw, 64px); }

/* ---------- Compose a box (dark split) ---------- */
.compose { display: grid; grid-template-columns: 1fr 1.25fr; background: #14110f; color: var(--cream); min-height: 640px; }
.compose-text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(56px, 6vw, 96px) var(--gutter); }
.compose-text .eyebrow, .dark-eyebrow { color: rgba(249, 246, 240, .72); }
.compose h2 { font-size: clamp(56px, 7vw, 101px); }
.compose h2 em, .accent-gold { color: var(--gold); }
.compose p { font-size: 15px; font-weight: 300; color: rgba(249, 246, 240, .78); }
.compose .btn { align-self: flex-start; }
.compose .media { min-height: 420px; }

/* ---------- Founder ---------- */
.founder { position: relative; min-height: 760px; color: var(--cream); display: flex; align-items: center; }
.founder > .media { position: absolute; inset: 0; }
.founder::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,17,15,.88) 0%, rgba(20,17,15,.6) 38%, rgba(20,17,15,.1) 68%, transparent 80%); }
.founder-text { position: relative; z-index: 2; max-width: 460px; padding: 60px var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.founder h2 { font-size: clamp(38px, 3.6vw, 52px); line-height: 1; }
.founder blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.32; color: rgba(249, 246, 240, .9); }
.founder .sig { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(249, 246, 240, .72); }
.founder .link-arrow { align-self: flex-start; font-size: 11px; }

/* ---------- Try the cloth ---------- */
.tryon { position: relative; min-height: 900px; color: var(--cream); display: flex; align-items: flex-end; }
.tryon > .media { position: absolute; inset: 0; }
.tryon::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,17,15,.82) 0%, rgba(20,17,15,.5) 34%, rgba(20,17,15,.08) 58%, transparent 75%), linear-gradient(0deg, rgba(20,17,15,.55) 0%, transparent 45%); }
.tryon-text { position: relative; z-index: 2; max-width: 680px; padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 24px; }
.tryon h2 { font-size: clamp(60px, 8.6vw, 124px); line-height: .9; letter-spacing: -.025em; }
.tryon h2 em { color: var(--gold); }
.tryon p { max-width: 420px; font-size: 15px; line-height: 1.7; font-weight: 300; color: rgba(249, 246, 240, .8); }
.tryon .btn { align-self: flex-start; }

/* ---------- Newsletter ---------- */
.join { position: relative; min-height: 720px; color: #fff; display: grid; place-items: end center; text-align: center; }
.join > .media { position: absolute; inset: 0; }
.join::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.7)); }
.join-inner { position: relative; z-index: 2; padding: 0 var(--gutter) 80px; width: 100%; max-width: 760px; }
.join h2 { font-size: clamp(56px, 7.4vw, 107px); line-height: 1.02; }
.join h2 em { color: var(--gold); }
.join .perks { margin: 20px 0 34px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.join form { display: flex; max-width: 520px; margin: 0 auto; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.join input { flex: 1; background: none; border: 0; color: #fff; padding: 14px 0; font-size: 15px; outline: none; }
.join input::placeholder { color: rgba(255, 255, 255, .6); }
.join button { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.form-msg { margin-top: 14px; font-size: 12px; min-height: 18px; }

/* ==========================================================
   Footer
   ========================================================== */
.site-footer { background: var(--footer); color: var(--footer-text); padding: clamp(64px, 7vw, 100px) var(--gutter) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { margin-bottom: 26px; }
.footer-brand .logo-img { height: 96px; }
.footer-brand p { max-width: 300px; font-size: 14px; line-height: 1.7; color: rgba(239, 235, 227, .66); }
/* Instagram / Facebook: outline icons in gold rings that fill in on hover */
.social { display: flex; gap: 12px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(200, 164, 104, .45); border-radius: 50%; color: var(--brand-gold); transition: background .45s, color .45s, transform .45s; }
.social .icon { width: 18px; height: 18px; stroke-width: 1.4; }
.social .icon * { transition: fill .45s, stroke .45s; }
.social .dot { fill: currentColor; stroke: none; }
.social a:hover, .social a:focus-visible { background: var(--brand-gold); color: var(--footer); transform: translateY(-2px); }
.social a:hover .fill, .social a:focus-visible .fill { fill: currentColor; }
.social a:hover .cut, .social a:focus-visible .cut { fill: var(--brand-gold); stroke: var(--brand-gold); }
.social a:hover .dot, .social a:focus-visible .dot { fill: var(--brand-gold); }
.footer-col h5 { margin: 0 0 18px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(239, 235, 227, .45); }
.footer-col a, .footer-col span { display: block; font-size: 14px; line-height: 2.1; color: rgba(239, 235, 227, .74); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgba(239, 235, 227, .12);
  font-size: 12px; letter-spacing: .08em; color: rgba(239, 235, 227, .5);
}

/* Floating chat bubble */
.chat-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  width: 50px; height: 50px; border-radius: 14px;
  background: #0a0a0c; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: opacity .4s, transform .4s;
}
.chat-fab .icon { transition: fill .35s, transform .35s cubic-bezier(.2, .8, .2, 1); }
/* hover: the outline bubble fills in solid */
.chat-fab:hover .icon, .chat-fab:focus-visible .icon { fill: currentColor; transform: scale(1.25); }
/* on the home page it waits until you've scrolled past the opening video */
.home:not(.past-hero) .chat-fab { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Product page, phones only: add-to-cart bar fixed to the bottom of the screen */
.sticky-buy { display: none; }
@media (max-width: 768px) {
  .sticky-buy {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; gap: 14px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(249, 246, 240, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(26, 22, 19, .08);
    transform: translateY(110%); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  }
  .sticky-buy.show { transform: none; }
  .sb-info { display: flex; flex-direction: column; min-width: 0; }
  .sb-name { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sb-price { font-size: 15px; font-weight: 600; }
  .sb-add { flex: 1; max-width: 240px; margin-left: auto; padding: 15px 12px; border-radius: 4px; background: #000; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  /* lift the chat bubble and "Added to cart" message above the bar */
  .sticky-buy-on .chat-fab { transform: translateY(calc(-76px - env(safe-area-inset-bottom))); }
  .sticky-buy-on .toast.show { transform: translate(-50%, calc(-76px - env(safe-area-inset-bottom))); }
}
.nowrap { white-space: nowrap; }

/* ==========================================================
   Collection page
   ========================================================== */
.coll-banner { display: grid; grid-template-columns: 1fr 1fr; background: #f3f1ec; margin: 0 var(--gutter); }
.coll-banner .media { aspect-ratio: 16 / 10; }
.coll-banner-text { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(24px, 6vw, 90px); }
.coll-banner h1 { font-family: var(--sans); font-weight: 400; font-size: clamp(32px, 3.4vw, 50px); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.coll-banner p { max-width: 440px; font-size: 15px; line-height: 1.7; }
.coll-banner.premium { background: #14110f; color: var(--cream); }
.coll-banner.premium .coll-banner-text { gap: 16px; }
.coll-banner.premium h1 { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; text-transform: none; font-size: clamp(44px, 5vw, 72px); margin: 0; }
.coll-banner.premium p { color: rgba(249, 246, 240, .75); line-height: 1.7; }
.premium-eyebrow { color: var(--brand-gold); }
.premium-eyebrow-dark { color: #a07e45; }

.coll-body { padding-bottom: var(--space); }
.toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin: 28px 0 22px;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.toolbar select { font: inherit; text-transform: uppercase; letter-spacing: .1em; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 10px 0; }
.pill-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.pill-nav a { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); border-radius: 30px; }
.pill-nav a.active, .pill-nav a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ==========================================================
   Product page
   ========================================================== */
.pdp { padding-top: 24px; }
/* photo and buy box stay on screen together while you scroll, then the tabs follow */
.pdp-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.gallery { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; position: sticky; top: calc(var(--header-h) + 20px); }
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs .media { aspect-ratio: 3 / 4; cursor: pointer; opacity: .6; transition: opacity .3s; }
.thumbs .media.active, .thumbs .media:hover { opacity: 1; }
.gallery-main .media { aspect-ratio: 4 / 5; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .thumbs { display: none; }
.gallery.single .gallery-main .media { aspect-ratio: 3 / 2; }
.pdp-info { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.pdp-price { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.pdp-price s { color: var(--muted); font-weight: 400; }
.pdp-price .sale-badge { background: #1e7a3c; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 3px; font-weight: 500; }
.pdp-price .pdp-length { margin-left: auto; font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.opt-label { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); outline: 1px solid transparent; outline-offset: 3px; }
.swatch.active { outline-color: var(--ink); }
.box-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.box-opt { padding: 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 12.5px; text-align: center; line-height: 1.35; }
.box-opt small { display: block; color: var(--muted); font-size: 11px; }
.box-opt.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.box-opt.active small { color: rgba(249, 246, 240, .7); }
.buy-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.qty { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
.qty button { font-size: 16px; width: 36px; height: 44px; }
.add-btn { border: 1px solid var(--ink); border-radius: 4px; padding: 15px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.add-btn:hover { background: var(--ink); color: var(--cream); }
.buy-now { background: #000; color: #fff; border-radius: 4px; padding: 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.box-note { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; color: var(--ink); }
.box-note svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #a07e45; stroke-width: 1.4; stroke-linejoin: round; }
.pickup { font-size: 13px; color: var(--muted); }
/* product details as tabs across the full width under the photo and buy box */
.pdp-tabs { margin-top: clamp(56px, 6vw, 88px); }
.tab-list { display: flex; justify-content: center; gap: clamp(28px, 3.4vw, 48px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { position: relative; flex: none; padding: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.tab-list button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.tab-list button:hover, .tab-list button[aria-selected="true"] { color: var(--ink); }
.tab-list button[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel { max-width: 680px; margin: 0 auto; padding: 32px 0 8px; text-align: center; animation: tab-in .45s ease both; }
.tab-panel p { font-size: 16px; line-height: 1.85; color: #4a443c; }
.care-list { display: inline-grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; font-size: 16px; line-height: 1.6; color: #4a443c; }
.care-list li { position: relative; padding-left: 22px; }
.care-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; background: var(--brand-gold); transform: rotate(45deg); }
@keyframes tab-in { from { opacity: 0; transform: translateY(6px); } }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 18px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 16px; line-height: 1; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { padding-bottom: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); }
/* product page sections run edge to edge so the scroll layering covers the full width */
.pdp-page > section { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
/* The H.A Promise: dark full-width band on the product page */
.pdp-page .related { padding-top: clamp(48px, 5vw, 72px); }   /* sits right under the product tabs */
.promise { padding: clamp(56px, 6vw, 96px) var(--gutter); background: #14110f; color: var(--cream); text-align: center; }
.promise-head h2 { margin-top: 18px; font-size: clamp(38px, 4.6vw, 68px); }
.promise-head h2 em { color: var(--brand-gold); }
.promise-head .gold-rule { margin: 28px auto 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 4vw, 60px); }
/* each item spans three shared rows (icon, title, text), so titles and texts line up across columns */
.promise-item { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 4px clamp(10px, 1.8vw, 36px); border-left: 1px solid rgba(200, 164, 104, .22); }
.promise-item:first-child { border-left: 0; }
.promise-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border: 1px solid rgba(200, 164, 104, .45); border-radius: 50%; color: var(--brand-gold); transition: background .5s, color .5s, transform .5s; }
.promise-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.promise-item:hover .promise-icon { background: var(--brand-gold); color: #14110f; transform: translateY(-3px); }
/* on hover the outline icon fills in solid; .cut details (tag hole, box ribbon) and the box lid edge show through in gold */
.promise-icon svg * { transition: fill .5s, stroke .5s, stroke-width .5s; }
.promise-item:hover .promise-icon svg { stroke-width: 1.8; }
.promise-item:hover .promise-icon .fill { fill: currentColor; }
.promise-item:hover .promise-icon .seam { stroke: var(--brand-gold); }
.promise-item:hover .promise-icon .cut { fill: var(--brand-gold); stroke: var(--brand-gold); stroke-width: 1.5; }
.promise-item h3 { align-self: center; font-size: clamp(10.5px, 1vw, 12px); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.promise-item p { max-width: 230px; margin: 10px auto 0; text-wrap: balance; font-size: clamp(12.5px, 1.1vw, 14px); line-height: 1.7; color: rgba(249, 246, 240, .62); }

/* ==========================================================
   Content pages (about, contact, cart)
   ========================================================== */
.page-hero { padding: clamp(70px, 9vw, 130px) var(--gutter) 50px; text-align: center; }
.page-hero h1 { font-size: clamp(54px, 8vw, 116px); }
.page-hero h1 em { color: var(--accent); }
.page-hero p { max-width: 560px; margin: 22px auto 0; color: var(--muted); }
.prose { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter) 90px; font-size: 16px; line-height: 1.8; }
.prose p + p { margin-top: 1.2em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; padding: 0 var(--gutter) var(--space); }
.split .media { aspect-ratio: 4 / 5; }
.split h2 { font-size: clamp(38px, 4vw, 58px); margin-bottom: 20px; }
/* Two photos layered: the craft portrait, with the packaging shot overlapping its lower corner */
.duo { position: relative; padding: 0 0 15% 0; isolation: isolate; }
.split .duo-main { width: 80%; margin-left: auto; }
.duo-main::after {                               /* fine gold hairline just inside the portrait */
  content: ""; position: absolute; inset: clamp(10px, 1.2vw, 16px); z-index: 1;
  border: 1px solid rgba(200, 164, 104, .55); pointer-events: none;
}
.split .duo-inset {
  position: absolute; left: 0; bottom: 0; width: 50%; aspect-ratio: 5 / 4; z-index: 2;
  outline: clamp(5px, .6vw, 8px) solid var(--bg); box-shadow: 0 24px 50px -18px rgba(20, 17, 15, .45);
}

/* ---------- Journal article (journal.html) ---------- */
.article-top { padding-bottom: clamp(40px, 5vw, 72px); }
.article-head { padding: clamp(56px, 7vw, 110px) var(--gutter) clamp(36px, 4vw, 56px); text-align: center; }
.article-back { display: block; width: fit-content; margin: 0 auto 20px; padding: 10px 0; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.article-back:hover { color: var(--ink); }
.article-head h1 { margin-top: 16px; font-size: clamp(44px, 6.4vw, 96px); }
.article-head .lead { max-width: 600px; margin: 24px auto 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.article-hero { padding: 0 var(--gutter); }
.article-hero .media { aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; }
.article-body { padding: clamp(24px, 3vw, 40px) var(--gutter) var(--space); }
.article-inner { max-width: 680px; margin: 0 auto; }
.article-inner h2 { margin: clamp(40px, 4vw, 56px) 0 16px; font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.01em; }
.article-inner > div:first-child h2 { margin-top: 0; }
.article-inner p { font-size: 17px; line-height: 1.8; color: #3d3731; }
.article-inner p + p { margin-top: 1em; }
.article-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.article-table th, .article-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-table thead th { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.article-table tbody th { font-weight: 600; white-space: nowrap; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(48px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.article-cta p { flex: 1 1 260px; font-size: 15px; color: var(--muted); }
.product-grid.journal-grid { grid-template-columns: repeat(2, 1fr); }
.journal-grid .card .media { aspect-ratio: 16 / 10; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; padding: 0 var(--gutter) 100px; max-width: 1200px; margin: 0 auto; }
.contact-info p a { display: inline-block; padding: 4px 0; }
.contact-info h3 { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 26px 0 6px; }
.form { display: grid; gap: 14px; }
.form input, .form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; border-radius: 2px;
}
.form textarea { min-height: 160px; resize: vertical; }

.cart-wrap { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter) 100px; }
.cart-line { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .media { aspect-ratio: 3 / 4; }
.cart-line h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.cart-line small { color: var(--muted); }
.cart-line .remove { font-size: 12px; text-decoration: underline; color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; padding: 26px 0; font-size: 15px; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 120;
  transform: translate(-50%, 30px); opacity: 0;
  background: var(--ink); color: var(--cream);
  padding: 12px 22px; font-size: 12px; letter-spacing: .06em;
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.stagger-item { opacity: 0; transform: translateY(36px) scale(.98); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, .84, .24, 1); }
.stagger-item.in { opacity: 1; transform: none; }

/* ==========================================================
   Motion
   ========================================================== */
/* Parallax layer: oversized so it never shows an edge while it moves */
.px-layer { position: absolute; z-index: 0; background-size: cover; background-position: center; will-change: transform; pointer-events: none; }
.px-y { left: 0; right: 0; top: -12%; bottom: -12%; }
.px-x { top: 0; bottom: 0; left: -9%; right: -9%; }
.px-layer > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media > .badge { z-index: 2; }

/* Section-over-section layering (see initSectionLayers in main.js) */
html { overflow-x: clip; }      /* moving layers must never widen the page */
.hero { overflow: hidden; }
/* The gap is the top border of the incoming section, so it stays a clean cream strip
   while the section above slides away underneath. Photos and the dimming layer sit
   inside the border, so they never cover the gap. */
.section-gap { border-top: var(--section-gap) solid var(--bg); }
.feature-premium + .feature-premium { border-top: var(--section-gap) solid var(--bg); }
.section-shade { position: absolute; inset: 0; z-index: 6; background: #0d0b09; opacity: 0; pointer-events: none; }

/* Hero entrance: lines rise in one after another */
@keyframes rise { from { opacity: 0; transform: translateY(60%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slow-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero h1 span { animation: rise 1.3s cubic-bezier(.16, .84, .24, 1) both; }
.hero h1 span:nth-child(2) { animation-delay: .18s; }
.hero-foot { animation: fade-in 1.2s ease .6s both; }
.hero > .media { animation: slow-zoom 2.4s cubic-bezier(.16, .84, .24, 1) both; }
.home .site-header { animation: fade-in 1s ease .3s both; }

/* Sliders */
.slider { cursor: grab; }
.slider.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider.dragging a { pointer-events: none; }
.slider img, .slider .media { -webkit-user-drag: none; }
.slider-progress { position: relative; height: 1px; margin: 22px var(--gutter) 0; overflow: hidden; background: var(--line); }
.slider-progress span { position: absolute; left: 0; top: 0; height: 1px; background: var(--brand-gold); transition: width .3s; }
.slider-arrows button { transition: background .3s, color .3s, transform .3s; }
.slider-arrows button:active { transform: scale(.92); }

/* Collection-name band */
.marquee { overflow: hidden; padding: clamp(30px, 4vw, 54px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee.section-gap { border-top: var(--section-gap) solid var(--bg); box-shadow: inset 0 1px 0 var(--line); }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee a { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 88px); letter-spacing: -.02em; line-height: 1; white-space: nowrap; padding: 0 .35em; transition: color .3s; }
.marquee a:hover { color: var(--accent); }
.marquee i { font-style: normal; font-size: clamp(14px, 1.6vw, 22px); color: var(--brand-gold); }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .header-icons { display: flex; }
  .site-header { grid-template-columns: 1fr auto 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .slider.fabrics { grid-auto-columns: 34%; }
  .slider.lookbook { grid-auto-columns: 42%; }
}
@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .site-header .logo-img { height: 34px; }
  /* tiles wrap three to a row; a leftover tile stretches to fill its row */
  .tiles { display: flex; flex-wrap: wrap; }
  .tiles .tile { flex: 1 1 30%; aspect-ratio: auto; height: clamp(220px, 36vw, 300px); }  /* 3 per row, stretched to fill */
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 12px; }
  .card h4 { font-size: 12.5px; }
  .slider.fabrics { grid-auto-columns: 62%; }
  .slider.lookbook { grid-auto-columns: 74%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: clamp(46px, min(15vw, 8vh), 72px); }
  .compose, .feature-premium, .feature-premium.reverse { grid-template-columns: 1fr; }
  .feature-premium.reverse .feature-media { order: 0; }
  .feature-media { min-height: 300px; }
  .compose .media { order: -1; min-height: 360px; }
  .founder { min-height: 640px; align-items: flex-end; }
  .founder::before { background: linear-gradient(180deg, transparent 30%, rgba(20,17,15,.85)); }
  .tryon { min-height: 720px; }
  .tryon video { object-position: 66% center; }   /* keep one of the two men in frame on narrow screens */
  .tryon::before { background: linear-gradient(180deg, transparent 25%, rgba(20,17,15,.85)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .coll-banner, .pdp-main, .split, .contact-grid { grid-template-columns: 1fr; }
  .coll-banner { margin: 0; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .thumbs .media { flex: 0 0 70px; }
  .pdp-info, .gallery { position: static; }
  .cart-line { grid-template-columns: 70px 1fr; }
  /* 16px text in fields stops phones zooming in when you tap them */
  .form input, .form textarea, .join input, .search-pill input { font-size: 16px; }
  /* small label headings keep their link on the same line */
  .section-head:has(.grid-title) { flex-direction: row; align-items: center; }
  .contact-grid { gap: 44px; padding-bottom: 72px; }
  .prose { padding-bottom: 72px; }
  .cart-wrap { padding-bottom: 72px; }
  .page-hero { padding-bottom: 40px; }
  .footer-grid { gap: 36px 24px; }
  .footer-brand .logo-img { height: 80px; }
}
@media (max-width: 560px) {
  :root { --section-gap: 16px; }          /* slimmer cream strips between sections on phones */
  .add-sum { display: none; }             /* price is right above and in the bottom bar */
  .buy-row { grid-template-columns: 112px 1fr; }
  .tab-panel { text-align: left; }        /* long paragraphs read better left-aligned */
  .care-list { display: grid; }
  .feature-text { padding: 44px var(--gutter) 52px; gap: 18px; }
  .compose-text, .founder-text, .tryon-text { padding-top: 48px; padding-bottom: 56px; }
  .join-inner { padding-bottom: 64px; }
  .pdp-info { gap: 16px; }
  .tiles .tile { flex-basis: 45%; height: clamp(220px, 68vw, 300px); }   /* 2 per row */
  .product-grid, .product-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  /* phones: two by two, compact */
  .promise-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .promise-item:nth-child(odd) { border-left: 0; }
  .promise-icon { width: 44px; height: 44px; margin-bottom: 14px; }
  .promise-icon svg { width: 20px; height: 20px; }
  .tab-list { justify-content: space-between; gap: 16px; }
  .pdp-tabs { margin-top: 44px; }
  .tab-panel { padding-top: 24px; }
  .tab-panel p, .care-list { font-size: 15px; }
  .tab-list button { font-size: 11px; letter-spacing: .1em; }
  .article-hero .media { aspect-ratio: 4 / 3; }
  .article-inner p { font-size: 16px; }
  .article-table { font-size: 14px; }
  .article-table th, .article-table td { padding-right: 10px; }
  .article-table tbody th { white-space: normal; }
  .article-cta .btn { width: 100%; text-align: center; }
}
