:root {
  --bg: #FAFAF8;
  --ink: #141414;
  --muted: #6B6864;
  --rule: #E6E4E0;
  --accent: #FF385C;
  --accent-hover: #E8324F;
  --gutter: 24px;
  --section-pad: clamp(64px, 8vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

a { color: var(--ink); }

.text-link,
.contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-thickness 150ms ease, color 150ms ease;
}

.text-link:hover,
.contact a:hover { text-decoration-thickness: 3px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

.button:hover { background: var(--accent-hover); transform: translateY(-1px); }

.button-outline {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
  color: var(--ink);
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button-outline:hover { background: var(--ink); color: #fff; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip:focus { left: 0; }

main, section { min-width: 0; }

.top {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 16px;
  background: rgb(250 250 248 / 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 150ms ease, background-color 150ms ease;
}

.top.is-scrolled { background: rgb(250 250 248 / 0.96); box-shadow: 0 0 0 1px var(--rule), 0 8px 24px rgb(20 20 20 / 0.06); }

.top-home { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: var(--ink); }
.top-mark { width: 30px; height: 30px; flex: none; }
.top-id { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.top-name { font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.top-title { font-size: 0.9rem; font-weight: 500; color: var(--muted); line-height: 1.2; }

.top-links { display: none; align-items: center; gap: 22px; font-size: 0.95rem; color: var(--muted); }
.top-links a { color: inherit; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 150ms ease, border-color 150ms ease; }
.top-links a:hover { color: var(--ink); }
.top-links a.is-current { color: var(--ink); border-bottom-color: var(--ink); }

.top-actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; justify-self: end; }
.top .button { padding: 11px 18px; font-size: 15px; }
.top-cta { transition: opacity 200ms ease; }

.day, .people, .questions, .platforms-block, .book {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter);
}

.day { padding-top: clamp(40px, 6vw, 96px); }

.people h2, .questions h2, .platforms-block h2, .book h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 40px;
}

.house {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin: 0 auto;
}

#house-canvas, #house-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rooms-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0 0 40px;
  border-bottom: 1px solid var(--rule);
}

.room-tab {
  background: none;
  border: 0;
  padding: 14px 0 12px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease;
}

.room-tab:hover { color: var(--ink); }
.room-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

.rooms {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 32px;
  align-items: center;
}

.room {
  display: grid;
  gap: 18px;
  animation: room-in 250ms ease;
}

@keyframes room-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.stop-name {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0;
}

.stop-text {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  max-width: 46ch;
  margin: 0;
}

.stop-text strong { font-weight: 700; }

.stop-tools { color: var(--muted); font-size: 0.95rem; margin: 0; }

.day-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin-top: 48px;
}

.day-note {
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.05rem;
  margin: 0;
}

.qa { margin: 0; }

.qa-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.qa-row:last-child { border-bottom: 1px solid var(--rule); }
.qa-row dt { font-weight: 700; font-size: 1.15rem; }
.qa-row dd { margin: 0; font-size: 1.05rem; line-height: 1.5; max-width: 56ch; }

.platform-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  list-style: none;
  padding: 0;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.platform-row li {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 28px 12px 22px;
  background: var(--bg);
  color: var(--ink);
  text-align: center;
}

.mark { display: flex; align-items: center; justify-content: center; height: 36px; transition: color 150ms ease; }
.mark svg { width: 32px; height: 32px; }
.wordmark { font-weight: 700; font-size: 1.55rem; letter-spacing: -0.03em; line-height: 1; }
.platform-row li:hover .mark { color: var(--accent); }
.platform-row .name { font-size: 0.85rem; color: var(--muted); }

.tools { color: var(--muted); font-size: 1rem; margin-top: 40px; max-width: 60ch; }
.tools + .tools { margin-top: 12px; }

.book-lead { font-size: 1.1rem; max-width: 44ch; margin: 0 0 16px; }

.agenda {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0 0 32px;
  display: grid;
  gap: 6px;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 48ch;
}

#calendly-slot {
  min-height: 640px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

#calendly-slot.is-fallback { min-height: 0; }

.calendly-inline-widget { height: 640px; width: 100%; }

.calendly-fallback {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 44ch;
  padding: 48px;
}

.contact { margin-top: 40px; }

.contact-email {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 24px;
  word-break: break-word;
  overflow-wrap: anywhere;
  width: fit-content;
}

.contact-email:hover { color: var(--accent); }

.contact p { font-size: 1.1rem; }
.contact-phone { margin-bottom: 8px; }
.contact > .text-link { display: inline-block; margin-top: 32px; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 40px var(--gutter);
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  display: flex;
  justify-content: center;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgb(250 250 248 / 0.94);
  border-top: 1px solid var(--rule);
}

.sticky-cta .button { width: 100%; max-width: 420px; text-align: center; }
body.has-sticky-cta { padding-bottom: 88px; }

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }
.reveal:nth-child(5) { transition-delay: 240ms; }

@media (min-width: 760px) {
  :root { --gutter: 56px; }
  .platform-row { grid-template-columns: repeat(4, 1fr); }
  .qa-row { grid-template-columns: minmax(220px, 1fr) 2fr; }
}

@media (min-width: 900px) {
  .rooms { grid-template-columns: 6fr 6fr; column-gap: clamp(40px, 6vw, 96px); }

  .platform-row { grid-template-columns: repeat(6, 1fr); }

  .book { display: grid; grid-template-columns: 7fr 5fr; gap: 0 48px; align-items: start; }
  .book h2, .book-lead, .agenda { grid-column: 1 / -1; }
  .contact { margin-top: 0; }
  .sticky-cta { display: none !important; }
}

#house-fallback.draw path,
#hero-fallback.draw path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: house-draw 1.4s cubic-bezier(.4, 0, .2, 1) forwards;
}

