:root { color-scheme: light; --paper:#fff; --ink:#050505; --muted:#737373; --line:#dedede; }
:root[data-theme="dark"] { color-scheme: dark; --paper:#050505; --ink:#fff; --muted:#969696; --line:#2b2b2b; }
* { box-sizing:border-box; }
html,body { width:100%; height:100%; }
html { background:var(--paper); }
body { min-width:320px; min-height:100svh; margin:0; overflow:hidden; background:var(--paper); color:var(--ink); font-family:"Courier New",Courier,monospace; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
a:focus-visible,button:focus-visible { outline:1px solid var(--ink); outline-offset:4px; }
::selection { background:var(--ink); color:var(--paper); }
.site-frame { width:100%; height:100svh; padding:clamp(16px,3.5vw,30px) clamp(18px,4vw,42px) clamp(16px,3vw,24px); display:flex; flex-direction:column; position:relative; overflow:hidden; }
.site-header { display:flex; align-items:center; justify-content:center; position:relative; z-index:3; flex:0 0 auto; }
.brand { display:block; width:44px; height:44px; }
.brand img { display:block; width:44px; height:44px; object-fit:contain; transition:filter 260ms ease; }
:root[data-theme="dark"] .brand img { filter:invert(1); }
.theme-toggle { position:relative; width:34px; height:34px; padding:7px; border:0; border-radius:50%; background:transparent; color:var(--ink); cursor:pointer; z-index:2; }
.theme-toggle:hover { background:transparent; }
.theme-icon { position:absolute; inset:7px; width:20px; height:20px; fill:none; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.7; transition:opacity 260ms ease,transform 360ms ease; }
.theme-icon--moon { opacity:0; transform:rotate(-80deg) scale(.4); }
:root[data-theme="dark"] .theme-icon--sun { opacity:0; transform:rotate(80deg) scale(.4); }
:root[data-theme="dark"] .theme-icon--moon { opacity:1; transform:rotate(0) scale(1); }
.page-content { flex:1 1 auto; min-height:0; position:relative; }
.single-page { display:grid; grid-template-columns:1fr; grid-template-rows:repeat(6,auto); align-content:space-between; justify-items:center; row-gap:clamp(5px,1.2vh,12px); padding:clamp(16px,3vh,30px) 0 clamp(2px,1vh,10px); text-align:center; }
.page-index { margin:0; position:absolute; top:0; left:0; color:var(--muted); font-size:11px; letter-spacing:.12em; }
.page-index span { margin:0 5px; color:var(--line); }
.home-lockup { grid-column:1; align-self:start; width:100%; margin:0; }
.kicker,.section-label { margin:0 0 clamp(8px,1.4vh,16px); color:var(--muted); font-size:11px; letter-spacing:.16em; text-transform:uppercase; }
h1 { max-width:100%; margin:0; font-size:clamp(12px,calc((100vw - 44px) / 30),24px); font-weight:500; letter-spacing:-.04em; line-height:1.15; white-space:nowrap; }
.lede { margin:clamp(8px,1.5vh,16px) 0 0; color:var(--muted); font-size:12px; letter-spacing:-.01em; }
.interior-section { display:block; width:100%; max-width:760px; min-width:0; align-self:start; margin:0; }
.interior-section .section-label { padding-top:0; }
.copy-block { min-width:0; max-width:760px; margin:0 auto; }
.copy-block h1 { font-size:clamp(11px,1.15vw,18px); }
.copy-block p { max-width:650px; margin:clamp(8px,1.2vh,15px) auto 0; color:var(--muted); font-size:clamp(10px,1vw,12px); line-height:1.35; }
.copy-block p + p { margin-top:clamp(7px,1vh,12px); }
.contact-link { display:inline-block; margin-top:clamp(12px,1.5vh,20px); border-bottom:1px solid var(--ink); padding-bottom:4px; font-size:clamp(11px,1.1vw,14px); }
.contact-link:hover { color:var(--muted); border-color:var(--muted); }
.single-page .home-footer { grid-column:1; display:flex; justify-content:center; gap:28px; align-self:end; color:var(--muted); font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.single-page .theme-toggle { grid-column:1; align-self:end; margin:0 auto; }
.site-footer { position:fixed; right:clamp(18px,4vw,42px); bottom:clamp(18px,3.5vw,31px); display:flex; flex-wrap:wrap; justify-content:flex-end; gap:clamp(10px,2vw,20px); max-width:calc(100% - 74px); color:var(--muted); font-size:clamp(9px,1vw,11px); letter-spacing:.04em; }
.site-footer a:hover { color:var(--ink); }
.interior-page { padding-top:10%; }
.interior-grid { display:grid; grid-template-columns:minmax(130px,1fr) minmax(300px,2fr); gap:7%; max-width:980px; margin-left:18%; }
.interior-grid .section-label { padding-top:11px; }
@media (max-width:700px) {
  .site-frame { padding:clamp(12px,4vw,20px) clamp(16px,5vw,22px) clamp(12px,3vw,20px); }
  .brand,.brand img { width:clamp(34px,9vw,38px); height:clamp(34px,9vw,38px); }
  .single-page { grid-template-columns:1fr; grid-template-rows:repeat(6,auto); row-gap:clamp(5px,1.2vh,12px); padding:clamp(12px,2.5vh,24px) 0 0; }
  .home-lockup { grid-column:1; }
  h1,.copy-block h1 { font-size:clamp(12px,4vw,18px); }
  .lede { font-size:11px; }
  .interior-section { grid-column:1; display:block; }
  .interior-section .section-label { padding-top:0; margin-bottom:8px; }
  .kicker,.section-label { font-size:10px; margin-bottom:8px; }
  .copy-block h1 { font-size:clamp(11px,3.4vw,16px); }
  .copy-block p { margin-top:7px; font-size:11px; line-height:1.25; }
  .copy-block p + p { margin-top:7px; }
  .contact-link { margin-top:10px; font-size:12px; }
  .single-page .home-footer { grid-column:1; gap:18px; font-size:9px; }
}
@media (max-height:650px) {
  .site-frame { padding-top:14px; padding-bottom:12px; }
  .single-page { padding-top:8px; padding-bottom:0; row-gap:4px; }
  .kicker,.section-label { margin-bottom:6px; }
  .copy-block p { margin-top:6px; line-height:1.25; }
  .copy-block p + p { margin-top:4px; }
  .contact-link { margin-top:7px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { transition-duration:.01ms!important; } }
