/* ── HERO: the room, veiled to paper where the words live ─────────── */
.hero{position:relative;min-height:min(94vh,880px);display:flex;align-items:flex-end;
  overflow:hidden;background:var(--moth-blush);isolation:isolate}
.hero-media{position:absolute;inset:-8% 0;z-index:0;will-change:transform}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;
  display:block;filter:saturate(.82) contrast(1.03) brightness(1.04)}
/* Pigment law, treatment 1 — colour grade fused to the moth/down family */
.plate-grade{position:absolute;inset:0;mix-blend-mode:soft-light;
  background:linear-gradient(178deg,rgba(236,219,207,.62),rgba(217,163,146,.36) 52%,
    rgba(28,21,18,.32))}
/* Pigment law, treatment 3 — the code light lives on top of the plate */
#breath{position:absolute;inset:0;width:100%;height:100%;mix-blend-mode:screen}
/* Pigment law, treatment 2 — the paper veil the copy sits on */
.plate-veil{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(101deg,rgba(242,235,224,.97) 0%,rgba(242,235,224,.95) 30%,
    rgba(242,235,224,.74) 52%,rgba(242,235,224,.26) 72%,rgba(242,235,224,0) 92%),
    linear-gradient(0deg,rgba(242,235,224,.55),rgba(242,235,224,0) 34%)}
/* The morning breathing across the paper side — same 17s clock as the canvas */
.plate-warm{position:absolute;inset:0;z-index:2;pointer-events:none;mix-blend-mode:multiply;
  opacity:calc(.42 + .48 * var(--breath));
  background:linear-gradient(104deg,rgba(217,163,146,.40) 0%,rgba(236,219,207,.24) 36%,
    rgba(217,163,146,0) 63%)}
.hero .wrap{position:relative;z-index:3}
.hero-copy{max-width:34rem;padding-block:clamp(3.4rem,11vh,7.5rem)}
.hero-copy h1{margin-bottom:.42em}
.answer{font-family:"Faustina",Georgia,serif;font-size:clamp(1.42rem,3vw,2rem);
  line-height:1.3;color:var(--ink);margin:0 0 1.15rem}
.hero-copy p.sub{color:var(--ink);max-width:31rem}
@media (max-width:760px){
  .plate-veil{background:linear-gradient(2deg,rgba(242,235,224,.97) 30%,
    rgba(242,235,224,.86) 48%,rgba(242,235,224,.42) 66%,rgba(242,235,224,0) 88%)}
  .plate-warm{background:linear-gradient(4deg,rgba(217,163,146,.38) 8%,
    rgba(236,219,207,.20) 46%,rgba(217,163,146,0) 72%)}
  .hero{align-items:flex-end;min-height:min(96vh,780px)}
}
/* SITE BUILD 2026-10-04 — the portrait-phone hero. Jason's eyes-on pass: on a phone
   held upright the room did not show (the copy filled the hero and the paper veil
   covered what was left); turned sideways it did. Same cure as the door's mobile
   band (PASS 4): below 760px the plate, loop, overlays and drawn light live in a
   fixed band at the head of the hero, the veil only melts the band's lower edge
   into the paper, and the copy starts where the band ends. The canvas reads the
   img's object-position, so the drawn light still leaves the real window. */
@media (max-width:760px){
  .hero{--band:clamp(280px,86vw,430px);display:block;min-height:0;background:var(--moth);padding-block:0}
  .hero-media{inset:0 0 auto 0;height:var(--band);transform:none!important}  /* the band holds still: a drifting plate would slide out from under its veil */
  .hero-media img,.hero-media .roomloop{object-position:34% 45%}
  .plate-veil{inset:0 0 auto 0;height:calc(var(--band) + 2px);
    background:linear-gradient(180deg,rgba(242,235,224,0) 0%,rgba(242,235,224,0) 58%,
      rgba(242,235,224,.72) 82%,rgba(242,235,224,1) 95%)}
  .plate-warm{inset:var(--band) 0 0 0;
    background:linear-gradient(180deg,rgba(217,163,146,0) 0%,rgba(217,163,146,.26) 26%,rgba(236,219,207,.14) 62%,rgba(217,163,146,0) 100%)}
  .hero-copy{padding-block:calc(var(--band) + .2rem) clamp(3rem,10vw,4rem)}
}

