/*
 * Customer booking pages: warm paper, gilt accents, Cormorant Garamond for
 * headings, EB Garamond for reading text and Jost for small capitals.
 * Loaded after the app stylesheet and scoped to body.wed, so the office and
 * team screens keep their own look. The app's Tailwind colours are CSS
 * variables, so re-pointing them here re-themes the booking wizard too.
 */
body.wed {
    --paper: #fbf7f0;
    --alab: #fdfbf6;
    --ink: #211c17;
    --text: #4a423a;
    --muted: #8c8071;
    --faint: #a99c8b;
    --line: #e2d8c7;
    --gilt: #b08a4f;
    --gilt-soft: #e9cfa0;
    --disp: 'Cormorant Garamond', Georgia, serif;
    --ser: 'EB Garamond', Georgia, serif;
    --sans: 'Jost', system-ui, sans-serif;

    --font-sans: var(--ser);
    --font-display: var(--disp);
    --font-serif: var(--disp);

    --color-ink-950: #211c17;
    --color-ink-900: #211c17;
    --color-ink-700: #4a423a;
    --color-ink-500: #7d7264;
    --color-ink-400: #a99c8b;
    --color-ink-300: #cbbfae;
    --color-ink-200: #e2d8c7;
    --color-ink-100: #ece4d6;
    --color-mist: #f4eee4;
    --color-white: #fdfbf6;
    --color-paper: #fbf7f0;
    --color-paper-200: #e2d8c7;

    --color-marigold-700: #7d5f33;
    --color-marigold-600: #9a7740;
    --color-marigold-500: #b08a4f;
    --color-marigold-200: #e6d5b5;
    --color-marigold-100: #f5ede0;

    --color-fixer-700: #1a7350;
    --color-fixer-600: #1f8a5b;
    --color-fixer-500: #1f8a5b;
    --color-fixer-100: #e3f0e8;
    --color-fixer-50: #f1f7f3;

    --color-rose-700: #8a2b2b;
    --color-rose-600: #8a2b2b;
    --color-rose-100: #f4e3df;

    --radius-control: 12px;
    --radius-panel: 18px;

    background: var(--paper);
    color: var(--text);
    font-family: var(--ser);
    font-size: 17px;
}

body.wed :focus-visible { outline-color: var(--gilt); }
body.wed ::selection { background: var(--gilt-soft); color: var(--ink); }

/* Headings: Cormorant, with an italic for the step questions */
body.wed h1, body.wed h2, body.wed h3 { font-family: var(--disp); color: var(--ink); letter-spacing: 0; font-weight: 500; }
body.wed .wz-step h2 { font-style: italic; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.08; }
body.wed .wz-step h2 + p { font-style: italic; color: var(--muted); font-size: 1.05rem; }

/* Small capitals in Jost: eyebrows, labels, buttons */
.wed-eyebrow {
    font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.24em;
    text-transform: uppercase; color: var(--gilt);
}
body.wed .label {
    font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--muted);
}
body.wed .label span { text-transform: none; letter-spacing: 0; font-family: var(--ser); font-style: italic; }

