/* Eunoia — brand tokens from Brand Guidelines 2026 */
:root {
  --ivory: #F3EDE3;      /* Ivory Bone */
  --white: #FAF7F2;      /* Warm White */
  --taupe: #B5A390;      /* Taupe Satin */
  --espresso: #4A2E2A;   /* Espresso Plum */
  --blush: #C8A3A0;      /* Blush Mauve (accent) */
  --wine: #3B0B14;       /* Pantone 504 C */
  --bronze: #765536;     /* Pantone 7568 C */
  --cream: #FFFEF5;      /* Pantone 7436 C */

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Pinyon Script", "Edwardian Script ITC", cursive;

  --ease: cubic-bezier(.22,.61,.36,1);
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 500; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  font-size: .78rem; letter-spacing: .38em; text-transform: uppercase;
  font-weight: 600; color: var(--bronze); margin-bottom: 1.1rem;
}
.script { font-family: var(--script); font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.2; color: var(--blush); }

/* Brand marks rendered via mask so colour follows currentColor */
.mark { display: inline-block; background: currentColor; -webkit-mask: var(--src) no-repeat center / contain; mask: var(--src) no-repeat center / contain; }
.mark--logo { --src: url(/brand/logo.svg); aspect-ratio: 317 / 99; }
.mark--monogram { --src: url(/brand/monogram.svg); aspect-ratio: 124 / 103; }
.mark--frame { --src: url(/brand/monogram-frame.svg); aspect-ratio: 111 / 118; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 2.2em; border: 1px solid var(--espresso);
  background: var(--espresso); color: var(--white);
  font: 600 .82rem/1 var(--serif); letter-spacing: .26em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: transparent; color: var(--espresso); }
.btn--small { padding: .8em 1.4em; font-size: .7rem; }
.link { font-style: italic; text-decoration: none; border-bottom: 1px solid var(--taupe); padding-bottom: 2px; }
.link:hover { border-color: var(--espresso); }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--taupe) 35%, transparent);
}
.nav__brand { color: var(--espresso); display: flex; }
.nav__brand .mark { width: 120px; }
.nav__links { display: flex; align-items: center; gap: 2rem; font-size: .95rem; }
.nav__links a:not(.btn) { text-decoration: none; letter-spacing: .06em; }
.nav__links a:not(.btn):hover { color: var(--bronze); }
@media (max-width: 760px) { .nav__links a:not(.btn) { display: none; } }
@media (max-width: 480px) { .hide-sm { display: none; } .nav__brand .mark { width: 104px; } }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter) clamp(3rem, 7vw, 6rem);
  max-width: 1320px; margin: 0 auto;
}
.hero__logo { width: min(100%, 460px); color: var(--espresso); }
.hero__script { margin: .4rem 0 1.2rem; }
.hero__lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2rem; }
.hero__media { position: relative; margin: 0; }
.hero__media img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 999px 999px 0 0;
  filter: sepia(.25) saturate(.8);
}
.hero__badge {
  position: absolute; left: -38px; bottom: 38px; width: 104px;
  color: var(--blush);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero__text { display: flex; flex-direction: column; align-items: center; }
  .hero__lede { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__media { max-width: 460px; margin: 0 auto; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -40px; width: 84px; }
}

/* Atelier */
.atelier {
  position: relative; overflow: hidden;
  background: var(--blush); color: var(--white);
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  text-align: center;
}
.atelier__floral { position: absolute; right: -60px; top: -40px; width: min(48vw, 420px); opacity: .55; pointer-events: none; }
.atelier__inner { position: relative; max-width: 720px; margin: 0 auto; }
.atelier__mono { width: 72px; color: var(--white); margin-bottom: 1.4rem; }
.atelier .eyebrow { color: var(--white); opacity: .9; }
.atelier h2 { margin-bottom: 1.6rem; }
.atelier p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.atelier__sign { color: var(--white); margin-top: 1.4rem; }

/* Section head */
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .script { margin-top: .4rem; }

/* Experiences */
.experiences { padding: clamp(4rem, 9vw, 7rem) var(--gutter); max-width: 1320px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: var(--white); padding: 2.4rem 1.8rem 2rem;
  border-top: 1px solid var(--taupe);
  display: flex; flex-direction: column;
}
.card__num { font-style: italic; color: var(--blush); font-size: 1.6rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.card p { font-size: 1.02rem; }
.card__meta { margin-top: auto; margin-bottom: 0; font-size: .75rem !important; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; gap: 10px; } .card { padding: 1.5rem 1.4rem; } .card__num { margin-bottom: .4rem; } }

/* Gallery */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px;
  padding: 0 var(--gutter) clamp(4rem, 9vw, 7rem); max-width: 1320px; margin: 0 auto;
}
.gallery figure { margin: 0; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
}

