/* Refleurished — one world: a florist's studio at dusk.
   Moss ground, ivory type, dusty rose for emphasis, brass for hairlines. */
:root {
  --moss-950: #191b16;
  --moss-900: #1f221b;
  --moss-800: #282c23;
  --moss-700: #343a2d;
  --moss-500: #59614c;
  --moss-400: #6f785f;
  --ivory: #eeeae3;
  --ivory-soft: #cfc8bb;
  --ivory-mute: #a8a293;
  --rose: #d2a9a1;
  --rose-deep: #b8857c;
  --brass: #b9996a;
  --line: rgba(241, 235, 225, 0.16);
  --line-strong: rgba(241, 235, 225, 0.32);
  --error: #e6a59b;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Hanken Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --logo: "Jost", "Futura", "Avenir Next", "Century Gothic", sans-serif;

  --step-xs: 0.8125rem;
  --step-sm: 1rem;
  --step-base: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-h3: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-h2: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  --step-h1: clamp(3rem, 1.8rem + 5.2vw, 6rem);

  --gutter: max(20px, 4vw);
  --section: clamp(96px, 12vw, 176px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--moss-500) var(--moss-950); }
body {
  margin: 0;
  background: var(--moss-900);
  color: var(--ivory);
  font: 400 var(--step-base)/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--rose); color: var(--moss-950); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
p, h1, h2, h3, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 50; background: var(--ivory); color: var(--moss-950); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 16px; }

.wrap { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.measure { max-width: 34em; }

/* Type */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.98; text-wrap: balance; font-optical-sizing: auto; }
.display em { font-style: normal; color: inherit; }
.h2 { font-size: var(--step-h2); }
.h3 { font-family: var(--display); font-weight: 400; font-size: var(--step-h3); line-height: 1.1; letter-spacing: -0.01em; }
.lead { font-size: var(--step-lead); line-height: 1.45; color: var(--ivory); max-width: 36em; }
.small { font-size: var(--step-sm); }
.mute { color: var(--ivory-mute); }
.caps { font-size: var(--step-xs); letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 0;
  font: 500 var(--step-sm)/1 var(--text); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--ivory); color: var(--moss-950); }
.btn-line { background: var(--moss-700); color: var(--ivory); }
.btn .arrow { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-solid:hover { background: var(--rose); }
  .btn-line:hover { background: var(--moss-500); }
  .btn:hover .arrow { transform: translateX(4px); }
}
.textlink { text-decoration: underline; text-decoration-color: var(--line-strong); transition: text-decoration-color 220ms ease, color 220ms ease; }
@media (hover: hover) and (pointer: fine) { .textlink:hover { text-decoration-color: var(--rose); color: var(--rose); } }

/* Header */
.site-head {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: calc(22px + env(safe-area-inset-top, 0px)); padding-bottom: 22px;
}
.site-head.solid { position: relative; background: var(--moss-950); }
.wordmark, .foot-word { font-family: var(--logo); font-weight: 400; font-style: normal; letter-spacing: -0.01em; line-height: 1; display: inline-flex; align-items: baseline; white-space: nowrap; }
.wordmark { font-size: 1.75rem; text-decoration: none; padding: 8px 0; }
.mark { width: 0.42em; height: 0.84em; margin: 0 0.04em 0 0.02em; overflow: visible; flex: none; }
.nav { display: flex; align-items: center; gap: 32px; font-size: var(--step-sm); }
.nav a { text-decoration: none; padding: 6px 0; transition: color 220ms ease; }
.nav a[aria-current="page"] { color: var(--rose); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--rose); } .nav .nav-cta:hover { color: var(--ivory); background: var(--moss-500); } }
.nav .nav-cta { background: var(--moss-700); padding: 10px 18px; white-space: nowrap; transition: background-color 220ms ease; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 20px; } .wordmark { font-size: 1.5rem; } }
@media (max-width: 480px) { .nav .hide-xs { display: none; } .nav .nav-cta { padding: 10px 14px; } }

/* Hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; background: var(--moss-950); isolation: isolate; }
.hero-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; /* taste-skill-ignore: neutral scrim over the film */ background:
  linear-gradient(180deg, rgba(25,27,22,0.55) 0%, rgba(25,27,22,0) 28%), /* taste-skill-ignore */
  linear-gradient(0deg, rgba(25,27,22,0.92) 0%, rgba(25,27,22,0.55) 34%, rgba(25,27,22,0) 66%); } /* taste-skill-ignore */
