@font-face { font-family: "Riser Display"; src: url("/assets/fonts/RiserDisplay.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --bg: #f6f5f1;
  --ink: #18181b;
  --muted: #66666b;
  --accent: #a8552e;
  --line: rgba(24, 24, 28, .16);
  --display: "Riser Display", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .30  0 0 0 0 .28  0 0 0 0 .26  .2 0 0 0 -.02'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }

/* animated geometry behind everything */
#geo { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
main, footer.site { position: relative; z-index: 1; }

/* nav */
header.site {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(246, 245, 241, .84);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .02em; white-space: nowrap; }
nav.tabs { display: flex; gap: 28px; }
nav.tabs a {
  position: relative; padding: 6px 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
nav.tabs a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
nav.tabs a:hover { color: var(--ink); }
nav.tabs a:hover::after, nav.tabs a[aria-current="page"]::after { transform: scaleX(1); }
nav.tabs a[aria-current="page"] { color: var(--ink); }
.menu-btn {
  display: none; background: none; border: 1px solid var(--ink); color: var(--ink);
  padding: 6px 14px; font: inherit; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}

/* home */
.hero { min-height: calc(100vh - 68px - 90px); display: flex; align-items: center; padding: 48px 0; }
.hero h1 {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(1.9rem, 8.4vw, 7rem); letter-spacing: -.02em; text-transform: uppercase;
}
.hero h1 { text-shadow: 0 0 14px rgba(255, 253, 248, .9), 0 0 38px rgba(255, 253, 248, .75); }
.hero h1 small { display: block; font-size: .26em; font-weight: 700; letter-spacing: .3em; margin-bottom: .9em; }
.cta { margin-top: 44px; }
.btn {
  display: inline-block; padding: 14px 30px; border: 1px solid var(--ink);
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--bg); }

/* inner pages */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5.5vw, 3.8rem); letter-spacing: -.01em; }
.page-head p { color: var(--muted); max-width: 56ch; margin-top: 10px; }

.book-frame {
  margin: 8px 0 24px; border: 1px solid var(--line); overflow: hidden;
  height: min(82vh, 860px); box-shadow: 0 24px 60px rgba(24, 24, 28, .2);
}
.book-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.book-actions { margin-bottom: 56px; }

.contact-list { list-style: none; padding: 0; max-width: 560px; margin: 24px 0 72px; }
.contact-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 3.4vw, 1.4rem); transition: color .2s; word-break: break-all; text-align: right; }
.contact-list a:hover { color: var(--accent); }

.soon { margin: 24px 0 72px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }

footer.site { margin-top: auto; border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .82rem; background: rgba(246, 245, 241, .84); }
footer.site .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 760px) {
  .brand { font-size: .82rem; white-space: normal; line-height: 1.2; }
  .menu-btn { display: block; }
  nav.tabs { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  nav.tabs.open { display: flex; }
  nav.tabs a { padding: 10px 0; }
  .book-frame { height: 70vh; }
}
