@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces.woff2) format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/assets/fonts/fraunces-italic.woff2) format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(/assets/fonts/hanken.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #faf6f9;
  --ink: #24102a;
  --muted: #6d5a72;
  --line: #e4d6e6;
  --plum: #2a0e2c;
  --plum-2: #1d0920;
  --lilac: #efe4f0;
  --on-dark: #f7ecf4;
  --dim: #c9b3cd;
  --hab: #ff6a1f;
  --hab-deep: #b8460b;
  --cool: #e2d6f2;
  --warm: #ffd8b5;
  --hot: #ffb187;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--hab); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 144; letter-spacing: -.02em; line-height: 1.04; }
p { color: var(--muted); }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(1200px, 100% - 80px); } }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--hab); color: var(--plum); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* the pressable key button */
.key { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--hab); color: var(--plum); font: 700 16px var(--sans); cursor: pointer; box-shadow: 0 5px 0 var(--hab-deep); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s; }
.key:hover { background: #ff7d3a; }
.key:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--hab-deep); }
.key-sm { min-height: 42px; padding: 0 18px; font-size: 15px; box-shadow: 0 3px 0 var(--hab-deep); }
.key-sm:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--hab-deep); }
.under { font-weight: 600; text-decoration: underline; text-decoration-color: var(--hab); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.under:hover { text-decoration-style: wavy; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* header */
.top { background: var(--plum); color: var(--on-dark); position: relative; z-index: 50; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 600 26px var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.02em; }
.flame { width: 24px; height: 24px; fill: var(--hab); transform-origin: 50% 90%; }
.logo:hover .flame { animation: flicker .6s var(--ease); }
@keyframes flicker { 30% { transform: scale(1.12, .92) rotate(-6deg); } 60% { transform: scale(.94, 1.08) rotate(4deg); } }
#nav { display: none; align-items: center; gap: 28px; font-size: 16px; }
#nav a:not(.key) { color: var(--dim); text-decoration: underline 2px transparent; text-underline-offset: 7px; transition: color .2s, text-decoration-color .2s; }
#nav a:not(.key):hover, #nav a[aria-current=page] { color: var(--on-dark); text-decoration-color: var(--hab); text-decoration-style: wavy; }
.menu { background: none; border: 1px solid #ffffff3d; color: var(--on-dark); border-radius: 10px; padding: 10px 16px; font: 600 15px var(--sans); cursor: pointer; }
@media (min-width: 940px) { #nav { display: flex; } .menu { display: none; } }
@media (max-width: 939px) {
  #nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 80px; left: 0; right: 0; background: var(--plum); padding: 8px 16px 24px; animation: drop .3s var(--ease); }
  #nav.open a:not(.key) { padding: 16px 0; border-bottom: 1px solid #ffffff1f; font-size: 20px; color: var(--on-dark); }
  #nav.open .key { margin-top: 20px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* hero */
.hero { background: var(--plum); color: var(--on-dark); padding: 56px 0 96px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; bottom: -40%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, #ff6a1f33, transparent); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: 1.15fr .85fr; gap: 72px; padding-top: 32px; } }
.hero h1 { font-size: clamp(48px, 7.4vw, 108px); animation: rise .8s var(--ease) both; }
.hero-copy p { color: var(--dim); font-size: clamp(18px, 1.5vw, 21px); max-width: 44ch; margin: 28px 0 36px; animation: rise .8s .12s var(--ease) both; }
.hero .row { animation: rise .8s .22s var(--ease) both; }
.hero .under { color: var(--on-dark); }

/* heat check */
.heat { background: var(--bg); color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: 0 30px 70px -30px #000000aa; animation: rise .9s .3s var(--ease) both; }
.heat h2 { font-size: 30px; }
.heat-sub { margin: 4px 0 18px; font-size: 16px; }
.heat ul { list-style: none; display: grid; gap: 8px; }
.heat label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; font-size: 16px; line-height: 1.4; transition: background .2s, border-color .2s; }
.heat label:hover { border-color: var(--muted); }
.heat input { appearance: none; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 2px solid var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.heat input::after { content: ""; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
.heat input:checked { background: var(--hab); border-color: var(--hab); }
.heat input:checked::after { transform: rotate(-45deg) scale(1); }
.heat label:has(input:checked) { background: #fff1e8; border-color: #ffc6a6; }
.gauge { height: 14px; margin-top: 22px; border-radius: 99px; background: var(--lilac); overflow: hidden; }
.gauge i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #b9a3d6, #ffb187, #ff6a1f, #d4260f); transform-origin: 0 50%; transform: scaleX(var(--heat, .04)); transition: transform .6s var(--ease); }
.reading { margin-top: 12px; font-size: 16px; color: var(--ink); min-height: 3em; }
.reading b { font-family: var(--serif); font-size: 20px; margin-right: 4px; }
.reading a { color: var(--hab-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* sections */
.block { padding: 104px 0; }
.block + .block { padding-top: 0; }
.title { font-size: clamp(36px, 4.6vw, 64px); max-width: 16ch; }
.title.small { font-size: clamp(28px, 3vw, 40px); }
.title-row { display: grid; gap: 20px; margin-bottom: 52px; }
@media (min-width: 900px) { .title-row { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; } }
.title-row p { max-width: 44ch; }
.tint { background: var(--lilac); }
.split2 { display: grid; gap: 32px; }
@media (min-width: 960px) { .split2 { grid-template-columns: 1fr 1.5fr; gap: 72px; } .split2 > .title, .split2 > div:first-child { position: sticky; top: 32px; align-self: start; } }
.aside { margin-top: 16px; max-width: 34ch; }

/* six questions */
.answers { list-style: none; margin-top: 48px; }
.answers li { display: grid; gap: 12px 64px; padding: 34px 0; border-top: 1px solid var(--line); }
.answers li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .answers li { grid-template-columns: 1fr 1fr; } }
.answers h3 { font-size: clamp(26px, 2.6vw, 36px); transition: color .25s; }
.answers li:hover h3 { color: var(--hab-deep); }
.answers p { margin-bottom: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); padding: 8px 14px; border-radius: 99px; background: var(--lilac); transition: background .2s, color .2s; }
.more::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hab); }
.more:hover { background: var(--plum); color: var(--on-dark); }

/* fee temperature scale */
.scale { list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .scale { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .scale { grid-template-columns: repeat(5, 1fr); } }
.scale li { border-radius: 20px; padding: 24px 22px 28px; display: grid; gap: 10px; align-content: start; min-height: 230px; transition: transform .35s var(--ease); }
.scale li:hover { transform: translateY(-6px); }
.scale .calm { background: var(--cool); }
.scale .warm { background: var(--warm); }
.scale .hot { background: var(--hot); }
.scale b { font: 600 24px/1.1 var(--serif); font-variation-settings: "opsz" 144; color: var(--ink); }
.scale p { color: #4a3550; font-size: 16px; }
.lvl { justify-self: start; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #ffffffa8; color: var(--ink); }
.scale .hot .lvl { background: var(--plum); color: var(--on-dark); }

/* conversation */
.chat { list-style: none; display: grid; gap: 14px; max-width: 760px; }
.chat li { max-width: 78%; padding: 16px 20px; border-radius: 22px; }
.chat span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.chat li p { color: inherit; }
.chat .you { justify-self: end; background: var(--plum); color: var(--on-dark); border-bottom-right-radius: 6px; }
.chat .you span { color: var(--hab); }
.chat .us { justify-self: start; background: var(--lilac); color: var(--ink); border-bottom-left-radius: 6px; }
.chat .us span { color: var(--hab-deep); }
.tint .chat .us { background: #fff; }
.js .chat li { opacity: 0; transform: translateY(14px) scale(.98); }
.js .chat.on li { animation: bubble .45s var(--ease) forwards; animation-delay: calc(var(--i) * 260ms); }
@keyframes bubble { to { opacity: 1; transform: none; } }

/* small print */
.print { list-style: none; }
.print li { padding: 22px 0 22px 40px; border-bottom: 1px solid var(--line); position: relative; }
.print li:first-child { padding-top: 0; }
.print li::before { content: ""; position: absolute; left: 0; top: 26px; width: 18px; height: 22px; background: var(--hab); clip-path: path("M10 0c.3 2.6 2.2 3.9 3.6 5.6A6.3 6.3 0 0 1 9.4 19 6 6 0 0 1 3.5 12.9c0-2.2 1.2-3.8 2.6-5-.1 1.6.5 2.8 1.6 3.3C7.2 7.9 8.4 2.5 10 0z"); }
.print li:first-child::before { top: 4px; }
.print b { font: 600 24px/1.2 var(--serif); font-variation-settings: "opsz" 144; display: block; margin-bottom: 6px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 clamp(20px, 1.8vw, 24px)/1.25 var(--serif); font-variation-settings: "opsz" 72; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .26s var(--ease); }
summary:hover, details[open] > summary { color: var(--hab-deep); }
details[open] > summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 24px; max-width: 62ch; }
.qs { display: grid; gap: 88px; }

/* closing band */
.cool { background: var(--plum); color: var(--on-dark); position: relative; overflow: hidden; }
.cool::before { content: ""; position: absolute; left: 50%; top: 100%; width: 1200px; height: 600px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, #ff6a1f40, transparent); pointer-events: none; }
.cool-in { position: relative; padding: 112px 0; text-align: center; display: grid; justify-items: center; gap: 22px; }
.cool h2 { font-size: clamp(42px, 6.4vw, 92px); }
.cool p { color: var(--dim); max-width: 46ch; font-size: 19px; margin-bottom: 12px; }

/* footer */
.foot { background: var(--plum-2); color: var(--dim); padding: 72px 0 0; font-size: 15px; }
.foot-grid { display: grid; gap: 36px; padding-bottom: 56px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foot-grid { grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 48px; } }
.foot .logo { color: var(--on-dark); margin-bottom: 16px; }
.foot p { color: var(--dim); }
.foot-brand p { max-width: 36ch; }
.foot h2 { font: 700 13px var(--sans); color: var(--hab); margin-bottom: 14px; letter-spacing: .02em; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot ul a:hover, .foot-end a:hover { color: var(--on-dark); }
.foot address { font-style: normal; line-height: 1.7; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0; border-top: 1px solid #ffffff1f; font-size: 14px; }
.foot-end span:last-child { display: flex; gap: 24px; }

/* inner page intro */
.intro { background: var(--plum); color: var(--on-dark); padding: 72px 0 88px; }
.intro h1 { font-size: clamp(46px, 7vw, 100px); max-width: 14ch; animation: rise .8s var(--ease) both; }
.intro p { color: var(--dim); font-size: clamp(18px, 1.5vw, 21px); max-width: 48ch; margin: 22px 0 32px; animation: rise .8s .12s var(--ease) both; }
.intro .key { animation: rise .8s .22s var(--ease) both; }

/* services page */
.jump { position: sticky; top: 12px; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 8px; margin-bottom: 40px; background: #ffffffd9; backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px; scrollbar-width: none; }
.jump a { flex: none; padding: 10px 16px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.jump a:hover { color: var(--ink); background: var(--lilac); }
.jump a.active { background: var(--plum); color: var(--on-dark); }
.fixes { display: grid; gap: 20px; }
.fix { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px 56px; scroll-margin-top: 96px; }
@media (min-width: 900px) { .fix { grid-template-columns: 1.3fr 1fr; } .fix .got { grid-column: 2; grid-row: 1 / span 3; align-self: center; } }
.fix-name { font-weight: 700; color: var(--hab-deep); font-size: 15px; }
.fix h2 { font-size: clamp(30px, 3.2vw, 44px); }
.fix:target { border-color: var(--hab); box-shadow: 0 0 0 3px #ff6a1f33; }
.got { list-style: none; display: grid; gap: 12px; }
.got li { position: relative; padding-left: 30px; color: var(--ink); }
.got li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--hab); }
.got li::after { content: ""; position: absolute; left: 5px; top: calc(.35em + 5px); width: 7px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.got.big { gap: 18px; font-size: 19px; }

/* about */
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 40px 0 14px; }
.prose h2:first-child, .prose .stamp + h2 { margin-top: 0; }
.prose p { max-width: 64ch; margin-bottom: 14px; color: #4a3550; }
.card-facts { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; gap: 22px; align-content: start; }
@media (min-width: 960px) { .card-facts { position: sticky; top: 32px; } }
.card-facts h2 { font-size: 24px; }
.who { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.who b { display: block; font: 600 26px var(--serif); font-variation-settings: "opsz" 144; color: var(--ink); }
.card-facts dl { display: grid; gap: 14px; }
.card-facts dt { font-size: 13px; font-weight: 700; color: var(--hab-deep); }
.card-facts dd { color: var(--ink); }
.next { padding-left: 22px; display: grid; gap: 8px; color: #4a3550; }
.next li::marker { color: var(--hab-deep); font-weight: 700; }
.legal { max-width: 820px; }
.stamp { font-size: 14px; font-weight: 700; color: var(--hab-deep) !important; margin-bottom: 32px !important; }

/* contact */
.contact { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.5fr 1fr; gap: 64px; } }
.intake { display: grid; gap: 24px; }
.fields { display: grid; gap: 18px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > span, legend { font-weight: 700; font-size: 16px; color: var(--ink); }
.field em, legend em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 400 17px var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .22s, box-shadow .22s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px #2a0e2c14; }
.ferr { display: none; font-size: 14px; color: #b3260c; }
.field.invalid .ferr { display: block; animation: rise .22s var(--ease); }
.field.invalid input { border-color: #e2541f; }
fieldset { border: 0; display: grid; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; border: 2px solid var(--line); font-size: 16px; cursor: pointer; user-select: none; transition: background .2s, border-color .2s, color .2s; }
.chip span:hover { border-color: var(--muted); }
.chip input:checked + span { background: var(--plum); border-color: var(--plum); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--hab); outline-offset: 3px; }
.intake .key { justify-self: start; }
.form-msg { min-height: 1.4em; font-size: 16px; color: #b3260c; }
.fine { font-size: 14px; }

/* quiet reveals */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .chat li { opacity: 1; transform: none; }
}
