/*
 * Design tokens — layer 1 of 3 (tokens → components → per-block layout).
 * Every value here is explained in .claude/design.md. This is the only file
 * allowed to contain colour literals, font sizes, clamp() or vw units.
 *
 * Fluid rule (desktop only): a size S at 1440px grows linearly to 1.2 × S at
 * 1920px and is frozen outside that range:
 *   clamp(S, calc(S + (100vw - 1440px) * S / 2400), 1.2 × S)
 * Tablet and mobile are explicit steps below.
 */

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../fonts/satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --c-canvas: #ffffff;
  --c-plum: #3f0015;
  --c-burgundy: #6f1932;
  --c-cream: #faece9;
  --c-white: #f8f8fa;
  --c-pink: #f7c2b4;
  --c-ink: #1c1b1a;
  --c-ink-deep: #1a0b10;
  --c-muted: #7a5560;
  --c-muted-on-dark: #d9b8bd;
  --c-rule: rgba(103, 33, 51, 0.16);
  --c-rule-on-dark: rgba(250, 236, 233, 0.2);
  --scrim-control: rgba(13, 13, 13, 0.4);
  --scrim: linear-gradient(to top, rgba(13, 13, 13, 0.88) 2%, rgba(13, 13, 13, 0.67) 19%, rgba(13, 13, 13, 0) 76%);

  /* Type families */
  --font-display: "kings-caslon-display", Georgia, "Times New Roman", serif;
  --font-ui: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale — desktop, fluid 1440 → 1920 */
  --fs-process-display: clamp(32px, 5vw, 86.4px);
  --fs-process-step: 28px;
  --lh-process-display: .95;
  --process-inset: max(32px, calc((100% - var(--page-max)) / 2 + 32px));
  --process-heading-gap: 56px;
  --fs-wordmark: clamp(43px, 13.7vw, 198px);
  --fs-hero: clamp(48px, calc(48px + (100vw - 1440px) * 48 / 2400), 57.6px);
  --fs-h1: clamp(67px, calc(67px + (100vw - 1440px) * 67 / 2400), 80.4px);
  --fs-h2: clamp(54px, calc(54px + (100vw - 1440px) * 54 / 2400), 64.8px);
  --fs-h3: clamp(40px, calc(40px + (100vw - 1440px) * 40 / 2400), 48px);
  --fs-h4: clamp(29px, calc(29px + (100vw - 1440px) * 29 / 2400), 34.8px);
  --fs-quote: clamp(24px, calc(24px + (100vw - 1440px) * 24 / 2400), 28.8px);
  --fs-lead: 20px;
  --fs-body: 16px;
  --fs-ui: 16px;
  --fs-card-title: 18px;
  --fs-meta: 14px;
  --fs-small: 12px;

  --lh-wordmark: 1;
  --lh-hero: .92;
  --lh-h1: .92;
  --lh-h2: .95;
  --lh-h3: .98;
  --lh-h4: 1.27;
  --lh-lead: var(--lh-body);
  --lh-body: 1.6;
  --lh-ui: 1.38;
  --lh-meta: 1.3;

  --ls-display: -0.03em;
  --ls-hero: -0.01em;
  --ls-meta: 0.01em;

  --measure: 54ch;
  --journal-measure: 80ch;
  --journal-toc-width: 24ch;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --section-s: clamp(48px, calc(48px + (100vw - 1440px) * 48 / 2400), 57.6px);
  --section-m: clamp(96px, calc(96px + (100vw - 1440px) * 96 / 2400), 115.2px);
  --section-band: clamp(58px, calc(58px + (100vw - 1440px) * 58 / 2400), 69.6px);

  /* Page width: sections are full-viewport; content stops growing at 1920px */
  --page-margin: 58px;
  --page-max: 1920px;
  --page-inline: max(var(--page-margin), calc((100% - var(--page-max)) / 2 + var(--page-margin)));

  /* Heading-left / text-right: the text column starts after 5 of 12 columns. */
  --split-gap: var(--space-8);
  --split-start: calc((100% - 2 * var(--page-inline) - var(--split-gap)) * 5 / 12 + var(--split-gap));
  /* The same column start, measured inside a section (its padding is already taken off). */
  --split-start-inner: calc((100% - var(--split-gap)) * 5 / 12 + var(--split-gap));

  --gap-grid: 12px;
  --gap-cards: 30px;

  /* Geometry and depth */
  --radius: 0;
  --radius-badge: 4px;
  --shadow-badge: 0 2px 8px rgba(0, 0, 0, 0.1);
  --border: 1px;
  --underline-offset: 3px;
  --focus-width: 2px;
  --focus-offset: 2px;

  /* Controls */
  --control-height: 48px;
  --control-pad-inline: 24px;
  --header-height: 82px;
  --logo-width: 119px;
  --logo-width-footer: 156px;
  --header-blur: 12px;
  --header-surface: color-mix(in srgb, var(--c-white) 88%, transparent);
  --z-header: 50;
  --z-skip: 100;
  --target-min: 44px;
  --target-inline: 24px;
  --icon: 24px;
  --icon-s: 16px;

  /* Image ratios */
  --ar-dress: 2 / 3;
  --ar-square: 1 / 1;
  --ar-collection: 3 / 5;
  --ar-film: 9 / 16;
  --ar-video: 16 / 9;
  --ar-gallery: 4 / 5;
  --ar-banner: 3 / 2;

  /* Product inquiry drawer — live-site parity, scoped exception (2026-11-17). */
  --inquiry-width: 795px;
  --inquiry-inset: 90px;
  --inquiry-top: 88px;
  --inquiry-title: 40px;
  --inquiry-intro: 24px;
  --inquiry-label: 20px;
  --inquiry-intro-leading: 1.1;
  --inquiry-form-gap: 80px;
  --inquiry-control: 44px;
  --inquiry-close: 64px;
  --inquiry-close-gap: 35px;
  --inquiry-close-top: 80px;
  --inquiry-close-radius: 50%;
  --inquiry-scrim: rgba(0, 0, 0, 0.6);
  --inquiry-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  --inquiry-duration: 400ms;
  --inquiry-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Motion */
  --dur-fast: 160ms;
  --dur-panel: 240ms;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --press-scale: 0.96;
  --hover-dim: 0.92;
  --disabled-opacity: 0.4;
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --fs-hero: 40px;
    --fs-h1: 56px;
    --fs-h2: 44px;
    --fs-h3: 34px;
    --fs-h4: 26px;
    --fs-quote: 22px;
    --fs-lead: 18px;
    --section-s: 40px;
    --section-m: 72px;
    --section-band: 44px;
    --page-margin: 40px;
    /* On small screens text covers most of a photograph's height: the scrim reaches the top. */
    --scrim: linear-gradient(to top, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.66) 55%, rgba(13, 13, 13, 0.4) 100%);
  }
}

/* Wrapped titles on phones need more separation between baselines. */
@media (max-width: 767px) {
  :root {
    --lh-h1: 1.12;
    --lh-h2: 1.14;
    --lh-h3: 1.16;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --fs-process-step: 18px;
    --process-inset: 16px;
    --process-heading-gap: 24px;
    --inquiry-inset: 24px;
    --inquiry-top: 32px;
    --inquiry-form-gap: 32px;
    --inquiry-title: 26px;
    --inquiry-intro: 22px;
    --inquiry-close: 44px;
    --inquiry-close-top: 40px;
    --fs-hero: 32px;
    --fs-h1: 44px;
    --fs-h2: 36px;
    --fs-h3: 28px;
    --fs-h4: 22px;
    --fs-quote: 20px;
    --fs-lead: 17px;
    --section-s: 28px;
    --section-m: 56px;
    --section-band: 34px;
    --page-margin: 24px;
    --header-height: 54px;

  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --inquiry-duration: 0ms;
    --dur-fast: 0ms;
    --dur-panel: 0ms;
    --press-scale: 1;
  }
}
