/* Shared tokens, navigation and controls. Reference compositions live in sections.css. */
:root {
    /* All dimensions share one unit; the desktop reference is 1512 CSS pixels wide. */
    font-size: 100%;
    color-scheme: light;
    --paper: #fcf8f3;
    --surface: #fffdfa;
    --ink: #42323b;
    --muted: #82747a;
    --wine: #68213d;
    --wine-deep: #3d172a;
    --rose: #bf5f83;
    --rose-soft: #f6e5e9;
    --cream: #fff7e9;
    --line: #e8d8d9;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Manrope", Arial, sans-serif;
    --font-hand: "Caveat", cursive;
    --shell: 80rem;
    --gutter: clamp(1.5rem, 6vw, 5.5rem);
    --header-height: 5.75rem;
    --section-space: clamp(3rem, 4.5vw, 4rem);
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}
@media screen and (min-width: 901px) {
    :root { font-size: calc(100vw / 94.5); }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; padding: 0.75rem; background: #fff; color: var(--ink); font: 0.9375rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
body.menu-locked { overflow: hidden; }
main, .site-footer { background: var(--paper); }
[hidden] { display: none !important; }
h1, h2, h3, p, blockquote, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--wine-deep); font-family: var(--font-display); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
h1 em, h2 em { color: var(--rose); font-weight: 500; }
a { color: inherit; text-underline-offset: 0.3125rem; }
button { font: inherit; cursor: pointer; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
::selection { color: var(--wine-deep); background: #ecd1dc; }
:focus-visible { outline: 0.125rem solid var(--rose); outline-offset: 0.3125rem; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.sr-only { position: absolute; width: 0.0625rem; height: 0.0625rem; margin: -0.0625rem; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 2000; top: 0.625rem; left: 0.625rem; padding: 0.75rem 1.125rem; background: var(--wine); color: #fff; transform: translateY(-150%); border-radius: 0.25rem; }
.skip-link:focus { transform: none; }
.paper-grain { position: fixed; inset: 0; z-index: 1100; pointer-events: none; opacity: .022; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 0.125rem; z-index: 1200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--rose); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; }

/* The fixed header shares the reference's horizontal rhythm. */
.site-header { position: absolute; inset: 0.75rem 0.75rem auto; height: var(--header-height); z-index: 1000; transition: background-color 250ms, box-shadow 250ms; }
.site-header.is-scrolled { position: fixed; inset: 0 0.75rem auto; background: #fcf8f3f2; box-shadow: 0 0.0625rem 0 #e8d8d980; backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); }
.site-header.is-menu-open { background: var(--paper); }
.header-inner { display: flex; gap: 1.875rem; justify-content: space-between; align-items: center; height: 100%; }
.brand { display: inline-flex; align-items: baseline; flex-shrink: 0; color: var(--wine-deep); font: 600 2.6875rem/.9 var(--font-display); letter-spacing: -.065em; text-decoration: none; }
.brand-mark { font-size: .47em; color: var(--rose); letter-spacing: -.065em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.375rem, 2.6vw, 2.4375rem); margin-left: auto; }
.desktop-nav a { position: relative; padding-block: 0.9375rem; text-decoration: none; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.desktop-nav a::after { content: ""; position: absolute; bottom: 0.5rem; left: 0; right: 0; height: 0.0625rem; background: var(--rose); transform: scaleX(0); transform-origin: right; transition: transform 300ms var(--ease-out); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: inline-flex; gap: 1.25rem; justify-content: center; align-items: center; flex-shrink: 0; min-height: 3.25rem; padding: 0.625rem 1.5rem; border-radius: 6.1875rem; border: 0.0625rem solid #8b4b63; background: var(--wine); color: #fffaf7; text-decoration: none; font-size: 0.8125rem; font-weight: 600; box-shadow: inset 0 0 0 0.125rem #ffffff0b; transition: background 250ms; }
.header-cta span { font-size: 1.5rem; font-weight: 400; line-height: 1; }
.header-cta:hover { background: var(--wine-deep); }
.menu-toggle { display: none; position: relative; width: 2.75rem; height: 2.75rem; padding: 0; border: 0.0625rem solid var(--line); border-radius: 50%; background: transparent; flex-shrink: 0; }
.menu-toggle span { position: absolute; left: 0.75rem; top: 1.0625rem; height: 0.0625rem; width: 1.125rem; background: var(--wine); transition: transform 250ms, top 250ms; }
.menu-toggle span:last-child { top: 1.5rem; }
.is-menu-open .menu-toggle span { top: 1.3125rem; transform: rotate(45deg); }
.is-menu-open .menu-toggle span:last-child { transform: rotate(-45deg); }
.mobile-menu { position: absolute; top: 100%; inset-inline: 0; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; padding: 0.625rem var(--gutter) 1.625rem; background: var(--paper); border-bottom: 0.0625rem solid var(--line); box-shadow: 0 1rem 1.25rem #3d172a0a; }
.mobile-menu a { display: block; padding-block: 0.875rem; border-bottom: 0.0625rem solid var(--line); font: 500 1.8125rem/1.15 var(--font-display); text-decoration: none; }

.eyebrow, .mini-label { color: #96516c; text-transform: uppercase; font-size: 0.625rem; line-height: 1.5; font-weight: 700; letter-spacing: .12em; }
.eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.eyebrow::before { content: ""; display: block; height: 0.0625rem; width: 2.125rem; flex-shrink: 0; background: currentColor; }
.eyebrow--light { color: #ebc4d1; }
.section-heading h2 { font-size: clamp(2.625rem, 4.8vw, 4.125rem); }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(16.25rem, .75fr); align-items: center; gap: 3.125rem; margin-bottom: 2.5rem; }
.section-heading--split > p { max-width: 22.1875rem; color: var(--muted); font-size: 0.875rem; line-height: 1.65; padding-top: 1.5rem; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 3.5rem; padding: 0.6875rem 1.5625rem; border: 0.0625rem solid transparent; border-radius: 6.1875rem; text-decoration: none; font-size: 0.8125rem; line-height: 1.3; font-weight: 600; transition: transform 300ms var(--ease-out), box-shadow 300ms, background 250ms; }
.button-arrow { flex-shrink: 0; font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform 300ms var(--ease-out); }
.button-arrow svg, .header-cta > span svg { width: 1.5rem; height: 1rem; }
.button--primary { background: var(--wine); color: #fffaf7; border-color: #945069; box-shadow: inset 0 0 0 0.125rem #ffffff08; }
.button--outline { border-color: #b98a9d; color: var(--wine); background: #fffdfa70; }
.button--outline .button-arrow { border-left: 0.0625rem solid #d8b4c1; padding-left: 1rem; margin-left: -0.25rem; font-size: 1.375rem; }
.button--cream { color: var(--wine); background: var(--cream); border-color: #ead5c8; box-shadow: inset 0 0 0 0.125rem #fffaf770; }
.handwritten { font: 400 1.6875rem/1 var(--font-hand); color: var(--rose); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (hover: hover) and (pointer: fine) {
    .button:hover { transform: translateY(-0.125rem); box-shadow: 0 0.625rem 1.5rem #68213d18; }
    .button:hover .button-arrow { transform: translateX(0.1875rem); }
    .button--outline:hover { background: #f6e6e9; }
}
