/* ==========================================================================
   Global base styles (monochrome: white and black only)

   Design rules (keep these when adding sections):
   - Headings: Playfair Display. All content text: Jost. The script font
     (Parisienne) is for the logo only.
   - All content text is ONE size: --fs-base. Headings use --fs-xl
     (section titles), --fs-lg (card titles) and --fs-hero (one per page).
   - Text and fills: only #ffffff and #000000. Every line and border: --line (light grey), same everywhere.
     --dark is the footer. --tint is panels, --blush coloured sections.
     --muted is for placeholders only. Change colours via tokens only.
   - Sentence case. No uppercase text.
   - Spacing: never use margin between elements. Wrap siblings in a parent
     with display flex/grid and space them with `gap` (--gap-* tokens).
     Padding is for the inside of a box only.
   - Motion is for hover and menus only.

   1. Tokens  2. Base  3. Utilities  4. Logo & links  5. Buttons
   6. Page placeholder  7. Motion & screens
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
    --ink: #000000;
    --muted: #000000;
    --accent: #000000;
    --accent-soft: #000000;
    --dark: #000000;
    --white: #ffffff;
    --tint: #ffffff;
    --blush: #ffffff;
    --line: #e6e6e6;
    --line-dark: #333333;   /* lines on black areas */

    --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-script: "Parisienne", "Snell Roundhand", cursive;

    --fs-base: 16px;
    --fs-lg: 24px;
    --fs-xl: clamp(28px, 3vw, 40px);
    --fs-hero: clamp(36px, 4.4vw, 58px);

    --gap-xs: 6px;
    --gap-sm: 14px;
    --gap-md: 22px;
    --gap-lg: 36px;
    --gap-xl: 72px;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow-card: none;

    --ease: cubic-bezier(.25, .9, .3, 1);
    --container: 1320px;
    --gutter: 30px;
    --bar-h: 88px;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure { margin: 0; font-size: inherit; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; flex-shrink: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities ------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -70px; z-index: 300;
    padding: 10px 20px; border-radius: var(--radius-sm);
    background: var(--accent); color: var(--white); transition: top .2s;
}
.skip-link:focus { top: 12px; }

.eyebrow { display: inline-flex; align-items: center; gap: var(--gap-xs); color: var(--accent); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* 4. Logo & links --------------------------------------------------------- */
/* Script word with a small wine heart dot at the end. */
.logo {
    display: inline-block;
    font-family: var(--font-script); font-size: 44px; line-height: 1.1; white-space: nowrap;
    transition: color .35s;
}
.logo:hover { color: var(--accent); }

.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.u-link:hover { color: var(--accent); background-size: 100% 1px; }

/* 5. Buttons -------------------------------------------------------------- */
/* Soft-cornered buttons; the arrow slides on hover. */
.btn {
    display: inline-flex; align-items: center; gap: var(--gap-sm); height: 54px; padding: 0 7px 0 28px;
    border-radius: 999px; border: 1px solid var(--ink);
    background: var(--ink); color: var(--white); white-space: nowrap;
    transition: background-color .4s, color .4s;
}
.btn svg {
    box-sizing: content-box; padding: 11px; border-radius: 50%;
    background: var(--white); color: var(--ink);
    transition: transform .5s var(--ease), background-color .4s, color .4s;
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn:hover svg { background: var(--ink); color: var(--white); transform: rotate(-45deg); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line svg { background: var(--ink); color: var(--white); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line:hover svg { background: var(--white); color: var(--ink); }

/* 6. Page placeholder (until the home design arrives) --------------------- */
.page-placeholder { background: var(--tint); }
.page-placeholder .container {
    display: flex; flex-direction: column; align-items: flex-start; gap: var(--gap-md);
    padding-block: var(--gap-xl) calc(var(--gap-xl) * 1.6);
}
.page-placeholder h1 { max-width: 760px; font-family: var(--font-head); font-size: var(--fs-hero); font-weight: 400; line-height: 1.08; }
.page-placeholder h1 em { color: var(--accent); }
.page-placeholder p:not(.eyebrow) { max-width: 560px; }
.page-placeholder .btns { display: flex; flex-wrap: wrap; gap: var(--gap-sm); }

/* 7. Motion & screens ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}
@media (max-width: 1099.98px) {
    :root { --gap-lg: 28px; }
}
@media (max-width: 899.98px) {
    :root { --gutter: 20px; --bar-h: 76px; --gap-xl: 52px; }
    html { scroll-padding-top: 90px; }
    .logo { font-size: 38px; }
}
@media (max-width: 560px) {
    :root { --fs-lg: 21px; }
    .logo { font-size: clamp(26px, 8.4vw, 34px); }
}
