/* SUTRA "Noir Atelier" redesign (4 Dec 2026).
   Loaded last. Remove this file's <link> (and git tag pre-redesign for markup) to go back.
   Same brand colours (deep teal, ivory, antique gold); bolder editorial layout. */

:root { --noir: #08110f; --noir-2: #0f1d1a; --hero-h: calc(100svh - 34px); }

/* ======================= header: transparent over the home opener ======================= */
.head { isolation: isolate; }
.is-home main { margin-top: calc(-1 * var(--head-h)); }
.is-home .head:not(.is-stuck) { background: transparent; box-shadow: none; }
.is-home .head:not(.is-stuck)::before {
  content: ""; position: absolute; inset: 0 0 -60px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 10, 9, 0.62) 0%, rgba(4, 10, 9, 0.25) 60%, transparent 100%);
}
.head.is-stuck { background: rgba(14, 29, 26, 0.92); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.nav a { position: relative; }
.nav > .nav__item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform 420ms var(--ease-out, ease); }
.nav > .nav__item:hover > a::after { transform: scaleX(1); }

/* ======================= hero: full-screen, words over the photograph ======================= */
.hero { height: var(--hero-h); min-height: 580px; max-height: 1000px; background: var(--noir); }
.hero__slide { display: block; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { object-fit: cover; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 14, 12, 0.9) 0%, rgba(6, 14, 12, 0.62) 30%, rgba(6, 14, 12, 0.08) 62%, transparent 75%),
    linear-gradient(0deg, rgba(6, 14, 12, 0.75) 0%, transparent 38%);
}
.hero__copy {
  position: absolute; z-index: 2; left: clamp(20px, 6vw, 104px); bottom: clamp(84px, 13vh, 150px);
  width: min(680px, 88vw); padding: 0; background: none; gap: 18px; justify-content: flex-end;
}
.hero__title { font-size: clamp(50px, 7.4vw, 124px) !important; line-height: 0.95 !important; letter-spacing: -0.015em; text-wrap: balance; }
.hero__text { font-size: clamp(15px, 1.2vw, 18px); color: #ddd4c2; max-width: 46ch; }
.hero__piece { margin: 0; }
/* studio shots on a dark background: the piece sits on the right, words on the left */
.hero__slide--studio .hero__media::after { display: none; }
.hero__slide--studio .hero__media { background: var(--bg, #000); }
.hero__slide--studio .hero__media img { object-fit: contain !important; object-position: 50% 50%; padding: 9vh 5vw 9vh 46vw !important; }
/* portrait film: keep it whole, to the right, over its own blurred copy */
.hero__media video.fit-v { object-fit: contain; object-position: 78% 50%; }
.hero__count { position: absolute; z-index: 3; right: clamp(20px, 6vw, 104px); bottom: clamp(36px, 6vh, 64px); margin: 0; font: 400 15px/1 var(--body); letter-spacing: 0.18em; color: rgba(243, 238, 228, 0.7); }
.hero__count b { color: #fff; font-weight: 600; }
.hero__dots { left: clamp(20px, 6vw, 104px); bottom: clamp(36px, 6vh, 64px); }
.hero__dots button { width: 64px; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 22px; width: 28px; height: 48px; margin-left: -14px; display: grid; justify-items: center; }
.hero__scroll span { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--gold-bright)); animation: scroll-cue 2.2s var(--ease-out, ease) infinite; transform-origin: top; }
@keyframes scroll-cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 760px) {
  .hero { height: calc(100svh - 34px - 60px); min-height: 560px; }
  .hero__slide { display: none; position: absolute; }
  .hero__slide.is-on { display: block; }
  .hero__media { aspect-ratio: auto; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(6, 14, 12, 0.94) 0%, rgba(6, 14, 12, 0.7) 34%, rgba(6, 14, 12, 0.05) 62%, transparent 100%); }
  .hero__copy { left: var(--gut); right: var(--gut); width: auto; bottom: 74px; gap: 12px; }
  .hero__title { font-size: clamp(42px, 12vw, 58px) !important; }
  .hero__text { font-size: 14.5px; line-height: 1.55; }
  .hero__slide--studio .hero__media img { padding: 14vh 10vw 44vh !important; }
  .hero__media video.fit-v { object-position: 50% 20%; }
  .hero__count { display: none; }
  .hero__dots { bottom: 26px; left: var(--gut); }
  .hero__dots button { width: 34px; }
  .hero__scroll { display: none; }
  .is-home main { margin-top: calc(-1 * var(--head-h)); }
}

