:root{color-scheme:light;--ink:#092343;--muted:#5b7390;--paper:#f7f5f1;--red:#a93620}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,Helvetica,sans-serif}
.hero{max-width:1800px;min-height:100svh;margin:auto;background:radial-gradient(ellipse at 49% 9%,#fff 5%,#fbf9f5 56%,#eeeae1 100%)}
header{height:60px;padding:0 42px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:800;color:var(--ink);text-decoration:none}
.mark{display:grid;place-items:center;width:28px;height:28px;font-size:25px;background:var(--ink);color:#fff;border-radius:50%}
.header-note{font-size:12px;color:var(--muted)}
.intro{text-align:center;padding:8px 24px 0}
.eyebrow{margin:0 0 12px;font-size:11px;letter-spacing:.16em;color:var(--muted)}
h1{font-size:45px;line-height:1.07;letter-spacing:-1.7px;margin:0;font-weight:750}
h1 span{color:var(--red)}
.lead{max-width:920px;margin:15px auto 0;font-size:15px;line-height:1.55;color:var(--muted)}

/* hybrid scene: raster 3D scene + live captions on top */
.scene{width:calc(100% - 72px);max-width:1500px;margin:30px auto 0}
.scene-captions{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:0 0 6px;padding:0 6px}
.hand{font-family:'Segoe Print','Comic Sans MS',cursive;font-weight:500;font-style:italic;line-height:1.3;letter-spacing:-.4px;font-size:19px;margin:0}
.loss-heading{color:var(--red);transform:rotate(-3deg)}
.flow-heading{color:#037aea;transform:rotate(-2deg)}
.scene-captions .flow-heading{text-align:right}

.scene-photo{width:100%;height:auto;display:block;border-radius:16px;box-shadow:0 20px 40px -24px #12395155;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 46px);mask-image:linear-gradient(to bottom,transparent 0,#000 46px)}
.scene-desktop{display:block}
.scene-mobile{display:none;flex-direction:column;gap:8px}
.scene-mobile .scene-arrow{align-self:center;width:34px;height:34px;display:grid;place-items:center;background:#fff;border-radius:50%;box-shadow:0 4px 12px #19334619;color:var(--muted);font-size:20px;margin:-6px 0}
.model-note{font-size:11px;color:#75818a;text-align:center;margin:10px 0 0}

.actions{display:flex;justify-content:center;align-items:center;gap:12px;padding:24px 20px 28px}
.actions button,dialog button{font:600 14px Arial,sans-serif;cursor:pointer;color:var(--ink);background:#ffffffb8;border:1px solid #b8c2c8;border-radius:7px;padding:14px 22px;min-height:47px}
.actions .primary{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 4px 12px #07244724}
.actions button:hover{filter:brightness(1.1);box-shadow:0 4px 16px #18375317}
.actions .text-button{background:transparent;border-color:transparent}
.text-button span{margin-left:10px}
button:focus-visible,a:focus-visible{outline:3px solid #197ad2;outline-offset:4px}
dialog{border:1px solid #cad1d7;border-radius:14px;padding:28px;max-width:440px;color:var(--ink);line-height:1.55}
dialog::backdrop{background:#09234366;backdrop-filter:blur(4px)}
dialog h2{font-size:24px;margin:0 35px 12px 0}
dialog .close{position:absolute;right:10px;top:10px;border:0;padding:0;width:36px;min-height:36px;font-size:25px}
.dismiss{margin-top:10px}

@media(min-width:1600px){.scene{margin-top:34px}}
@media(min-width:901px) and (max-height:800px){
  header{height:44px}
  .intro{padding-top:0}
  h1{font-size:34px}
  .eyebrow{margin-bottom:7px}
  .lead{margin-top:8px;font-size:13px}
  .scene{margin-top:10px}
  .scene-captions{margin-bottom:2px}
  .scene-captions .loss-heading,.scene-captions .flow-heading{font-size:15px}
  .scene-photo{max-height:300px;object-fit:cover;object-position:center top}
  .model-note{margin-top:4px}
  .actions{padding:10px 20px 16px}
}

@media(max-width:900px){
  header{height:57px;padding:0 20px}
  .brand{font-size:19px}
  .mark{width:25px;height:25px;font-size:22px}
  .header-note{font-size:9px;max-width:112px;text-align:right;line-height:1.4}
  .intro{padding:16px 20px 0}
  .eyebrow{font-size:9px;letter-spacing:.1em;margin-bottom:14px}
  h1{font-size:31px;line-height:1.08;letter-spacing:-1px}
  h1 br{display:none}
  .lead{font-size:13px;line-height:1.55;margin-top:16px}
  .scene{width:calc(100% - 32px);max-width:540px;margin-top:22px}
  .scene-captions{display:none}
  .scene-desktop{display:none}
  .scene-mobile{display:flex}
  .scene-mobile .hand{text-align:center;font-size:15px}
  .actions{display:grid;grid-template-columns:1fr;gap:9px;padding:20px 20px 25px;max-width:540px;margin:auto}
  .actions button{width:100%;font-size:14px}
  .actions .text-button{min-height:40px;padding:10px}
  dialog{width:calc(100% - 32px)}
}
