/* Shared styles for every page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Palette taken from Radka's own brand (Linktree + Instagram) */
:root {
  --cream:      #FBF7F3;
  --paper:      #FFFFFF;
  --sand:       #F3E9E1;
  --peach:      #E5B89D;
  --peach-soft: #F6E3D7;
  --clay:       #B97A57;   /* deeper peach for small accents on cream */
  --accent:     #B5643C;   /* vibrant terracotta for the headline's second line; 4.2:1 on cream */
  --mocha:      #5D4E38;
  --ink:        #2F271D;
  --stone:      #78716C;
  --taupe:      #A8A29E;
  --olive:      #676B5F;
  --line:       rgba(93, 78, 56, 0.16);
  --line-strong:rgba(93, 78, 56, 0.35);

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Albert Sans', system-ui, sans-serif;
  --ease:  cubic-bezier(0.22, 1, 0.36, 1);
  --r:     14px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--mocha); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }

/* ── Header ── */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(16px, 4vw, 48px);
}
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand__name { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.7rem; color: var(--mocha); letter-spacing: -0.01em; }
.brand__tag { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone); }
.top__ig { font-size: 0.9rem; color: var(--mocha); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.top__ig:hover { border-color: var(--mocha); }
.socials { display: flex; gap: 6px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--mocha); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--mocha); color: var(--cream); border-color: var(--mocha); }
@media (max-width: 520px) { .brand__tag { display: none; } }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 48px; }

.screen { display: none; }
.screen.active { display: block; animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen.active { animation: none; } }

/* ── Intro ── */
.intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding-top: clamp(16px, 5vh, 56px); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } .intro__art { max-width: 460px; width: 100%; margin: 8px auto 0; } .ring { max-width: 300px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 22px; }
h1 em { font-style: italic; color: var(--mocha); }
.h-split span, .h-split em { display: block; }
.h-split em { color: var(--accent); margin-top: 0.08em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--stone); max-width: 34em; margin-bottom: 30px; }
.pillars { list-style: none; display: grid; gap: 12px; margin-bottom: 34px; }
.pillars li { display: flex; gap: 14px; align-items: baseline; font-size: 1.02rem; }
.pillars b { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--mocha); min-width: 1.6em; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hint { font-size: 0.88rem; color: var(--stone); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mocha); color: var(--cream);
  padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none;
  transition: background .2s, transform .2s var(--ease), opacity .2s;
}
.btn:hover { background: var(--ink); transform: translateY(-1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; background: var(--mocha); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover:not(:disabled) .arrow { transform: translateX(3px); }

/* Pillar circle: four quarters around "Built around you", with a key underneath */
.intro__art { position: relative; }
.ring { width: 100%; max-width: 380px; height: auto; display: block; margin: 0 auto; }
.ring text { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.ring .center-big { font-family: var(--serif); font-style: italic; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 400; fill: var(--ink); }

.pillar-key { list-style: none; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "goals lifestyle" "capacity experience"; gap: 18px 24px; margin-top: 26px; }
.pillar-key li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9rem; color: var(--stone); line-height: 1.45; }
.pillar-key b { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.pillar-key__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; transform: translateY(1px); }
.pillar-key__goals { grid-area: goals; }
.pillar-key__lifestyle { grid-area: lifestyle; }
.pillar-key__experience { grid-area: experience; }
.pillar-key__capacity { grid-area: capacity; }
@media (max-width: 520px) { .pillar-key { grid-template-columns: 1fr; grid-template-areas: none; gap: 14px; } .pillar-key li { grid-area: auto; } }

/* Build-in: script adds .will-build, then .built once the circle is on screen */
.wedge { transform-box: view-box; transform-origin: 200px 200px; }
.will-build .wedge > *, .will-build .pillar-key li { opacity: 0; }
.will-build .wedge > * { transform: scale(.82); transform-origin: 200px 200px; transform-box: view-box; }
.will-build .pillar-key li { transform: translateY(8px); }
.built .wedge > *, .built .pillar-key li {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i) * .45s + .15s);
}

/* ── Quiz ── */
.quiz { max-width: 680px; margin: 0 auto; padding-top: clamp(8px, 4vh, 40px); }
.quiz--wide { max-width: 960px; }
.quiz__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.back { font-size: 0.92rem; color: var(--stone); padding: 6px 0; }
.back:hover { color: var(--ink); }
.dots { display: flex; gap: 6px; }
.dots span { width: 26px; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.dots span.on { background: var(--mocha); }

.q-num { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--clay); margin-bottom: 8px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 10px; }
.q-sub { color: var(--stone); margin-bottom: 26px; max-width: 36em; }

.opts { list-style: none; display: grid; gap: 10px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opts.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 560px) { .opts.two { grid-template-columns: 1fr; } .opts.four { grid-template-columns: repeat(2, 1fr); } }

