/* A personal domain, set like a quiet typographic poster. */
:root {
  color-scheme: dark;
  --ink: #111410;
  --paper: #f1f3e9;
  --muted: #a3ab9c;
  --accent: #c6f36a;
  --line: #353b30;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-width: 280px; background: var(--ink); }
body { margin: 0; color: var(--paper); }
::selection { color: var(--ink); background: var(--accent); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }

.page { max-width: 1800px; min-height: 100svh; margin: 0 auto; padding: 0 5.2%; display: flex; flex-direction: column; }
.masthead { min-height: 110px; display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 38px; font-weight: 700; letter-spacing: -.1em; text-decoration: none; line-height: 1; padding: 5px 5px 9px 0; }
.wordmark span { color: var(--accent); }
.masthead-note { color: var(--muted); font-size: .875rem; }
.edition { margin-left: auto; color: var(--muted); font-family: "Courier New", monospace; font-size: .75rem; letter-spacing: .08em; }
main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.hero { padding-top: 50px; padding-bottom: 64px; }
.hero-kicker { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eyebrow, .index, .definition-key, .source-note, .footer-address { font-family: "Courier New", monospace; font-size: .75rem; letter-spacing: .075em; line-height: 1.5; }
.eyebrow { color: var(--accent); }
.index { color: var(--muted); }
.domain-stage { position: relative; isolation: isolate; }
h1 { position: relative; display: flex; margin: 17px 0 22px -.065em; padding-right: .05em; font-size: clamp(7rem, 24.5vw, 27rem); font-weight: 500; letter-spacing: -.085em; line-height: 1.02; }
.name { display: inline-block; }
.suffix { position: relative; display: inline-block; color: var(--accent); }
.spark { position: absolute; top: .20em; right: -.66em; color: var(--accent); font-size: .155em; line-height: 1; letter-spacing: 0; transition: transform .6s ease; }
.domain-stage:hover .spark { transform: rotate(90deg); }
.orbits { position: absolute; z-index: -1; width: 36%; aspect-ratio: 1; left: 63%; top: 50%; transform: translateY(-49%); opacity: .38; pointer-events: none; }
.orbits span { position: absolute; inset: 0; border: 1px solid #47523a; border-radius: 50%; }
.orbits span:nth-child(2) { inset: 12%; }
.orbits span:nth-child(3) { inset: 24%; }
.definitions { display: grid; grid-template-columns: 62% 38%; }
.definition { border-top: 1px solid var(--line); padding-top: 18px; position: relative; }
.definition::before { content: ""; position: absolute; left: 0; top: -3px; width: 5px; height: 5px; background: var(--muted); }
.definition-name { margin-right: 32px; }
.definition-si { border-color: #53623c; }
.definition-si::before { background: var(--accent); }
.definition-key { color: var(--muted); }
.definition p { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; }
.definition-si p { color: var(--accent); }
.introduction { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 70px; }
h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 3rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
.intro-copy { max-width: 530px; padding-top: 1px; }
.intro-copy p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.8; }
.inline-si { color: var(--paper); }
.source-link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid #738060; font-size: .875rem; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.source-note { font-size: .75rem; color: var(--muted); }
.source-link:hover { color: var(--accent); border-color: var(--accent); }
footer { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); line-height: 1.5; }
.footer-address { font-size: .75rem; }
.footer-address strong { color: var(--paper); font-weight: 400; letter-spacing: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero { animation: arrive .85s ease both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media (min-width: 1600px) {
  .hero { padding-top: 65px; padding-bottom: 80px; }
  .introduction { margin-top: 85px; }
}

@media (max-width: 760px) {
  .page { padding: 0 7%; }
  .masthead { min-height: 86px; gap: 18px; }
  .masthead-note { max-width: 150px; font-size: .8125rem; line-height: 1.4; }
  .edition { font-size: .75rem; text-align: right; }
  .hero { padding-top: 40px; padding-bottom: 45px; }
  .eyebrow { max-width: 215px; font-size: .75rem; }
  .index { flex-shrink: 0; }
  h1 { font-size: 23.6vw; margin-top: 32px; margin-bottom: 32px; }
  .orbits { width: 42%; left: 58%; }
  .definitions { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
  .definition-name { margin-right: 0; }
  .definition-key { font-size: .75rem; letter-spacing: .01em; }
  .definition p { font-size: .875rem; }
  .introduction { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  h2 { font-size: 2.25rem; }
  .intro-copy { max-width: 490px; }
  footer { flex-wrap: wrap; justify-content: space-between; padding: 23px 0; gap: 14px 18px; }
}

@media (max-width: 360px) {
  .page { padding: 0 6%; }
  .edition { display: none; }
  .index { display: none; }
  .definitions { gap: 12px; }
  .definition-key { font-size: .75rem; }
  .source-link { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