.hero-copy { width: 100%; padding-bottom: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 32px 6vw; align-items: end; }
.hero h1 { font-size: var(--step-h1); }
.hero h1 span { display: block; }
.hero-side { display: grid; gap: 28px; padding-bottom: 8px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.film-toggle {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: calc(96px + env(safe-area-inset-top, 0px));
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(25,27,22,0.62);
  color: var(--ivory); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 220ms ease;
}
.film-toggle:active { transform: scale(0.94); }
.film-toggle svg { width: 12px; height: 12px; }
@media (max-width: 860px) {
  .hero { min-height: 100svh; }
  .hero::before { background: linear-gradient(180deg, rgba(25,27,22,0.6) 0%, rgba(25,27,22,0) 22%), linear-gradient(0deg, rgba(25,27,22,0.94) 0%, rgba(25,27,22,0.72) 48%, rgba(25,27,22,0.15) 78%); } /* taste-skill-ignore: neutral scrim over the film */
  .hero-copy { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 220px; }
}
@media (max-width: 480px) { .hero h1 { font-size: 2.75rem; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 span, .js .hero-side > * { animation: rise 1000ms var(--ease-out) both; }
  .js .hero h1 span:nth-child(2) { animation-delay: 120ms; }
  .js .hero-side > *:nth-child(1) { animation-delay: 260ms; }
  .js .hero-side > *:nth-child(2) { animation-delay: 340ms; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .page-head > *, .js .pdp-title, .js .pdp-media figure, .js .pdp-info > .lead, .js .pdp-info > .price { animation: rise 900ms var(--ease-out) both; }
  .js .page-head > *:nth-child(2), .js .pdp-info > .lead { animation-delay: 120ms; }
  .js .pdp-info > .price { animation-delay: 200ms; }
  .js .card.reveal { transition: transform 900ms var(--ease-out), opacity 900ms var(--ease-out); transform: translateY(24px); opacity: 0.4; }
  .js .card.reveal.in { transform: none; opacity: 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Section scaffolding */
.section { padding-top: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 6vw; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* One night: the timeline */
.night { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.night li { display: grid; gap: 18px; align-content: start; }
.night figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss-800); }
.night img { width: 100%; height: 100%; object-fit: cover; }
.night li:nth-child(even) { margin-top: 72px; }
.night .time { font-family: var(--display); font-size: var(--step-lead); font-style: italic; color: var(--rose); }
.night .time + p { margin-top: 6px; color: var(--ivory); font-size: var(--step-sm); max-width: 26ch; }
@media (max-width: 900px) {
  .night { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .night li:nth-child(even) { margin-top: 48px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .reveal figure { clip-path: inset(10% 0 0 0); transition: clip-path 1200ms var(--ease-out); }
  .js .reveal figure img { transform: scale(1.06); transition: transform 1400ms var(--ease-out); }
  .js .reveal.in figure { clip-path: inset(0 0 0 0); }
  .js .reveal.in figure img { transform: none; }
}

/* Studio band */
.studio { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); background: var(--moss-800); }
.studio figure { min-height: 560px; overflow: hidden; }
.studio figure img { width: 100%; height: 100%; object-fit: cover; }
.studio-text { padding: clamp(48px, 6vw, 96px) max(var(--gutter), env(safe-area-inset-right, 0px)) clamp(48px, 6vw, 96px) clamp(32px, 5vw, 80px); display: grid; gap: 32px; align-content: center; }
.steps { display: grid; gap: 4px; }
.steps li { display: grid; gap: 4px; padding: 18px 22px; background: var(--moss-700); }
.steps b { font-weight: 500; }
.steps span { color: var(--ivory); font-size: var(--step-sm); }
@media (max-width: 900px) { .studio { grid-template-columns: minmax(0, 1fr); } .studio figure { min-height: 0; aspect-ratio: 4 / 3; } .studio-text { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); } }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 20px; }
.card { grid-column: span 4; display: grid; gap: 18px; text-decoration: none; align-content: start; }
.card.feature { grid-column: span 6; }
.card figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss-800); position: relative; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card-name { font-family: var(--display); font-size: var(--step-h3); line-height: 1.15; }
.card-kind { color: var(--ivory-mute); font-size: var(--step-sm); margin-top: 4px; }
.card-price { font-size: var(--step-base); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .card:hover img { transform: scale(1.035); }
  .card:hover .card-name { color: var(--rose); }
}
.card-name { transition: color 220ms ease; }
@media (max-width: 900px) { .card, .card.feature { grid-column: span 6; } }
@media (max-width: 560px) { .products { gap: 40px 14px; } .card, .card.feature { grid-column: span 12; } }

/* Events */
.events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 6vw; align-items: start; }
.events-list { display: grid; gap: 22px; margin-top: 36px; }
.events-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; color: var(--ivory); }
.events-list li::before { content: ""; width: 7px; height: 7px; margin-top: 0.68em; background: var(--rose); transform: rotate(45deg); }
.events-list b { color: var(--ivory); font-weight: 500; }
@media (max-width: 900px) { .events { grid-template-columns: minmax(0, 1fr); } }

/* Forms */
.panel { background: var(--moss-800); padding: clamp(28px, 4vw, 48px); }
.form { display: grid; gap: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: var(--step-sm); font-weight: 500; }
.hint { color: var(--ivory-mute); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; font: inherit; font-size: var(--step-base); color: var(--ivory);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0 12px;
  transition: border-color 220ms ease;
}
.field textarea { min-height: 88px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23cfc8bb' stroke-width='1.5'/%3E%3C/svg%3E"); background-position: right 2px center; background-size: 12px 8px; background-repeat: no-repeat; padding-right: 24px; }
.field select option { background: var(--moss-800); color: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-mute); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--rose); padding-bottom: 11px; }
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.err { color: var(--error); font-size: var(--step-sm); }
.err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step-sm); color: var(--ivory-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--rose); flex: none; }
.form-note { font-size: var(--step-xs); color: var(--ivory-mute); }
.thanks { display: grid; gap: 14px; }
.thanks:focus { outline: none; }

