/* Sick & Tired: "9:40 pm → Done." One kitchen, night to morning.
   Morning paper + night ink, lemon only for the offer and the main action. */
:root {
  --sc-canvas: #f7f3ec;
  --sc-surface: #efe8dc;
  --sc-ink: #1c1915;
  --sc-ink-soft: #5b5348;
  --sc-accent: #f2c94c;
  --sc-accent-ink: #1c1915;
  --sc-font-display: "DM Serif Display", Georgia, serif;
  --sc-font-text: "Hanken Grotesk", system-ui, sans-serif;
  --night: #15120f;
  --night-ink: #f6eee2;
  --night-soft: #c9bba6;
  --lemon: #f2c94c;
  --line: color-mix(in oklab, var(--sc-ink) 16%, transparent);
  --gut: clamp(1rem, 4vw, 3.5rem);
  --display: clamp(4.2rem, 1rem + 15vw, 15rem);
}
html { background: var(--sc-canvas); color: var(--sc-ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sc-font-text); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lemon); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--sc-ink); color: var(--sc-canvas); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.soft { color: var(--sc-ink-soft); }
.label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .5rem; color: var(--sc-ink-soft); }
.serif { font-family: var(--sc-font-display); font-weight: 400; letter-spacing: -.01em; line-height: .95; }
.ital { font-family: var(--sc-font-display); font-style: italic; font-weight: 400; }