#house-fallback.draw path:nth-child(2), #hero-fallback.draw path:nth-child(2) { animation-delay: 0.25s; }
#house-fallback.draw path:nth-child(3), #hero-fallback.draw path:nth-child(3) { animation-delay: 0.5s; }
#house-fallback.draw path:nth-child(4), #hero-fallback.draw path:nth-child(4) { animation-delay: 0.8s; }

#house-fallback.draw path[fill="#FF385C"],
#hero-fallback.draw path[fill="#FF385C"] {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
  opacity: 0;
  animation: house-door 400ms ease 1.1s forwards;
}

@keyframes house-draw { to { stroke-dashoffset: 0; } }
@keyframes house-door { to { opacity: 1; } }

.hero-counter {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 120px) var(--gutter) clamp(64px, 8vw, 120px);
  min-height: 88vh;
  display: grid;
  align-content: center;
  gap: 32px;
}

.promise { font-size: clamp(3rem, 7.2vw, 6.6rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.promise .line { display: block; text-wrap: balance; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.counter {
  display: inline-block;
  position: relative;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.14em;
  margin-right: 0.03em;
}

.o-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.o-ring circle {
  fill: none;
  stroke: var(--ink);
  stroke-width: 13;
  stroke-linecap: round;
  stroke-dasharray: 277;
  stroke-dashoffset: 277;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 900ms cubic-bezier(.4, 0, .2, 1);
}

.o-ring.is-drawn circle { stroke-dashoffset: 0; }
.counter-house { position: absolute; inset: 21%; }
#hero-canvas, #hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.running { position: relative; }

.door-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

.door-line path {
  fill: none;
  stroke: var(--accent);
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-counter.is-ready .door-line path { transition: stroke-dashoffset 500ms cubic-bezier(.4, 0, .2, 1); }

.promise .word, .promise .running { opacity: 0; transform: translateY(8px); transition: opacity 500ms ease, transform 500ms ease; }
.hero-counter.is-ready .promise .word, .hero-counter.is-ready .promise .running { opacity: 1; transform: none; }

.buyer { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; max-width: 52ch; }
.proof { font-size: 1.05rem; color: var(--ink); max-width: 52ch; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

@media (prefers-reduced-motion: reduce) {
  #house-fallback path, #hero-fallback path { animation: none; stroke-dashoffset: 0; opacity: 1; }
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .button, .platform-row li, .mark { transition: none; }
  .room { animation: none; }
  .o-ring circle { transition: none; stroke-dashoffset: 0; }
  .promise .word, .promise .running { transition: none; opacity: 1; transform: none; }
  .door-line path { transition: none; }
}

@media (max-width: 899px) {
  .house { max-width: 320px; margin: 0 auto; }
  .rooms-nav { flex-wrap: nowrap; overflow-x: auto; gap: 0 22px; scrollbar-width: none; }
  .rooms-nav::-webkit-scrollbar { display: none; }
  .room-tab { white-space: nowrap; }
  .promise { font-size: clamp(2.6rem, 11vw, 5rem); }
  .buyer { font-size: 1.1rem; }
  .hero-counter { min-height: auto; padding-top: 40px; }
}

.contact-email { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }

.proof { display: flex; align-items: center; gap: 16px; }
.laurels { display: inline-flex; align-items: center; flex: none; --mark-h: 60px; height: var(--mark-h); }
.branch { height: var(--mark-h); width: auto; display: block; }
.branch-left { transform: scaleX(-1); }
.score { font-weight: 800; font-size: calc(var(--mark-h) * 0.62); line-height: 1; letter-spacing: -0.03em; margin: 0 calc(var(--mark-h) * -0.16); position: relative; z-index: 1; transform: translateY(-2%); }
.references { color: var(--muted); font-size: 0.95rem; margin-top: -12px; }
.assurance { color: var(--muted); font-size: 0.95rem; max-width: 52ch; margin-top: -14px; }

@media (min-width: 900px) {
  body.has-sticky-cta { padding-bottom: 0; }
}

@media (max-width: 899px) {
  .top { padding: 8px 14px; }
  .top-cta { display: none !important; }
  .top-title { display: none; }
}

@media (min-width: 1100px) {
  .top { grid-template-columns: 1fr auto 1fr; }
  .top-links { display: flex; }
}

@media (max-width: 899px) {
  .proof { flex-wrap: wrap; }
}
.nb { white-space: nowrap; }

/* Framed layout from Angel's mockup, 2026-09-06 */
body { background: #EEEDE9; }
.page { background: var(--bg); border-radius: 24px; margin: 10px; overflow: clip; }
.handnote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; line-height: 1.12; letter-spacing: -0.005em; color: var(--ink); margin: 0; }

.hero-counter { gap: 40px; min-height: 0; }
.hero-copy { position: relative; display: grid; gap: 28px; align-content: center; }
.hero-visual { position: relative; }
.hero-photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #E9E2D6; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.service-card { list-style: none; margin: 16px 0 0; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgb(20 20 20 / 0.10); display: grid; gap: 2px; font-size: 0.95rem; font-weight: 500; }
.service-card li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; }
.service-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F4F3EF; flex: none; }
.service-icon svg, .credential svg, .note-arrow { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-icon svg { width: 16px; height: 16px; }

.rooms-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--rule); margin: 0 0 40px; }
.rooms-head .rooms-nav { border-bottom: 0; margin: 0; }
.day-caption { color: var(--muted); font-size: 0.95rem; padding-bottom: 14px; margin: 0; white-space: nowrap; }
.house-note { position: absolute; font-size: 1.35rem; max-width: 10ch; display: none; }
.note-arrow { position: absolute; width: 56px; height: 38px; stroke-dasharray: 4 4; stroke-width: 1.4; }
.note-inside { top: 5%; left: 0; }
.note-inside .note-arrow { left: 92%; top: 78%; }
.note-guests { top: 12%; right: 0; text-align: right; }
.note-guests .note-arrow { right: 92%; top: 78%; }
.note-own { bottom: 6%; left: 0; }
.note-own .note-arrow { left: 92%; bottom: 50%; }
.day-cta { flex-direction: column; align-items: flex-start; gap: 16px; }
.day-note { order: 2; font-size: 0.95rem; }

.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin: 0 0 32px; }
.section-head h2 { margin: 0; }
.section-note { color: var(--muted); font-size: 0.95rem; margin: 0; }
.qa { display: grid; gap: 16px; }
.qa-card { display: grid; gap: 14px; align-content: start; padding: 28px 26px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; }
.qa-card dt { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.qa-card dd { margin: 0; font-size: 1rem; line-height: 1.5; }

.people-grid { display: grid; gap: 40px; }

.platform-row { gap: 12px; background: none; border: 0; }
.platform-row li { border: 1px solid var(--rule); border-radius: 14px; padding: 26px 12px 20px; background: #fff; }

.book-grid { display: grid; gap: 32px; }
.book-photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: #D9C4C8; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; }
.book-photo figcaption { position: absolute; inset: auto 0 0 0; padding: 28px; color: #fff; background: rgb(20 20 20 / 0.45); display: grid; gap: 8px; }
.book-photo strong { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 14ch; }
.book-photo span { font-size: 0.95rem; max-width: 34ch; }
.book-copy { display: grid; gap: 20px; align-content: start; justify-items: start; }
.book-copy h2 { margin: 0; }
.book-copy .agenda { margin: 0; }
.contact { margin: 0; display: grid; gap: 10px; align-content: start; justify-items: start; }
.contact .contact-email { font-size: 1rem; margin: 0; }
.contact p { font-size: 1rem; }
.contact-phone { margin: 0; }
.contact > .text-link { margin-top: 8px; }
#calendly-slot { margin-top: 40px; }

@media (min-width: 760px) {
  .qa { grid-template-columns: repeat(3, 1fr); }
  .house-note { display: block; }
}

@media (min-width: 900px) {
  .hero-counter { grid-template-columns: 12fr 8fr; align-items: stretch; column-gap: clamp(32px, 5vw, 72px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 56px); }
  .promise { font-size: clamp(2.2rem, 3.7vw, 3.5rem); }
  .buyer { font-size: 1.15rem; }
  .hero-visual { display: flex; flex-direction: column; }
  .hero-photo { aspect-ratio: auto; flex: 1; min-height: 520px; }
  .service-card { position: absolute; right: -20px; bottom: 28px; width: auto; margin: 0; white-space: nowrap; }
  .rooms { grid-template-rows: auto auto; }
  .house { grid-row: 1 / 3; }
  .day-cta { grid-column: 2; margin-top: 0; }
  .people-grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; }
  .book { display: block; }
  .book-grid { grid-template-columns: 5fr 3.6fr 3.4fr; gap: 40px; align-items: start; }
  .contact { border-left: 1px solid var(--rule); padding-left: 32px; }
}

.proof { display: flex; align-items: center; gap: 18px; max-width: 52ch; }
.proof .laurels { --mark-h: 48px; }
.references { margin-top: -12px; }

.skills { display: grid; gap: 16px; }
.skill-card { display: grid; gap: 10px; align-content: start; padding: 26px 24px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; }
.skill-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.25; margin: 0; }
.skill-card p { font-size: 1rem; line-height: 1.5; margin: 0; }
.skill-tools { color: var(--muted); font-size: 0.9rem; }
.credentials { background: #FFF1F4; border-radius: 20px; padding: 32px 28px; display: grid; gap: 28px; align-self: start; }
.credential { display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start; }
.credential svg { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.4; }
.credential h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; }
.credential p { color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin: 0; }
@media (min-width: 760px) { .skills { grid-template-columns: 1fr 1fr; } }

/* Wrapping: no orphaned last words in running text, balanced headings (Chrome 117+, ignored elsewhere). */
p, dd, li, .proof span { text-wrap: pretty; }
h1, h2, h3, dt, .book-photo strong, .handnote { text-wrap: balance; }