/* ═════ THE ROOM, ALIVE — recovered enhancement layer (built 2026-08-10, deployed
   2026-08-12 01:32 to the scratch site poindexter-hearth-plus and never written
   to the mirror; recovered 2026-09-07 from that deploy's permalink).
   [L] A Seedance loop generated image-to-video FROM this page's own room plate —
       Higgsfield lane — steam off the cup, motes in the light, the curtain
       breathing once. It sits ON the <img>, so the plate is the fallback for load
       failure, decode failure and prefers-reduced-motion alike.
   [O] The generated atmosphere pack (motes, bloom) on pure black, screen-blended;
       the motes drift on a 37s ease, the bloom breathes on the 17s clock.
   Pigment law: loop + overlays + the drawn light-breath + grade + veil = one seam-
   less room. Scroll untouched (NN11). ═════════════════════════════════════════ */
.hero-media .roomloop{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 45%;z-index:1;pointer-events:none;
  filter:saturate(.82) contrast(1.03) brightness(1.04)}   /* same grade as the plate */
.hero-media .ov{position:absolute;inset:0;z-index:2;pointer-events:none;
  background-repeat:no-repeat;background-size:cover;mix-blend-mode:screen}
.hero-media .ov-motes{background-image:url("assets/ov-motes.jpg");opacity:.42;
  background-position:44% 40%;animation:ovdrift 37s ease-in-out infinite alternate}
.hero-media .ov-bloom{background-image:url("assets/ov-bloom.jpg");opacity:.16;
  background-position:22% 34%;animation:ovbreathe 17s cubic-bezier(.4,0,.2,1) infinite}
.hero-media .plate-grade,.hero-media #breath{z-index:3}   /* code light stays on top */
@keyframes ovdrift{from{transform:translate3d(0,1.1%,0)}to{transform:translate3d(0,-1.1%,0)}}
@keyframes ovbreathe{0%,100%{opacity:.10}50%{opacity:.22}}
@media (prefers-reduced-motion:reduce){
  .hero-media .roomloop{display:none}
  .hero-media .ov-motes,.hero-media .ov-bloom{animation:none}
}
/* ── The door ─────────────────────────────────────────────────────── */
.door{position:relative;overflow:hidden;background:var(--moth-blush);isolation:isolate;
  min-height:min(78vh,720px);display:flex;align-items:center}
.door-media{position:absolute;inset:0;z-index:0}
.door-media img{width:100%;height:100%;object-fit:cover;object-position:72% 50%;display:block;
  filter:saturate(.96) contrast(1.02) brightness(calc(1.0 + .1 * var(--breath)))}   /* painted door, 2026-10-22 (R2) */
  /* treatment 1: palette pull — and the plate's OWN light breathes on the 17s
     clock (PASS 4: the drawn wedge that used to sit over this plate read as an
     overlay seam; a plate that already carries a real doorway light needs no
     second one drawn across it, so the breath moves the plate's light itself). */
.door-grade{position:absolute;inset:0;mix-blend-mode:soft-light;
  background:linear-gradient(180deg,rgba(236,219,207,.5),rgba(224,162,74,.25) 60%,rgba(28,21,18,.2))}
                                                        /* treatment 2: grade */
.door-veil{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(97deg,rgba(236,219,207,.98) 0%,rgba(236,219,207,.96) 38%,
    rgba(236,219,207,.78) 54%,rgba(236,219,207,.28) 70%,rgba(236,219,207,0) 88%)}
                                                        /* treatment 3: the veil */
