:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #242426;
  background: #fafafa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --gutter: clamp(24px, 5vw, 80px);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; }
body { min-height: 100svh; height: 100svh; display: grid; grid-template-rows: auto minmax(min-content, 1fr) auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #6f6f6f; outline-offset: 6px; }
::selection { color: #fff; background: #242426; }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; color: #fff; background: #242426; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.header { border-bottom: 1px solid #e9e9eb; }
.header-inner { height: clamp(64px, 12svh, 88px); display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 154px; height: auto; mix-blend-mode: multiply; }
.hero { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: minmax(min-content, 1fr); align-items: center; gap: 16px; padding-top: clamp(18px, 4.2svh, 30px); padding-bottom: clamp(20px, 5.2svh, 38px); }
.hero-copy { position: relative; z-index: 1; }
h1 { margin: 0; font-size: clamp(25px, 3.1vw, 44px); line-height: 1.15; letter-spacing: -.052em; font-weight: 400; }
h1 > span { display: block; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 23px; margin-top: clamp(20px, 4.4svh, 32px); background: #222225; color: #fff; border-radius: 4px; font-size: 14px; line-height: 1.5; transition: background .2s; }
.button:hover { background: #48484d; }
.hero-art { position: relative; width: 100%; min-width: 0; min-height: 0; align-self: stretch; display: grid; }
.geometry-frame { position: relative; height: 100%; min-height: 180px; width: 100%; overflow: hidden; }
.geometry-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.geometry-frame.ready canvas { opacity: 1; }
.geometry-frame.ready pre { visibility: hidden; }
#geometry-fallback { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; font: 700 clamp(5px, .67vw, 9px)/1.18 'Courier New', monospace; user-select: none; transform: rotate(-16deg) scaleY(.86); }
#motion-toggle { position: absolute; right: 8px; bottom: 2px; min-width: 56px; min-height: 44px; padding: 10px 0; background: transparent; border: 0; color: #66666d; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#motion-toggle:hover { color: #242426; }
.footer { border-top: 1px solid #e9e9eb; color: #717177; font-size: 12px; line-height: 1.5; padding-top: clamp(14px, 2.5svh, 24px); padding-bottom: clamp(14px, 2.5svh, 24px); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.american-flag { display: block; width: 29px; height: auto; opacity: .68; }
@media (max-width: 1000px) {
  .brand img { width: 135px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(180px, 1fr); gap: 10px; padding-top: clamp(22px, 4.5svh, 46px); padding-bottom: clamp(16px, 2.5svh, 25px); }
  h1 { font-size: clamp(27px, 5.4vw, 44px); }
  #geometry-fallback { font-size: clamp(6px, 1.08vw, 9px); }
}
@media (max-width: 430px) {
  .hero { padding-top: clamp(22px, 4.5svh, 38px); }
  h1 { font-size: clamp(21px, 6.7vw, 30px); }
  #geometry-fallback { font-size: 5.9px; }
}
@media (max-width: 580px) {
  .brand img { width: 112px; }
}
@media (max-width: 350px) {
  h1 { font-size: 6.4vw; }
}
@media (max-width: 430px) and (max-height: 600px) {
  .hero { grid-template-rows: auto minmax(160px, 1fr); }
  .geometry-frame { min-height: 160px; }
}
@media (max-width: 800px) and (max-height: 500px) and (min-aspect-ratio: 4/3) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-rows: minmax(min-content, 1fr); padding-top: clamp(16px, 4.2svh, 22px); padding-bottom: clamp(16px, 5.2svh, 22px); }
  h1 { font-size: clamp(18px, 3vw, 25px); }
  .button { min-height: 44px; padding: 12px 16px; margin-top: 20px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  #motion-toggle { display: none !important; }
}