/* ======================= trust strip: quieter, on dark ======================= */
.promises { background: var(--noir-2); color: #e9e2d4; border: 0; }
.promises__list li a { color: inherit; }
.promises__list b { color: #f6f0e3; }
.promises__list small { color: rgba(233, 226, 212, 0.66); }
.promises__list svg { color: var(--gold-bright); }
.promises__list li { border-color: rgba(232, 213, 168, 0.14) !important; }

/* ======================= categories: magazine grid ======================= */
.cats-sec { background: var(--ivory); }
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.cat { position: relative; grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform 500ms var(--ease-out, ease), box-shadow 500ms var(--ease-out, ease), border-color 400ms; }
.cat--lead { grid-column: span 3; }
.cat__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg, var(--stone)); }
.cat--lead .cat__media { aspect-ratio: 5 / 4; }
.cat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out, ease); }
.cat__media img.fit-c { object-fit: contain; padding: 9%; }
.cat__body { display: grid; gap: 4px; padding: 16px 52px 18px 18px; }
.cat__name { font: 500 26px/1.08 var(--display); color: var(--teal); }
.cat--lead .cat__name { font-size: clamp(30px, 2.6vw, 40px); }
.cat__meta { font: 400 13px/1.4 var(--body); color: var(--muted); }
.cat__go { position: absolute; right: 18px; bottom: 20px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-text); transition: transform 400ms var(--ease-out, ease), background-color 300ms, color 300ms; }
@media (hover: hover) {
  .cat:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(14, 29, 26, 0.6); border-color: rgba(156, 122, 69, 0.45); }
  .cat:hover .cat__media img { transform: scale(1.05); }
  .cat:hover .cat__go { background: var(--teal); color: var(--gold-pale); transform: translateX(3px); }
}
@media (max-width: 900px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat, .cat--lead { grid-column: span 1; }
  .cat--lead { grid-column: span 2; }
  .cat:last-child:nth-child(odd) { grid-column: span 2; }
  .cat__media { aspect-ratio: 1; }
  .cat--lead .cat__media { aspect-ratio: 16 / 11; }
  .cat__body { padding: 10px 12px 12px; gap: 2px; }
  .cat__name { font-size: 19px; }
  .cat--lead .cat__name { font-size: 28px; }
  .cat__meta { font-size: 11.5px; }
  .cat__go { display: none; }
}

/* ======================= section rhythm & headings ======================= */
.sec { padding-block: clamp(64px, 9vw, 132px); }
.shead { margin-bottom: clamp(26px, 3.4vw, 48px); }
.shead .eyebrow { letter-spacing: 0.3em; }
.shead__text { font-size: 15px; color: var(--muted); max-width: 52ch; }

/* ======================= product cards: taller, cleaner ======================= */
.pc__media { aspect-ratio: 4 / 5; background: var(--bg, var(--stone)); }
.pc__actions { aspect-ratio: 4 / 5; padding: 0; overflow: hidden; }
.pc__btn { min-height: 48px; background: rgba(10, 21, 19, 0.92); letter-spacing: 0.2em; transform: translateY(100%); opacity: 1; transition: transform 450ms var(--ease-out, ease); }
.pc:hover .pc__btn, .pc__btn:focus-visible { transform: none; }
.pc__body { padding-top: 14px; gap: 4px; }
.pc__cat { font-size: 9.5px; letter-spacing: 0.22em; }
.pc__title { font: 400 14.5px/1.4 var(--body); min-height: 2.8em; }
.pc__price { font: 600 16px/1.3 var(--body); letter-spacing: 0.01em; }
.pc .tag { background: rgba(251, 249, 245, 0.92); color: var(--teal); font-size: 9.5px; letter-spacing: 0.18em; }
.pc__wish { background: rgba(251, 249, 245, 0.92); border-radius: 50%; width: 36px; height: 36px; }
@media (hover: none) { .pc__btn { display: none; } }