body.wed .btn {
    font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
    text-transform: uppercase; border-radius: 999px; padding: 0.85rem 1.6rem;
}
body.wed .btn-sm { padding: 0.45rem 0.9rem; }
body.wed .btn-accent { background: var(--ink); color: var(--alab); }
body.wed .btn-accent:hover { background: #3a3129; color: var(--alab); }
body.wed .btn-accent::after { content: '\203A'; margin-left: 0.15rem; }
body.wed .btn-ghost { color: var(--muted); }
body.wed .btn-ghost:hover { background: transparent; color: var(--ink); }

/* Inputs */
body.wed .input {
    background: var(--alab); border-color: var(--line); border-radius: 12px;
    padding: 0.8rem 1rem; font-size: 17px; color: var(--ink);
}
body.wed .input::placeholder { color: var(--faint); font-style: italic; }
body.wed .input:focus { border-color: var(--gilt); box-shadow: 0 0 0 3px rgba(176, 138, 79, 0.16); }

/* Surfaces */
body.wed .panel { background: var(--alab); border-color: var(--line); box-shadow: 0 30px 60px -40px rgba(33, 28, 23, 0.35); }
body.wed .panel-head { border-color: var(--line); }
body.wed .panel-title { font-family: var(--disp); font-style: italic; font-weight: 500; font-size: 1.5rem; }
body.wed .error { font-family: var(--ser); font-style: italic; }

/* Step rail: a thin gilt progress line with small-capital labels */
body.wed .wz-rail { background: transparent; box-shadow: none; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
body.wed .wz-rail button { border-radius: 0; background: transparent !important; color: var(--faint); padding: 0.9rem 0.5rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
body.wed .wz-rail button[aria-current='step'] { color: var(--ink) !important; border-bottom-color: var(--gilt); }
body.wed .wz-rail button:not(:disabled):not([aria-current]) { color: var(--text); }
body.wed .wz-rail button span.font-semibold { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
body.wed .wz-rail button > span:first-child { background: transparent !important; border: 1px solid currentColor; color: inherit !important; font-family: var(--sans); font-size: 10px; }
body.wed .wz-rail button[aria-current='step'] > span:first-child { border-color: var(--gilt); background: var(--gilt) !important; color: var(--alab) !important; }

/* ---------- Hero (booking page) ---------- */
.wed-hero {
    position: relative; min-height: 100svh; display: flex; flex-direction: column;
    color: #fbf6ee; background: #211c17 url('hero.webp') center right / cover no-repeat;
    overflow: hidden;
}
.wed-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 16, 12, 0.86) 0%, rgba(20, 16, 12, 0.62) 38%, rgba(20, 16, 12, 0.12) 72%, rgba(20, 16, 12, 0.05) 100%),
        linear-gradient(0deg, rgba(20, 16, 12, 0.55) 0%, rgba(20, 16, 12, 0) 35%);
}
.wed-hero > * { position: relative; }
.wed-top {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    width: 100%; max-width: 72rem; margin: 0 auto; padding: 1.4rem 1.5rem;
}
.wed-top img { height: 4.4rem; width: auto; }
.wed-top a.wed-link { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #fbf6ee; opacity: 0.85; text-decoration: none; }
.wed-top a.wed-link:hover { opacity: 1; }
.wed-pill {
    display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
    border: 1px solid rgba(251, 246, 238, 0.45); padding: 0.6rem 1.1rem;
    font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
    color: #fbf6ee; text-decoration: none; transition: background 240ms, color 240ms;
}
.wed-pill:hover { background: #fbf6ee; color: #211c17; }
.wed-hero-body { flex: 1; display: flex; align-items: center; width: 100%; max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.wed-hero-copy { max-width: 46rem; }
.wed-hero .wed-eyebrow { color: var(--gilt-soft); }
body.wed .wed-hero h1 {
    margin-top: 1.1rem; font-family: var(--disp); font-weight: 500; color: #fbf6ee;
    font-size: clamp(2.9rem, 6.2vw, 5.3rem); line-height: 1; letter-spacing: -0.01em;
}
.wed-hero-lede { margin-top: 1.4rem; max-width: 30rem; font-family: var(--ser); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: #eee3d0; }
.wed-cta {
    display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.2rem;
    background: #fbf6ee; color: #211c17; border-radius: 999px; padding: 1.15rem 2.1rem;
    font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    text-decoration: none; transition: transform 240ms cubic-bezier(.34, 1.4, .5, 1), background 240ms;
}
.wed-cta:hover { transform: translateY(-2px); background: #fff; }
.wed-hero-foot {
    width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem 1.6rem;
    display: flex; flex-wrap: wrap; gap: 0.4rem 1rem;
    font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(251, 246, 238, 0.7);
}
@media (max-width: 640px) {
    .wed-hero { background-image: url('hero-m.webp'); background-position: center; }
    .wed-hero::before { background: linear-gradient(0deg, rgba(20, 16, 12, 0.92) 0%, rgba(20, 16, 12, 0.7) 45%, rgba(20, 16, 12, 0.25) 100%); }
    .wed-hero-body { align-items: flex-end; padding-bottom: 2.5rem; }
    .wed-top img { height: 2.8rem; }
    .wed-top .wed-hide-sm { display: none; }
}

/* Section that holds the wizard */
.wed-book { scroll-margin-top: 1rem; }
.wed-book-head { text-align: center; padding: 4.5rem 1rem 2.2rem; }
.wed-book-head h2 { margin-top: 0.8rem; font-family: var(--disp); font-style: italic; font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.05; color: var(--ink); }
.wed-book-head p:not(.wed-eyebrow) { margin: 0.8rem auto 0; max-width: 32rem; font-style: italic; color: var(--muted); }
.wed-rule { display: block; width: 3rem; height: 1px; margin: 1.4rem auto 0; background: var(--gilt); }

/* Plain header for the other customer pages */
.wed-bar { border-bottom: 1px solid var(--line); background: var(--paper); }

/* Footer */
.wed-foot { background: #211c17; color: rgba(251, 246, 238, 0.72); }
.wed-foot a { color: #fbf6ee; }
.wed-foot .wed-eyebrow { color: var(--gilt-soft); }

.wed-noarrow::after { content: none !important; }
.wed-tel { font-size: 15px; color: var(--text); text-decoration: none; }
.wed-tel:hover { color: var(--ink); }
.wed-foot-in { display: grid; gap: 1.5rem; max-width: 72rem; margin: 0 auto; padding: 2.5rem 1rem; font-size: 15px; }
.wed-foot-in img { height: 3.5rem; width: auto; }
.wed-foot-info p + p { margin-top: 0.25rem; }
.wed-foot-links { display: flex; flex-wrap: wrap; gap: 0.3rem 1.3rem; padding-top: 0.5rem; }
.wed-foot-link { font-size: 10px; text-decoration: none; }
.wed-foot-link:hover { color: #fff !important; }
@media (min-width: 640px) {
    .wed-foot-in { grid-template-columns: auto 1fr auto; align-items: center; padding: 2.5rem 1.5rem; }
    .wed-foot-info { padding-left: 1.5rem; }
}
.wed-top-links { display: flex; align-items: center; gap: 1.4rem; }
.wed-hero-foot span + span::before { content: '\00B7'; margin-right: 1rem; opacity: 0.6; }
html { scroll-behavior: smooth; }
body.wed .wz-eyebrow { margin-bottom: 0.7rem; }
@media (max-width: 640px) { .wed-hero-foot { display: none; } }
body.wed .btn-primary { background: var(--ink); color: var(--alab); }
body.wed .btn-primary:hover { background: #3a3129; }
