:root {
  --ink: #251719;
  --wine: #5b3337;
  --rose: #c18488;
  --rose-soft: #edd0d0;
  --blush: #f5e4e3;
  --cream: #fffaf8;
  --paper: #fbefed;
  --gold: #a96f55;
  --line: rgba(75, 39, 43, 0.17);
  --shadow: 0 24px 70px rgba(58, 28, 31, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header { position: absolute; z-index: 10; top: 0; left: 0; right: 0; height: 108px; display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 16px; padding: 15px clamp(24px, 5vw, 76px); color: var(--ink); border-bottom: 1px solid rgba(91,51,55,.13); }
.brand { display: block; width: 78px; height: 78px; overflow: hidden; border-radius: 50%; box-shadow: 0 9px 30px rgba(91,51,55,.09); }
.brand img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.site-header nav { display: flex; justify-content: center; gap: 36px; }
.site-header nav a { font-size: .86rem; text-decoration: none; letter-spacing: .04em; opacity: .88; }
.site-header nav a:hover { opacity: 1; }

.button { border: 1px solid var(--wine); border-radius: 999px; padding: 15px 24px; color: var(--cream); background: var(--wine); font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: #613238; }
.button:focus-visible, .text-link:focus-visible, .text-button:focus-visible, .icon-button:focus-visible, .choice-card:focus-visible, .date-card:focus-visible, .slot-button:focus-visible { outline: 3px solid rgba(201, 143, 147, .55); outline-offset: 3px; }
.button-small { color: var(--cream); background: var(--wine); border-color: var(--wine); padding: 11px 18px; }
.button-ghost { color: var(--wine); background: transparent; border-color: rgba(91,51,55,.35); }
.button-ghost:hover { color: var(--cream); background: var(--wine); }
.appointment { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.appointment + .appointment { margin-top: 12px; }
.appointment strong { font-size: 1.05rem; }
.appointment small { color: #7e6669; }
.appointment-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.confirm-actions .button { background: #8a3038; border-color: #8a3038; }
.account-list { display: grid; gap: 12px; }
.button-small:hover { color: var(--cream); }
.button-light { background: var(--cream); color: var(--wine); border-color: var(--cream); }
.button-light:hover { background: var(--rose-soft); color: var(--ink); }

.hero { min-height: 820px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; background: linear-gradient(115deg, #f8eae7 0%, #edd0d0 58%, #dcaeb0 100%); color: var(--ink); }
.hero-copy { z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 154px clamp(28px, 7vw, 112px) 82px; background: radial-gradient(circle at 18% 32%, rgba(255,255,255,.62), transparent 42%); }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 600; }
h1, h2 { margin: 0; font-family: "Italiana", serif; font-weight: 400; line-height: .98; letter-spacing: -.025em; }
h1 { max-width: 780px; font-size: clamp(3.3rem, 6.2vw, 6.6rem); }
h1 em, h2 em { color: var(--rose); font-style: italic; }
.hero-text { max-width: 590px; margin: 28px 0 30px; color: #6b5053; font-size: 1.06rem; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-actions .button { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.text-link { text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hero-quote { max-width: 520px; margin: 28px 0 0; font-family: "Italiana", serif; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.35; color: var(--wine); }
.hero-quote em { color: var(--rose); font-style: italic; }
.hero-note { margin-top: 22px; font-size: .88rem; color: #7d6063; }
.hero-note span { color: var(--rose); margin-right: 8px; }
.hero-visual { position: relative; min-height: 820px; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; width: 84%; aspect-ratio: 1; left: 8%; bottom: 6%; border-radius: 50%; background: rgba(255,250,248,.52); box-shadow: 0 0 0 1px rgba(91,51,55,.09), 0 40px 100px rgba(91,51,55,.14); }
.hero-visual::after { content: ""; position: absolute; inset: auto 7% 0 7%; height: 12%; background: radial-gradient(ellipse, rgba(91,51,55,.22), transparent 67%); filter: blur(14px); pointer-events: none; }
.hero-visual > img { position: absolute; z-index: 1; width: 96%; height: 91%; right: 0; bottom: -1%; object-fit: contain; object-position: bottom center; filter: saturate(.92) contrast(1.02) drop-shadow(0 22px 28px rgba(91,51,55,.16)); }
.hero-orbit { position: absolute; z-index: 1; width: min(64vw, 720px); aspect-ratio: 1; border: 1px solid rgba(91,51,55,.2); border-radius: 50%; top: 48%; left: 50%; transform: translate(-50%, -50%); }

.manifesto { display: flex; justify-content: center; align-items: center; gap: 24px; min-height: 92px; padding: 24px; background: #f3dedd; color: var(--wine); }
.manifesto p { margin: 0; font-family: "Italiana", serif; font-size: clamp(1rem, 1.65vw, 1.38rem); }
.manifesto span { width: 5px; height: 5px; background: var(--rose); border-radius: 50%; }
.section { padding: 120px clamp(24px, 7vw, 112px); }
.section-heading { display: grid; grid-template-columns: 1.2fr .6fr; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading h2, .about h2, .editorial h2, .closing h2 { font-size: clamp(2.8rem, 5vw, 5.4rem); }
.section-heading > p { margin: 0; color: #6f5a5c; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 280px; padding: 32px; display: flex; flex-direction: column; border: 1px solid var(--line); background: rgba(255,255,255,.6); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; overflow: hidden; }
.service-card::before { content: attr(data-index); position: absolute; top: -27px; right: -8px; color: rgba(75,39,43,.05); font-family: "Italiana", serif; font-size: 9rem; line-height: 1; }
.service-card:hover { transform: translateY(-5px); border-color: rgba(75,39,43,.35); box-shadow: var(--shadow); }
.service-kind { position: relative; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; color: var(--rose); }
.service-card h3 { position: relative; margin: 0 0 14px; font-family: "Italiana", serif; font-size: 2rem; font-weight: 400; line-height: 1.06; }
.service-blurb { position: relative; margin: 0; color: #73595c; font-size: .95rem; }
.service-book { align-self: start; border: 0; padding: 0; margin-top: auto; padding-top: 22px; background: transparent; color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }

.editorial { display: grid; grid-template-columns: 1.1fr .75fr .62fr; min-height: 760px; background: var(--ink); color: var(--cream); }
.editorial-image { overflow: hidden; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.editorial-image-wide img { object-position: center; }
.editorial-image-tall img { object-position: center; }
.editorial-copy { align-self: center; padding: 72px 48px; }
.editorial-copy h2 { font-size: clamp(2.5rem, 4vw, 4.7rem); }
.editorial-copy > p:not(.eyebrow) { color: rgba(255,250,247,.68); margin: 28px 0 38px; }
.editorial-copy ul { list-style: none; padding: 0; margin: 0; }
.editorial-copy li { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.editorial-copy li span { color: var(--rose); font-size: .75rem; }

.about { background: var(--paper); }
.about-card { display: grid; grid-template-columns: .88fr 1.12fr; max-width: 1180px; margin: 0 auto; background: var(--cream); box-shadow: var(--shadow); }
.about-photo { min-height: 620px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; filter: saturate(.78); }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 7vw, 96px); }
.about-lead { margin: 28px 0 14px; font-family: "Italiana", serif; font-size: 1.65rem; line-height: 1.25; color: var(--wine); }
.about-copy > p:last-of-type { color: #705a5c; }
.text-button { align-self: flex-start; border: 0; border-bottom: 1px solid currentColor; padding: 8px 0; margin-top: 18px; background: transparent; color: var(--wine); font-weight: 600; }

.closing { display: grid; place-items: center; min-height: 560px; padding: 100px 24px; text-align: center; background: radial-gradient(circle at center, #6c3b41 0%, var(--wine) 66%); color: var(--cream); }
.closing h2 { max-width: 900px; }
.closing .button { margin-top: 38px; }
footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 48px clamp(24px, 7vw, 112px); background: #180f10; color: rgba(255,250,247,.72); }
.brand-footer { width: 68px; height: 68px; }
footer p { margin: 0; }
footer .text-button { margin: 0; color: var(--rose-soft); }
footer small { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.made-by { grid-column: 1 / -1; margin: 0; font-size: .78rem; letter-spacing: .02em; color: rgba(255,250,247,.5); }
.made-by a { color: inherit; text-underline-offset: 3px; }

.booking-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: var(--cream); box-shadow: 0 30px 100px rgba(20,9,10,.4); }
.booking-dialog::backdrop { background: rgba(24,15,16,.72); backdrop-filter: blur(7px); }
.booking-shell { padding: clamp(24px, 5vw, 48px); }
.booking-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.booking-header h2 { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.icon-button { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--wine); font-size: 1.8rem; line-height: 1; }
.booking-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 30px 0 34px; }
.booking-progress span { height: 3px; border-radius: 99px; background: #eadbd8; }
.booking-progress span.active { background: var(--rose); }
.booking-content h3 { margin: 0 0 8px; font-family: "Italiana", serif; font-size: 2rem; font-weight: 400; }
.booking-content > p { margin: 0 0 24px; color: #786164; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-card { min-height: 120px; padding: 20px; text-align: left; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); }
.choice-card:hover, .choice-card.selected { border-color: var(--rose); background: var(--blush); }
.choice-card strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.choice-card small { color: #7e6669; }
.date-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.date-card, .slot-button { border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); }
.date-card { padding: 15px 8px; }
.date-card small, .date-card strong { display: block; }
.date-card strong { font-family: "Italiana", serif; font-size: 1.75rem; font-weight: 400; }
.date-card:hover, .date-card.selected, .slot-button:hover, .slot-button.selected { color: var(--cream); background: var(--wine); }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot-button { padding: 13px 8px; }
.booking-back { border: 0; padding: 10px 0; margin-bottom: 18px; background: transparent; color: #7b6265; text-decoration: underline; text-underline-offset: 4px; }
.booking-loading { padding: 34px 0; color: #765f61; }
.booking-loading::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 2px solid var(--rose-soft); border-top-color: var(--wine); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field textarea { min-height: 88px; resize: vertical; }
.booking-form .button { grid-column: 1 / -1; justify-self: start; }
.booking-message { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #f6dede; color: #702d36; }
.booking-message.visible { display: block; }
.success { text-align: center; padding: 18px 0; }
.success-mark { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: var(--blush); color: var(--wine); font-size: 2rem; }
.success-summary { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.success-summary p { margin: 5px 0; }
.google-box { margin-top: 22px; text-align: center; }
.google-split { margin: 8px 0 16px; color: #8a7174; }
.google-help { display: block; margin-top: 12px; color: #7e6669; font-size: .82rem; line-height: 1.45; }
#google-button { display: flex; justify-content: center; }
.password-hint { color: #7e6669; font-size: .78rem; }
.session-chip { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.session-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.session-chip .text-button { margin: 0 0 0 auto; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-header nav { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial-copy { grid-column: 1 / -1; order: -1; }
  .editorial-image { min-height: 500px; }
  footer { grid-template-columns: auto 1fr; }
  footer .text-button { justify-self: end; }
}

@media (max-width: 680px) {
  .site-header { height: 90px; padding: 14px 18px; }
  .brand { width: 60px; height: 60px; }
  .site-header .button-small { padding: 10px 14px; font-size: .82rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 520px; padding: 112px 22px 24px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 13vw, 3.2rem); }
  .hero-text { margin: 18px 0 20px; font-size: .96rem; line-height: 1.5; }
  .hero-actions { align-items: center; flex-direction: row; gap: 16px; }
  .hero-actions .button { align-self: auto; padding: 13px 18px; }
  .hero-actions .text-link { font-size: .9rem; }
  .hero-quote { margin-top: 18px; font-size: 1.12rem; }
  .hero-note { display: none; }
  .hero-visual { min-height: 360px; }
  .hero-visual::before { width: 76%; left: 12%; bottom: -8%; }
  .hero-visual > img { width: 88%; height: 100%; right: 6%; bottom: 0; object-position: bottom center; }
  .manifesto { align-items: flex-start; flex-direction: column; gap: 8px; padding: 24px; }
  .manifesto span { display: none; }
  .section { padding: 82px 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-copy { grid-column: auto; padding: 82px 24px; }
  .editorial-image { min-height: 430px; }
  .about-card { grid-template-columns: 1fr; }
  .about-photo { min-height: 480px; }
  .about-copy { padding: 44px 26px 54px; }
  footer { grid-template-columns: 1fr; }
  footer .text-button { justify-self: start; }
  .brand-footer { width: 68px; height: 68px; }
  .choice-grid { grid-template-columns: 1fr; }
  .date-grid, .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .booking-form { grid-template-columns: 1fr; }
  .field-full, .booking-form .button { grid-column: auto; }
  .booking-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); margin: auto; border-radius: 24px; overflow-y: auto; }
  .booking-shell { padding: 24px 20px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