/* ======================= marquee: big italic, gold on noir ======================= */
.marquee { background: var(--noir); border: 0; padding-block: 22px; }
.marquee__track span { font: italic 400 clamp(26px, 3vw, 42px)/1 var(--display); color: #efe6d2; }
.marquee__track i { color: var(--gold-bright); }

/* ======================= story / men / gift: deeper ======================= */
.story { background: radial-gradient(70% 90% at 50% 0%, #1d3a35 0%, var(--noir) 70%); }
.story h2 { font-size: clamp(40px, 5vw, 76px) !important; }
.men { background: linear-gradient(120deg, var(--noir) 0%, #1a2f2b 100%); }

/* ======================= reviews ======================= */
.brev__card { border: 0; box-shadow: 0 30px 60px -44px rgba(14, 29, 26, 0.5); padding: 30px 28px 24px; }
.brev__card blockquote { font-size: clamp(20px, 1.8vw, 24px); }

/* ======================= product page: editorial stack on large screens ======================= */
@media (min-width: 1000px) {
  .pdp { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
  .gal { position: static; display: block; }
  .gal__thumbs, .gal__nav, .gal__count, .gal__zoom { display: none !important; }
  .gal__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible; aspect-ratio: auto; background: none; scroll-snap-type: none; }
  .gal__slide { aspect-ratio: 4 / 5; height: auto; }
  .gal__slide:first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
  .gal__slide:only-child { grid-column: 1 / -1; }
  .pdp__info { position: sticky; top: calc(var(--head-h) + 24px); }
}
.pdp__title { color: var(--teal); }

/* ======================= footer: a closing statement ======================= */
.foot { background: var(--noir); }
.foot__statement { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(44px, 5vw, 72px) clamp(32px, 4vw, 52px); border-bottom: 1px solid rgba(232, 213, 168, 0.14); margin-bottom: clamp(32px, 4vw, 48px); }
.foot__big { margin: 0; font: 400 clamp(40px, 5.6vw, 92px)/0.98 var(--display); color: #f3eee4; letter-spacing: -0.01em; }
.foot__big em { color: var(--gold-bright); font-style: italic; }
@media (max-width: 760px) { .foot__statement { padding-top: 48px; } }

/* ======================= reduced motion ======================= */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll span { animation: none; }
  .cat, .cat__media img, .pc__btn { transition: none !important; }
}

/* blurred backdrop behind a whole, sharp hero photo */
.hero__slide--studio .hero__blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(34px) brightness(0.45) saturate(1.1); padding: 0 !important; }

/* phones: a scene photo is sharp at this size, so it fills the screen again */
@media (max-width: 760px) {
  .hero__slide--small .hero__media img.fit-c { object-fit: cover !important; padding: 0 !important; }
  .hero__slide--small .hero__blur { display: none; }
}

/* ======================= v2 (owner feedback 4 Dec): brighter, calmer type, arches back ======================= */
/* menu never breaks onto two lines */
.nav a { white-space: nowrap; }
@media (max-width: 1360px) { .nav a { letter-spacing: 0.12em; padding-inline: 10px; } }

/* hero: warm teal with a gold glow instead of near-black */
.hero { background: radial-gradient(75% 95% at 74% 52%, #2c4c45 0%, #17302b 48%, #0d1c19 100%); }
.hero__slide::after {
  background:
    linear-gradient(90deg, rgba(10, 24, 21, 0.74) 0%, rgba(10, 24, 21, 0.42) 30%, rgba(10, 24, 21, 0.05) 58%, transparent 72%),
    linear-gradient(0deg, rgba(10, 24, 21, 0.5) 0%, transparent 34%);
}
/* black-background studio shots melt into the teal: black pixels take the glow behind them */
.hero__slide--studio:not(.hero__slide--small) .hero__media {
  background: radial-gradient(38% 58% at 72% 52%, rgba(214, 178, 108, 0.32) 0%, rgba(214, 178, 108, 0.08) 45%, transparent 72%);
}
.hero__slide--studio:not(.hero__slide--small) .hero__media img { mix-blend-mode: lighten; filter: brightness(1.1) contrast(1.04) saturate(1.06); }
.hero__slide--small .hero__blur { filter: blur(34px) brightness(0.72) saturate(1.15) !important; }
/* calmer headline that never runs into the photograph */
.hero__title { font-size: clamp(44px, 5.2vw, 92px) !important; line-height: 0.98 !important; }
.hero__copy { width: min(600px, 44vw); }
@media (max-width: 760px) {
  .hero__copy { width: auto; }
  .hero__title { font-size: clamp(40px, 11vw, 54px) !important; }
  .hero__slide--studio:not(.hero__slide--small) .hero__media { background: radial-gradient(60% 40% at 50% 34%, rgba(214, 178, 108, 0.32), transparent 72%); }
}

/* gold light sweeps across the photograph as each slide arrives */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 190, 0.22) 50%, transparent 65%);
  transform: translateX(-110%); opacity: 0;
}
.js .hero__slide.is-on .hero__media::before { animation: hero-sweep 1.8s var(--ease-out, ease) 0.35s both; }
@keyframes hero-sweep { 0% { transform: translateX(-110%); opacity: 1; } 100% { transform: translateX(110%); opacity: 0; } }

/* the photograph drifts a little with the mouse (desktop) */
.hero__media { transition: transform 900ms var(--ease-out, ease); transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1.03); }

/* section headings rise word by word */
.js .shead__title .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .shead__title .sw > span { display: inline-block; transform: translateY(105%); transition: transform 900ms var(--ease-out, ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .shead.is-in .shead__title .sw > span { transform: none; }

/* footer statement rises into view */
.js .foot__big { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease-out, ease), transform 1.1s var(--ease-out, ease); }
.js .foot__big.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__media { transform: none !important; transition: none !important; }
  .js .hero__slide.is-on .hero__media::before { animation: none; }
  .js .shead__title .sw > span, .js .foot__big { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* giant faint word behind the piece (inspired by 21st.dev "Sneaker Product Page Hero", rebuilt in our style) */
.hero__mark {
  position: absolute; z-index: 0; right: 4vw; top: 50%; transform: translateY(-50%);
  font: italic 500 clamp(120px, 17vw, 300px)/0.8 var(--display); letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 178, 108, 0.32); white-space: nowrap; pointer-events: none;
}
.js .hero__slide .hero__mark { opacity: 0; transform: translate(40px, -50%); }
.js .hero__slide.is-on .hero__mark { animation: mark-in 1.6s var(--ease-out, ease) 0.2s both; }
@keyframes mark-in { to { opacity: 1; transform: translate(0, -50%); } }
.hero__media { z-index: 1; }
/* the piece floats, slowly */
.js .hero__slide--studio.is-on .hero__media img.fit-c { animation: hero-zoom 7s var(--ease-soft, ease) both, piece-float 7s ease-in-out 1.2s infinite; }
@keyframes piece-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (max-width: 760px) {
  .hero__mark { right: auto; left: 50%; top: 30%; font-size: 30vw; transform: translate(-50%, -50%); }
  .js .hero__slide .hero__mark { transform: translate(-50%, -50%); }
  @keyframes mark-in { to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero__slide .hero__mark { opacity: 1; animation: none !important; }
  .js .hero__slide--studio.is-on .hero__media img.fit-c { animation: none !important; }
}

/* studio pieces sit in an arch window with a gold outline (SUTRA's arch, as in the categories) */
.hero__slide--studio:not(.hero__slide--small) .hero__media img.fit-c {
  inset: auto; left: auto; right: clamp(40px, 9vw, 160px); top: 50%; width: min(36vw, 540px); height: auto; aspect-ratio: 4 / 5;
  margin-top: calc(min(36vw, 540px) * -0.625); object-fit: cover !important; object-position: center; padding: 0 !important;
  border-radius: 999px 999px 0 0; mix-blend-mode: normal; filter: brightness(1.12) contrast(1.05) saturate(1.06);
  outline: 1px solid rgba(214, 178, 108, 0.55); outline-offset: 12px;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.75), 0 0 140px -30px rgba(214, 178, 108, 0.45);
}
.hero__slide--studio:not(.hero__slide--small) .hero__mark { right: auto; left: 52%; }
@media (max-width: 760px) {
  .hero__slide--studio:not(.hero__slide--small) .hero__media img.fit-c {
    right: auto; left: 50%; top: 13%; width: 58vw; margin-top: 0; margin-left: -29vw; outline-offset: 8px;
  }
  .hero__slide--studio:not(.hero__slide--small) .hero__mark { left: 50%; top: 32%; }
}
