/* Juni Household Management. Brand: docs/set/01-brand-guide.md section 3 (Sunlight). */
:root {
  --gold: #F5B517;
  --espresso: #2B2420;
  --morning: #FFF1CC;
  --white: #FFFFFF;
  --line: #EDE6D8;
  --muted: #5E554E;          /* body-secondary on white: 7.3:1 */
  --r: 18px;
  --max: 1160px;
  --hand: "Caveat", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: "Figtree", system-ui, sans-serif; font-weight: 500; color: var(--espresso); background: var(--white); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-weight: 900; letter-spacing: -.03em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(38px, 5vw, 56px); }
h3 { font-size: 24px; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: 20px; color: var(--muted); max-width: 46ch; margin-top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 16px 28px; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer; background: var(--espresso); color: var(--white); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.light { background: var(--white); color: var(--espresso); }
.btn.small { padding: 11px 20px; font-size: 15px; }

/* header + hero (the one bold moment: the gold field with the visit report) */
.hero { background: var(--gold); overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.nav .logo img { height: 54px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; font-weight: 700; font-size: 16px; }
.nav ul a { text-decoration: none; }
.nav ul a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 40px 0 88px; }
.hero h1 { font-size: clamp(46px, 6vw, 80px); letter-spacing: -.04em; line-height: .98; max-width: 11em; }
.hero .services-line { font-size: 21px; margin-top: 24px; max-width: 34ch; }
.hero .cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .area { margin-top: 22px; font-size: 15px; font-weight: 700; }
.hero-photo { margin: 0; position: relative; }
.photo-slot { aspect-ratio: 4 / 5; border-radius: 28px; background: var(--morning); border: 2px dashed rgba(43,36,32,.35); display: grid; place-items: center; text-align: center; padding: 32px; font-size: 15px; color: var(--muted); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.photo-slot.interim { border: 0; background: var(--white); }
.photo-slot.interim img { width: 46%; height: auto; object-fit: contain; }
.proof { position: absolute; left: -36px; bottom: 36px; width: 300px; background: var(--white); border-radius: 20px 20px 20px 6px; padding: 14px 16px 16px; font-size: 15px; line-height: 1.42; box-shadow: 0 22px 44px -20px rgba(43,36,32,.5); }
.proof .who { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 6px; }
.proof .who img { width: 26px; height: 26px; }
.proof .who small { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 12px; }
.hero .cta .see { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.phone { width: 340px; justify-self: center; background: var(--white); border: 12px solid #1B1B1D; border-radius: 48px; padding: 20px 16px 28px; box-shadow: 0 30px 60px -30px rgba(43,36,32,.45); }
.report { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.phone .who { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid #eee; font-size: 12px; font-weight: 700; }
.phone .who img { width: 48px; height: 48px; }
.phone time { display: block; text-align: center; font-size: 11px; color: #8e8e93; margin: 10px 0 2px; }
.bubble { background: #E9E9EB; color: #111; border-radius: 18px 18px 18px 6px; padding: 10px 13px; font-size: 14px; line-height: 1.42; margin-top: 8px; max-width: 262px; }
.thumbs { display: flex; gap: 6px; margin-top: 6px; }
.thumbs span { width: 84px; height: 84px; border-radius: 12px; background: repeating-linear-gradient(180deg, #efe7da 0 14px, #d9cfbf 14px 16px, #f7f2ea 16px 30px, #d9cfbf 30px 32px); }
.thumbs span:nth-child(2) { background: repeating-linear-gradient(180deg, #e3ebee 0 14px, #c9d4d8 14px 16px, #f1f5f6 16px 30px, #c9d4d8 30px 32px); }
.thumbs span:nth-child(3) { background: repeating-linear-gradient(180deg, var(--morning) 0 14px, #fff 14px 16px, var(--morning) 16px 30px, #fff 30px 32px); }
.reply { background: #0A84FF; color: #fff; border-radius: 18px 18px 6px 18px; padding: 9px 13px; font-size: 14px; margin: 12px 0 0 auto; width: fit-content; }

/* sections */
section.block { padding: 112px 0; }
section.tint { background: var(--morning); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }

/* services: an editorial list, not a card grid */
.svc { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--espresso); }
.svc li { display: grid; grid-template-columns: 300px 1fr 240px; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.svc h3 { font-size: 30px; }
.svc p { color: var(--muted); }
.svc .eg { font-size: 15px; font-weight: 700; color: var(--espresso); }

/* how it works: a real sequence, so it is numbered */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--white); border-radius: var(--r); padding: 32px 30px 34px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); font-weight: 900; font-size: 20px; margin-bottom: 22px; }
.steps p { color: var(--muted); margin-top: 10px; }

/* pricing calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.panel { border: 2px solid var(--espresso); border-radius: var(--r); padding: 32px; }
.panel fieldset { border: 0; margin: 0 0 28px; padding: 0; }
.panel legend { font-weight: 800; font-size: 17px; margin-bottom: 12px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 16px; background: var(--white); }
.seg input:checked + span { background: var(--espresso); border-color: var(--espresso); color: var(--white); }
.seg input:focus-visible + span { outline: 3px solid var(--espresso); outline-offset: 3px; }
.zip input { font: inherit; font-size: 18px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; width: 180px; }
.zip .note { font-size: 15px; color: var(--muted); margin-top: 8px; min-height: 1.5em; }
.result { background: var(--gold); border-radius: var(--r); padding: 34px 32px; position: sticky; top: 24px; }
.result .label { font-weight: 700; font-size: 16px; }
.result .price { font-size: 76px; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
.result .price small { font-size: 22px; letter-spacing: 0; font-weight: 700; }
.result .founding { margin-top: 16px; padding-top: 16px; border-top: 2px solid rgba(43,36,32,.2); font-size: 16px; }
.result .founding b { font-size: 20px; }
.result .reset { margin-top: 14px; font-size: 16px; }
.result .fine { font-size: 13px; margin-top: 14px; }
.result .btn { margin-top: 24px; width: 100%; }
.addons { margin-top: 28px; }
.addons h3 { font-size: 20px; margin-bottom: 8px; }
.addons table { width: 100%; border-collapse: collapse; font-size: 16px; }
.addons td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.addons td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 16px; }

/* meet juni */
.meet { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border-radius: 28px; background: var(--morning); border: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; padding: 24px; position: relative; }
.note-card { position: absolute; right: -28px; bottom: 36px; width: 250px; background: var(--white); border-radius: 6px; padding: 22px 22px 18px; box-shadow: 0 18px 36px -18px rgba(43,36,32,.45); transform: rotate(-3deg); text-align: left; }
.note-card p { font-family: var(--hand); font-weight: 700; font-size: 28px; line-height: 1.12; color: var(--espresso); }
.note-card .sig { margin-top: 10px; font-size: 30px; }
.meet .story p + p { margin-top: 16px; }
.meet .story .lede { color: var(--espresso); font-size: 22px; }
.promises { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.promises li { padding-left: 34px; position: relative; font-weight: 600; }
.promises li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); }

/* questions */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-weight: 800; font-size: 21px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 30px; font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 40px 26px 0; color: var(--muted); }

/* closing band + footer */
.close { background: var(--gold); text-align: center; padding: 104px 0; }
.close h2 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.04em; }
.close p { margin: 14px auto 30px; max-width: 40ch; font-size: 20px; }
footer { background: var(--espresso); color: #F3EEE8; padding: 64px 0 40px; font-size: 16px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer img { height: 72px; width: auto; }
footer h4 { margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--white); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #CFC6BC; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* mobile */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .nav ul li:not(:last-child) { display: none; }
  .nav .logo img { height: 38px; }
  .hero-grid { grid-template-columns: 1fr; padding: 16px 0 56px; gap: 40px; }
  .proof { left: 12px; right: 12px; width: auto; bottom: 16px; font-size: 14px; }
  .report { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 300px; }
  section.block { padding: 72px 0; }
  .head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 36px; }
  .svc li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .svc h3 { font-size: 26px; }
  .steps { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .result { position: static; }
  .meet { grid-template-columns: 1fr; gap: 40px; }
  .note-card { right: 12px; bottom: -24px; width: 220px; }
  footer .cols { grid-template-columns: 1fr; }
}

/* booking request (/book/) */
.book-top { background: var(--gold); }
.book-top .nav { padding: 18px 0; }
.book { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-top: 56px; padding-bottom: 96px; }
.step h1:focus { outline: none; }
.progress { display: flex; gap: 6px; margin-bottom: 28px; }
.progress i { flex: 1; height: 6px; border-radius: 6px; background: var(--line); }
.progress i.on { background: var(--espresso); }
.step h1 { font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -.035em; }
.step .hint { color: var(--muted); margin-top: 10px; }
.step .body { margin-top: 28px; }
.choices { display: grid; gap: 12px; }
.choices label { position: relative; display: block; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 2px solid var(--line); border-radius: 14px; font-weight: 700; background: var(--white); }
.choices span small { font-weight: 600; color: var(--muted); }
.choices input:checked + span { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); background: var(--morning); }
.choices input:focus-visible + span { outline: 3px solid var(--espresso); outline-offset: 3px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 16px; }
.field input, .field textarea, .field select { font: inherit; font-size: 18px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--espresso); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--espresso); outline: none; }
.field .opt { font-weight: 500; color: var(--muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); margin: 8px 0 4px; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--espresso); flex: none; }
.nav-btns { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.back { background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--espresso); padding: 10px 4px; }
.err { color: #A3281C; font-weight: 700; font-size: 15px; margin-top: 12px; min-height: 1.4em; }
.summary { background: var(--gold); border-radius: var(--r); padding: 28px; position: sticky; top: 24px; }
.summary h2 { font-size: 22px; letter-spacing: -.01em; }
.summary dl { margin: 16px 0 0; display: grid; gap: 10px; font-size: 16px; }
.summary dt { font-weight: 600; opacity: .8; font-size: 14px; }
.summary dd { margin: 0; font-weight: 800; }
.summary .big { font-size: 46px; font-weight: 900; letter-spacing: -.035em; line-height: 1; margin-top: 18px; }
.summary .big small { font-size: 17px; letter-spacing: 0; font-weight: 700; }
.summary .fine { font-size: 13px; margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: left; }
.done .card { background: var(--morning); border-radius: var(--r); padding: 28px; margin-top: 28px; }
.done .card p { font-family: var(--hand); font-weight: 700; font-size: 30px; line-height: 1.15; }
@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; padding-bottom: 72px; }
  /* on phones the summary is a compact price bar above the question, not a tall card */
  .summary { position: static; order: -1; padding: 16px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .summary h2 { font-size: 16px; }
  .summary .big { font-size: 30px; margin-top: 0; }
  .summary .big small { font-size: 14px; }
  .summary dl, .summary .fine { display: none; }
  .book form .step:last-of-type ~ * {}
}
