/* Lycism: light, material and structure. See DESIGN.md. */
:root {
  --black: #0d0d0d;
  --paper: #fef5f0;
  --yellow: #ffc300;
  --muted: #b5ada7;
  --line: #393631;
  --gold: #ffc300;
  --display: "Syne", sans-serif;
  --text: "Montserrat", sans-serif;
  --edge: clamp(1.25rem, 4vw, 5rem);
  --space: clamp(4rem, 8vw, 8rem);
  --r-control: 3px;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
html { background: var(--black); -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { color: var(--paper); font: 400 1rem/1.65 var(--text); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
a:hover { text-decoration-thickness: 2px; }
a:active, button:active { opacity: .7; }
a:focus-visible, button:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, .statement, .next-name { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; }
h1 { line-height: .98; }
h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.2; }
.skip { position: absolute; left: -999rem; top: .5rem; z-index: 10; padding: .5rem 1rem; background: var(--paper); color: var(--black); }
.skip:focus { left: 1rem; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--edge); border-bottom: 1px solid var(--line); }
.brand { min-height:44px; display: inline-flex; align-items: center; gap: .7rem; font-family: var(--display); font-weight: 800; text-transform: uppercase; text-decoration: none; }
.top nav { display: flex; gap: clamp(.25rem, 2vw, 2rem); }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .5rem; text-decoration: none; }
.top a:hover, .top a:focus-visible { color: var(--yellow); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 2.5rem 2rem; padding: clamp(3rem, 6vw, 6rem) var(--edge) 3rem; min-height: min(850px, calc(100svh - 78px)); align-items: center; }
.hero-heading { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 6.3vw, 7.8rem); }
.hero h1 span { display: block; }
.hero h1 .outline-type { color: var(--paper); }
.hero h1 .impact-type { margin-top: .3em; font-size: .68em; color: var(--yellow); }
@supports (-webkit-text-stroke: 1px black) { .hero h1 .outline-type { color: transparent; -webkit-text-stroke: 1px var(--paper); } }
.hero-note { grid-column: 1; max-width: 36rem; }
.hero-note p + p { margin-top: .75rem; max-width: 37ch; color: var(--muted); }
.intro { font-size: clamp(1.125rem, 1.5vw, 1.5rem); font-weight: 600; line-height: 1.4; max-width: 25ch; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.4rem; gap: 2rem; }
.text-link:hover, .text-link:focus-visible { color: var(--yellow); }
.products, .what, .features {
  background: var(--paper); color: var(--black);
  --muted: #625d56; --line: #c8beb5;
}
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; padding-bottom: 2.5rem; }
.section-heading p { color: var(--muted); font-size: .875rem; }
.panel { min-height: 85svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: 3.5rem 0 4rem; border-top: 1px solid var(--line); }
.panel h3 { font-size: clamp(3rem, 7vw, 8rem); line-height: 1; margin: .8rem 0 1.5rem; overflow-wrap: anywhere; }
.tag { font-size: .8125rem; color: var(--muted); }
.panel-sum { font-size: clamp(1.125rem, 1.5vw, 1.5rem); line-height: 1.5; max-width: 30ch; }
.act { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.75rem; min-height: 48px; border-bottom: 1px solid currentColor; margin-top: 2rem; font-size: .875rem; font-weight: 600; text-decoration: none; border-radius: var(--r-control); }
.act:hover, .act:focus-visible { background: var(--black); color: var(--paper); }
.act span { font-size: 1.5rem; }
.facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.facts div { flex: 1 1 12rem; }
.facts dt { font-size: .75rem; color: var(--muted); }
.facts dd { margin-top: .25rem; font-size: .875rem; font-weight: 600; }
.about { padding: var(--space) var(--edge); display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.statement { font-size: clamp(2rem, 4vw, 4.75rem); line-height: 1.15; max-width: 23ch; }
.aside { grid-column: 2; max-width: 38rem; margin-top: 1rem; color: var(--muted); }
.crumb { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 3rem; text-decoration: none; }
.crumb:hover, .crumb:focus-visible { color: var(--yellow); }
.hero-product h1 { font-size: clamp(2rem, calc(44vw / var(--letters)), 7.5rem); margin-bottom: 1rem; }
.hero-product .lead { margin-top: 2rem; font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.4; max-width: 28ch; }
.notice { color: var(--muted); font-size: .875rem; padding-left: 1rem; border-left: 2px solid var(--gold); }
.what { padding: var(--space) var(--edge) 3rem; }
.what .statement { margin-top: 2rem; max-width: 40ch; font-size: clamp(1.75rem, 3vw, 3.25rem); }
.what .facts { margin-top: 3rem; }
.features { padding: 2rem var(--edge) var(--space); }
.features > h2 { padding-bottom: 2rem; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.feat h3 { font-size: clamp(1.5rem, 2.7vw, 2.75rem); line-height: 1.2; max-width: 18ch; }
.feat p { max-width: 46ch; color: var(--muted); }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5rem; padding: var(--space) var(--edge); }
.lists ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.lists li { border-top: 1px solid var(--line); padding: 1rem 0; color: var(--muted); }
.credit { grid-column: 1 / -1; color: var(--muted); max-width: 44rem; font-size: .875rem; }
.next { border-top: 1px solid var(--line); }
.next a { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: 3rem var(--edge); min-height: 18rem; text-decoration: none; overflow: hidden; }
.next-label { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); }
.next-name { font-size: clamp(2rem, 7vw, 7rem); line-height: 1.1; z-index: 1; }
.next-arrow { font-size: 3rem; z-index: 1; }
.next a:hover, .next a:focus-visible { color: var(--yellow); }
.foot { border-top: 1px solid var(--line); padding: 3rem var(--edge) 0; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.foot-row p { color: var(--muted); max-width: 24ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot nav a:hover, .foot nav a:focus-visible { color: var(--yellow); }
.foot-mark svg { width: 100%; }
.lost { padding: var(--space) var(--edge); min-height: 65svh; }
.lost h1 { font-size: clamp(3rem, 8vw, 8rem); }
.lost p { margin-top: 2rem; }
@media (max-width: 760px) {
  .top { padding-block: .75rem; }
  .brand { font-size: .875rem; }
  .brand img { width: 28px; }
  .top nav a { font-size: .8125rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; min-height: auto; padding-top: 3rem; }
  .hero h1 { font-size: clamp(2rem, 11.2vw, 5.5rem); }
  .hero-product h1 { font-size: clamp(2rem, calc(88vw / var(--letters)), 6rem); }
  .hero-note { grid-row: 3; }
  .hero h1 .impact-type { font-size: .7em; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 1rem; }
  .panel { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 2.5rem; }
  .panel h3 { font-size: clamp(2.8rem, 13vw, 5.5rem); }
  .panel-sum { max-width: 35ch; }
  .facts { gap: 1rem; margin-top: 0; }
  .facts div { flex-basis: 100%; }
  .about, .feat, .lists { grid-template-columns: minmax(0, 1fr); }
  .aside { grid-column: 1; }
  .crumb { margin-bottom: 1.5rem; }
}
@media (forced-colors: active) {
  .hero h1 .outline-type { color: CanvasText; -webkit-text-stroke: 0; }
}


/* Material studies with deliberate negative space. */
:root { --edge:clamp(1.25rem,8vw,10rem); --space:clamp(6rem,14vw,14rem); }
.top { position:absolute; inset:0 0 auto; z-index:20; border:0; padding-block:2rem; background:var(--black); }
.opening { position:relative; background:var(--black); }
.opening-stage, .immersive-product, .scene-panel { --reveal:1; position:relative; isolation:isolate; background:var(--black); color:var(--paper); }

.scene-visual { min-width:0; margin:0; }
.scene-art { position:relative; isolation:isolate; overflow:hidden; aspect-ratio:4/3; background:var(--black); }
.scene-photo { width:100%; height:100%; max-width:none; object-fit:cover; object-position:var(--focal); }
.material-gold { background:#ffc300; }
.material-blue { background:#1266ed; }
.material-gold .scene-photo, .material-blue .scene-photo { mix-blend-mode:multiply; filter:contrast(1.14); }
.material-copper .scene-photo { filter:sepia(1) saturate(2.4); scale:1.8; transform-origin:85% 65%; }
.material-woven .scene-photo { filter:saturate(1.2); }
.light-shutter { position:absolute; inset:0; background:var(--black); transform:translateX(101%); }
.scene-visual figcaption { margin-top:.9rem; }
.photo-credit { display:inline-flex; align-items:center; gap:.5rem; min-height:44px; color:var(--muted); text-decoration:none; font-size:.625rem; }
.photo-credit:hover, .photo-credit:focus-visible { color:var(--yellow); }
/* Opening composition follows the owner's supplied landing-page reference. */
.masthead { padding:clamp(1rem,2vw,2.5rem) 0 0; }
.masthead svg { width:100%; }
.brand span { display:block; width:8rem; }
.brand span svg { width:100%; }
.home-page .top { position:relative; padding:0 clamp(1.25rem,1.67vw,2rem); min-height:5rem; }
.home-page .top nav { gap:clamp(1rem,3vw,3rem); }
.home-page .top nav a { font-size:.75rem; text-transform:uppercase; font-weight:600; }
.opening-stage { overflow:clip; --impact:1; }
/* The brand line and the intro sit in the dark band above the painting, not on it. */
.opening-space { display:flex; align-items:flex-end; justify-content:space-between; gap:1rem 3rem; min-height:clamp(8rem,12vw,15rem); padding:2rem clamp(1.25rem,1.67vw,2rem) 1.25rem; }
/* Taller than the old photo band, so more of the painting shows. Its own shape is about 2.1 to 1. */
.art-stage { position:relative; height:clamp(16rem,34vw,46rem); overflow:hidden; }
.art-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 46%; }   /* shown as painted: no filter */
.opening-space h1, .opening-note { font-family:var(--display); font-size:clamp(1rem,1.35vw,1.6rem); line-height:1.25; font-weight:700; letter-spacing:-.02em; }
.opening-space h1 { text-align:right; white-space:nowrap; }
.opening-note { max-width:34ch; }
.reveal-statement { position:relative; margin:1.2rem clamp(1.25rem,1.67vw,2rem) 0; min-height:0; font-family:var(--display); font-weight:800; line-height:.82; text-transform:uppercase; letter-spacing:-.055em; white-space:nowrap; }
.invisible-message { display:block; color:#161616; font-size:5.15vw; }
.visible-message { display:block; margin-top:-.035em; font-size:7.1vw; color:var(--yellow); }
.opening-meta { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem clamp(1.25rem,1.67vw,2rem) 0; }
.hero-controls { display:flex; align-items:center; gap:1.25rem; }
.replay-control { display:inline-flex; align-items:center; gap:.75rem; border:0; padding:.5rem 0; min-height:44px; color:var(--paper); background:none; cursor:pointer; font-size:.75rem; }
.replay-control[hidden] { display:none; }
.replay-control:hover, .replay-control:focus-visible { color:var(--yellow); }
.scene-bottom { position:absolute; inset:auto var(--edge) 4rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.scroll-cue { display:inline-flex; gap:2rem; align-items:center; min-height:44px; font-size:.75rem; text-decoration:none; }
.scroll-cue:hover, .scroll-cue:focus-visible { color:var(--yellow); }
.motion-control { display:inline-flex; align-items:center; gap:.6rem; min-height:44px; padding:.5rem .8rem; background:var(--black); border:1px solid var(--line); border-radius:3px; color:var(--paper); cursor:pointer; font-size:.75rem; }
.motion-control[hidden] { display:none; }
.motion-control:hover, .motion-control:focus-visible { color:var(--black); background:var(--yellow); }
.pause-symbol { font-size:1rem; }
.scene-progress { position:absolute; inset:auto var(--edge) 2.5rem; height:1px; background:var(--line); }
.scene-progress span { display:block; width:100%; height:100%; background:var(--yellow); transform-origin:left; }
.home-intro { display:grid; grid-template-columns:1fr 1fr; gap:12%; padding:var(--space) var(--edge); }
.home-intro .intro { max-width:21ch; font-size:clamp(1.5rem,2.2vw,2.4rem); font-family:var(--display); line-height:1.3; }
.home-intro > p:last-child { max-width:31ch; color:var(--muted); align-self:center; font-size:.875rem; }
.products, .what, .features { background:var(--black); color:var(--paper); --muted:#b5ada7; --line:#393631; }
.products { padding:0; }
.section-heading { padding:4rem var(--edge) 7rem; margin:0; }
.section-heading h2 { font-size:1.125rem; }
.section-heading p { max-width:25ch; }
.scene-panel { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:12%; align-items:center; min-height:95svh; padding:4rem var(--edge) 12rem; border:0; }
.scene-panel .scene-visual { grid-column:2; grid-row:1; }
.panel-copy { grid-column:1; grid-row:1; max-width:29rem; }
.scene-panel:nth-of-type(even) { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); }
.scene-panel:nth-of-type(even) .scene-visual { grid-column:1; }
.scene-panel:nth-of-type(even) .panel-copy { grid-column:2; }
.scene-panel h3 { font-size:clamp(2rem,calc(32vw / var(--letters)),4.5rem); color:var(--paper); margin:.8rem 0 1.8rem; }
.scene-panel .panel-sum { font-size:clamp(.875rem,1.1vw,1.125rem); max-width:29ch; line-height:1.7; }
.scene-panel .tag { color:var(--muted); font-size:.75rem; }
.scene-panel .act { margin-top:2rem; color:var(--yellow); font-size:.75rem; }
.scene-panel .act:hover, .scene-panel .act:focus-visible { color:var(--black); background:var(--yellow); }
.scene-panel[data-scene="olllo"] .scene-art { aspect-ratio:1; }
.scene-panel[data-scene="boolcsa"] .scene-art { aspect-ratio:1.2; }
.scene-panel[data-scene="boolcsa"] .scene-photo { object-position:85% 60%; }
.scene-panel[data-scene="makefold"] .scene-art { aspect-ratio:1.35; }
.immersive-product { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:12%; min-height:100svh; padding:12rem var(--edge) 10rem; }
.immersive-product .scene-visual { grid-column:2; grid-row:1; }
.immersive-product .hero-heading { grid-column:1; grid-row:1; width:100%; }
.immersive-product .crumb { display:none; }
.immersive-product h1 { color:var(--yellow); font-size:clamp(2rem,calc(32vw / var(--letters)),4.5rem); }
.immersive-product .lead { font-size:clamp(1rem,1.25vw,1.25rem); max-width:28ch; margin-top:1.75rem; line-height:1.7; }
.immersive-product .tag { color:var(--muted); }
.product-notice { margin:0 var(--edge); padding:3rem 0; border-block:1px solid var(--line); }
.product-notice .notice { max-width:55rem; }
.what { padding-bottom:5rem; }
.what .statement { font-size:clamp(1.5rem,2.6vw,3rem); }
.feat { padding-block:3.5rem; }
.about { padding-top:var(--space); padding-bottom:var(--space); }
.about .statement { font-size:clamp(2rem,3.5vw,4rem); }
.foot { padding-top:4rem; }
.image-note { color:var(--muted); font-size:.75rem; max-width:45ch; margin-bottom:5rem; }
.lost { padding-top:12rem; }
@media (max-width:1000px) and (min-width:761px) {
  .scene-panel, .immersive-product { gap:7%; }

}
@media (max-width:760px) {
  .top { padding-block:1rem; }
  .brand span { width:6.2rem; }
  .home-page .top { min-height:4.5rem; }
  .home-page .top nav { gap:.5rem; }
  .home-page .top nav a { font-size:.6875rem; }
  .opening-space { flex-direction:column-reverse; align-items:flex-start; min-height:0; padding-top:3rem; }
  .art-stage { height:auto; aspect-ratio:1920 / 913; }
  .opening-space h1 { text-align:left; font-size:1.125rem; }
  .opening-note { max-width:29ch; font-size:1.0625rem; }
  .reveal-statement { margin-top:1.25rem; min-height:0; }
  .invisible-message { font-size:4.6vw; }
  .visible-message { font-size:6.5vw; }
  .opening-meta { flex-wrap:wrap; gap:.25rem 1rem; padding-top:0; }
  .opening-meta .photo-credit { flex-basis:100%; }
  .opening-meta .hero-controls { margin-left:auto; }
  .hero-controls { gap:.5rem; }
  .replay-control { font-size:.625rem; gap:.3rem; }
  .opening .motion-control { font-size:.625rem; padding-inline:.5rem; }
  .scene-bottom { bottom:3rem; gap:.5rem; }
  .scene-progress { bottom:1.5rem; }
  .scroll-cue { gap:.75rem; font-size:.6875rem; }
  .home-intro { grid-template-columns:1fr; gap:3rem; padding-block:7rem; }
  .home-intro > p:last-child { margin-left:15%; }
  .section-heading { padding-top:4rem; padding-bottom:4rem; }
  .section-heading p { margin-top:1.5rem; }
  .scene-panel, .scene-panel:nth-of-type(even) { display:flex; flex-direction:column; align-items:stretch; gap:3rem; min-height:0; padding-top:2rem; padding-bottom:8rem; }
  .scene-panel .scene-visual { width:88%; align-self:flex-end; order:0; }
  .scene-panel:nth-of-type(even) .scene-visual { align-self:flex-start; }
  .panel-copy { width:88%; order:1; }
  .scene-panel:nth-of-type(even) .panel-copy { align-self:flex-end; }
  .scene-panel h3 { font-size:clamp(1.75rem,calc(65vw / var(--letters)),4rem); margin-block:.7rem 1.5rem; }
  .scene-panel .panel-sum { font-size:.9375rem; }
  .immersive-product { display:flex; flex-direction:column; align-items:stretch; min-height:0; padding-top:10rem; padding-bottom:10rem; gap:4rem; }
  .immersive-product .hero-heading { order:0; }
  .immersive-product .scene-visual { order:1; width:88%; align-self:flex-end; }
  .immersive-product h1 { font-size:clamp(2rem,calc(80vw / var(--letters)),5rem); }
  .immersive-product .lead { font-size:1rem; }
}
@media (prefers-reduced-motion:no-preference) {
  .motion-ready .scene-photo { transform:scale(calc(1.04 - var(--reveal) * .04)); }
  .motion-ready .visible-message { clip-path:inset(0 calc((1 - var(--impact)) * 100%) 0 0); }

  .motion-ready .light-shutter { transform:translateX(calc(var(--reveal) * 101%)); }
  .motion-ready .scene-progress span { transform:scaleX(var(--reveal)); }
  a, button { transition:color 160ms,background-color 160ms,opacity 160ms; }
}
@media (forced-colors:active) {
  .scene-art, .art-photo, .reveal-statement { display:none; }
  .opening-space h1, .opening-note { color:CanvasText; background:Canvas; }
}

/* Product evidence fits the allotted frame without stretching or cropping. */
.product-capture .scene-art,
.scene-panel .product-capture .scene-art { aspect-ratio:16/10; background:#171717; display:flex; align-items:center; justify-content:center; }
.product-shot { width:100%; height:100%; object-fit:contain; }
.screenshot-link { display:block; }
.screenshot-link:hover, .screenshot-link:focus-visible { outline:2px solid var(--yellow); outline-offset:5px; }
.product-capture figcaption { color:var(--muted); font-size:.6875rem; line-height:1.6; max-width:60ch; }
.product-capture figcaption a { display:inline-block; min-height:44px; padding-top:.5rem; margin-right:1rem; }
.product-capture figcaption a:hover, .product-capture figcaption a:focus-visible { color:var(--yellow); }
.scroll-note { display:none; color:var(--muted); font-size:.6875rem; }
@media(prefers-reduced-motion:no-preference) { .motion-ready .scroll-note { display:inline; } }
.product-guide { padding:0 var(--edge) var(--space); }
.product-guide h2 { font-size:clamp(2rem,4.5vw,5rem); max-width:19ch; margin-bottom:4rem; }
.guide-links a { display:flex; justify-content:space-between; align-items:center; gap:2rem; min-height:6rem; padding:1.5rem 0; border-top:1px solid var(--line); text-decoration:none; }
.guide-links a:last-child { border-bottom:1px solid var(--line); }
.guide-links span { font-size:clamp(.875rem,1.5vw,1.25rem); }
.guide-links strong { color:var(--yellow); font-family:var(--display); font-size:clamp(1.125rem,2vw,2rem); white-space:nowrap; }
.guide-links a:hover, .guide-links a:focus-visible { color:var(--yellow); }
.founder { display:grid; grid-template-columns:1fr 3fr; gap:2rem; padding:0 var(--edge) var(--space); }
.founder-name { font-family:var(--display); font-size:clamp(2rem,4vw,4.75rem); font-weight:800; line-height:1.15; }
.founder-copy { max-width:43ch; margin-top:2.5rem; color:var(--muted); }
.founder .act { color:var(--yellow); }
.founder .act:hover, .founder .act:focus-visible { background:var(--yellow); color:var(--black); }
.footer-art { height:clamp(3rem,4vw,5rem); overflow:hidden; }
.footer-art img { width:100%; height:100%; object-fit:cover; object-position:50% 62%; }
.foot { border:0; padding:clamp(3rem,5vw,6rem) clamp(1.25rem,1.67vw,2rem) 1.5rem; }
.footer-grid { display:grid; grid-template-columns:1fr minmax(16rem,24%); gap:12%; min-height:22rem; }
.footer-intro .brand span { width:9rem; }
.footer-intro p { color:var(--muted); font-size:.875rem; margin-top:1rem; }
.footer-contact { display:inline-flex; gap:2rem; min-height:44px; align-items:center; margin-top:4rem; color:var(--muted); text-decoration:none; }
.footer-contact:hover, .footer-contact:focus-visible { color:var(--yellow); }
.foot .footer-nav { display:flex; flex-direction:column; gap:.25rem; }
.footer-nav a { display:flex; align-items:center; justify-content:flex-end; gap:.75rem; font-size:.8125rem; text-transform:uppercase; }
.footer-nav a::before { content:''; height:5px; background:currentColor; flex:1; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:1rem 2rem; margin:4rem 0 2rem; font-size:.75rem; color:var(--muted); align-items:center; }
.footer-bottom p { margin-right:auto; }
.footer-bottom a { display:inline-flex; align-items:center; min-height:44px; text-decoration:none; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color:var(--yellow); }
.foot-mark { margin-inline:calc(-1 * clamp(1.25rem,1.67vw,2rem)); }
@media(max-width:760px) {

  .product-guide h2 { margin-bottom:2.5rem; }
  .guide-links a { gap:1rem; }
  .guide-links span { max-width:18ch; }
  .founder { grid-template-columns:1fr; gap:2rem; }
  .footer-grid { grid-template-columns:1fr; gap:4rem; }
  .foot .footer-nav { width:85%; margin-left:auto; }
  .footer-contact { margin-top:2rem; }
  .footer-bottom { margin-top:3rem; gap:.25rem 1rem; }
  .footer-bottom p { flex-basis:100%; }
}

/* Quiet, static paper grain belongs to the surfaces, never over the interfaces. */
body, .top, .opening, .opening-stage, .products, .scene-panel,
.immersive-product, .what, .features, .foot {
  background-image:url("grain.svg");
  background-repeat:repeat;
  background-size:256px 256px;
}
/* Give the interface most of each row; retain the long vertical pauses. */
@media(min-width:1001px) {
  .scene-panel, .immersive-product {
    grid-template-columns:minmax(0,.7fr) minmax(0,1.7fr);
    column-gap:4%;
    padding-inline:clamp(1.5rem,4vw,5rem);
  }
  .scene-panel:nth-of-type(even) { grid-template-columns:minmax(0,1.7fr) minmax(0,.7fr); }
  .scene-panel h3, .immersive-product h1 { font-size:clamp(1.75rem,calc(27vw / var(--letters)),4.5rem); }
}
@media(min-width:761px) and (max-width:1000px) {
  .scene-panel, .scene-panel:nth-of-type(even), .immersive-product {
    grid-template-columns:minmax(0,1fr); gap:3rem; padding-inline:4vw;
  }
  .scene-panel .panel-copy, .scene-panel:nth-of-type(even) .panel-copy,
  .immersive-product .hero-heading { grid-column:1; grid-row:1; }
  .scene-panel .scene-visual, .scene-panel:nth-of-type(even) .scene-visual,
  .immersive-product .scene-visual { grid-column:1; grid-row:2; }
}
@media(max-width:760px) {
  .scene-panel, .immersive-product { padding-inline:1rem; }
  .scene-panel .scene-visual, .immersive-product .scene-visual { width:100%; }
  .panel-copy, .immersive-product .hero-heading { padding-inline:.25rem; }
}
@media(forced-colors:active) {
  body, .top, .opening, .opening-stage, .products, .scene-panel,
  .immersive-product, .what, .features, .foot { background-image:none; }
}

/* Small screens and enlarged text must reflow rather than clip controls. */
@media(max-width:760px) {
  body { overflow-wrap:anywhere; }
  .top { flex-wrap:wrap; }
  .top nav { margin-left:auto; flex-wrap:wrap; }
  .brand span { max-width:40vw; }
  .hero-controls { flex-wrap:wrap; max-width:100%; }
  .guide-links a { flex-wrap:wrap; }
  .guide-links strong { white-space:normal; max-width:100%; }
  .footer-contact { max-width:100%; gap:1rem; }
  .footer-contact span { flex-shrink:0; }
  .next a { grid-template-columns:minmax(0,1fr) auto; gap:1rem; }
  .next-name { min-width:0; font-size:clamp(1.5rem,6vw,7rem); }
}

@media(prefers-reduced-motion:reduce) {
  .motion-control, .scroll-note { display:none; }
}

/* ---------- First screen fits one window ----------
   Wordmark, navigation, open space, painting and the two big lines under it
   always add up to the window height. The open space and the painting share
   whatever height is left, so a taller window gives more of both.
   --head is the height of the wordmark plus the navigation row above. */
.home-page { --head: calc(11.0417vw + clamp(1rem, 2vw, 2.5rem) + 5rem); --vis: min(7.1vw, 11svh); }
/* The fold falls between the two big lines: the hidden line is the last thing on the first screen,
   and the yellow line starts just below it. So the block is one window tall plus that line. */
.home-page .opening-stage { display:flex; flex-direction:column; min-height:calc(100svh - var(--head) + var(--vis) * .82 + 1.5rem + 4px); padding-bottom:1.5rem; }
.home-page .opening-space { flex:1 1 0; min-height:auto; }
.home-page .art-stage { flex:.85 1 0; height:auto; min-height:7rem; }
.home-page .reveal-statement { flex:none; }
/* The big lines also give way on short, wide windows. */
.home-page .invisible-message { font-size:min(5.15vw, 8svh); }
.home-page .visible-message { font-size:var(--vis); margin-top:1rem; }
@media (max-width:760px) {
  .home-page { --head: calc(11.0417vw + clamp(1rem, 2vw, 2.5rem) + 4.5rem); --vis: min(6.5vw, 11svh); }
  .home-page .art-stage { flex:none; min-height:0; }   /* phones show the whole painting; the space above takes the rest */
  .home-page .invisible-message { font-size:min(4.6vw, 8svh); }
}