/* the warmth the open door throws onto the paper side — a soft screen wash
   with stops, anchored to the plate's spill, breathing on the shared clock */
.door::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(96deg,rgba(255,238,205,0) 48%,rgba(255,236,200,.22) 64%,
    rgba(255,232,193,0) 80%);mix-blend-mode:screen;
  opacity:calc(.5 + .5 * var(--breath))}
.door .wrap{position:relative;z-index:3}
.door-copy{max-width:34rem;padding-block:clamp(3rem,8vw,5rem)}
@media (max-width:760px){
  /* PASS 4: the plate is a fixed-height band at the foot of the section, and the
     copy's bottom padding is that same band plus a breath — no overlap at any
     copy length. */
  .door{--band:clamp(230px,60vw,340px);min-height:0;display:block}
  .door-media{inset:auto 0 0 0;height:var(--band)}
  .door-veil{inset:auto 0 0 0;height:var(--band);
    background:linear-gradient(180deg,rgba(236,219,207,1) 0%,rgba(236,219,207,.5) 34%,
    rgba(236,219,207,0) 70%)}
  .door::before{inset:auto 0 0 0;height:var(--band);
    background:linear-gradient(180deg,rgba(255,238,205,0),rgba(255,238,205,.4));
    opacity:calc(.3 + .3 * var(--breath))}
  .door-copy{padding-bottom:calc(var(--band) + 1.5rem)}
}

/* 2026-10-22 (Jason: keep a frame, but the tipped white card doesn't match the painted set):
   the window picture now wears the PORTRAIT's frame - the hairline border, the inner amber rule,
   the paper fusion - square-set, no tilt, no mounted corners; caption a quiet line. */
.tipped{background:var(--moth-blush);padding:0;transform:none;border:1px solid var(--line);
  box-shadow:0 24px 46px -34px rgba(28,21,18,.5);width:min(var(--tw,360px),100%)}
.tipped:hover,.tipped:focus-within{transform:none;box-shadow:0 24px 46px -34px rgba(28,21,18,.5)}
.tipped .plate{background:var(--moth-blush)}
.tipped .plate img{filter:sepia(.08) saturate(.96) contrast(1.02)}
.tipped .plate::before{content:"";position:absolute;inset:.6rem;border:1px solid rgba(224,162,74,.55);
  background:none;filter:none;z-index:3;pointer-events:none}      /* the portrait's inner rule, not corners */
.tipped .plate::after{opacity:.2}
.tipped figcaption{font-size:12.5px;line-height:1.9;text-align:center;padding:.55rem .8rem .5rem;color:var(--hand-ink)}
.tipped figcaption.hand{font-family:"Homemade Apple",cursive}   /* 2026-10-22: Jason preferred the script caption over the block one */

/* 2026-10-22: the home page shortened (friend's feedback): insurance and testimonials become two lines in the closing section */
.door-more{margin:1.4rem 0 .4rem;max-width:32rem}.door-more .quiet{font-size:.92rem;line-height:1.6;margin:0 0 .6rem}

/* 2026-10-22 (A): Areas of focus named on the home page, pictured on What we work on.
   Desktop: the lede left, the three names as a ruled column right, so the band is full. */
.focus-row{display:grid;gap:clamp(1.2rem,3vw,2.4rem) clamp(2rem,5vw,4.5rem);align-items:start}
@media (min-width:900px){.focus-row{grid-template-columns:minmax(0,30rem) minmax(0,1fr)}.focus-list{margin-top:1.4rem}}
.focus-list{list-style:none;margin:.4rem 0 0;padding:0;display:grid;gap:.6rem;
  font-family:"Faustina",Georgia,serif;font-size:clamp(1.2rem,1.05rem + .7vw,1.55rem);line-height:1.35;color:var(--moth)}
.focus-list li{border-top:1px solid rgba(242,235,224,.2);padding-top:.6rem}
.focus-list li:first-child{border-top:0;padding-top:0}
#focus .more a{font-size:1rem}
