﻿/* SZAn Studio homepage. Pearl ground, aubergine ink, copper thread. */
:root {
  --pearl: #fef6ec;
  --pearl-2: #f8ebdc;
  --ink: #4a1245;
  --ink-2: #2f0a2c;
  --ink-soft: rgba(74, 18, 69, 0.78);
  --line: rgba(74, 18, 69, 0.16);
  --copper: #b8501f;
  --copper-2: #cf5f27;
  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1320px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; }
em { font-style: italic; color: var(--copper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: 0.002em; }
h2 { font-size: clamp(36px, 5vw, 64px); }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--copper); font-weight: 500; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 15px 30px; font: 500 12.5px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid transparent; border-radius: 2px; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--ink); color: #fff; } .btn-solid::before { background: var(--copper); }
.btn-copper { background: var(--copper); color: #fff; } .btn-copper::before { background: var(--ink-2); }
.btn-light { background: var(--pearl); color: var(--ink); } .btn-light::before { background: var(--copper); } .btn-light:hover { color: #fff; }
.btn-light-outline { border-color: rgba(254,246,236,.6); color: var(--pearl); } .btn-light-outline::before { background: var(--pearl); } .btn-light-outline:hover { color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); } .btn-ghost::before { background: var(--ink); } .btn-ghost:hover { color: #fff; }
.link-arrow { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; padding-bottom: 6px; background: linear-gradient(var(--copper), var(--copper)) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--copper); background-size: 40% 1px; }

/* ---------- announcement + header ---------- */
.announce { background: var(--ink); color: var(--pearl); text-align: center; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; padding: 9px var(--gutter); }
.announce em { color: #f0b184; }

.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color .3s, transform .5s var(--ease), box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(254, 246, 236, 0.88); backdrop-filter: saturate(1.4) blur(14px); }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(74, 18, 69, 0.06); }
.site-header.hide { transform: translateY(-100%); }
.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; height: 84px; transition: height .4s var(--ease); }
.scrolled .bar { height: 68px; }
.brand img { width: 128px; transition: width .4s var(--ease); }
.scrolled .brand img { width: 104px; }
.nav { display: flex; align-items: center; gap: 22px; grid-column: 2; grid-row: 1; justify-self: center; }
.brand { grid-column: 1; grid-row: 1; }
.actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; gap: 4px; }
.nav ul { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav ul a { white-space: nowrap; position: relative; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; padding-block: 8px; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav ul a:hover::after, .nav ul a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { display: none; }
.icon-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(74, 18, 69, 0.08); }
.icon-btn svg, .social svg, .fab svg, .close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.count { position: absolute; top: 5px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--copper); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
.menu-btn { display: none; }

.search { border-top: 1px solid var(--line); background: var(--pearl); }
.search .wrap { display: flex; gap: 10px; padding-block: 14px; }
.search input { flex: 1; padding: 13px 16px; background: #fff8ef; border: 1px solid var(--line); border-radius: 2px; }
.search:not([hidden]) { animation: drop .45s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88svh, 860px); display: grid; align-items: end; color: var(--pearl); overflow: clip; isolation: isolate; }
.hero-media { position: absolute; inset: -4% 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.12); filter: blur(8px); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(47,10,44,.25), rgba(47,10,44,.1) 40%, rgba(47,10,44,.7)), linear-gradient(90deg, rgba(47,10,44,.55), transparent 65%); }
.hero-inner { padding-block: clamp(80px, 14svh, 150px) clamp(60px, 9svh, 110px); display: grid; gap: clamp(14px, 2.4svh, 24px); justify-items: start; }
.hero .eyebrow { color: #f3c19d; }
.hero h1 { font-size: clamp(54px, 9.5vw, 148px); font-weight: 400; line-height: .92; }
.hero h1 em { color: #f3a877; }
.lede { max-width: 52ch; font-size: clamp(16px, 1.5vw, 19px); color: rgba(254, 246, 236, .88); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 34px; width: 1px; height: 64px; background: rgba(254,246,236,.3); overflow: hidden; }
.scroll-cue span { position: absolute; inset: 0; background: var(--pearl); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 60%, 100% { transform: translateY(100%); } }

@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { opacity: 0; transform: translateY(34px); animation: heroIn 1.3s var(--ease) var(--d, 0s) both; animation-timeline: auto; animation-range: normal; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
}

/* ---------- strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--pearl-2); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 26px 18px; text-align: center; display: grid; gap: 2px; }
.strip li + li { border-left: 1px solid var(--line); }
.strip b { font-family: var(--display); font-weight: 500; font-size: 22px; }
.strip span { font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- sections ---------- */
.section { padding-block: clamp(20px, 10vw, 40px); }
.section-head { display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p:not(.eyebrow) { color: var(--ink-soft); max-width: 52ch; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; text-align: left; flex-wrap: wrap; gap: 16px; }
.section-head.split > div { display: grid; gap: 14px; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: #fff; border-radius: 2px; }
.cat img, .occ-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover img, .occ-card:hover img { transform: scale(1.06); }
.cat::after, .occ-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(30,6,28,.78)); }
.cat-label { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 32px); display: grid; gap: 4px; }
.cat-label small { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.cat-label strong { font: 400 clamp(38px, 4.6vw, 64px)/1 var(--display); }
.cat-label i { font-style: normal; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-top: 8px; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.cat:hover .cat-label i, .cat:focus-visible .cat-label i { opacity: 1; transform: none; }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); color: var(--pearl); padding-block: 18px; }
.track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.track span { font: italic 400 clamp(26px, 3vw, 40px)/1 var(--display); padding-inline: 34px; position: relative; white-space: nowrap; }
.track span::after { content: "✦"; position: absolute; right: -6px; top: 50%; translate: 0 -50%; font: 12px/1 var(--sans); color: var(--copper-2); }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .track { animation-play-state: paused; }

/* products */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3vw, 44px) clamp(12px, 1.6vw, 24px); }
.card a { display: grid; gap: 4px; }
.ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--pearl-2); margin-bottom: 12px; border-radius: 2px; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .ph img { transform: scale(1.07); }
.ph::after { content: "Quick view"; position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px; text-align: center; background: rgba(254,246,236,.94); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; transform: translateY(130%); transition: transform .5s var(--ease); }
.card:hover .ph::after, .card a:focus-visible .ph::after { transform: none; }
.tag { position: absolute; z-index: 1; top: 12px; left: 12px; background: var(--pearl); color: var(--ink); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; padding: 5px 10px; }
.card h3 { font-size: 24px; line-height: 1.1; }
.meta { font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }
.price { font-weight: 500; }