.opt {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px;
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
}
.opt:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: 0 6px 18px -12px rgba(47, 39, 29, .35); }
.opt[aria-pressed="true"] { background: var(--peach-soft); border-color: var(--mocha); }
.opt__key {
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; color: var(--mocha);
  border: 1px solid var(--line-strong); background: var(--cream);
  transition: background .2s, color .2s, border-color .2s;
}
.opt[aria-pressed="true"] .opt__key { background: var(--mocha); color: var(--cream); border-color: var(--mocha); }
.opt__t { display: block; font-weight: 600; font-size: 1.02rem; }
.opt__d { display: block; font-size: 0.9rem; color: var(--stone); margin-top: 2px; }
.opt--num { flex-direction: column; justify-content: center; text-align: center; gap: 2px; padding: 22px 10px; }
.opt--num .opt__big { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--mocha); }
.opt--num .opt__d { margin: 0; }

.q-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.note { margin-top: 22px; font-size: 0.86rem; color: var(--stone); padding-left: 14px; border-left: 2px solid var(--peach); }

/* Contact */
.form { display: grid; gap: 16px; max-width: 460px; }
.field span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--mocha); margin-bottom: 6px; }
.field small { font-weight: 400; color: var(--stone); }
.field input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--mocha); box-shadow: 0 0 0 3px var(--peach-soft); }
.field input.invalid { border-color: #B4442E; box-shadow: 0 0 0 3px rgba(180, 68, 46, .12); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); resize: vertical;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--mocha); box-shadow: 0 0 0 3px var(--peach-soft); }
.other { margin-top: 16px; animation: rise .4s var(--ease) both; }
.other .q-actions { margin-top: 14px; }

/* Booking */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font-size: 0.85rem; background: var(--sand); color: var(--mocha); padding: 6px 12px; border-radius: 999px; }
.cal { min-height: 700px; height: 700px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 640px) { .cal { height: 1000px; } }
.cal-fallback { margin-top: 12px; font-size: 0.88rem; color: var(--stone); }

/* ── Footer ── */
footer { border-top: 1px solid var(--line); padding: 22px clamp(16px, 4vw, 48px); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.85rem; color: var(--stone); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ── Intro: secondary link to the guide ── */
.alt-cta { margin-top: 18px; font-size: 0.95rem; color: var(--stone); }
.alt-cta a { color: var(--mocha); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--peach); }
.alt-cta a:hover { border-color: var(--mocha); }

/* ── Links page ── */
.links { max-width: 520px; margin: 0 auto; padding-top: clamp(8px, 4vh, 40px); text-align: center; }
.monogram { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--mocha); color: var(--peach); font-family: var(--serif); font-style: italic; font-size: 2.6rem; }
.links h1 { font-size: clamp(2.2rem, 7vw, 3rem); margin-bottom: 8px; }
.links .lede { margin: 0 auto 28px; font-size: 1.02rem; }
.link-list { list-style: none; display: grid; gap: 12px; text-align: left; }
.link-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-decoration: none; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 18px 20px;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.link-card:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: 0 6px 18px -12px rgba(47, 39, 29, .35); }
.link-card .opt__t { color: var(--ink); }
.link-card__arrow { color: var(--mocha); flex: none; transition: transform .2s var(--ease); }
.link-card:hover .link-card__arrow { transform: translateX(3px); }
.link-card--featured { background: var(--mocha); border-color: var(--mocha); }
.link-card--featured .opt__t { color: var(--cream); }
.link-card--featured .opt__d { color: var(--peach); }
.link-card--featured .link-card__arrow { color: var(--peach); }
.link-card__tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mocha); background: var(--peach); border-radius: 999px; padding: 3px 9px; margin-bottom: 6px; }

/* ── Guide page ── */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; padding-top: clamp(16px, 5vh, 56px); }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; } }
.guide-cover { display: block; width: 180px; height: auto; margin-top: 8px; border-radius: 6px; box-shadow: 0 18px 40px -22px rgba(47, 39, 29, .5); transform: rotate(-3deg); }
@media (max-width: 860px) { .guide-cover { display: none; } }
.guide-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); }
.guide-card h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.guide-card .form { max-width: none; }
.guide-card .btn { width: 100%; justify-content: center; }
.guide-done { display: none; }
.guide-card.is-done .form { display: none; }
.guide-card.is-done .guide-done { display: block; animation: rise .5s var(--ease) both; }
.guide-next { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.guide-next p { color: var(--stone); margin-bottom: 14px; }
.btn--ghost { background: transparent; color: var(--mocha); border: 1px solid var(--mocha); }
.btn--ghost:hover { background: var(--mocha); color: var(--cream); }

/* ── Videos (rendered by video.js) ── */
.videos { margin-top: clamp(56px, 10vh, 112px); padding-top: clamp(32px, 6vh, 56px); border-top: 1px solid var(--line); }
.videos .q-sub { margin-bottom: 28px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.video-grid--single { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 720px) { .video-grid { grid-template-columns: 1fr; } }
.video-card .chip { display: inline-block; margin-top: 14px; }
.video-card h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.35; margin-top: 8px; color: var(--ink); }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); }
.yt__btn { position: absolute; inset: 0; width: 100%; height: 100%; }
.yt__btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.yt__btn:hover img { transform: scale(1.03); }
.yt__play {
  position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(251, 247, 243, .92); color: var(--mocha);
  box-shadow: 0 10px 30px -10px rgba(47, 39, 29, .6);
  transition: transform .2s var(--ease), background .2s;
}
.yt__play svg { margin-left: 3px; }
.yt__btn:hover .yt__play { transform: scale(1.08); background: var(--cream); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.videos__more { margin-top: 24px; }
