/* Local system fonts and local imagery only. No scripts, animation, or tracking. */
* { box-sizing: border-box; }
:root { font-synthesis: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body {
  --paper: #f6f0e4;
  --ink: #243c2b;
  --muted: #516050;
  --line: #cdd1be;
  --accent: #b4482d;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.page-shell { width: min(100%, 1640px); margin-inline: auto; padding: 0 clamp(1.25rem, 4vw, 4.5rem); }
.masthead { display: flex; align-items: center; gap: 0.9rem; min-height: 6.5rem; border-bottom: 1px solid var(--line); }
.site-mark { display: grid; place-items: center; flex: 0 0 2.7rem; width: 2.7rem; height: 2.7rem; border: 1px solid currentColor; border-radius: 50%; font: 700 0.85rem/1 Georgia, serif; letter-spacing: -0.08em; }
.domain { min-width: 0; font-size: 0.85rem; font-weight: 550; letter-spacing: 0.035em; overflow-wrap: anywhere; }
.masthead-detail { width: 2rem; height: 0.35rem; margin-left: auto; flex-shrink: 0; background: var(--accent); }
.hero { display: grid; grid-template-columns: 0.72fr 1.28fr; align-items: center; gap: clamp(2rem, 4vw, 5rem); padding-block: clamp(3rem, 7vw, 7rem); }
.hero-copy { min-width: 0; padding-block: 1rem; }
.title-rule { display: block; width: 3.2rem; height: 0.3rem; margin-bottom: 2rem; background: var(--accent); }
h1 { margin: 0; font: 500 clamp(3.5rem, 6.5vw, 7.25rem)/0.96 Georgia, "Times New Roman", serif; letter-spacing: -0.065em; white-space: pre-line; overflow-wrap: anywhere; }
.contact-note { max-width: 25rem; margin: 2rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; text-wrap: pretty; }
.hero-art { min-width: 0; margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 0.25rem; }
figcaption { margin-top: 0.8rem; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.page-footer { display: flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 4rem; color: var(--accent); font-size: 1rem; }
.page-footer > span:first-child, .page-footer > span:last-child { width: 4rem; height: 1px; background: var(--line); }

/* A warm, understated frame for the brothers' illustrated house portrait. */
.theme-family .hero-art { padding: 0.65rem; background: #fffaf0; border: 1px solid #d5d8c3; border-radius: 50% 50% 0.35rem 0.35rem / 6% 6% 0.35rem 0.35rem; box-shadow: 1rem 1rem 0 #e1e5d2; }
.theme-family .hero-art img { border-radius: 50% 50% 0.15rem 0.15rem / 6% 6% 0.15rem 0.15rem; }
.theme-family .hero-copy { padding-bottom: 2rem; }

/* Code-inspired domains: a quiet terminal frame, with no motion or flashing. */
.theme-code { --paper: #030a07; --ink: #d8ffe6; --muted: #95b69f; --line: #18392a; --accent: #7ffaab; color-scheme: dark; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: radial-gradient(ellipse at 80% 50%, #0a2215 0, #030a07 68%); }
.theme-code .site-mark { border-radius: 0; border-color: var(--line); color: var(--accent); font-family: inherit; font-weight: 400; letter-spacing: -0.07em; }
.theme-code .domain { font-size: 0.8rem; font-weight: 400; letter-spacing: 0; }
.theme-code .masthead-detail { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.theme-code .hero { grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 3vw, 4rem); padding-block: clamp(4rem, 8vw, 8rem); }
.theme-code h1 { font-family: inherit; font-size: clamp(2.6rem, 5.5vw, 6rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.075em; }
.theme-code .title-rule { width: 1.15rem; height: 0.6rem; }
.theme-code .contact-note { margin-top: 2.5rem; max-width: 26rem; padding-left: 1rem; border-left: 1px solid var(--accent); font-size: 0.85rem; line-height: 1.85; }
.theme-code .hero-art { position: relative; border: 1px solid #285039; padding: 0.6rem; background: #030a07; box-shadow: 0 0 3rem #52dd7020; }
.theme-code .hero-art::before { content: ""; display: block; width: 2.5rem; height: 0.25rem; background: var(--accent); position: absolute; top: -1px; left: -1px; }
.theme-code .hero-art img { border-radius: 0; }
.theme-code .page-footer { font-family: inherit; font-size: 0.75rem; }
.variant-hills { --accent: #d0f29d; }
.variant-hills .hero-copy { order: 2; }
.variant-hills .hero { grid-template-columns: 1fr 1fr; }
.variant-hills h1 { font-size: clamp(2.5rem, 4.9vw, 5.4rem); }
.variant-technology { --accent: #8ce9d0; }
.variant-technology .hero-art { transform: translateY(1rem); }

/* Arcade racing: oversized title, vivid frame, and a static checkered strip. */
.theme-arcade { --paper: #190f32; --ink: #fff2cb; --muted: #d8ccea; --line: #554273; --accent: #ffc957; color-scheme: dark; background: radial-gradient(ellipse at 10% 0, #573c72 0, #21123e 48%, #120b23 100%); }
.theme-arcade .site-mark { border-radius: 0.3rem; font-family: ui-monospace, monospace; border-color: var(--accent); color: var(--accent); }
.theme-arcade .domain { font-family: ui-monospace, monospace; font-size: 0.8rem; font-weight: 400; letter-spacing: 0; }
.theme-arcade .hero { display: block; padding-block: clamp(2.25rem, 4vw, 4rem) 2rem; }
.theme-arcade .hero-copy { display: flex; align-items: flex-end; gap: 2rem; justify-content: space-between; padding: 0 0 2rem; }
.theme-arcade .title-rule { display: none; }
.theme-arcade h1 { max-width: 66rem; font-family: Impact, "Arial Narrow", "Arial Black", system-ui, sans-serif; font-size: clamp(3rem, 6.8vw, 7.5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.035em; text-transform: uppercase; font-style: italic; color: #fff0b8; text-shadow: 0.045em 0.045em 0 #a74759; }
.theme-arcade .contact-note { flex: 0 1 18rem; margin: 0 0 0.15rem; font-family: ui-monospace, monospace; font-size: 0.8rem; line-height: 1.7; }
.theme-arcade .hero-art { border: 2px solid #bd99d5; padding: 0.5rem; background: #28153d; box-shadow: 0.6rem 0.6rem 0 #a53f72; }
.theme-arcade .hero-art img { border-radius: 0; }
.theme-arcade .hero-art::after { content: ""; display: block; height: 0.5rem; margin-top: 0.5rem; background: repeating-conic-gradient(#fff1cf 0 25%, #322044 0 50%) 0 / 1rem 1rem; }
.theme-arcade .page-footer { color: #ffc957; font-family: ui-monospace, monospace; }
.variant-plays { --accent: #ff99cd; background: radial-gradient(ellipse at 100% 0, #63354d 0, #28162d 50%, #180d24 100%); }
.variant-vtec { --accent: #a3f4ed; background: radial-gradient(ellipse at 100% 0, #164b55 0, #142631 45%, #0a1725 100%); }
.variant-vtec .hero-art { background: #102430; border-color: #8bcccc; box-shadow: 0.6rem 0.6rem 0 #206d72; }
.variant-vtec h1 { text-shadow: 0.045em 0.045em 0 #367c83; }

/* Medieval pizza: warm paper, burgundy type, and a storybook illustration. */
.theme-slice { --paper: #f1e8d3; --ink: #5b2024; --muted: #765049; --line: #ccb797; --accent: #992d30; background: radial-gradient(ellipse at 20% 40%, #fff6e2 0, #f1e8d3 75%); }
.theme-slice .site-mark { border-radius: 0; border: 1px solid #a4865d; transform: rotate(45deg); font-size: 1.1rem; }
.theme-slice .hero { grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 6rem); }
.theme-slice .hero-copy { order: 2; text-align: center; }
.theme-slice h1 { font-weight: 700; font-size: clamp(4rem, 7vw, 7.6rem); line-height: 0.88; letter-spacing: -0.055em; }
.theme-slice .title-rule { height: 1px; width: 5rem; margin-inline: auto; margin-bottom: 2.5rem; }
.theme-slice .contact-note { margin-inline: auto; max-width: 21rem; font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.6; }
.theme-slice .hero-art { padding: 0.6rem; border: 1px solid #a78b62; background: #fff8e8; outline: 1px solid #a78b62; outline-offset: 0.35rem; }
.theme-slice .hero-art img { border-radius: 0; }
.theme-slice .page-footer { color: #8a5c35; }

@media (min-width: 1800px) { .hero { padding-block: 7rem; } }
@media (max-width: 900px) {
  .hero, .theme-code .hero, .variant-hills .hero, .theme-slice .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.25rem; }
  .hero-copy { padding: 0; }
  .theme-family .hero-copy { padding-bottom: 0; }
  .variant-hills .hero-copy, .theme-slice .hero-copy { order: initial; }
  .variant-technology .hero-art { transform: none; }
  h1 { font-size: clamp(3.6rem, 10vw, 6.3rem); }
  .theme-code h1, .variant-hills h1 { font-size: clamp(2.7rem, 7.8vw, 5.3rem); }
  .theme-code .contact-note { margin-top: 1.75rem; }
  .theme-arcade .hero-copy { display: block; }
  .theme-arcade h1 { font-size: clamp(3.3rem, 9.5vw, 6.5rem); }
  .theme-arcade .contact-note { margin-top: 1.6rem; max-width: 24rem; }
  .theme-slice h1 { font-size: clamp(4rem, 12vw, 7rem); }
  .theme-slice .contact-note { max-width: 25rem; }
}
@media (max-width: 480px) {
  .page-shell { padding-inline: 1.2rem; }
  .masthead { gap: 0.7rem; min-height: 5.25rem; }
  .site-mark { width: 2.2rem; height: 2.2rem; flex-basis: 2.2rem; font-size: 0.7rem; }
  .domain, .theme-code .domain, .theme-arcade .domain { font-size: 0.69rem; letter-spacing: 0; }
  .masthead-detail { display: none; }
  .hero, .theme-code .hero, .theme-slice .hero { padding-block: 2.75rem 2rem; gap: 2rem; }
  .title-rule { margin-bottom: 1.4rem; width: 2.5rem; }
  h1 { font-size: clamp(3.3rem, 15vw, 4.7rem); }
  .contact-note { margin-top: 1.5rem; font-size: 0.95rem; }
  .theme-family .hero-art { padding: 0.35rem; box-shadow: 0.45rem 0.45rem 0 #e1e5d2; }
  .theme-code h1, .variant-hills h1 { font-size: clamp(2.05rem, 8.4vw, 2.8rem); }
  .theme-code .contact-note { font-size: 0.78rem; }
  .theme-code .hero-art { padding: 0.35rem; }
  .theme-arcade h1 { font-size: clamp(2.65rem, 12vw, 4.5rem); }
  .theme-arcade .hero { padding-top: 2.4rem; }
  .theme-arcade .hero-copy { padding-bottom: 1.65rem; }
  .theme-arcade .hero-art { padding: 0.25rem; box-shadow: 0.35rem 0.35rem 0 #a53f72; }
  .variant-vtec .hero-art { box-shadow: 0.35rem 0.35rem 0 #206d72; }
  .theme-arcade .contact-note { font-size: 0.75rem; }
  .theme-slice h1 { font-size: clamp(3.7rem, 18vw, 5.7rem); }
  .theme-slice .hero-art { padding: 0.3rem; outline-offset: 0.2rem; }
  .theme-slice .title-rule { margin-bottom: 2rem; }
  .theme-slice .contact-note { max-width: 20rem; font-size: 0.96rem; }
  .page-footer { min-height: 3.5rem; }
}
@media (prefers-contrast: more) {
  .contact-note { color: var(--ink); }
  .masthead, .hero-art { border-color: currentColor; }
}
@media print {
  body { background: #fff; color: #000; }
  .page-shell { padding: 0; }
  .masthead, .page-footer { display: none; }
  .hero { padding: 0; }
  h1 { text-shadow: none !important; }
  .hero-art { box-shadow: none !important; }
}

/* A quiet, keyboard-accessible placeholder for a future members destination. */
.members-access { margin: 0 0 1.5rem; text-align: center; }
.members-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0.7rem 1.25rem; border: 1px solid currentColor; border-radius: 0.25rem; color: var(--ink); background: transparent; font-family: inherit; font-size: 0.85rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.members-button:hover { color: var(--paper); background: var(--ink); }
.members-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.not-found { max-width: 55rem; margin: 0 auto; padding-block: clamp(4rem, 12vw, 9rem); }
.not-found h1 { font-size: clamp(2.75rem, 10vw, 6rem); }
.not-found .members-button { margin-top: 2rem; }