/* story */
.story { background: var(--ink); color: var(--pearl); padding-block: clamp(70px, 10vw, 140px); }
.story-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.story-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { display: grid; gap: 22px; justify-items: start; }
.story-copy .eyebrow { color: #f3b88f; }
.story-copy h2 { font-size: clamp(42px, 6vw, 84px); }
.story-copy em { color: #f3a877; }
.story-copy > p { color: rgba(254,246,236,.82); max-width: 54ch; }
.steps { display: grid; gap: 0; width: 100%; border-top: 1px solid rgba(254,246,236,.18); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding-block: 20px; border-bottom: 1px solid rgba(254,246,236,.18); }
.steps span { font: italic 400 30px/1 var(--display); color: #f3a877; }
.steps h3 { font-size: 26px; margin-bottom: 4px; }
.steps p { color: rgba(254,246,236,.74); font-size: 15px; }
.story .btn-solid { background: var(--pearl); color: var(--ink); } .story .btn-solid:hover { color: #fff; }

/* occasions */
.occ { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.occ-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; border-radius: 2px; }
.occ-card span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 2px; }
.occ-card strong { font: 400 clamp(26px, 2.6vw, 36px)/1.05 var(--display); }
.occ-card small { font-size: 13px; opacity: .88; }

/* fabrics */
.fabrics { background: var(--pearl-2); }
.fab-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.fab-row a { display: grid; gap: 12px; text-align: center; }
.fab-row img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 50%; transition: transform .8s var(--ease), box-shadow .5s; box-shadow: 0 0 0 1px var(--line); }
.fab-row a:hover img { transform: scale(1.05) rotate(-3deg); box-shadow: 0 18px 40px rgba(74,18,69,.2); }
.fab-row span { font: 400 24px/1 var(--display); }

/* banner */
.banner { position: relative; background: linear-gradient(100deg, rgba(47,10,44,.94), rgba(74,18,69,.82)), url("../img/hero-silk.webp") center / cover; color: var(--pearl); text-align: center; padding-block: clamp(70px, 10vw, 130px); }
.banner .wrap { display: grid; gap: 18px; justify-items: center; }
.banner .eyebrow { color: #f3b88f; } .banner em { color: #f3a877; }
.banner p:not(.eyebrow) { max-width: 50ch; color: rgba(254,246,236,.84); }
.banner .cta { justify-content: center; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq-grid .section-head { justify-items: start; text-align: left; margin: 0; position: sticky; top: 120px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 400 clamp(22px, 2.2vw, 28px)/1.15 var(--display); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 300 20px/1 var(--sans); color: var(--copper); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--copper); color: #fff; border-color: var(--copper); }
.faq details p { padding: 0 52px 26px 0; color: var(--ink-soft); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* newsletter */
.news { background: var(--pearl-2); border-top: 1px solid var(--line); padding-block: clamp(60px, 8vw, 110px); text-align: center; }
.news .wrap { display: grid; gap: 14px; justify-items: center; }
.news p { color: var(--ink-soft); }
.news-form { display: flex; flex-wrap: wrap; gap: 10px; width: min(560px, 100%); margin-top: 10px; }
.news-form input { flex: 1 1 240px; padding: 15px 18px; background: #fff8ef; border: 1px solid var(--line); border-radius: 2px; transition: border-color .3s; }
.news-form input:hover, .news-form input:focus { border-color: var(--ink-soft); }
.form-note { width: 100%; min-height: 1.6em; font-size: 14px; color: var(--copper); }
.form-note.error { color: #9b2c2c; }

/* footer */
.footer { background: var(--ink-2); color: rgba(254,246,236,.82); padding-top: clamp(56px, 7vw, 96px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(26px, 4vw, 60px); }
.foot-brand { display: grid; gap: 18px; align-content: start; }
.foot-brand img { width: 170px; background: var(--pearl); padding: 10px 14px; border-radius: 2px; }
.foot-brand p { font: italic 400 26px/1.15 var(--display); color: var(--pearl); }
.footer h2 { font: 500 12px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #f3b88f; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a, .linkbtn { font-size: 15px; transition: color .25s; }
.footer a:hover, .linkbtn:hover { color: #f3a877; }
.linkbtn { color: inherit; text-align: left; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(254,246,236,.28); border-radius: 50%; transition: background .3s, transform .4s var(--ease), border-color .3s; }
.social a:hover { background: var(--copper); border-color: var(--copper); color: #fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.seo-text { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(254,246,236,.14); font-size: 13.5px; color: rgba(254,246,236,.62); }
.seo-text a { text-decoration: underline; text-underline-offset: 3px; }
.legal { padding-right: 90px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 26px; font-size: 13px; color: rgba(254,246,236,.55); }
.legal ul { display: flex; gap: 20px; } .legal li + li { margin: 0; } .legal a { font-size: 13px; }

/* ---------- floating contact ---------- */
.fab { position: fixed; z-index: 40; right: clamp(14px, 2vw, 28px); bottom: calc(clamp(14px, 2vw, 28px) + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 17px; background: var(--copper); color: #fff; border-radius: 99px; box-shadow: 0 12px 34px rgba(74,18,69,.32); transition: gap .45s var(--ease), padding .45s var(--ease), background .3s, transform .4s var(--ease); }
.fab span { max-width: 0; overflow: hidden; white-space: nowrap; font: 500 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: max-width .5s var(--ease); }
.fab:hover, .fab:focus-visible { gap: 10px; padding-inline: 20px 24px; background: var(--ink); }
.fab:hover span, .fab:focus-visible span { max-width: 110px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(207,95,39,.5); animation: ring 3.2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(207,95,39,.5); } 70%, 100% { box-shadow: 0 0 0 18px rgba(207,95,39,0); } }
body:has(dialog[open]) .fab { opacity: 0; pointer-events: none; }
body:has(dialog[open]) .track, body:has(dialog[open]) .fab::before { animation-play-state: paused; }

/* ---------- contact dialog: soft rise, blur and staggered fields ---------- */
.contact { width: min(920px, calc(100% - 28px)); max-height: min(640px, calc(100svh - 28px)); padding: 0; border: 0; border-radius: 4px; background: var(--pearl); color: var(--ink); overflow: hidden; box-shadow: 0 40px 120px rgba(30, 6, 28, .5);
  opacity: 0; transform: translateY(40px) scale(.96); filter: blur(10px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease), overlay .7s allow-discrete, display .7s allow-discrete; }
.contact[open] { opacity: 1; transform: none; filter: none; }
@starting-style { .contact[open] { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(10px); } }
.contact::backdrop { background: rgba(30, 6, 28, 0); backdrop-filter: blur(0); transition: background .6s var(--ease), backdrop-filter .6s var(--ease), overlay .7s allow-discrete, display .7s allow-discrete; }
.contact[open]::backdrop { background: rgba(30, 6, 28, .6); backdrop-filter: blur(6px); }
@starting-style { .contact[open]::backdrop { background: rgba(30, 6, 28, 0); backdrop-filter: blur(0); } }

.contact-grid { display: grid; grid-template-columns: 5fr 6fr; min-height: 520px; }
.contact-side { position: relative; color: var(--pearl); display: grid; align-items: end; overflow: hidden; }
.contact-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.contact[open] .contact-side img { transform: scale(1); }
@starting-style { .contact[open] .contact-side img { transform: scale(1.15); } }
.contact-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,10,44,.1), rgba(47,10,44,.82)); }
.contact-side-copy { position: relative; z-index: 1; padding: 32px; display: grid; gap: 12px; }
.contact-side .eyebrow { color: #f3b88f; }
.contact-side h2 { font-size: clamp(36px, 4vw, 52px); } .contact-side em { color: #f3a877; }
.contact-side p:not(.eyebrow) { color: rgba(254,246,236,.84); font-size: 15px; }
.contact-alt { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 6px; }
.contact-alt a { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; padding-bottom: 3px; border-bottom: 1px solid rgba(254,246,236,.5); transition: border-color .3s, color .3s; }
.contact-alt a:hover { color: #f3a877; border-color: #f3a877; }

.contact-form { position: relative; padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: center; overflow: auto; }
.close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: transform .5s var(--ease), background .3s; }
.close:hover { background: rgba(74,18,69,.08); transform: rotate(90deg); }
.field { display: grid; gap: 6px; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.contact[open] .field { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 70ms); }
@starting-style { .contact[open] .field { opacity: 0; transform: translateY(18px); } }
.field label { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; resize: vertical; transition: border-color .3s, box-shadow .4s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--copper); box-shadow: 0 1px 0 var(--copper); }
.field .btn { justify-self: start; margin-top: 6px; }
.contact-form .form-note { opacity: 1; }
.contact-form.sent .field { opacity: 0; transform: translateY(-14px); transition-delay: 0s; pointer-events: none; }
.sent-msg { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 40px; text-align: center; opacity: 0; transform: scale(.96); transition: opacity .7s var(--ease) .2s, transform .8s var(--ease) .2s; pointer-events: none; }
.sent-msg h3 { font-size: 44px; } .sent-msg p { color: var(--ink-soft); }
.contact-form.sent .sent-msg { opacity: 1; transform: none; }

/* ---------- scroll reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .reveal { opacity: 1; transform: none; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { opacity: 0; transform: translateY(34px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .track, .scroll-cue span, .fab::before, .hero-media img { animation: none; }
  html { scroll-behavior: auto; }
  .contact, .contact::backdrop, .field, .contact-side img { transition: none; }
}

/* ---------- cross-page transitions ---------- */
@view-transition { navigation: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: grid; }
  .bar { grid-template-columns: 1fr auto 1fr; }
  .menu-btn { grid-column: 1; grid-row: 1; justify-self: start; }
  .brand { grid-column: 2; }
  .nav { justify-self: auto; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); height: 100svh; z-index: 60; background: var(--pearl); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px; padding: 96px 32px 32px; transform: translateX(105%); transition: transform .6s var(--ease); box-shadow: -30px 0 80px rgba(30,6,28,.2); visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font: 400 34px/1 var(--display); letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--line); }
  .nav ul a::after { display: none; }
  .nav-contact { display: inline-flex; }
  body.menu-open::before { content: ""; position: fixed; inset: 0; z-index: 45; background: rgba(30,6,28,.5); backdrop-filter: blur(4px); animation: fade .4s; }
  @keyframes fade { from { opacity: 0; } }
  body.menu-open { overflow: hidden; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .occ { grid-template-columns: repeat(2, 1fr); }
  .fab-row { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats { grid-template-columns: 1fr; }
  .cat { aspect-ratio: 4 / 3; }
  .story-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .story-media { aspect-ratio: 4 / 3; }
  .contact { max-height: calc(100svh - 20px); }
  .contact-grid { grid-template-columns: 1fr; min-height: 0; overflow: auto; max-height: calc(100svh - 20px); }
  .contact-side { min-height: 150px; }
  .contact-side-copy p:not(.eyebrow), .contact-alt { display: none; }
  .contact-side-copy { padding: 22px; }
  .hero h1 { font-size: clamp(50px, 15vw, 90px); }
  .announce { letter-spacing: .12em; font-size: 11px; }
  .announce em { display: none; }
}
@media (max-width: 480px) {
  .brand img { width: 108px; }
  .card h3 { font-size: 20px; }
  .ph::after { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* one category only (women): a wide banner tile instead of a lone third-width card */
.cats:has(> .cat:only-child) { grid-template-columns: 1fr; }
.cats > .cat:only-child { aspect-ratio: 21 / 9; }
@media (max-width: 720px) { .cats > .cat:only-child { aspect-ratio: 4 / 3; } }

/* currency picker in the header (shown once exchange rates have loaded) */
.cur-select { font: 500 12px/1 var(--body, inherit); letter-spacing: .08em; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 99px; padding: 7px 10px; cursor: pointer; opacity: .85; max-width: 108px; }
.cur-select:hover, .cur-select:focus-visible { opacity: 1; }
.cur-select option { color: #4a1245; background: #fef6ec; }
@media (max-width: 520px) { .cur-select { padding: 6px 6px; max-width: 84px; font-size: 11px; } }

/* sale: ribbon, crossed-out original price, discount */
.tag.sale { background: #b8501f; color: #fff; }
.price .was, .pdp-price .was { font-weight: 400; opacity: .55; text-decoration: line-through; margin-right: .35em; }
.price .off, .pdp-price .off { color: #b8501f; font-size: .72em; letter-spacing: .06em; margin-left: .35em; }
.pdp-price .was { font-size: .62em; }