/* Reservation */
.reserve {
  position: relative; overflow: hidden;
  background: var(--espresso); color: var(--white);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.reserve__floral { position: absolute; left: -120px; bottom: -80px; width: min(70vw, 620px); opacity: .07; pointer-events: none; }
.reserve__wrap { position: relative; max-width: 960px; margin: 0 auto; }
.section-head--light .eyebrow { color: var(--blush); }

.booking { display: grid; gap: 2.4rem; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend {
  display: flex; align-items: baseline; gap: .8rem; padding: 0; margin-bottom: 1.2rem;
  font-size: 1.5rem; font-weight: 500;
}
.step legend span { font-size: .8rem; letter-spacing: .3em; color: var(--blush); font-weight: 600; }

.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1.05rem 1.3rem; border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  cursor: pointer; transition: all .25s var(--ease);
}
.opt label b { font-weight: 500; font-size: 1.2rem; }
.opt label small { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; }
.opt input:hover + label { border-color: var(--blush); }
.opt input:checked + label { background: var(--white); color: var(--espresso); border-color: var(--white); }
.opt input:checked + label small { color: var(--bronze); }
.opt input:focus-visible + label { outline: 2px solid var(--blush); outline-offset: 2px; }
@media (max-width: 640px) { .options { grid-template-columns: 1fr; } }

.schedule { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 760px) { .schedule { grid-template-columns: 1fr; } }

.cal { background: var(--white); color: var(--espresso); padding: 1.2rem 1.1rem 1.1rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal__title { font-size: 1.35rem; font-weight: 500; }
.cal__nav { width: 38px; height: 38px; border: 1px solid var(--taupe); background: none; color: var(--espresso); cursor: pointer; font: 1.2rem var(--serif); display: grid; place-items: center; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); font-weight: 600; padding: .3rem 0; }
.cal__day {
  aspect-ratio: 1; border: 1px solid transparent; background: none; color: inherit;
  font: 500 1.02rem var(--serif); cursor: pointer; display: grid; place-items: center;
  transition: background .2s, border-color .2s;
}
.cal__day:hover:not(:disabled) { border-color: var(--blush); }
.cal__day:disabled { color: color-mix(in srgb, var(--espresso) 28%, transparent); cursor: default; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--espresso) 18%, transparent); }
.cal__day.is-today { border-color: var(--taupe); }
.cal__day.is-selected { background: var(--espresso); color: var(--white); border-color: var(--espresso); }
.cal__legend { margin: .8rem 0 0; font-size: .82rem; font-style: italic; color: var(--bronze); }

.slots__label { font-style: italic; color: var(--taupe); margin-bottom: 1rem; }
.slots__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot {
  padding: .75rem .4rem; border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  background: none; color: var(--white); font: 500 1.05rem var(--serif); cursor: pointer;
  transition: all .2s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--blush); }
.slot[aria-checked="true"] { background: var(--blush); border-color: var(--blush); color: var(--espresso); }
.slot:disabled { opacity: .3; cursor: default; text-decoration: line-through; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field { display: grid; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid color-mix(in srgb, var(--white) 25%, transparent);
  background: color-mix(in srgb, var(--white) 6%, transparent); color: var(--white);
  font: 1.08rem var(--serif); border-radius: 0; color-scheme: dark;
}
.field select option { color: var(--espresso); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--white) 40%, transparent); font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blush); }
.field.is-invalid input { border-color: #e7a19a; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

.summary {
  border: 1px solid color-mix(in srgb, var(--blush) 50%, transparent);
  padding: 1.3rem 1.5rem; display: none;
}
.summary.is-visible { display: block; }
.summary h4 { margin: 0 0 .6rem; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--blush); font-weight: 600; }
.summary p { margin: 0; font-size: 1.2rem; }
.error { color: #f0b3ab; font-style: italic; margin: -1rem 0 0; min-height: 1.4em; }

.btn--wa { background: var(--blush); border-color: var(--blush); color: var(--espresso); justify-self: start; padding: 1.15em 2em; }
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover { background: var(--white); border-color: var(--white); color: var(--espresso); }
.booking__note { font-style: italic; color: var(--taupe); margin-top: -1.4rem; font-size: 1rem; }
@media (max-width: 640px) { .btn--wa { justify-self: stretch; } }

/* Footer */
.footer {
  text-align: center; padding: clamp(3.5rem, 7vw, 5rem) var(--gutter) 2.5rem;
  background: var(--white);
}
.footer__mark { width: 64px; color: var(--espresso); margin-bottom: 1.4rem; }
.footer__logo { display: block; width: 200px; margin: 0 auto; color: var(--espresso); }
.footer .script { margin: .4rem 0 1.4rem; }
.footer__contact a { text-decoration: none; letter-spacing: .08em; border-bottom: 1px solid var(--taupe); }
.footer__copy { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 2rem 0 0; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--espresso); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 28px -8px rgba(74,46,42,.55);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
