:root {
  --paper: #f3f2ec;
  --tint: #ebeae2;
  --ink: #1a1a1a;
  --stone: #5b5b55;
  --hair: #dcdcd4;
  --linden: #2e4a38;
  --linden-2: #3b5d47;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1rem; }
h4 { font-size: .95rem; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 3rem); }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.line { border-top: 1px solid var(--hair); }
.tint { background: var(--tint); }

.eyebrow {
  font: 600 .7rem/1 var(--head);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.1rem;
}
.sub, .lead { color: var(--stone); max-width: 34rem; margin-top: 1rem; }
.lead { font-size: 1.05rem; margin: 1.4rem 0 2rem; }
.fine { font-size: .8rem; color: var(--stone); margin-top: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--linden); color: #fff;
  font: 600 .85rem/1 var(--head);
  padding: 1rem 1.4rem; border-radius: 10px;
  transition: background .3s, box-shadow .3s, transform .3s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--linden-2); box-shadow: 0 10px 30px -10px rgba(46, 74, 56, .6); }
.btn:focus-visible, summary:focus-visible, .link-cta:focus-visible, .bk button:focus-visible, .card-open:focus-visible { outline: 2px solid var(--linden); outline-offset: 3px; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: .7rem 1rem; font-size: .78rem; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .35); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair); }
.btn-ghost:hover { background: #fff; box-shadow: none; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Closers */
.badge {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem;
  font: 600 .68rem/1.5 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--stone);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3f8a5a; position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }
