/* Orsanne: a quiet clothing house. Only --d-* tokens and b-* classes belong here.
   Cool stone ground (not cream), loden ink, a deep loden band. Headlines in a light grotesk at scale;
   the serif lives only in the wordmark. Signature: the season as film frames that settle and cut. Then the look, bought piece by piece, and the cloth. */
:root {
  --d-bg: #e8e6e1;
  --d-surface: #f1f0ec;
  --d-surface-2: #dcd9d2;
  --d-text: #23251f;
  --d-muted: #63655c;
  --d-line: #c9c6be;
  --d-accent: #23251f;
  --d-on-accent: #e8e6e1;
  --d-invert-bg: #2b2f27;
  --d-invert-text: #e8e6e1;
  --d-sale: #7a3b2e;
  --d-focus: #23251f;
  --d-scrim: rgb(35 37 31 / 0.45);

  --d-font-body: "Hanken Grotesk", system-ui, sans-serif;
  --d-font-display: "Hanken Grotesk", system-ui, sans-serif;
  --d-display-weight: 300;
  --d-display-tracking: -0.035em;
  --d-display-leading: 0.98;
  --d-label-tracking: 0.04em;
  --d-icon-stroke: 1.25;

  --d-radius: 0;
  --d-radius-card: 0;
  --d-header-h: 4.5rem;
  --d-logo-h: 1.05rem;
  --d-over-ink: #f3f1ec;

  --d-dur-reveal: 1300ms;
  --d-stagger: 110ms;
  --d-rise: 1.25rem;
}

/* The wordmark grows a little on wide screens. */
@media (min-width: 64rem) { :root { --d-logo-h: 1.25rem; } }


/* Prices and names in the grid stay quiet: same size, no bold. */
.shop-card__name { font-weight: 300; }
.shop-buy__name { font-weight: 300; }

/* The footer mark is the full wordmark set very wide and light. */
.d-footer__mark { opacity: 0.9; }

/* ---- Signature: the season as three film frames. Each settles from slightly large, then cuts to the next. ---- */
.b-film { position: relative; display: grid; min-height: calc(100svh - 4.5rem); color: var(--d-over-ink); isolation: isolate; overflow: hidden; background: var(--d-text); }
.b-film__frame { position: absolute; inset: 0; z-index: -1; margin: 0; opacity: 0; }
.b-film__frame img { width: 100%; height: 100%; object-fit: cover; }
.b-film__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 45%), linear-gradient(to bottom, rgb(0 0 0 / 0.25), rgb(0 0 0 / 0) 25%); }
.b-film__frame.is-on { opacity: 1; }
.d-motion .b-film__frame.is-on img { animation: b-settle 5200ms var(--d-ease-out) both; }
@keyframes b-settle { from { transform: scale(1.08); } }
.b-film__copy { display: grid; grid-template-rows: 1fr auto; padding-block: calc(var(--d-header-h) + var(--d-space-7)) var(--d-space-6); }
.b-film__season { align-self: end; font-weight: 300; font-size: clamp(3.4rem, 1rem + 11vw, 13rem); line-height: 0.9; letter-spacing: -0.05em; }
.b-film__foot { display: flex; justify-content: space-between; align-items: end; gap: var(--d-space-4); flex-wrap: wrap; padding-top: var(--d-space-5); margin-top: var(--d-space-5); border-top: 1px solid rgb(255 255 255 / 0.35); --d-text: var(--d-over-ink); }
.b-film__cap { font-size: var(--d-step--1); display: flex; gap: 0.4em; }
.b-film .d-link { color: inherit; }

.b-head { display: grid; gap: var(--d-space-3); max-width: 46rem; }
.b-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--d-space-4); flex-wrap: wrap; }
.d-invert .fash-swatch__dot { box-shadow: 0 0 0 1px color-mix(in srgb, var(--d-invert-text) 25%, transparent); }
.d-invert .fash-swatch[aria-selected="true"] .fash-swatch__dot { box-shadow: 0 0 0 2px var(--d-invert-bg), 0 0 0 3px var(--d-invert-text); }
.d-invert .fash-cloth__facts { border-color: color-mix(in srgb, var(--d-invert-text) 20%, transparent); }
.d-invert { --d-muted: #a8ab9f; }

/* ---- Women | Men: two halves, the name over each ---- */
.b-split { display: grid; }
@media (min-width: 48rem) { .b-split { grid-template-columns: 1fr 1fr; } }
.b-split__half { position: relative; display: grid; align-items: end; min-height: 75svh; overflow: hidden; color: var(--d-over-ink); text-decoration: none; isolation: isolate; }
.b-split__half img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--d-ease-out); }
.b-split__half::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / 0.45), rgb(0 0 0 / 0) 50%); }
.b-split__half:hover img { transform: scale(1.03); }
.b-split__label { display: grid; gap: var(--d-space-2); padding: var(--d-space-6) var(--d-gutter); max-width: 30rem; }

.b-fitting__grid { display: grid; gap: var(--d-space-6); }
@media (min-width: 56rem) { .b-fitting__grid { grid-template-columns: 1.15fr 1fr; align-items: center; gap: var(--d-space-8); } }
.b-fitting__copy .d-h1 { margin: 0; }
