/* waymark — site styles */
:root {
  --paper: #F9F7F2;
  --paper-2: #FFFDF9;
  --ink: #0B0B0B;
  --ink-2: #3D3A35;
  --muted: #5C5750;
  --line: #E5E0D6;
  --line-2: #CCC6BB;
  --orange: #C2401B;      /* buttons and selections (meets AA with white text) */
  --orange-bright: #D9481F;
  --header-h: 85px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
::selection { background: rgba(217, 72, 31, 0.24); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; font-weight: 600; margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.muted { color: var(--muted); font-size: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-primary:disabled { opacity: 0.35; cursor: default; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 15px 26px; }
.btn-ghost-light { align-self: flex-start; color: #fff; border: 1px solid #736C62; padding: 12px 20px; font-size: 15px; }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }
.btn-ripple { position: relative; }
.btn-ripple svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.btn-ripple span { position: relative; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(249, 247, 242, 0);
  border-bottom: 1px solid rgba(229, 224, 214, 0);
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-scrolled {
  background: rgba(249, 247, 242, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { display: block; }
.brand span { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 26px; letter-spacing: -0.03em; line-height: 1; }
.brand-small span { font-size: 20px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; min-height: 44px; }
.nav a { text-decoration: none; }
.book-slot { position: relative; width: 0; height: 44px; margin-left: -28px; transition: width .35s cubic-bezier(.2,.8,.2,1), margin-left .35s cubic-bezier(.2,.8,.2,1); }
.book-slot.is-shown { width: 156px; margin-left: 0; }
.book-btn {
  position: absolute; right: 0; top: 0; width: 156px; height: 44px; padding: 0; border: 0; background: transparent;
  cursor: pointer; font: inherit; font-weight: 700; font-size: 15px; color: #fff; opacity: 0; transform: translateY(-90px);
}
.book-btn svg { position: absolute; left: 0; top: 0; overflow: visible; display: block; }
.book-btn span { position: relative; }
.book-btn:focus-visible { outline-offset: 4px; border-radius: 999px; }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); background: var(--paper); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none; background: linear-gradient(to bottom, rgba(249, 247, 242, 0), var(--paper)); z-index: 1; }
.hero-haze {
  position: absolute; left: -10%; right: -10%; top: 14%; bottom: 2%; pointer-events: none;
  background: rgba(249, 247, 242, 0.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: radial-gradient(ellipse 46% 50% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 46% 50% at 50% 50%, #000 52%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 880px; margin: 0 auto;
  padding: calc(var(--header-h) + clamp(105px, 11vw, 165px)) var(--gutter) clamp(110px, 12vw, 190px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px;
}
.hero h1 { font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
h2 { text-wrap: balance; }
.hero p { max-width: 640px; font-size: 19px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 8px; }

/* Services */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.section-head h2 { max-width: 620px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.section-head p { max-width: 400px; color: var(--ink-2); }
.services { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.map { flex: 1 1 360px; min-width: 0; min-height: 460px; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #F4F0E8; cursor: crosshair; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.map-tip {
  position: absolute; left: 0; top: 0; pointer-events: none; background: var(--ink); color: #fff; border-radius: 12px;
  padding: 10px 14px; width: max-content; max-width: 230px; box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  display: none; flex-direction: column; gap: 2px;
}
.map-tip.is-on { display: flex; }
.map-tip-elev { font-size: 12px; font-weight: 700; color: #BAB4AA; letter-spacing: 0.02em; }
.map-tip-text { font-size: 14px; line-height: 1.4; }
.cards { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.card { background: var(--paper); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.card p { color: var(--ink-2); }

/* About */
.about { background: var(--ink); color: #fff; }
.about-inner { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-photo { flex: 1 1 340px; min-width: 0; max-width: 440px; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 20px; display: block; }
.about-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about-text h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; }
.about-text p { font-size: 18px; color: #DAD5CC; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding-top: 16px; border-top: 1px solid #36322C; }
.pillars div { display: flex; flex-direction: column; gap: 6px; }
.pillars strong { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 18px; }
.pillars span { font-size: 15px; color: #BAB4AA; }

/* FAQ */
.faq-title { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 40px; }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px 48px; }
.faq div { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.faq h3 { font-size: 19px; letter-spacing: -0.01em; }
.faq p { color: var(--ink-2); }

/* Contact */
.contact { background: var(--paper-2); border-top: 1px solid var(--line); }
.contact-inner { max-width: 880px; margin: 0 auto; padding: clamp(72px, 9vw, 128px) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.contact h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.035em; }
.contact p { max-width: 540px; font-size: 18px; color: var(--ink-2); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; padding-top: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: var(--muted); }

/* Booking modal */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; background: rgba(11, 11, 11, 0.55); cursor: pointer; }
.modal-panel {
  position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto;
  background: var(--paper-2); border-radius: 20px; padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal-head h2 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 4px; }
.modal-head p { font-size: 15px; color: var(--muted); }
.icon-btn { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.icon-btn.small { width: 40px; height: 40px; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
#booking-form { display: flex; flex-direction: column; gap: 24px; }
.picker { display: flex; flex-wrap: wrap; gap: 28px; }
.cal { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
#cal-month, .times-head { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 17px; }
.times-head { line-height: 40px; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.day { height: 42px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); cursor: pointer; padding: 0; }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day:disabled { background: var(--paper); color: #A39D93; border-color: var(--paper); font-weight: 400; cursor: default; }
.day[aria-pressed="true"] { background: var(--orange); color: #fff; border-color: var(--orange); }
.times { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot-grid:empty { display: none; }
.slot { height: 44px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 700; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--orange); color: #fff; border-color: var(--orange); }
.booking-foot { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.fields input { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); color: var(--ink); }
.booking-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
#booking-summary { font-size: 15px; color: var(--ink-2); }
.booking-done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 24px 0 8px; }
.booking-done[hidden] { display: none; }
.booking-done h3 { font-size: 22px; letter-spacing: -0.02em; }
.booking-done p { max-width: 440px; color: var(--ink-2); }
.done-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--orange); display: flex; align-items: center; justify-content: center; }
body.modal-open { overflow: hidden; }