/* Footer */
.foot { margin-top: var(--section); background: var(--moss-950); padding-top: 72px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; font-size: var(--step-sm); color: var(--ivory-soft); }
.foot-grid h2 { font: 500 var(--step-sm)/1.4 var(--text); color: var(--ivory); margin-bottom: 12px; }
.foot-grid li + li { margin-top: 8px; }
.foot-grid a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-grid a:hover { color: var(--rose); } }
.foot-word { display: flex; font-size: clamp(3rem, 14.5vw, 15rem); letter-spacing: -0.025em; color: var(--moss-400); margin-top: 72px; user-select: none; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; font-size: var(--step-xs); color: var(--ivory-mute); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Shop page */
.page-head { padding-top: clamp(64px, 8vw, 120px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 6vw; align-items: end; }
.page-head h1 { font-size: var(--step-h1); }
@media (max-width: 860px) { .page-head { grid-template-columns: minmax(0, 1fr); } }
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--moss-800); }
.band figure { min-height: 480px; }
.band figure img { width: 100%; height: 100%; object-fit: cover; }
.band-text { padding: clamp(40px, 6vw, 88px); display: grid; gap: 24px; align-content: center; }
@media (max-width: 860px) { .band { grid-template-columns: minmax(0, 1fr); } .band figure { min-height: 0; aspect-ratio: 4 / 3; } .band-text { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); } }

.shop-banner { margin-top: clamp(48px, 6vw, 88px); }
.shop-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 55%; background: var(--moss-800); }
@media (max-width: 860px) { .shop-banner img { aspect-ratio: 4 / 3; } }
.lookbook { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lookbook figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss-800); }
.lookbook img { width: 100%; height: 100%; object-fit: cover; }
.lookbook li:nth-child(3n+2) { margin-top: 72px; }
@media (max-width: 860px) { .lookbook { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .lookbook li:nth-child(3n+2) { margin-top: 0; } .lookbook li:nth-child(even) { margin-top: 40px; } }

/* Product page */
.crumbs { padding-top: 28px; font-size: var(--step-sm); color: var(--ivory-mute); }
.crumbs a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ivory); } }
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px 6vw; padding-top: 32px; align-items: start; }
.pdp-media { position: sticky; top: 24px; display: grid; gap: 14px; }
.pdp-media figure { aspect-ratio: 4 / 5; overflow: hidden; background: var(--moss-800); }
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 32px; padding-bottom: 24px; }
.pdp-title h1 { font-size: var(--step-h2); }
.pdp-title p { margin-top: 12px; color: var(--ivory-mute); }
.price { font-family: var(--display); font-size: var(--step-h3); }
.provenance { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 20px 22px; background: var(--moss-800); color: var(--ivory); font-size: var(--step-sm); }
.provenance svg { width: 28px; height: 28px; color: var(--brass); }
.sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.sizes legend { font-size: var(--step-sm); font-weight: 500; margin-bottom: 10px; padding: 0; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size label { display: grid; gap: 2px; padding: 14px 12px; background: var(--moss-700); cursor: pointer; text-align: center; transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease; }
.size label small { color: var(--ivory-mute); font-size: var(--step-xs); }
.size input:checked + label { background: var(--ivory); color: var(--moss-950); border-color: var(--ivory); }
.size input:checked + label small { color: var(--moss-700); }
.size input:focus-visible + label { outline: 2px solid var(--rose); outline-offset: 3px; }
.size { position: relative; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; font-size: var(--step-sm); }
.specs dt { color: var(--ivory-mute); }
.specs dd { color: var(--ivory); }
.care summary { cursor: pointer; padding: 16px 22px; list-style: none; display: flex; justify-content: space-between; font-weight: 500; }
.care summary::-webkit-details-marker { display: none; }
.care summary::after { content: "+"; font-family: var(--display); font-size: 1.375rem; line-height: 1; transition: transform 220ms var(--ease-out); }
.care[open] summary::after { transform: rotate(45deg); }
.care { background: var(--moss-800); }
.care + .care { margin-top: 4px; }
.care p { color: var(--ivory); font-size: var(--step-sm); padding: 0 22px 18px; }
@media (max-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 32px; } .pdp-media { position: static; } .pdp-media figure { aspect-ratio: 4 / 3; } .pdp-media img { object-position: 50% 42%; } }

/* Pinon Studio concept credit */
.concept-credit a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.hero-credit { margin-top: 20px; font-size: var(--step-xs); opacity: 0.85; }
