:root {
  --paper: #f8f5eb;
  --pine: #16483e;
  --apricot: #ffbd79;
  --ink: #213e32;
  --serif: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
}
* { box-sizing: border-box }
body, figure, dl, dd, fieldset { margin: 0 }
button, input { font: inherit }
button, a { touch-action: manipulation }
button, label { cursor: pointer }
a { color: inherit; text-decoration: none }
:focus-visible { outline: 3px solid #bc561f; outline-offset: 4px }
.wrap { width: min(1440px, calc(100% - clamp(32px, 7vw, 120px))); margin-inline: auto }
.mast, .brand, nav, .caption, footer, .eyebrow, .sheet-head, .entry-line, dl div, .action { display: flex; align-items: center }
.mast, .caption, .sheet-head, .entry-line, dl div, footer { justify-content: space-between }
.mast { min-height: 85px }
.brand { font: bold 30px/1 var(--serif); letter-spacing: -.065em; gap: 10px }
nav { gap: 28px; font-size: 14px; font-weight: 600 }
nav a, footer a { padding-block: 12px }
.beta-link { border: 1px solid #a8b3a4; border-radius: 40px; padding: 10px 17px }
.beta-link span { margin-left: 7px }
.cover { display: grid; position: relative; grid-template-columns: .9fr 1.1fr; isolation: isolate; background: #183e33; color: var(--paper); overflow: hidden; border-radius: 4px }
.cover-copy { align-self: center; padding: clamp(35px, 4.4vw, 80px); z-index: 1; pointer-events: none }
.eyebrow, .folio { font-size: 11px; font-weight: 650; line-height: 1.45; letter-spacing: .14em; text-transform: uppercase }
.eyebrow { gap: 12px; margin: 0 }
.rule { display: inline-block; width: 26px; height: 1px; background: currentColor }
.cover .eyebrow, .beta .eyebrow { color: #ffd3a7 }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.06em }
h1 { font-size: clamp(49px, 6.05vw, 96px); line-height: .93; margin: 30px 0 22px }
h1 em, .beta em { color: var(--apricot) }
.lead, .chapter > p:last-child, .beta-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.55; max-width: 34ch; margin: 0 }
.room { position: relative; min-height: 100% }
.painting { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 60% }
.room::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #183e33, transparent 21%), linear-gradient(0deg, #31200d52, transparent 22%) }
.hotspot { position: absolute; z-index: 3; left: 49%; bottom: 7%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; white-space: nowrap; background: #fff8e8; border: 1px solid #47352166; color: var(--pine); border-radius: 32px; padding: 7px 16px 7px 7px; box-shadow: 0 4px 20px #25190f45; font-size: 15px; font-weight: 700; min-height: 45px }
.pin { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--pine); color: white; font-size: 23px; font-weight: 400 }
.hotspot[aria-expanded=true] .pin { transform: rotate(45deg) }
.caption { grid-column: 1/-1; padding: 12px clamp(16px, 3vw, 48px); border-top: 1px solid #ffffff38; color: #f0e8d3; font-size: 12px; gap: 8px }
.caption i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--apricot); margin-right: 6px }
.caption b, #record p span { padding-inline: 4px }
#record { position: absolute; z-index: 2; bottom: calc(7% + 57px); left: 49%; translate: -50% 0; width: min(300px, 87%); background: var(--paper); color: var(--pine); box-shadow: 0 6px 18px #27180742; padding: 20px; border-radius: 3px; border-top: 4px solid var(--apricot) }
#record .eyebrow { color: #556850 }
#record h2 { font-size: 33px; margin-block: 9px }
#record p:not(.eyebrow), .entry-line { font-size: 14px }
.entry-line { padding-top: 10px; border-top: 1px solid #ced0bf }
.journal { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; padding-block: clamp(54px, 7vw, 100px); gap: 4% }
.chapter { padding-left: clamp(0px, 4vw, 60px) }
.chapter h2, .beta h2 { font-size: clamp(50px, 5.8vw, 94px); line-height: .98; margin: 19px 0 }
.chapter em { color: #647353 }
.desk { display: grid; place-items: center; padding: 30px clamp(18px, 3.6vw, 60px); background: repeating-linear-gradient(90deg, transparent 0 14px, #a38e5415 14px 15px), #e8e4cd; border-radius: 4px }
.sheet { width: 100%; max-width: 490px; padding: 20px clamp(16px, 2.5vw, 40px) 25px; background: #fffcf2; border: 1px solid #c3bea5; box-shadow: 3px 4px #eee9d9, 4px 5px #bab49d, 0 10px 18px #4b47241a }
.sheet-head { border-bottom: 1px solid #b2b7a9; margin-bottom: 18px; padding-bottom: 10px; gap: 4px }
.sheet-head > :first-child { font: italic 18px var(--serif) }
.folio { font-size: 9px }
.bath { float: right; object-fit: contain; width: 84px; height: 64px }
.sheet h3 { font-size: clamp(28px, 2.6vw, 44px); margin: 5px 0 20px }
fieldset { border: 0; padding: 0; clear: both }
legend, h4 { font-size: 15px; font-weight: 650; padding: 0; margin: 0 0 10px }
.choices { display: flex; flex-wrap: wrap; gap: 6px }
.choices label { position: relative }
.choices input { position: absolute; opacity: 0 }
.choices span { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; border: 1px solid #aab4a5; border-radius: 4px; padding: 8px 12px }
.choices input:checked + span { background: #dce6d3; border-color: var(--pine); box-shadow: inset 0 0 0 1px var(--pine) }
.choices input:focus-visible + span { outline: 3px solid #bc561f; outline-offset: 2px }
.action { gap: 14px; width: fit-content; border: 0; border-radius: 30px; padding: 13px 20px; font-size: 15px; font-weight: 650; color: white; background: var(--pine); margin-top: 18px }
.action span { font-size: 18px }
#receipt { clear: both }
#receipt h4 { color: var(--pine) }
dl div { font-size: 14px; padding-block: 7px; border-bottom: 1px solid #d7d7c7 }
dd { font-weight: 600 }
.text-button { border: 0; background: none; padding: 12px 0 3px; color: var(--pine); text-decoration: underline; text-underline-offset: 4px }
.beta { background: var(--pine); color: var(--paper); overflow: hidden }
.beta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; padding: 0 4vw }
.beta-copy { padding-block: 52px }
.beta .action { color: var(--pine); background: var(--apricot) }
.still { align-self: stretch; position: relative; overflow: hidden; min-height: 340px }
.screen { position: absolute; width: min(72%, 290px); height: auto; top: 42px; left: 18%; border-radius: 28px; border: 5px solid #18251e; transform: rotate(5deg); box-shadow: 10px 14px 35px #102e2480 }
.books { position: absolute; z-index: 1; bottom: 0; width: 32%; height: auto; left: 0 }
footer { min-height: 76px; font-size: 13px }
footer .brand { font-size: 22px }
@media (prefers-reduced-motion:no-preference) {
  #record:not([hidden]), #receipt:not([hidden]) { animation: open-entry 380ms ease-out both }
  .pin { transition: transform 380ms ease }
  @keyframes open-entry { from { opacity: 0; transform: translateY(10px) rotate(-1deg) } to { opacity: 1; transform: none } }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px) }
  .mast { min-height: 66px }
  .brand { font-size: 25px; gap: 8px }
  .brand img { width: 33px; height: 33px }
  nav { font-size: 13px }.demo-link { display: none }
  .cover { width: 100%; border-radius: 0; grid-template-columns: 1fr }
  .cover-copy { padding: 26px 22px 22px }
  h1 { font-size: clamp(49px, 12.6vw, 78px); margin: 14px 0 13px }
  #question br:nth-of-type(2) { display: none }
  #question em::before { content: " " }
  .lead { font-size: 15px; max-width: 41ch }
  .room { min-height: 240px; aspect-ratio: 1.6 }
  .room::before { background: linear-gradient(180deg, #183e3333, transparent 15%) }
  .caption { font-size: 11px; padding: 11px 15px }
  #record { padding: 13px 16px; bottom: calc(7% + 52px) }
  #record h2 { font-size: 27px; margin: 5px 0 }
  .journal { grid-template-columns: 1fr; gap: 22px; padding-block: 38px }
  .chapter { padding-inline: 6px }.chapter h2 { font-size: 53px }
  .chapter > p:last-child { font-size: 16px }
  .desk { padding: 17px 12px 20px }.sheet { padding: 16px }.bath { width: 60px; height: 50px }
  .beta-inner { grid-template-columns: 1fr; gap: 0; padding-inline: 6px }
  .beta-copy { padding: 36px 0 0 }.beta h2 br { display: none }.beta h2 em::before { content: " " }
  .still { min-height: 205px }.screen { width: 180px; left: 35%; top: 22px }.books { width: 95px; left: 15% }
}

.explore { margin-top: clamp(38px, 6vw, 90px); border-bottom: 1px solid #c3c8b8; padding-bottom: clamp(34px, 5vw, 70px) }
.explore-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 24px }
.explore-head h2 { font-size: clamp(50px, 5.8vw, 94px); line-height: 1; margin-top: 15px }
.explore-head em { color: #647353 }
.explore-head > p { font-size: 16px; line-height: 1.55; max-width: 31ch; margin: 0 }
.house-index { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid #c3c8b8; background: #fdfbf3; border-radius: 4px; overflow: hidden }
.room-picker { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 8px; padding: 20px; background: #e7e9d9 }
.room-picker button { position: relative; display: grid; justify-items: center; align-content: center; gap: 9px; min-width: 0; background: transparent; color: var(--pine); border: 1px solid transparent; border-radius: 55% 55% 6px 6px; padding: 12px 3px; font: italic clamp(16px, 1.65vw, 26px) var(--serif) }
.room-picker img { width: 100%; height: clamp(68px, 8vw, 126px); object-fit: contain }
.room-picker button[aria-pressed=true] { background: #faf6e8; border-color: #a0ae91; box-shadow: 0 3px 0 #a0ae91 }
.room-picker button:hover img { transform: translateY(-3px) }
.room-register { padding: clamp(18px, 3vw, 45px) }
.register-date { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .09em }
.room-page h3 { font-size: 35px; margin: 16px 0 10px }
.room-page details { border-top: 1px solid #c3c8b8 }
.room-page summary { cursor: pointer; display: grid; grid-template-columns: 1fr auto 12px; gap: 10px; align-items: center; padding-block: 16px; list-style: none }
.room-page summary::-webkit-details-marker { display: none }
.room-page summary::after { content: "+"; font-size: 20px }
.room-page details[open] summary::after { content: "−" }
.room-page summary strong { font-size: 15px }
.room-page summary span { font-size: 12px; color: #526346 }
.room-page dl { padding: 0 0 12px }
.room-page dl div { gap: 8px }
.room-page dd { text-align: end }
@media (prefers-reduced-motion:no-preference) {
  .room-picker img { transition: transform 380ms ease }
  .room-selected .room-page:not([hidden]), .room-page details[open] dl { animation: open-entry 380ms ease-out }
}
@media (max-width: 850px) {
  .house-index { grid-template-columns: 1fr }
  .room-picker { padding: 14px; gap: 6px }
  .room-picker button { padding-block: 10px }
}
@media (max-width: 600px) {
  .explore-head { display: block; margin: 0 6px 16px }
  .explore-head > p { margin-top: 10px; max-width: 39ch }
  .room-picker { padding: 10px 6px }
  .room-register { padding: 18px 14px }
}

.shift { background: #f7ba7c; color: #243c2e; margin-top: clamp(36px, 5vw, 74px); border-block: 1px solid #cfa278 }
.shift-inner, .fridge { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center }
.shift-inner { padding: clamp(38px, 5vw, 75px) 3vw }
.shift-copy h2, .fridge-copy h2 { font-size: clamp(49px, 6vw, 96px); line-height: .92; margin: 20px 0 }
.shift-copy h2 em { color: #793617 }
.shift-copy > p:not(.eyebrow), .fridge-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.5; max-width: 38ch }
.timer { display: flex; gap: 5px; margin: 22px 0 0 }
.timer legend { padding-bottom: 4px }
.timer label { position: relative; cursor: pointer }
.timer input { position: absolute; opacity: 0 }
.timer span { display: grid; place-items: center; min-width: 77px; min-height: 46px; border: 1px solid #756c54; border-radius: 40px; font-weight: 600 }
.timer input:checked + span { background: var(--pine); color: white; border-color: var(--pine) }
.timer input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px }
.job-board { background: #fff8e7; border: 1px solid #a98c64; padding: clamp(18px, 2.7vw, 44px); border-radius: 5px; box-shadow: 4px 5px 0 #efdbac, 5px 6px 0 #a98c64, 9px 10px 0 #996b3b2b }
.board-top { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 2px solid var(--pine); font: italic 32px var(--serif) }
.board-top img, #activity img { border-radius: 50%; object-fit: cover }
.board-top small, .job small { display: block; font: 13px/1.6 Arial,sans-serif; color: #465849 }
.job { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; width: 100%; align-items: center; text-align: left; padding: 12px 0; border: 0; border-bottom: 1px solid #bdc2ab; background: transparent; color: var(--pine) }
.job img { width: 100%; height: 46px; object-fit: contain }
.job span { font-weight: 650 }
.job b { padding: 8px 12px; border: 1px solid var(--pine); border-radius: 24px; font-size: 13px }
.job:hover b { background: var(--pine); color: white }
.job-board a { display: inline-block; text-decoration: underline; text-underline-offset: 4px; margin-top: 16px; padding-block: 5px }
#job-status:empty { display: none }
#job-status { color: #485a44; font-size: 14px }
.fridge { padding: clamp(45px, 7vw, 100px) 3vw; border-bottom: 1px solid #c9c9b6 }
.fridge-copy h2 em { color: #68754d }
.fridge-copy p.preview-note { font-size: 13px; color: #53634d; margin-top: 20px }
.fridge-door { padding: clamp(26px, 3vw, 50px); border-radius: 24px 24px 8px 8px; border: 1px solid #849b88; background: linear-gradient(110deg, #b6d0ba, #d3debc 58%, #adc4a9); box-shadow: inset -5px 0 0 #90ad93, inset 4px 3px 0 #e4eacd }
.fridge-note { position: relative; transform: rotate(1.5deg); padding: 29px clamp(15px, 2vw, 30px) 14px; background: #fff8de; box-shadow: 2px 5px 6px #4e644742 }
.magnet { position: absolute; left: 47%; top: -9px; width: 23px; height: 23px; border-radius: 50%; background: #be5439; box-shadow: inset -3px -3px 1px #90422e, inset 2px 2px 2px #db8563, 1px 3px 3px #432f2055 }
.fridge-note h3 { font: italic 36px/.98 var(--serif); text-align: center }
.note-date { font: 11px/1.5 monospace; text-transform: uppercase; text-align: center }
#activity { margin: 18px 0 0; padding: 0; list-style: none }
#activity li { display: flex; gap: 10px; align-items: center; border-top: 1px solid #cbc7a7; padding: 10px 0 }
#activity img { width: 39px; height: 39px }
#activity strong, #activity span { display: block }
#activity small, #activity span { font-size: 12px; color: #4f5c48 }
#activity button { margin-left: auto; min-height: 44px; background: transparent; color: var(--pine); border: 0; text-decoration: underline }
@media (max-width: 720px) {
  .shift { margin-top: 0 }
  .shift-inner, .fridge { grid-template-columns: 1fr; gap: 22px; padding: 38px 5px }
  .shift-copy h2, .fridge-copy h2 { margin: 16px 0 }
  .job-board { padding: 18px }
  .fridge-door { padding: 24px 19px }
}
@media (prefers-reduced-motion: no-preference) {
  .fridge-note:focus-within .magnet { transition: transform 380ms; transform: rotate(15deg) }
  .job:hover img { transform: rotate(-6deg); transition: transform 380ms ease }
}

#sign-off, .postcard-actions button { min-height: 44px; border: 1px solid var(--pine); color: var(--pine); border-radius: 30px; padding: 8px 15px; background: transparent; font-weight: 650 }
#sign-off { display: block; margin-top: 12px; background: var(--pine); color: var(--paper) }
#sign-off[hidden] { display: none }
#postcard { width: min(460px, calc(100% - 36px)); max-height: 88dvh; overflow: auto; padding: 24px; color: var(--pine); border: 7px solid transparent; background: linear-gradient(#fff4d6, #fff4d6) padding-box, repeating-linear-gradient(135deg, #537463 0 9px, #fff5dd 9px 16px, #c97852 16px 25px, #fff5dd 25px 32px) border-box; box-shadow: 5px 12px 45px #183e3355 }
#postcard::backdrop { background: #102d24b8 }
.postcard-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #b9b79b; padding-bottom: 9px; font: 13px monospace }
.postcard-art { float: right; object-fit: contain; width: 24%; height: auto; margin-top: 12px }
#postcard h2 { font-size: clamp(36px, 6.2vw, 55px); line-height: .98; margin: 18px 0 }
#postcard em { color: #964220 }
#postcard-list { clear: both; padding-left: 20px }
#postcard-list li { padding-block: 5px }
#postcard-list small { display: block; margin-top: 3px; color: #52634c }
.signature { font: italic 27px var(--serif) }
.postcard-actions { display: flex; flex-wrap: wrap; gap: 8px }
.postcard-actions button:first-child { background: var(--pine); color: white }

@media (prefers-reduced-motion: no-preference) { #postcard[open] { animation: open-entry 380ms ease-out } }
@media print {
  body:has(#postcard[open]) > :not(#postcard, .print-note) { display: none !important }
  #postcard[open] { display: block; position: static; max-height: none; margin: 0 auto; box-shadow: none; print-color-adjust: exact }
  #postcard::backdrop, .postcard-actions { display: none }
}
.print-note { display: none }
@media print {
  body:has(.print-note) > :not(.print-note) { display: none !important }
  body:has(.print-note) > .print-note {
    display: block !important; width: 115mm; margin: 12mm auto; padding: 8mm;
    background: #fff4d6; border: 2px dashed #a56c4b; color: var(--pine); print-color-adjust: exact;
  }
  .print-note h2 { font-size: 34pt; line-height: 1; padding-top: 7mm }
  .print-note ul { clear: both; padding-left: 5mm }
  .print-note li { margin-block: 3mm }
  .print-note li small { display: block }
}

/* Cloth binding, a tipped-in painting, and the room's dated journal slip. */
@font-face {
  font-family: Household Display; font-style: normal; font-weight: 400;
  src: url("assets/type/display-Regular.woff") format("woff"); font-display: swap;
}
@font-face {
  font-family: Household Display; font-style: italic; font-weight: 400;
  src: url("assets/type/display-Italic.woff") format("woff"); font-display: swap;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.cover {
  --gold: #eed8a1;
  --binding: #193f34;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 0; padding: clamp(12px, 1.5vw, 23px) clamp(14px, 1.7vw, 28px) 0;
  border: 1px solid #2b4a38; border-radius: 5px 13px 13px 5px;
  background-color: var(--binding);
  background-image: linear-gradient(90deg,#0d231d66, transparent 1%,#edd7aa1f 1.3%,transparent 2.2%),repeating-linear-gradient(0deg,#fff2c908 0 1px,transparent 1px 3px), repeating-linear-gradient(90deg,#00000012 0 1px,transparent 1px 3px);
  box-shadow: 0 3px 0 #dbd3bb, 0 4px 0 #b9b19d, 0 8px 24px #3b3b2714;
}
.cover-copy { align-self: center; padding: clamp(20px,3.3vw,58px) clamp(12px,2vw,32px) clamp(20px,3.3vw,58px) clamp(15px,3.3vw,58px) }
.cover-copy .eyebrow { color: var(--gold); font-size: 10px; letter-spacing: .16em }
.cover #question, .rewind-copy label, #record h2 { font-family: Household Display, var(--serif) }
.cover #question { font-size: clamp(50px,5.7vw,92px); letter-spacing: -.065em; line-height: .99; margin: 20px 0 }
.cover #question em { color: #ffce94 }
.cover .lead { color: #ece9d7; font-size: clamp(15px,1.28vw,19px); max-width: 31ch }
.cover .room {
  isolation: isolate; overflow: hidden; min-height: clamp(330px,32vw,510px); aspect-ratio: auto;
  border: 5px solid #f0e7c9; border-radius: 2px; outline: 1px solid #0f2b20;
  box-shadow: 1px 3px 9px #0c1e1b77; touch-action: pan-y pinch-zoom; user-select: none;
}
.cover .room::before { background: linear-gradient(0deg,#442a153d,transparent 20%); z-index: 0 }
.cover .painting { z-index: -1; object-position: center bottom; pointer-events: none }
.photo-label {
  position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none;
}
.photo-label span, .photo-label time { background: #fff5d9; color: #3a3828; box-shadow: 1px 2px 3px #49371d32 }
.photo-label span { font: italic 18px Household Display,var(--serif); padding: 4px 10px; transform: rotate(-3deg) }
.photo-label time { padding: 6px 9px; font: 11px/1.2 monospace; text-transform: uppercase; border-bottom: 2px solid #c8a371 }
.cover .hotspot { left: 50%; bottom: 6%; background: #fff6dc; box-shadow: 0 0 0 4px #fff5d73d,0 3px 10px #38271066 }
.cover .hotspot[aria-expanded=true] .pin { transform: none; font-size: 0 }
.cover .hotspot[aria-expanded=true] .pin::after { content: "×"; font-size: 22px }
#record {
  left: 50%; bottom: calc(6% + 58px); width: min(350px,90%); padding: 18px 20px;
  border: 1px solid #dbcca1; border-bottom: 5px double #b9aa7e; border-radius: 2px;
  background: #fff8e2; box-shadow: 2px 6px 16px #39261355;
}
.visit-byline { display: flex; align-items: center; gap: 10px }
.visit-byline img { border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c3c2a6 }
.visit-byline .eyebrow { display: block; line-height: 1.6; font-size: 10px }
.visit-byline .eyebrow span { font: 13px/1.3 Arial,sans-serif; text-transform: none; letter-spacing: 0 }
#record h2 { font-size: clamp(22px,2.4vw,35px); margin: 9px 0 13px; line-height: 1.06 }
.sweep-trace { pointer-events: none; position: absolute; z-index: 1; display: none; left: var(--trace-x); top: var(--trace-y); width: var(--trace-size); height: 16px; transform-origin: left; transform: translateY(-50%) scaleX(var(--trace-direction)); background: repeating-linear-gradient(0deg,#fff2c4ab 0 2px,transparent 2px 4px); border-radius: 70% 10% 25% 45% }
.sweeping .sweep-trace { display: block }
.cover .caption { padding: 12px 2px; margin-top: 6px; border: 0; color: #eadfc2; font-size: 12px }
.caption a { padding: 8px 0; text-decoration: underline; text-underline-offset: 4px }
.rewind:not([hidden]) { display: grid; grid-template-columns: 42% 1fr; align-items: center; grid-column: 1 / -1; margin-top: 15px; padding: 11px clamp(12px,2.8vw,40px); background: #f5ecd3; color: var(--pine); border: 1px solid #c4b690; box-shadow: inset 0 -3px #e0d6b9 }
.rewind-copy label { font-size: 24px; letter-spacing: -.04em }
.rewind-copy p { font-size: 13px; margin: 2px 0 0 }
.day-controls { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center }
.day-controls button { height: 44px; border-radius: 50%; border: 1px solid #92977d; color: var(--pine); background: #fff9e5; font-size: 26px; line-height: 1 }
.day-controls button:disabled { opacity: .45; cursor: default }
.day-track { min-width: 0 }
.day-track input { display: block; width: 100%; margin: 0; height: 38px; appearance: none; cursor: ew-resize; background: repeating-linear-gradient(90deg,#78806b 0 1px,transparent 1px 6.25%) center / calc(100% - 16px) 7px no-repeat }
.day-track input::-webkit-slider-runnable-track { height: 3px; background: #64735d }
.day-track input::-moz-range-track { height: 3px; background: #64735d }
.day-track input::-webkit-slider-thumb { appearance: none; height: 27px; width: 17px; border-radius: 4px; background: #d59c64; border: 2px solid #695c3c; margin-top: -12px; box-shadow: inset -3px 0 #b57b48 }
.day-track input::-moz-range-thumb { height: 23px; width: 13px; border-radius: 4px; background: #d59c64; border: 2px solid #695c3c }
.day-track div { display: flex; justify-content: space-between; font: 10px monospace; text-transform: uppercase }
@media (prefers-reduced-motion: no-preference) {
  .rewind:not([hidden]) { animation: open-entry 380ms ease-out }
  .room .painting { transition: transform 380ms ease }
  .room.checked .painting { transform: scale(1.035); transform-origin: 50% 85% }
}
@media (max-width:720px) {
  .cover { grid-template-columns: 1fr; width: calc(100% - 18px); padding: 0 9px; border-radius: 3px 10px 10px 3px }
  .cover-copy { padding: 19px 10px 17px }
  .cover #question { font-size: clamp(42px,11.5vw,71px); margin: 10px 0; line-height: .98 }
  .cover .lead { font-size: 14px; line-height: 1.4; max-width: 42ch }
  .cover .room { min-height: 242px; aspect-ratio: 1.55; border-width: 3px }
  .cover .caption { font-size: 11px; margin-top: 0; padding: 4px 3px }
  .photo-label { inset: 8px 8px auto }
  .photo-label span { font-size: 15px }
  #record { padding: 10px 13px; bottom: calc(6% + 54px) }
  #record h2 { font-size: 25px; margin: 6px 0 8px }
  .visit-byline img { width: 33px; height: 33px }
  .rewind:not([hidden]) { grid-template-columns: 1fr; gap: 5px; padding: 10px 12px; margin-top: 9px }
  .rewind-copy label { font-size: 20px }
  .shift { margin-top: 25px }
}
@media (prefers-reduced-motion: reduce) { .sweeping .sweep-trace { display: none } }

@media (max-width:720px) {
  .cover .room { width: 100%; min-width: 0 }
  .cover { grid-template-columns: minmax(0,1fr) }
}
.rewind-copy time { font-weight: 650 }

/* Pair each promise with the unmodified iPhone screen that delivers it. */
.pitch {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.97fr);
  gap: clamp(30px,5vw,86px); align-items: center;
  padding: clamp(25px,3.5vw,65px) 0 clamp(42px,5vw,76px);
  border-top: 1px solid #c7caba;
}
.pitch-copy { padding-left: clamp(0px,1.6vw,24px) }
.pitch h1 { font-family: Household Display, var(--serif); font-size: clamp(57px,5.8vw,94px); line-height: .99; letter-spacing: -.063em; margin: 23px 0 }
.pitch h1 em { color: #6a472c }
.pitch .eyebrow { color: #4f6250 }
.pain, .payoff { max-width: 45ch; font-size: clamp(16px,1.25vw,19px); line-height: 1.5; margin: 0 0 12px }
.payoff strong { font-weight: 600 }
.pitch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 19px; margin-top: 20px }
.pitch-actions .action { margin: 0 }
.pitch-actions > a:last-child, .beta-tour { padding-block: 10px; text-decoration: underline; text-underline-offset: 5px; font-weight: 600; font-size: 14px }
.product-proof { margin: 0; min-width: 0; overflow: hidden; background: #163c32; border: 1px solid #234236; border-radius: 9px; box-shadow: 0 4px 0 #e5dfcd,0 5px 0 #bcb49c }
.proof-picker { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; padding: 6px }
.proof-picker button { min-height: 44px; border: 0; border-radius: 4px; background: transparent; color: #f8f5eb; font-size: 14px; font-weight: 650 }
.proof-picker button[aria-pressed=true] { background: #ffdcaa; color: #233e31 }
.product-stage { position: relative; isolation: isolate; display: grid; place-items: center; padding: clamp(24px,3.3vw,58px) clamp(13px,3vw,47px); background: #c59660 }
.product-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1 }
.proof-sheet { width: min(100%,420px); padding: 7px; border: 1px solid #ae9b77; border-radius: 6px; background: #fff6df; box-shadow: 0 3px 0 #e7d8b7,0 4px 0 #a48c69,0 9px 18px #34240f55 }
#product-capture { display: block; border-radius: 4px }
.proof-source, .proof-source > span:first-child { display: flex; align-items: center }
.proof-source { justify-content: space-between; gap: 5px; min-height: 38px; padding: 0 5px 5px; font-size: 12px; font-weight: 600 }
.proof-source > span:first-child { gap: 6px }
.proof-source > span:last-child { text-decoration: underline; text-underline-offset: 3px }
.capture-window { display: block; position: relative; overflow: hidden; aspect-ratio: 750/353; background: #191c1a; border-radius: 4px }
.capture-window img { position: absolute; display: block; width: 100%; height: auto; top: 0; transform: translateY(-22.5%) }
.product-stage[data-view=care] .capture-window img { transform: translateY(-46.5%) }
.product-stage[data-view=plan] .capture-window img { transform: translateY(-40%) }
.proof-decision { padding: 13px 10px 6px; color: var(--pine) }
#proof-answer { font: italic clamp(24px,2.3vw,36px)/1.05 Household Display,var(--serif); letter-spacing: -.045em; margin: 0 }
#proof-try { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px }
.beta { margin-top: clamp(32px,5vw,75px) }
.beta-tour { display: inline-block; margin-top: 6px }
#beta .beta-copy h2 { font-size: clamp(41px,4.5vw,71px); max-width: 15ch }
#invite-dialog { width: min(455px,calc(100% - 28px)); max-height: 90dvh; padding: clamp(22px,3vw,34px); border: 1px solid #9caa91; border-radius: 8px; color: var(--pine); background: #fff9e8; box-shadow: 0 15px 65px #122c2377 }
#invite-dialog::backdrop { background: #122c23b8 }
.invite-close { float: right; width: 44px; height: 44px; border: 1px solid #afb49d; border-radius: 50%; background: transparent; color: var(--pine); font-size: 24px }
#invite-dialog h2 { font: 400 40px/1.03 Household Display,var(--serif); margin: 16px 0 12px }
#invite-dialog p { line-height: 1.5 }
#invite-dialog label { display: block; font-size: 14px; font-weight: 650; margin: 18px 0 7px }
#invite-message { width: 100%; padding: 12px; min-height: 90px; border: 1px solid #9fad96; border-radius: 4px; font: inherit; line-height: 1.4; color: var(--pine); background: #fffdf6; resize: vertical }
.invite-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px }
.invite-actions button { min-height: 44px; margin: 0; border: 1px solid var(--pine); padding: 10px 16px; border-radius: 30px; font-weight: 650 }
#copy-invite { background: #e4ead9; color: var(--pine) }
#share-invite[hidden], #invite-status:empty { display: none }
@media (min-width:721px) and (max-width:940px) {
  .pitch { gap: 20px }.pitch h1 { font-size: 54px }
}
@media (max-width:720px) {
  .pitch { grid-template-columns: 1fr; gap: 21px; padding: 25px 0 37px }
  .pitch-copy { padding: 0 2px }
  .pitch h1 { font-size: clamp(43px,10.8vw,68px); margin: 13px 0 15px; max-width: 14ch }
  .pitch h1 br { display: none }.pitch h1 em::before { content: " " }
  .pain,.payoff { font-size: 15px; line-height: 1.45; margin-bottom: 9px }
  .pitch-actions { gap: 6px 12px; margin-top: 14px }
  .pitch-actions .action { font-size: 14px; padding: 12px 14px }
  .product-stage { padding: 22px 9px }
  .proof-picker button { font-size: 13px }
  #beta .still { display: none }
  #beta .beta-copy { padding-bottom: 27px }
  footer .brand { font-size: 18px }
}

/* The same resident, job and time are readable at phone size beside the capture. */
.pitch h1 { max-width: 11ch }
.pitch h1 em::before { content: none }
.pitch .payoff { max-width: 38ch }
@media (max-width:720px) {
  .pitch-actions { gap: 5px 12px }
  .pitch-actions .action { gap: 6px; padding-inline: 13px }
  .proof-decision { padding: 12px 5px 3px }
}

/* Pass the same paper journal between the two residents. */
.journal { border-bottom: 1px solid #c5c9b6 }
.chapter h2 { font-family: Household Display,var(--serif); font-size: clamp(40px,4.9vw,78px) }
.desk { background-color: #d8dfca; background-image: repeating-linear-gradient(0deg,transparent 0 21px,#a1b59450 21px 22px),repeating-linear-gradient(90deg,transparent 0 21px,#a1b59450 21px 22px); padding-block: clamp(27px,3.5vw,52px) }
.sheet { border-top: 4px solid #83966c }
.sheet:has(#receipt:not([hidden])) { border-top-color: #bd7442 }
.resident-heading { display: flex; align-items: center; gap: 10px }
.resident-heading img { border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #c4c5ad }
.sheet-head > .resident-heading { font-size: clamp(19px,2vw,27px) }
#receipt-title { font-family: Household Display,var(--serif); margin: 6px 0 14px }
.visit-slip { padding: 4px 12px; background: #e9eedc; border-left: 3px solid #7d936e }
.visit-slip div { justify-content: space-between; gap: 8px; border-color: #c4cebb }
.visit-slip div:last-child { border: 0 }
.next-choice { display: flex; align-items: center; gap: 10px; margin-top: 14px }
.next-choice img { width: 56px; height: 56px; object-fit: contain }
.next-choice small, .next-choice strong { display: block }
.next-choice small { color: #52624d; margin-bottom: 3px }
.next-choice strong { font: 400 23px/1.1 Household Display,var(--serif); letter-spacing: -.035em }
#alex-log { margin-top: 11px }
#alex-log[hidden], #pair-result:empty { display: none }
#pair-result { margin: 10px 0; font-size: 14px; color: #466449 }
.journal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; margin-top: 12px; border-top: 1px solid #cbd1be }
.journal-links > * { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px }
@media (prefers-reduced-motion:no-preference) {
  .sheet:has(#receipt:not([hidden])) .resident-heading img { animation: open-entry 380ms ease-out }
}
#family-request {display:grid;gap:.8rem}
#family-request label {display:grid;gap:.25rem}
#family-request input {font:inherit;padding:.65rem;border:1px solid #71867c;border-radius:.35rem;width:100%;box-sizing:border-box}
@media (prefers-reduced-motion:no-preference) {
  #invite-dialog[open] {animation:open-entry 220ms ease-out}
}
#more-demo > summary {padding-block:1.25rem;font-weight:650;cursor:pointer}