/* Wordmark: the ampersand is the brand. */
.wm { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.wm__name { font-family: var(--sc-font-display); font-size: 1.65rem; letter-spacing: -.015em; white-space: nowrap; }
.wm__name em { font-style: italic; color: var(--lemon); padding: 0 .02em; }
.wm__sub { font-size: .58rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; margin-top: .3rem; padding-left: .1em; }
[data-theme="light"] .bar .wm__name em, .foot .wm__name em { color: #b8892a; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; background: var(--sc-ink); color: var(--sc-canvas); font-weight: 600; text-decoration: none; border: 1.5px solid var(--sc-ink); transition: transform .2s var(--sc-ease-out), background .2s; }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: scale(.98); }
.pill--line { background: transparent; color: inherit; border-color: currentColor; }
.pill--lemon { background: var(--lemon); color: var(--sc-ink); border-color: var(--lemon); }
.link { font-weight: 600; text-underline-offset: .25em; }

/* Header: transparent over the hero, readable everywhere */
.bar { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; gap: 2rem; padding: 1rem var(--gut); color: var(--sc-ink); transition: background .3s, color .3s; }
.bar__mark { text-decoration: none; color: inherit; flex: none; }
.bar__nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .93rem; font-weight: 500; }
.bar__nav a { text-decoration: none; opacity: .82; }
.bar__nav a:hover, .bar__nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: .35em; }
.bar__act { display: flex; align-items: center; gap: 1rem; }
.bar__phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.bar .pill { min-height: 42px; padding: .5rem 1.1rem; font-size: .93rem; }
.bar__menu { display: none; }
html.is-night .bar { color: var(--night-ink); }
html.is-scrolled .bar { background: rgba(247,243,236,.92); color: var(--sc-ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html.is-night.is-scrolled .bar { background: color-mix(in oklab, var(--night) 82%, transparent); color: var(--night-ink); }
@media (max-width: 1180px) { .bar__nav { display: none; } .bar__act { margin-left: auto; } }
@media (max-width: 720px) {
  .bar { gap: .75rem; padding: .75rem 1rem; }
  .bar__act .pill, .bar__phone { display: none; }
  .bar__menu { display: block; margin-left: auto; }
  .bar__menu summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; place-content: center; gap: 6px; border: 1.5px solid currentColor; border-radius: 999px; }
  .bar__menu summary::-webkit-details-marker { display: none; }
  .bar__menu summary span { display: block; width: 18px; height: 1.5px; background: currentColor; }
  .bar__drawer { position: fixed; inset: 0; top: 72px; background: var(--sc-canvas); color: var(--sc-ink); padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: .2rem; overflow: auto; }
  .bar__drawer a:not(.pill) { font-family: var(--sc-font-display); font-size: 2rem; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid var(--line); }
  .bar__drawer .pill { margin-top: 1rem; }
  .wm__name { font-size: 1.4rem; }
}

/* ===== Home: the night → morning act ===== */
.nm .sc-stage, .nm [data-sc-stage] { background: var(--night); }
/* One 3:2 frame, scaled to cover the viewport, holds every layer that must
   stay registered: both plates, the "Done." word and the island cut-out. */
.nm__frame { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max(100vw, 150svh); aspect-ratio: 3 / 2; container-type: size;
  transform: scale(calc(1.08 - var(--sc-p, 0) * .08)); transform-origin: 56% 40%; }
.nm__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.nm__night { z-index: 0; }
/* Morning arrives like sun through the window: a soft circle that grows from
   the window until it fills the room. */
.nm__morning {
  z-index: 1;
  --t: clamp(0, (var(--sc-p, 0) - .3) / .26, 1);
  -webkit-mask-image: radial-gradient(circle at 56% 34%, #000 calc(var(--t) * 120%), transparent calc(var(--t) * 145%));
          mask-image: radial-gradient(circle at 56% 34%, #000 calc(var(--t) * 120%), transparent calc(var(--t) * 145%));
}
.nm__island { z-index: 4; opacity: clamp(0, (var(--sc-p, 0) - .42) * 12, 1); pointer-events: none; }
.nm__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(to top left, rgba(12,10,8,.78) 0%, rgba(12,10,8,.4) 22%, transparent 40%),
    linear-gradient(to top right, rgba(12,10,8,.86) 0%, rgba(12,10,8,.5) 34%, transparent 62%);
  opacity: clamp(0, 1 - (var(--sc-p, 0) - .26) * 3, 1); }
.nm__copy { position: absolute; z-index: 5; color: var(--night-ink); }
.nm__night-copy { left: var(--gut); bottom: clamp(2rem, 7vh, 5rem); max-width: 60rem; }
.nm__time { font-size: clamp(2rem, 1rem + 3vw, 4rem); margin: 0 0 .3rem; }
.nm__h1 { font-family: var(--sc-font-display); font-weight: 400; font-size: var(--display); line-height: .84; letter-spacing: -.03em; margin: 0; }
.nm__towns { margin: 1.4rem 0 0; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nm__hint { right: var(--gut); bottom: clamp(2rem, 7vh, 5rem); max-width: 17rem; font-size: 1rem; text-align: right; }
.nm__hint::after { content: ""; display: block; width: 1px; height: 3.2rem; background: currentColor; margin: .8rem 0 0 auto; animation: drip 2.2s var(--sc-ease-in-out) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.nm__mid { left: 50%; top: 50%; translate: -50% -50%; text-align: center; width: min(50rem, 92vw); padding: 3rem 2rem; background: radial-gradient(closest-side, rgba(14,11,8,.8), rgba(14,11,8,.6) 55%, rgba(14,11,8,0)); }
.nm__mid p { font-family: var(--sc-font-display); font-size: clamp(2.2rem, 1rem + 4vw, 4.6rem); line-height: 1; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
/* Sun haze behind "Done.": keeps every pixel under the word light enough to read
   (the faucet and window bars sit right behind it). */
.nm__haze { position: absolute; z-index: 3; left: 4%; right: calc(var(--done-right, 21%) - 6%); top: 30%; bottom: 22%; pointer-events: none;
  background: radial-gradient(farthest-side, rgba(250,246,238,.92), rgba(250,246,238,.86) 62%, rgba(250,246,238,0));
  opacity: clamp(0, (var(--sc-p, 0) - .42) * 6, 1); }
/* "Done." sits behind the island (z 3 under island z 4) */
/* Island edge sits at 71.2% of the frame; the word's foot sits below it so the
   island and the lemons cut across the bottom of the letters. */
.nm__done { position: absolute; z-index: 3; left: var(--done-left, 5%); right: var(--done-right, 19%); bottom: 29%; text-align: center; color: var(--sc-ink); pointer-events: none; }
.nm__done .nm__stamp { font-size: min(2.6cqw, 6vw); margin: 0 0 .1em; }
.nm__done .nm__word { font-family: var(--sc-font-display); font-size: min(20cqw, 32vw); line-height: .78; letter-spacing: -.045em; margin: 0; }
.nm__panel { position: absolute; z-index: 6; right: var(--gut); bottom: clamp(1.5rem, 6vh, 4rem); width: min(23rem, 88vw); color: var(--sc-ink);
  background: rgba(247,243,236,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; padding: 1.4rem 1.4rem 1.5rem; box-shadow: 0 20px 60px -30px rgba(40,30,10,.45); }
.nm__panel p { margin: 0 0 1rem; }
.nm__panel .pill { width: 100%; }
.nm__panel .offer { margin: 1rem 0 0; font-size: .9rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.offer b { background: var(--lemon); padding: .05em .35em; border-radius: 4px; }
@media (max-width: 860px) {
  .nm__night-copy { right: 1rem; left: 1rem; bottom: 6.5rem; }
  .nm__hint { left: 1rem; right: auto; bottom: 1.5rem; text-align: left; }
  .nm__hint::after { display: none; }
  .nm__shade { background: linear-gradient(to top, rgba(12,10,8,.9) 0%, rgba(12,10,8,.72) 45%, rgba(12,10,8,.2) 72%, transparent 85%); }
  .nm__mid { padding: 3rem 1.2rem; }
  .nm__panel { left: 1rem; right: 1rem; width: auto; bottom: 1rem; padding: 1.1rem; }
  .nm__panel p:first-child { font-size: .95rem; }
  .nm__done { --done-right: 0%; --done-left: 0%; }
}
/* No JS: the two frames simply follow each other. */
.nm:not(.sc-mounted *) [data-sc-stage] { display: grid; }
.nm:not(.sc-mounted *) .nm__plate, .nm:not(.sc-mounted *) .nm__copy, .nm:not(.sc-mounted *) .nm__done, .nm:not(.sc-mounted *) .nm__panel { position: relative; inset: auto; translate: none; }
.nm:not(.sc-mounted *) .nm__morning { -webkit-mask-image: none; mask-image: none; }
.nm:not(.sc-mounted *) .nm__island, .nm:not(.sc-mounted *) .nm__shade, .nm:not(.sc-mounted *) .nm__mid { display: none; }
.nm:not(.sc-mounted *) .nm__copy, .nm:not(.sc-mounted *) .nm__done { color: var(--sc-ink); padding: 2rem var(--gut); }
@media (prefers-reduced-motion: reduce) { .nm__frame { transform: none; } .nm__hint::after { animation: none; } }

/* ===== Sections ===== */
.wrap { max-width: 84rem; margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: clamp(5rem, 11vw, 10rem) 0; }
.h2 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(2.8rem, 1rem + 6vw, 6.4rem); line-height: .92; letter-spacing: -.025em; margin: 0 0 1.5rem; }
.h3 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1; margin: 0 0 .6rem; }
.lede { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.45; max-width: 38rem; margin: 0 0 1.5rem; }

/* Rooms index: big numbered list with images */
.rooms { list-style: none; margin: 3rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.room { display: grid; grid-template-columns: 4rem 1fr minmax(0, 26rem); gap: 1.5rem 2.5rem; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.room__n { font-family: var(--sc-font-display); font-style: italic; font-size: 1.6rem; color: var(--sc-ink-soft); }
.room__t { text-decoration: none; display: block; }
.room__t .h3 { font-size: clamp(2.2rem, 1rem + 3.4vw, 4.4rem); transition: transform .4s var(--sc-ease-out); }
.room__t:hover .h3 { transform: translateX(.4rem); }
.room__t p { margin: 0; max-width: 34rem; color: var(--sc-ink-soft); }
.room img { aspect-ratio: 3/2; object-fit: cover; border-radius: 14px; }
@media (max-width: 760px) { .room { grid-template-columns: 1fr; gap: 1rem; } .room__n { display: none; } }

/* Tap-what-you-can't-face: the chore picker teaser */
.chores { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .75rem; margin: 2.5rem 0 2rem; }
.chore { position: relative; display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .9rem 1.1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff8; cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s, transform .2s var(--sc-ease-out); }
.chore:hover { border-color: var(--sc-ink); }
.chore input { position: absolute; opacity: 0; pointer-events: none; }
.chore .box { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--sc-ink); display: grid; place-items: center; }
.chore .box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.4); transition: .25s var(--sc-ease-out); }
.chore:has(input:checked) { background: var(--sc-ink); color: var(--sc-canvas); border-color: var(--sc-ink); }
.chore:has(input:checked) .box { background: var(--lemon); border-color: var(--lemon); color: var(--sc-ink); }
.chore:has(input:checked) .box svg { opacity: 1; transform: none; }
.chore:has(input:focus-visible) { outline: 2px solid var(--lemon); outline-offset: 3px; }
.tally { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.tally__n { font-weight: 600; }

/* Ashley: the person, honestly */
.ashley { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.note { font-family: var(--sc-font-display); font-size: clamp(1.6rem, 1rem + 1.6vw, 2.5rem); line-height: 1.15; margin: 0; }
.note + .sig { font-family: var(--sc-font-display); font-style: italic; font-size: 1.5rem; margin-top: 1.2rem; }
.facts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; }
.facts b { font-weight: 600; }
@media (max-width: 860px) { .ashley { grid-template-columns: 1fr; } .facts li { grid-template-columns: 1fr; gap: .2rem; } }

/* Night band: the closing offer, back in the night palette */
.band { background: var(--night); color: var(--night-ink); }
.band .soft, .band .label { color: var(--night-soft); }
.band .pill { background: var(--lemon); color: var(--night); border-color: var(--lemon); }
.band .pill--line { background: transparent; color: var(--night-ink); border-color: var(--night-ink); }
.big-offer { font-family: var(--sc-font-display); font-size: clamp(4rem, 1rem + 13vw, 13rem); line-height: .82; letter-spacing: -.04em; margin: 0 0 1.5rem; }
.big-offer em { color: var(--lemon); }
.row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ===== Inner pages ===== */
.ph { position: relative; min-height: 88svh; display: grid; align-items: end; color: var(--night-ink); overflow: clip; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,12,9,.82) 0%, rgba(15,12,9,.4) 38%, transparent 66%); }
.ph__copy { position: relative; z-index: 1; padding: 0 var(--gut) clamp(2.5rem, 8vh, 5rem); max-width: 72rem; }
.ph__time { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem); margin: 0 0 .3rem; }
.ph h1 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(3.4rem, 1rem + 9vw, 9.5rem); line-height: .86; letter-spacing: -.03em; margin: 0 0 1.2rem; }
.ph .lede { color: var(--night-ink); margin: 0; }
.ph--plain { min-height: 0; color: var(--sc-ink); padding-top: 9rem; }
.ph--plain::after { display: none; }
.ph--plain .lede { color: var(--sc-ink); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2.5rem; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--sc-ink); }
.list li.deep::before { background: var(--lemon); border-color: #b8892a; }
.callout { border: 1.5px solid var(--sc-ink); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.4rem); }
.towns { list-style: none; padding: 0; margin: 0; }
.towns li { border-bottom: 1px solid var(--line); }
.towns li span { display: block; font-family: var(--sc-font-display); font-size: clamp(2.6rem, 1rem + 6vw, 6.5rem); line-height: 1.05; letter-spacing: -.02em; padding: .6rem 0; }
.fine { font-size: .9rem; color: var(--sc-ink-soft); }

