/* JWC Design System — generated from tokens.json */
:root, [data-theme="dark"] {
  --warm-black-950: #0b0908; /* Deepest warm black. Page background (bg-base), footer, scrollbar track. */
  --warm-black-900: #12100d; /* Warm black. Inverse text (text-inverse); preloader centre. */
  --warm-black-850: #171410; /* Section and card surface (bg-surface). */
  --warm-black-800: #1e1a14; /* Elevated surface (bg-elevated): inputs, raised panels. */
  --warm-black-700: #2a241c; /* Raised surface (bg-raised); film-still placeholder tone; scrollbar thumb. */
  --warm-black-600: #3a3226; /* Film-still placeholder tone; lighter stop of the bottom-scrim gradient. */
  --warm-black-500: #4c4234; /* Lightest warm black, for placeholder gradients only. */
  --ivory-50: #f7f1e7; /* Primary ink (text-primary) on every warm-black surface; fill of an active Tag. */
  --ivory-100: #efe7d9; /* Ivory step, a softer light ink or inverse surface. */
  --ivory-200: #e4d8c5; /* Ivory step, the darkest light ink. */
  --taupe-300: #c4b7a2; /* Lightest taupe, a neutral between ivory and secondary text. */
  --taupe-400: #a99c87; /* Secondary text (text-secondary) on bg-base, bg-surface, bg-elevated and bg-raised. */
  --taupe-500: #8a7e6c; /* Muted text (text-muted) on bg-base and bg-surface. */
  --taupe-600: #6b6252; /* Darkest taupe. Decoration only: below 4.5:1 as text on every warm-black surface. */
  --gold-200: #f0dbb0; /* Lightest champagne, highlight end of the gold scale. */
  --gold-300: #e3c58e; /* Hover gold (accent-hover): links and nav brightening toward gold. */
  --gold-400: #d4af7a; /* Strong gold (accent-strong): eyebrows, outline-button text, accent glyphs, the Cormorant accent word. */
  --gold-500: #c39a5c; /* The signature accent (accent): solid CTA fill, focus, diamond ornament. Use sparingly. */
  --gold-600: #a67c42; /* Deeper gold step. */
  --gold-700: #82602f; /* Quiet gold (accent-quiet): gold end of the gold-to-wine CTA gradient. Not for text on dark surfaces (3.5:1 on bg-base). */
  --wine-400: #954049; /* Lighter wine, hover or highlight on wine surfaces. */
  --wine-500: #7a2e38; /* Wine (accent-wine): the cozy secondary warmth on large surfaces and the wine Button. */
  --wine-600: #5e222b; /* Deep wine: wine end of the gold-to-wine CTA gradient. */
  --blush-400: #c98b7e; /* Blush, a soft warm highlight beside wine. */
  --green-500: #6fa07a; /* Success status hue (success). Desaturated and filmic. */
  --red-500: #c0574b; /* Danger status hue (danger). Desaturated and filmic. */
  --amber-500: #d6a24e; /* Warning status hue (warning). Desaturated and filmic. */
  --bg-base: var(--warm-black-950); /* Page background. Never pure #000. */
  --bg-surface: var(--warm-black-850); /* Cards and alternate sections, on bg-base. */
  --bg-elevated: var(--warm-black-800); /* Elevated surfaces: inputs, raised panels. */
  --bg-raised: var(--warm-black-700); /* Highest raised surface. */
  --bg-inverse: var(--ivory-50); /* Inverse (light) surface; carries text-inverse. */
  --text-primary: var(--ivory-50); /* Headlines and primary copy on bg-base, bg-surface, bg-elevated and bg-raised. */
  --text-secondary: var(--taupe-400); /* Body and secondary copy on bg-base, bg-surface, bg-elevated and bg-raised. */
  --text-muted: var(--taupe-500); /* Captions, labels and meta on bg-base and bg-surface. On bg-elevated (4.35:1) and bg-raised (3.86:1) it is under 4.5:1; use text-secondary there. */
  --text-on-accent: var(--warm-black-950); /* Text on an accent (gold) fill, such as the solid Button. */
  --text-inverse: var(--warm-black-900); /* Text on bg-inverse. */
  --accent: var(--gold-500); /* The single signature accent: solid CTAs, focus, the diamond ornament. */
  --accent-strong: var(--gold-400); /* Accent as text on dark surfaces: eyebrows, links, outline buttons, accent glyphs. */
  --accent-hover: var(--gold-300); /* Hover state for accent text and links. */
  --accent-quiet: var(--gold-700); /* Quiet accent for gradients and decoration; not for text on dark surfaces. */
  --accent-wine: var(--wine-500); /* Secondary warm accent: CTA panels, the wine Button (ivory-50 text on it). */
  --border-subtle: rgba(247, 241, 231, 0.08); /* Default hairline (ivory at 0.08): cards, section rules, the inset ring. */
  --border-default: rgba(247, 241, 231, 0.12); /* Hairline at 0.12: inputs, social icon rings. */
  --border-strong: rgba(247, 241, 231, 0.20); /* Hairline at 0.20: emphasised outlines. */
  --border-accent: rgba(195, 154, 92, 0.55); /* Gold hairline: outline buttons, hovered cards, eyebrow rule. */
  --overlay-scrim: rgba(11, 9, 8, 0.72); /* Dark scrim over imagery and behind overlays. */
  --glow-gold: rgba(195, 154, 92, 0.35); /* Gold glow colour for accents and hovered media. */
  --success: var(--green-500); /* Success state. Pair with a word or icon. */
  --danger: var(--red-500); /* Error state: field error text and border. Pair with a word or icon. 4.45:1 as text on bg-base, just under 4.5:1. */
  --warning: var(--amber-500); /* Warning state. Pair with a word or icon. */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4); /* Smallest depth. */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45); /* Resting depth for small surfaces. */
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5); /* Cards. */
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6); /* Raised panels and overlays. */
  --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.7); /* Largest depth: modals, hero media. */
  --glow-sm: 0 0 0 1px rgba(195, 154, 92, 0.25), 0 8px 24px rgba(195, 154, 92, 0.12); /* Gold glow with hairline for accent buttons. */
  --glow-md: 0 0 40px rgba(195, 154, 92, 0.22); /* Warm gold glow for hovered cards and media. */
}
:root {
  --space-0: 0; /* Zero. */
  --space-1: 0.25rem; /* 4px. Hairline gaps. */
  --space-2: 0.5rem; /* 8px. Tight gaps inside controls. */
  --space-3: 0.75rem; /* 12px. Control and icon gaps. */
  --space-4: 1rem; /* 16px. Default gap. */
  --space-5: 1.5rem; /* 24px. Card and gutter padding. */
  --space-6: 2rem; /* 32px. Card padding, grid gaps. */
  --space-7: 2.5rem; /* 40px. */
  --space-8: 3rem; /* 48px. */
  --space-9: 4rem; /* 64px. Block spacing. */
  --space-10: 5rem; /* 80px. Compact section padding. */
  --space-11: 6.5rem; /* 104px. Section rhythm (same as section-y). */
  --space-12: 8rem; /* 128px. Largest breathing room. */
  --radius-none: 0; /* Square. */
  --radius-xs: 2px; /* 2px. Tiny marks. */
  --radius-sm: 6px; /* 6px. Inputs. */
  --radius-md: 12px; /* 12px. Tiles and small panels. */
  --radius-lg: 20px; /* 20px. Cards. */
  --radius-xl: 28px; /* 28px. The CTA panel. */
  --radius-pill: 999px; /* Buttons, badges, tags. */
  --radius-circle: 50%; /* Icon buttons and round marks. */
  --text-2xs: 0.6875rem; /* 11px. Micro labels. */
  --text-xs: 0.75rem; /* 12px. Eyebrows, labels, small buttons. */
  --text-sm: 0.875rem; /* 14px. UI text, default buttons. */
  --text-base: 1rem; /* 16px. Body. */
  --text-md: 1.125rem; /* 18px. Lead paragraphs. */
  --text-lg: 1.375rem; /* 22px. */
  --text-xl: 1.75rem; /* 28px. */
  --text-2xl: 2.25rem; /* 36px. Section headings. */
  --text-3xl: 3rem; /* 48px. Display. */
  --text-4xl: 4rem; /* 64px. Display. */
  --text-5xl: 5.5rem; /* 88px. Hero. */
  --fw-light: 300; /* Light. */
  --fw-regular: 400; /* Body. */
  --fw-medium: 500; /* Eyebrows, labels. */
  --fw-semibold: 600; /* Headings, buttons. */
  --fw-bold: 700; /* Bold. */
  --leading-tight: 1.05; /* Display. */
  --leading-snug: 1.2; /* Headings. */
  --leading-normal: 1.5; /* UI text. */
  --leading-relaxed: 1.7; /* Body paragraphs. */
  --tracking-tight: -0.02em; /* Display and headings. */
  --tracking-normal: 0em; /* Body. */
  --tracking-wide: 0.08em; /* Buttons and nav. */
  --tracking-wider: 0.18em; /* Eyebrow and label uppercase. */
  --container-max: 1280px; /* Standard content width. */
  --container-wide: 1480px; /* Wide content width: nav and footer. */
  --gutter: 1.5rem; /* Page gutter. */
  --section-y: 6.5rem; /* Vertical padding of a section. */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-accent: "Cormorant Garamond", Georgia, serif;
  --text-type-display: 600 52px/1.02 var(--font-display); /* Headlines and section titles in Sora. Weight 500 to 600, tight tracking. */
  --text-type-heading: 600 2.25rem/1.1 var(--font-display); /* Section headings (the source's --font-heading role). */
  --text-type-body: 400 16px/1.7 var(--font-body); /* Paragraphs and UI text in Manrope. */
  --text-type-eyebrow: 500 12px/1.2 var(--font-body); /* Eyebrows, kickers and labels. Always uppercase. */
  --text-type-accent: italic 500 44px/1.1 var(--font-accent); /* Cormorant Garamond italic. Couple names, one hero word, pull-quotes. Never UI or body. */
}
.type-display {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.type-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
}
.type-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0;
}
.type-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.type-accent {
  font-family: var(--font-accent);
  font-size: 44px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
  font-style: italic;
}

/* Rules the design system keeps outside tokens.json (typography, shadows, motion). */
:root {
  --font-eyebrow: var(--fw-medium) var(--text-xs)/1.2 var(--font-body);
  --font-heading: var(--fw-semibold) var(--text-2xl)/1.1 var(--font-display);
  --ring-inset: inset 0 0 0 1px var(--border-subtle);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 520ms;
  --dur-cinematic: 760ms;
  --reveal: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
