:root {
  --ink: #2B1B2E;
  --ink-soft: #4A3A4C;
  --plum: #5A3A5E;
  --peach: #F2B98F;
  --sage: #EEF1EA;
  --sage-deep: #DDE4D6;
  --paper: #FFFFFF;
  --on-dark: #F6F1F4;
  --line: #B9AEBB;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--sage); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--plum); }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 20px; padding-right: 20px; } }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 10; }

/* Type */
.display { font-family: var(--display); letter-spacing: -0.02em; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--plum); }
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -0.03em; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-family: var(--display); font-weight: 700; font-size: 26px; }
.lead { font-size: 20px; line-height: 1.55; max-width: 620px; }
.body { font-size: 16px; line-height: 1.65; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; border-radius: 999px; font-weight: 600; font-size: 16px; padding: 14px 26px; font-family: inherit; cursor: pointer; border: 2px solid transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--plum); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-peach { background: var(--peach); color: var(--ink); font-weight: 700; }
.btn-peach:hover { background: #F6CBA9; color: var(--ink); }
.btn-outline-light { border-color: var(--on-dark); color: var(--on-dark); }
.btn-outline-light:hover { background: var(--on-dark); color: var(--ink); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav .btn { padding: 12px 20px; font-size: 15px; }
@media (max-width: 760px) {
  .nav { gap: 4px 16px; }
  .nav .hide-sm { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap-reverse; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 96px; }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.door { width: 300px; max-width: 100%; aspect-ratio: 3 / 4.4; background: var(--ink); border-radius: 150px 150px 0 0; position: relative; overflow: hidden; }
.door-light { position: absolute; inset: 18px 18px 0 18px; background: var(--peach); border-radius: 132px 132px 0 0; }
.door-panel { position: absolute; top: 18px; bottom: 0; left: 18px; width: 58%; background: var(--plum); border-radius: 132px 0 0 0; transform: perspective(600px) rotateY(38deg); transform-origin: left center; transition: transform .8s ease; }
.door:hover .door-panel { transform: perspective(600px) rotateY(55deg); }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.stack { display: flex; flex-direction: column; }
.dark { background: var(--ink); color: var(--on-dark); }
.white { background: var(--paper); }
.sage-deep { background: var(--sage-deep); }
.peach { background: var(--peach); }

.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.closed-doors .eyebrow { color: var(--peach); }
.closed-doors .h2 { font-weight: 600; }
.closed-doors .copy { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; }
.pull { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--peach); }

.grid { display: grid; gap: 20px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-250 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

.card { background: var(--paper); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card.sage { background: var(--sage); }
.card.peach { background: var(--peach); }
.card.dark { background: var(--ink); color: var(--on-dark); }
.card.dark .eyebrow { color: var(--peach); }

.quote { font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1.2; }
.muted { color: var(--ink-soft); }
.card.dark .muted { color: var(--on-dark); }

/* Services */
.tag { font-size: 14px; font-weight: 600; color: var(--plum); }
.svc-title { font-family: var(--display); font-size: 28px; font-weight: 700; }
.price { font-family: var(--display); font-size: 32px; font-weight: 700; }
.price span { font-family: var(--body); font-size: 16px; font-weight: 500; }
.card .small { font-size: 15px; line-height: 1.6; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about-photo { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.arch { width: 340px; max-width: 100%; aspect-ratio: 4 / 5; background: var(--sage-deep); border-radius: 170px 170px 28px 28px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.arch img { width: 100%; height: 96%; object-fit: contain; object-position: center bottom; display: block; }
.about-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.65; }
.about-copy .h2 { font-size: clamp(30px, 3.6vw, 44px); }

.is-not { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.is-not > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-bottom: 1.5px solid var(--line); padding: 20px 0; }
.faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 28px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-top: 8px; }

/* Contact */
.contact-head { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.contact-head .h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.05; }
.contact-head p { font-size: 18px; line-height: 1.6; max-width: 560px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 24px; }
.book-card { flex: 1 1 340px; min-width: 0; background: var(--ink); color: var(--on-dark); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.book-card .h3 { font-size: 30px; }
.message-card { flex: 1.4 1 420px; min-width: 0; background: var(--paper); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.message-card .h3 { font-size: 30px; }
@media (max-width: 600px) { .book-card, .message-card { padding: 26px; } }
.fields { display: flex; flex-wrap: wrap; gap: 14px; }
.field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; min-height: 44px; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--plum); outline-offset: 1px; border-color: var(--plum); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--ink-soft); }
.form-error { font-size: 14px; color: #A53A24; font-weight: 600; }
.message-card .btn { align-self: flex-start; }
.message-card .btn[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 14px; color: var(--ink-soft); padding-top: 32px; padding-bottom: 32px; }

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

/* ---------- Roll the dice widget ---------- */
.rd { background: var(--paper); border-radius: 28px; padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; max-width: 1200px; margin: 0 auto; }
.rd-top { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.rd-chart { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.rd-title-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; }
.rd-title-row h2 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; }
.rd-title-row p { font-size: 13px; color: var(--ink-soft); }
.rd-bars { height: 170px; display: flex; align-items: flex-end; gap: 3px; border-bottom: 2px solid var(--ink); padding-top: 6px; }
.rd-bar { flex: 1 1 0; min-width: 0; padding: 0; border: none; cursor: pointer; border-radius: 5px 5px 0 0; background: #B3A6B5; outline-offset: 2px; }
.rd-bar.preg { background: #E08A50; }
.rd-bar:hover, .rd-bar:focus-visible { background: #8E7A90; }
.rd-bar.preg:hover, .rd-bar.preg:focus-visible { background: #C46A2E; }
.rd-bar.selected { background: var(--ink); outline: 2px solid var(--ink); }
.rd-caption { min-height: 22px; font-size: 15px; font-weight: 600; }
.rd-controls { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.rd-controls label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.rd-controls select { font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; min-height: 44px; max-width: 320px; background: #fff; color: var(--ink); }
.rd-legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-soft); }
.rd-legend span { display: flex; align-items: center; gap: 6px; }
.rd-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

.rd-play { flex: 1 1 260px; min-width: 0; background: var(--sage); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.rd-dice { background: none; border: none; padding: 6px; cursor: pointer; display: flex; gap: 10px; }
.rd-dice[disabled] { cursor: not-allowed; opacity: .45; }
.rd-die { width: 52px; height: 52px; background: #fff; border: 2.5px solid var(--ink); border-radius: 12px; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); place-items: center; }
.rd-die:first-child { transform: rotate(-8deg); }
.rd-die:last-child { transform: rotate(10deg) translateY(6px); }
.rd-die span { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: 0; }
.rd-die span.on { opacity: 1; }
.rd-stage { height: 130px; display: flex; align-items: flex-end; justify-content: center; }
.rd-verdict { font-family: var(--display); font-size: 24px; font-weight: 700; text-align: center; color: var(--ink-soft); }
.rd-verdict.lived { color: #2F6B3A; }
.rd-verdict.died { color: #B4472F; }
.rd-sub { min-height: 18px; font-size: 13px; color: var(--ink-soft); text-align: center; }

.rd-cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--ink); color: var(--on-dark); border-radius: 22px; padding: clamp(18px, 3vw, 28px); }
.rd-cta-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rd-cta-copy .t { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.2; }
.rd-cta-copy p:not(.t) { font-size: 15px; line-height: 1.6; }
.rd-cta-btns { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.rd-cta-btns .btn { font-size: 15px; padding: 12px 20px; }
.rd-source { font-size: 12px; color: var(--ink-soft); }

@keyframes rdShake{0%{transform:rotate(0) translateY(0)}20%{transform:rotate(-25deg) translateY(-10px)}40%{transform:rotate(20deg) translateY(4px)}60%{transform:rotate(-15deg) translateY(-6px)}80%{transform:rotate(10deg)}100%{transform:rotate(0)}}
@keyframes rdDrip{0%{transform:scaleY(0)}100%{transform:scaleY(1)}}
@keyframes rdPool{0%{transform:scale(0,0.4)}100%{transform:scale(1,1)}}
@keyframes rdBlob{0%{transform:scale(0.4)}70%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes rdLand{0%{transform:none}35%{transform:translate(-20px,-28px) rotate(-45deg)}100%{transform:translate(-70px,42px) rotate(-100deg)}}
@keyframes rdFlip{0%{transform:none}100%{transform:translate(30px,-9px) rotate(-90deg)}}
@keyframes rdBlobOut{0%{transform:scale(0.4);opacity:1}20%{transform:scale(1);opacity:1}70%{opacity:1}100%{transform:scale(1) translateY(6px);opacity:0}}
@keyframes rdFade{0%{opacity:0}100%{opacity:1}}
@keyframes rdPour{0%{transform:scale(0,0.5)}100%{transform:scale(1,1)}}
@keyframes rdWobble{0%,100%{transform:rotate(0)}25%{transform:rotate(-6deg)}75%{transform:rotate(6deg)}}
.rd-rolling{animation:rdShake .6s ease-in-out}
.rd-land{transform-box:fill-box;transform-origin:center;animation:rdLand .9s cubic-bezier(.3,.6,.5,1) both}
.rd-flip{transform-box:fill-box;transform-origin:center;animation:rdFlip .8s ease-in-out .35s both}
.rd-blobout{transform-box:fill-box;transform-origin:60% 100%;animation:rdBlobOut 1.7s ease-out both}
.rd-pour{transform-box:fill-box;transform-origin:100% 20%;animation:rdPour .55s ease-in .95s both}
.rd-white{transform-box:fill-box;transform-origin:80% 50%;animation:rdPool 1s ease-out 1.25s both}
.rd-pool{transform-box:fill-box;transform-origin:90% 50%;animation:rdPool .8s ease-out 1.4s both}
.rd-mound{transform-box:fill-box;transform-origin:80% 100%;animation:rdBlob .5s ease-out 1.45s both}
.rd-shine{animation:rdFade .3s ease-out 1.9s both}
.rd-drip{transform-box:fill-box;transform-origin:top center;animation:rdDrip 1.2s cubic-bezier(.5,0,.8,.6) 1.5s both}
.rd-wobble{transform-origin:50% 90%;animation:rdWobble .5s ease-in-out}
@media (prefers-reduced-motion: reduce) {
  .rd-rolling, .rd-wobble, .rd-land, .rd-flip, .rd-blobout, .rd-pour, .rd-white, .rd-pool, .rd-mound, .rd-shine, .rd-drip { animation-duration: .01s; animation-delay: 0s; }
}