.inline-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px dashed var(--hair);
}
.inline-cta p { font: 500 1rem/1.4 var(--head); }
.link-cta { font: 600 .9rem var(--head); color: var(--linden); display: inline-flex; gap: .4rem; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-cta .arrow, .card-open .arrow { transition: transform .3s var(--ease); display: inline-block; }
.link-cta:hover .arrow, .card-open:hover .arrow { transform: translateX(4px); }
.note .link-cta { margin-top: .6rem; }

.stickybar {
  position: fixed; left: 50%; bottom: 1.2rem; z-index: 20;
  display: flex; align-items: center; gap: 1.4rem;
  padding: .6rem .6rem .6rem 1.3rem; border-radius: 14px;
  background: rgba(26, 26, 26, .92); color: var(--paper);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
  font-size: .85rem; translate: -50% 160%; transition: translate .5s var(--ease);
}
.stickybar.show { translate: -50% 0; }
.stickybar span { color: #b9b9b1; }
.stickybar .btn { background: var(--paper); color: var(--ink); }

/* Booking dialog */
dialog { margin: auto; border: 0; padding: 0; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: rgba(26, 26, 26, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog[open] { animation: pop .45s var(--ease); }
dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.bk { width: min(520px, 100% - 2rem); max-height: min(720px, 100dvh - 2rem); border-radius: 18px; padding: 1.2rem 1.6rem 1.8rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); overflow: auto; }
.bk-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.bk-back, .bk-x { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; font-size: 1.3rem; color: var(--stone); cursor: pointer; transition: background .2s; }
.bk-back:hover, .bk-x:hover { background: var(--tint); color: var(--ink); }
.bk-back.off { visibility: hidden; }
.bk-progress { display: flex; gap: .4rem; list-style: none; }
.bk-progress li { width: 28px; height: 4px; border-radius: 4px; background: var(--hair); transition: background .4s; }
.bk-progress li.on { background: var(--linden); }
.bk-step h3 { font-size: 1.4rem; outline: none; }
.bk-step .eyebrow { margin-bottom: .7rem; }
.bk-step:not([hidden]) { animation: slide .45s var(--ease); }
@keyframes slide { from { opacity: 0; transform: translateX(14px); } }
.bk-sub { color: var(--stone); font-size: .92rem; margin: .5rem 0 1.4rem; }
.bk-opts { display: grid; gap: .8rem; }
.bk-opt {
  display: flex; align-items: center; gap: 1rem; text-align: left; width: 100%;
  padding: 1.1rem 1.2rem; border-radius: 14px; border: 1px solid var(--hair); background: #fafaf6;
  font: inherit; color: inherit; cursor: pointer; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bk-opt:hover { border-color: var(--linden); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(46, 74, 56, .5); }
.bk-opt svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--linden); fill: var(--paper); flex-shrink: 0; }
.bk-opt span:not(.arrow) { flex: 1; display: grid; gap: .15rem; }
.bk-opt strong { font: 600 1rem var(--head); }
.bk-opt small { color: var(--stone); font-size: .82rem; }
.bk-opt .arrow { color: var(--stone); transition: transform .3s var(--ease); }
.bk-opt:hover .arrow { transform: translateX(4px); color: var(--linden); }

.cal { margin-top: 1.2rem; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; font-family: var(--head); }
.cal-head button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--hair); background: transparent; font-size: 1.1rem; cursor: pointer; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; text-align: center; }
.cal-dow span { font-size: .7rem; color: var(--stone); padding: .3rem 0; }
.cal-grid button {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: transparent;
  font: 500 .9rem var(--body); color: #b5b5ad; cursor: default;
}
.cal-grid button.open { color: var(--ink); background: #fafaf6; border-color: var(--hair); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.cal-grid button.open:hover { border-color: var(--linden); transform: translateY(-1px); }
.cal-grid button.today { box-shadow: inset 0 -2px 0 var(--linden); }
.cal-grid button.sel { background: var(--linden); color: #fff; border-color: var(--linden); }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.slots button {
  padding: .75rem .4rem; border-radius: 10px; border: 1px solid var(--hair); background: #fafaf6;
  font: 500 .88rem var(--body); cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.slots button:hover { border-color: var(--linden); }
.slots button.sel { background: var(--linden); color: #fff; border-color: var(--linden); }
.slots small { display: block; font-size: .68rem; color: var(--stone); margin-top: .15rem; }
.slots button.sel small { color: #d6e2da; }
.slots .none { grid-column: 1 / -1; color: var(--stone); font-size: .9rem; }

.bk-chip { display: inline-block; font-size: .8rem; padding: .45rem .8rem; border-radius: 999px; background: var(--tint); margin: .7rem 0 1.2rem; }
.bk-form { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.bk-form .full { grid-column: 1 / -1; }
.bk-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .3rem; font: 600 .78rem var(--head); }
.bk-form label > input, .bk-form label > textarea { flex-basis: 100%; }
.bk-form label small { font-weight: 500; color: var(--stone); }
.bk-form input, .bk-form textarea {
  font: 400 .95rem var(--body); padding: .75rem .85rem; border-radius: 10px; border: 1px solid var(--hair);
  background: #fff; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.bk-form input:focus, .bk-form textarea:focus { outline: none; border-color: var(--linden); box-shadow: 0 0 0 3px rgba(46, 74, 56, .15); }
.bk-form input.bad { border-color: #b3412e; }
.bk-form .btn { justify-content: center; margin-top: .3rem; }
.bk-err { color: #b3412e; font-size: .85rem; min-height: 0; }
.bk-err:empty { display: none; }
.bk-done { text-align: center; padding: 1rem 0 .5rem; }
.bk-check { width: 56px; height: 56px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--linden); color: #fff; font-size: 1.5rem; animation: pop .6s var(--ease); }
.bk-cal-links { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.bk-join { margin: .2rem 0 1.4rem; }
.cal-btn { gap: .55rem; background: #fff; }
.cal-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.bk-add { margin: 0 0 .6rem; }
.bk-done > .fine:last-child { margin-top: 1.2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cal-msg { grid-column: 1 / -1; padding: 2rem 0; color: var(--stone); font-size: .9rem; }
.cal-msg button { font: inherit; color: var(--linden); background: none; border: 0; text-decoration: underline; cursor: pointer; aspect-ratio: auto; }
.cal-grid.loading { opacity: .5; transition: opacity .2s; }

.exit { width: min(440px, 100% - 2rem); border-radius: 18px; padding: 2.2rem 2rem 2rem; position: relative; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.exit .bk-x { position: absolute; top: .8rem; right: .8rem; }
.exit h3 { font-size: 1.35rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(243, 242, 236, .75);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-color: var(--hair);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font: 600 .9rem var(--head); letter-spacing: .18em; }
.mark {
  display: inline-block; flex-shrink: 0; width: 30px; height: 30px; background: currentColor;
  -webkit-mask: url(assets/mark.svg) center / contain no-repeat; mask: url(assets/mark.svg) center / contain no-repeat;
}
.brand { line-height: 1; }
.word { display: flex; flex-direction: column; gap: .3rem; }
.word small { font: 500 .5rem/1 var(--head); letter-spacing: .32em; text-transform: uppercase; color: var(--stone); }
.brand:hover .mark { rotate: 90deg; }
.brand .mark { transition: rotate .8s var(--ease); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem;
  min-height: calc(92vh - 68px); padding: 4rem 0 5rem;
}
.hero-art { display: grid; place-items: center; perspective: 800px; }
.knot-big {
  width: min(340px, 72%); aspect-ratio: 1; background: var(--ink);
  -webkit-mask: url(assets/mark.svg) center / contain no-repeat; mask: url(assets/mark.svg) center / contain no-repeat;
  transition: transform .6s var(--ease);
  animation: unveil 1.6s var(--ease) .2s both, drift 14s ease-in-out 1.8s infinite;
}
@keyframes unveil { from { opacity: 0; scale: .8; rotate: -90deg; filter: blur(10px); } }
@keyframes drift { 50% { rotate: 6deg; } }

/* Headline word reveal */
.split .w { display: inline-block; opacity: 0; filter: blur(8px); transform: translateY(.4em); animation: rise .9s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; filter: blur(0); transform: none; } }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Cards with cursor spotlight */
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.8rem; }
.card {
  position: relative; overflow: hidden;
  background: #fafaf6; border: 1px solid var(--hair); border-radius: 14px;
  padding: 1.4rem 1.2rem 1.6rem; min-height: 160px;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease), opacity .8s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(240px circle at var(--x, 50%) var(--y, 50%), rgba(46, 74, 56, .12), transparent 65%);
  transition: opacity .3s;
}
.cards:hover .card::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: #c8c9be; box-shadow: 0 18px 40px -24px rgba(26, 26, 26, .35); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .85rem; color: var(--stone); line-height: 1.5; }
.card-open { display: block; background: transparent; border-style: dashed; cursor: pointer; }
.card-open:hover { border-color: var(--linden); }

/* Steps with scroll-linked line */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 1rem; padding-top: 2rem; }
.steps-track { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.steps-track span { display: block; height: 100%; width: 100%; background: var(--linden); transform-origin: left; transform: scaleX(var(--p, 0)); }
.num { display: block; font: 500 2.4rem/1 var(--head); margin-bottom: 1.2rem; letter-spacing: -.03em; }
.step h3 { margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--stone); max-width: 18rem; }

/* Example flow: steps light up in sequence */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6rem; margin-top: 2.6rem; }
.flow li {
  position: relative; background: #fafaf6; border: 1px solid var(--hair); border-radius: 12px; padding: 1.1rem 1.1rem 1.3rem;
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease);
}
.flow li:not(:last-child)::after {
  content: "→"; position: absolute; right: -1.85rem; top: 50%; translate: 0 -50%;
  color: var(--stone); transition: color .5s, translate .5s var(--ease);
}
.flow li h3 { margin-bottom: .4rem; }
.flow li p { font-size: .82rem; color: var(--stone); line-height: 1.5; }
.flow li.on { border-color: var(--linden); box-shadow: 0 0 0 3px rgba(46, 74, 56, .12); transform: translateY(-3px); }
.flow li.on::after { color: var(--linden); translate: 4px -50%; }

/* Founders */
.founders { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: center; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo {
  aspect-ratio: 3 / 4; background: #e2e1da; border-radius: 10px;
  display: flex; align-items: flex-end; padding: .8rem; font-size: .7rem; color: var(--stone);
  transition: transform .6s var(--ease);
}
.photo:nth-child(2) { transform: translateY(2rem); }
.photos:hover .photo:first-child { transform: rotate(-2deg); }
.photos:hover .photo:nth-child(2) { transform: translateY(2rem) rotate(2deg); }
.note p:not(.eyebrow) { margin-bottom: 1rem; font-size: 1.05rem; max-width: 32rem; }

/* CTA */
.cta { background: var(--ink); color: var(--paper); padding: clamp(4rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  left: var(--cx, 70%); top: var(--cy, 50%); translate: -50% -50%;
  background: radial-gradient(circle, rgba(59, 93, 71, .45), transparent 65%);
  pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease);
}
.cta-in { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.cta .eyebrow { color: #9a9a92; }
.cta h2 { max-width: 30rem; }
.cta-sub { margin-top: 1rem; color: #c9c9c1; font-size: .95rem; }
.cta-act { text-align: center; flex-shrink: 0; }
.cta .fine { color: #9a9a92; }

/* FAQ accordion */
.faq { margin-top: 2.2rem; border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 0;
  font: 600 .95rem var(--head); display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.2rem; line-height: 1; transition: rotate .4s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.ans > p { overflow: hidden; color: var(--stone); font-size: .92rem; }
.faq details.opened .ans { grid-template-rows: 1fr; }
.faq details.opened .ans > p { padding-bottom: 1.2rem; }

/* Footer */
.foot { border-top: 1px solid var(--hair); padding: 2.5rem 0 3rem; font-size: .78rem; color: var(--stone); }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.foot-brand { display: flex; align-items: center; gap: .8rem; max-width: 26rem; }
.foot .mark { width: 22px; height: 22px; color: var(--ink); }
.foot-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: flex-end; }
.foot-meta a { color: var(--linden); font-weight: 500; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(2)::after { display: none; }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 0 4rem; gap: 1rem; }
  .hero-art { display: none; }
  .hero .btn { width: 100%; justify-content: center; }
  .cards, .flow, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .steps { gap: 1.8rem; padding: 0 0 0 1.6rem; }
  .steps-track { top: 0; bottom: 0; right: auto; width: 2px; height: auto; }
  .steps-track span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .4rem; }
  .num { font-size: 1.4rem; grid-row: span 2; }
  .flow { gap: 1.6rem; }
  .flow li::after { display: none; }
  .founders { grid-template-columns: 1fr; gap: 3rem; }
  .cta-in { flex-direction: column; align-items: stretch; }
  .cta-act .btn { width: 100%; justify-content: center; }
  .nav .btn-sm { padding: .6rem .8rem; }
  .word small { display: none; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-meta { justify-content: flex-start; }
  .stickybar { left: .75rem; right: .75rem; bottom: .75rem; translate: 0 160%; justify-content: space-between; gap: .8rem; }
  .stickybar.show { translate: 0 0; }
  .stickybar span { display: none; }
  .inline-cta .btn { width: 100%; justify-content: center; }
  .bk { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; padding: 1rem 1.2rem 1.6rem; }
  .bk-form { grid-template-columns: 1fr; }
  .bk-form input, .bk-form textarea { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .split .w { opacity: 1; transform: none; filter: none; }
}
