@font-face {
  font-family: DM Sans;
  src: url("media/DMSans-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url("media/DMSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f5f3e9;
  --ink: #19232c;
  --muted: #4e5559;
  --blue: #2639ea;
  --line: #a7a69c;
  --mono: ui-monospace, "Cascadia Mono", monospace;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(100% - clamp(2rem, 7vw, 8rem), 1560px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; inset: .75rem auto auto .75rem; padding: .8rem; background: white; }
.mast { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 79px; border-bottom: 1px solid var(--line); gap: 1rem; }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: .62rem; font-weight: 700; letter-spacing: -.065em; text-decoration: none; font-size: 1.48rem; }
.mast-note, .label, .frame-id, .view-tag, .dock > p:not(.sr-only) { font: 700 .68rem/1.3 var(--mono); letter-spacing: .08em; }
.mast-note span { color: var(--blue); }
.top-link { justify-self: end; font-size: .92rem; font-weight: 700; text-decoration: none; padding: .65rem 0 .65rem .5rem; }
.top-link:hover, .under:hover { color: var(--blue); }
.top-link span { margin-left: .35rem; }
.hero { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.5fr); gap: clamp(1.2rem, 3vw, 3.4rem); align-items: center; padding-block: clamp(2rem, 5vw, 5rem) clamp(2.7rem, 6vw, 5.75rem); }
.intro { padding-bottom: 2.8rem; }
.label { display: flex; align-items: center; gap: .55rem; }
.label i { width: .55rem; aspect-ratio: 1; background: var(--blue); }
h1 { font-size: clamp(3.1rem, 6.35vw, 7rem); line-height: .93; letter-spacing: -.092em; margin: clamp(1rem, 2vw, 2rem) 0 1.45rem; }
h1 span { color: var(--blue); }
.intro > p:not(.label) { max-width: 27ch; font-size: clamp(1rem, 1.45vw, 1.28rem); line-height: 1.45; color: var(--muted); }
.under { display: inline-flex; align-items: center; gap: .65rem; padding: .5rem 0; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.intro .under { margin-top: 1.05rem; }
.view { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.58; background: #ddd7c7; }
.view picture, .poster, .view canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.poster { object-fit: cover; }
.view canvas { visibility: hidden; }
.demo.is-live canvas { visibility: visible; }
.frame-id { position: absolute; inset: .9rem .95rem auto; display: flex; justify-content: space-between; color: white; pointer-events: none; }
.frame-id span, .view-tag { background: var(--ink); padding: .35rem .42rem; }
.view-tag { position: absolute; inset: auto auto .85rem .9rem; display: flex; align-items: center; gap: .5rem; color: white; pointer-events: none; }
.view-tag b { min-width: 1.25rem; padding: .22rem; background: #dce538; color: var(--ink); text-align: center; }
.dock { min-height: 74px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.dock strong { margin-right: .35rem; color: var(--blue); }
.control { display: grid; align-items: center; grid-template-columns: max-content minmax(54px, 1fr) max-content; gap: .55rem; width: min(70%, 370px); }
.control button { min-height: 44px; border: 1px solid var(--line); background: transparent; padding: .4rem .58rem; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.control button span { font-family: var(--mono); margin-right: .18rem; }
.control button[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.track { min-width: 0; }
input[type="range"] { width: 100%; height: 44px; margin: 0; display: block; accent-color: var(--blue); cursor: ew-resize; }
.demo.is-still .track { display: none; }
.demo.is-still .control { width: auto; grid-template-columns: auto auto; }
.proof { border-top: 1px solid var(--line); padding-block: clamp(2.3rem, 5vw, 5rem); }
.section-title { display: grid; grid-template-columns: 1fr 3fr; gap: 1rem; align-items: start; margin-bottom: 1.7rem; }
.section-title .label { margin-top: .48rem; }
h2 { font-size: clamp(2.15rem, 4.7vw, 4.8rem); line-height: 1.01; letter-spacing: -.078em; }
.stills { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.stills img { display: block; width: 100%; height: auto; background: #ddd7c7; }
.stills figcaption { display: flex; align-items: center; gap: .62rem; padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.stills b { display: inline-grid; place-items: center; width: 1.55rem; aspect-ratio: 1; background: var(--blue); color: white; font: 700 .77rem var(--mono); }
.stills span { margin-left: auto; color: var(--muted); }
.reading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 2rem; max-width: 760px; margin: 2.5rem 0 0 auto; }
.reading svg { width: 100%; }
.reading h3 { font-size: 1.42rem; letter-spacing: -.04em; margin-bottom: .45rem; }
.reading p, .contact p { line-height: 1.5; }
.contact { background: white; border-block: 1px solid var(--line); padding-block: clamp(2.4rem, 6vw, 5.1rem); color: #1a1b1f; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.6rem, 6vw, 6rem); align-items: start; }
.studio-link { display: inline-block; margin-bottom: 1.5rem; }
.studio-link img { display: block; object-fit: contain; object-position: left center; }
.contact h2 { margin-bottom: .75rem; }
.contact p { max-width: 45ch; }
.request { max-width: 33rem; }
.request label { display: block; font-size: .89rem; font-weight: 700; margin: 0 0 .32rem; }
.request input, .request textarea { display: block; width: 100%; padding: .67rem .8rem; background: #fff; border: 1px solid #7a7a76; border-radius: 0; margin-bottom: .85rem; }
.request textarea { resize: vertical; min-height: 5rem; }
.request .help { font-size: .83rem; color: var(--muted); margin: .6rem 0; }
.submit { display: flex; justify-content: space-between; align-items: center; gap: .9rem; min-height: 48px; padding: .7rem 1rem; border: 1px solid #1a1b1f; color: white; background: #1a1b1f; font-weight: 700; }
.submit:hover { background: #3d3d43; }
.submit span { color: #feac37; }
#prepared { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.handoff { display: flex; gap: .55rem 1rem; flex-wrap: wrap; align-items: center; }
.handoff button, .handoff a { min-height: 44px; padding: .65rem .75rem; font-weight: 700; }
.handoff a { background: #1a1b1f; color: white; }
.handoff button { background: #fff; border: 1px solid #1a1b1f; }
.email { margin-top: .4rem; }
.footer { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.45rem; font-size: .86rem; }
.footer a { white-space: nowrap; }
@media (max-width: 1000px) and (min-width: 801px) {
  .dock { align-items: flex-start; flex-direction: column; padding-block: .7rem; gap: .5rem; }
  .control { width: 100%; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: 1.6rem; gap: 1.15rem; }
  .intro { padding: 0; }
  h1 { font-size: clamp(3rem, 10vw, 5.5rem); margin: .6rem 0 .55rem; }
  .intro > p:not(.label) { max-width: 47ch; }
  .intro .under { display: none; }
  .section-title { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 600px) {
  .mast { min-height: 59px; grid-template-columns: auto 1fr auto; gap: .64rem; }
  .brand { font-size: 1.07rem; gap: .36rem; }
  .brand img { width: 25px; height: 25px; }
  .mast-note { justify-self: center; text-align: center; font-size: .54rem; line-height: 1.22; max-width: 13ch; }
  .mast-note span { display: none; }
  .top-link { font-size: .8rem; padding-left: 0; }
  .top-link span { margin-left: .1rem; }
  .view { aspect-ratio: 1.12; }
  .frame-id { inset: .65rem .63rem auto; }
  .view-tag { inset: auto auto .65rem .63rem; }
  .dock { padding-block: .65rem .8rem; flex-direction: column; align-items: stretch; gap: .5rem; }
  .control { width: 100%; }
  .stills { gap: 1rem; grid-template-columns: 1fr; }
  .reading { grid-template-columns: 1fr; gap: 1rem; margin-top: 1.2rem; }
  .reading svg { max-width: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