/* ===== Estimate form ===== */
.est { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.seg { display: inline-flex; padding: 4px; border: 1.5px solid var(--sc-ink); border-radius: 999px; gap: 2px; flex-wrap: wrap; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.2rem; border-radius: 999px; cursor: pointer; font-weight: 600; }
.seg input:checked + span { background: var(--sc-ink); color: var(--sc-canvas); }
.seg input:focus-visible + span { outline: 2px solid var(--lemon); outline-offset: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; min-width: 0; }
legend { font-family: var(--sc-font-display); font-size: 1.9rem; line-height: 1; margin-bottom: 1rem; padding: 0; }
.room-set { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.room-set h3 { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--sc-font-display); font-weight: 400; font-size: 1.9rem; margin: 0 0 .6rem; }
.room-set h3 small { font-family: var(--sc-font-text); font-size: .85rem; color: var(--sc-ink-soft); }
.task { display: flex; gap: .75rem; align-items: flex-start; padding: .55rem 0; cursor: pointer; }
.task input { width: 22px; height: 22px; accent-color: var(--sc-ink); flex: none; margin: .15rem 0 0; }
.task[data-tier="deep"] .tag, .task[data-tier="moveout"] .tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--lemon); padding: .1rem .4rem; border-radius: 4px; margin-left: .4rem; }
.task[hidden] { display: none; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .9rem; min-height: 48px; border: 1.5px solid color-mix(in oklab, var(--sc-ink) 40%, transparent); border-radius: 10px; background: #fff; color: var(--sc-ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sc-ink); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #a3261b; }
.err { color: #a3261b; font-size: .88rem; min-height: 1.2em; margin: 0; }
.summary { position: sticky; top: 6rem; background: var(--night); color: var(--night-ink); border-radius: 22px; padding: 1.8rem; }
.summary h2 { font-family: var(--sc-font-display); font-weight: 400; font-size: 2.2rem; margin: 0 0 .4rem; line-height: 1; }
.summary ol { margin: 1rem 0; padding-left: 1.2rem; max-height: 40vh; overflow: auto; }
.summary .soft { color: var(--night-soft); }
.summary .pill { width: 100%; background: var(--lemon); color: var(--night); border-color: var(--lemon); margin-top: .6rem; }
.summary .pill--line { background: transparent; color: var(--night-ink); border-color: var(--night-ink); }
.done-state { border: 1.5px solid var(--sc-ink); border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); }
.done-state h2 { font-family: var(--sc-font-display); font-weight: 400; font-size: clamp(3rem, 1rem + 6vw, 6rem); line-height: .9; margin: 0 0 1rem; }
@media (max-width: 960px) { .est { grid-template-columns: 1fr; } .summary { position: static; } }

/* Footer */
.foot { background: var(--night); color: var(--night-ink); padding: 4.5rem var(--gut) 2rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .label, .foot .soft { color: var(--night-soft); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; max-width: 84rem; margin: 0 auto; }
.foot__grid p { margin: 0 0 .4rem; }
.foot__big { font-family: var(--sc-font-display); font-size: 2rem; }
.foot__line { margin-top: 1rem !important; max-width: 22rem; color: var(--night-soft); }
.foot__small { max-width: 84rem; margin: 3.5rem auto 0; font-size: .8rem; color: var(--night-soft); border-top: 1px solid #ffffff22; padding-top: 1.2rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
/* The hero frame is wider than a phone screen by design; never let it widen the page. */
html { overflow-x: clip; }
.nm [data-sc-stage] { overflow: clip; }

/* ================= App feel (phones) ================= */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label { touch-action: manipulation; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.label { font-size: .8rem; }
.bar { padding-top: max(1rem, env(safe-area-inset-top)); padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }

/* Bottom dock: the two things a phone visitor came to do, always under the thumb. */
.dock { display: none; }
@media (max-width: 720px) {
  .bar { padding-top: max(.75rem, env(safe-area-inset-top)); }
  .dock { display: grid; grid-template-columns: auto 1fr; gap: .5rem; position: fixed; z-index: 58; left: 0; right: 0; bottom: 0;
    padding: .6rem max(.75rem, env(safe-area-inset-right)) calc(.6rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
    background: rgba(21,18,15,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid #ffffff14; }
  .dock a, .dock button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; border-radius: 999px; font: 600 1rem/1 var(--sc-font-text); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s var(--sc-ease-out); }
  .dock a:active, .dock button:active { transform: scale(.96); }
  .dock__call { padding: 0 1.1rem; color: var(--night-ink); background: #ffffff14; }
  .dock__call svg { width: 18px; height: 18px; }
  .dock__main { background: var(--lemon); color: var(--night); padding: 0 1rem; }
  .dock__tag { font-size: .78rem; background: var(--night); color: var(--lemon); padding: .3rem .5rem; border-radius: 999px; }
  .dock [hidden] { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html.menu-open { overflow: hidden; }
  html.menu-open .dock { display: none; }
  .bar__drawer { top: 0; padding-top: calc(env(safe-area-inset-top) + 5rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); z-index: -1; }
  .bar__menu[open] summary { position: relative; z-index: 2; background: var(--sc-canvas); color: var(--sc-ink); }
  html.menu-open .bar { background: var(--sc-canvas); color: var(--sc-ink); }
  /* Hero on phones: the dock carries the actions, so the panel is just the offer and sits low. */
  .nm__panel { bottom: calc(76px + env(safe-area-inset-bottom) + .75rem); padding: .9rem 1rem; }
  .nm__panel-intro, .nm__panel-cta { display: none !important; }
  .nm__panel .offer { margin: 0; border: 0; padding: 0; font-size: .95rem; }
  .nm__night-copy { bottom: calc(76px + env(safe-area-inset-bottom) + 4.5rem); }
  .nm__hint { bottom: calc(76px + env(safe-area-inset-bottom) + 1rem); }
  /* Comfortable tap targets */
  .task { min-height: 44px; align-items: center; }
  .foot a { display: inline-block; padding: .35rem 0; }
  .chore { min-height: 56px; }
  .chores { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .chore { padding: .8rem; gap: .6rem; font-size: .95rem; }
  .summary { position: static; }
  .seg { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .seg span { justify-content: center; padding: 0 .4rem; text-align: center; }
  .ph { min-height: 78svh; }
  .sec { padding: 4rem 0; }
}
.bar .bar__drawer .pill { min-height: 52px; padding: .8rem 1.4rem; font-size: 1rem; }
@media (max-width: 720px) { .ph--plain { padding-top: 6rem; } }
[hidden] { display: none !important; }
