:root {
  color-scheme: dark;
  --ink: #081421;
  --ink-soft: #0d1c2a;
  --ink-raised: #122333;
  --line: #263746;
  --line-light: #394a59;
  --text: #edf0f1;
  --muted: #a6b1ba;
  --subtle: #71808d;
  --copper: #c98455;
  --copper-light: #dfa77e;
  --page: min(1180px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.shell { width: var(--page); margin-inline: auto; }
.copper { color: var(--copper-light); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: .7rem 1rem; background: var(--copper-light); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 5px; }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgb(255 255 255 / 7%); background: rgb(8 20 33 / 95%); backdrop-filter: blur(14px); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; width: 39px; height: 39px; place-content: center; border: 1px solid var(--copper); color: var(--text); font-family: Georgia, serif; font-size: 22px; line-height: 1; }
.brand-mark-dot { color: var(--copper-light); }
.brand-name { display: grid; gap: 1px; font-size: 14px; font-weight: 700; letter-spacing: .18em; line-height: 1.35; }
.brand-name span { color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .055em; }
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav a { color: #c1c9cf; font-size: 13px; text-decoration: none; transition: color .18s ease; }
.primary-nav a:hover { color: var(--copper-light); }
.primary-nav .nav-contact { padding: 9px 14px; border: 1px solid var(--line-light); color: var(--text); }
.nav-contact span { margin-left: 6px; color: var(--copper-light); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 660px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding-block: 78px 86px; }
.hero-copy { position: relative; z-index: 1; padding-bottom: 10px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; color: var(--muted); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { margin: 0 0 27px; }
.eyebrow-line { width: 34px; height: 1px; background: var(--copper); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; font-size: clamp(4rem, 8vw, 7rem); font-weight: 500; letter-spacing: -.075em; line-height: .95; }
.hero-full-name { margin: 18px 0 35px; color: var(--muted); font-family: Georgia, serif; font-size: 18px; letter-spacing: .025em; }
.hero-tagline { margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 3.35rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.15; }
.hero-tagline span { color: var(--copper-light); }
.hero-intro { max-width: 430px; margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--copper); color: var(--text); font-size: 13px; text-decoration: none; }
.text-link span { color: var(--copper-light); font-size: 16px; }
.hero-visual { position: relative; width: 100%; max-width: 560px; justify-self: end; }
.visual-frame { padding: 18px; border: 1px solid var(--line); background: linear-gradient(135deg, rgb(18 35 51 / 65%), rgb(8 20 33 / 20%)); }
.circuit-art { display: block; width: 100%; height: auto; }
.visual-caption { display: flex; justify-content: space-between; padding: 13px 4px 0; color: var(--subtle); font-family: monospace; font-size: 9px; letter-spacing: .1em; }
.hero-coordinate { position: absolute; right: -23px; bottom: 28px; color: var(--copper-light); font-family: monospace; font-size: 9px; letter-spacing: .14em; writing-mode: vertical-rl; }
.hero-index { position: absolute; right: 0; bottom: 32px; display: flex; align-items: center; gap: 10px; color: var(--subtle); font-family: monospace; font-size: 10px; }
.hero-index span:nth-child(2) { width: 68px; height: 1px; background: var(--line-light); }
.hero-index span:first-child { color: var(--copper-light); }
.signal-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0a1723; }
.signal-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #c1c9cf; font-family: monospace; font-size: 11px; letter-spacing: .035em; }
.signal-inner b { color: var(--copper); font-weight: 400; }

.about-section { padding-block: 120px 105px; }
.section-kicker { gap: 14px; }
.section-kicker span:first-child { color: var(--copper-light); }
.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 11%; padding-block: 42px 48px; }
.about-layout h2, .section-heading h2, .research-layout h2, .contact-inner h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5vw, 4.65rem); font-weight: 400; letter-spacing: -.06em; line-height: 1.05; }
.about-copy { max-width: 510px; padding-top: 5px; color: var(--muted); font-size: 15px; }
.about-copy .lead, .lead { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.5; }
.about-copy p:last-child { margin-bottom: 0; }
.about-rule { display: flex; justify-content: space-between; padding-top: 15px; border-top: 1px solid var(--line); color: var(--subtle); font-family: monospace; font-size: 9px; letter-spacing: .1em; }

.focus-section { padding-block: 102px 110px; border-block: 1px solid var(--line); background: #0a1723; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; align-items: end; margin-bottom: 47px; }
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
.section-heading > p { max-width: 360px; margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.focus-card { position: relative; min-height: 275px; padding: 24px 22px 27px; border-right: 1px solid var(--line); }
.focus-card:last-child { border-right: 0; }
.card-index { color: var(--copper-light); font-family: monospace; font-size: 10px; letter-spacing: .08em; }
.card-icon { width: 47px; height: 47px; margin-block: 24px 18px; color: var(--copper-light); }
.card-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.focus-card h3 { min-height: 48px; margin-bottom: 10px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.focus-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.research-section { padding-block: 115px 120px; }
.research-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; align-items: center; padding-top: 42px; }
.research-layout h2 { margin-bottom: 25px; }
.research-layout .lead { max-width: 350px; margin-bottom: 13px; font-size: 18px; }
.research-layout > div:first-child > p:last-child { max-width: 390px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.research-panel { border: 1px solid var(--line-light); background: linear-gradient(145deg, #0d1c2a, #091522); }
.panel-top, .panel-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px; color: var(--subtle); font-family: monospace; font-size: 9px; letter-spacing: .08em; }
.panel-top { border-bottom: 1px solid var(--line); }
.status { color: var(--copper-light); }
.status i, .contact-status i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--copper); vertical-align: 1px; }
.panel-art { position: relative; display: grid; min-height: 215px; place-items: center; padding: 24px; background-image: radial-gradient(#70809020 .7px, transparent .7px); background-size: 17px 17px; }
.panel-art svg { width: 100%; max-width: 500px; }
.panel-crosshair { position: absolute; top: 16px; right: 19px; color: var(--copper); font-family: monospace; }
.panel-bottom { justify-content: flex-start; border-top: 1px solid var(--line); letter-spacing: .025em; }
.panel-bottom span:nth-child(2) { color: var(--copper); }

.contact-section { padding-block: 89px; border-block: 1px solid var(--line); background: #0a1723; }
.contact-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10%; align-items: end; }
.contact-inner .section-kicker { margin-bottom: 38px; }
.contact-inner h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.contact-copy { max-width: 390px; padding-bottom: 4px; color: var(--muted); font-size: 14px; }
.contact-status { display: inline-block; margin-top: 10px; color: var(--copper-light); font-family: monospace; font-size: 10px; letter-spacing: .08em; }
.site-footer { padding-block: 37px 20px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; padding-bottom: 32px; }
.footer-main > p { margin: 0; color: var(--muted); font-family: Georgia, serif; font-size: 16px; line-height: 1.4; }
.back-top { color: var(--muted); font-size: 12px; text-decoration: none; }
.back-top span { padding-left: 7px; color: var(--copper-light); }
.footer-meta { display: flex; justify-content: space-between; gap: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--subtle); font-family: monospace; font-size: 9px; letter-spacing: .045em; }

@media (max-width: 900px) {
  :root { --page: min(100% - 48px, 720px); }
  .hero { min-height: auto; grid-template-columns: 1fr .9fr; gap: 28px; padding-block: 77px 94px; }
  .hero-coordinate { right: -15px; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-card { min-height: 250px; }
  .focus-card:nth-child(2) { border-right: 0; }
  .focus-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .research-layout { gap: 6%; }
  .about-layout { gap: 7%; }
}
@media (max-width: 640px) {
  :root { --page: calc(100% - 40px); }
  html { scroll-padding-top: 74px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 35px; height: 35px; font-size: 19px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 12px; }
  .brand-name span { font-size: 8px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 9px; padding: 10px 0 10px 12px; border: 0; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
  .menu-toggle-label { font-size: 12px; }
  .menu-icon { display: grid; gap: 5px; width: 18px; }
  .menu-icon i { height: 1px; background: var(--copper-light); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 7px 20px 16px; border-bottom: 1px solid var(--line); background: var(--ink); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / 7%); }
  .primary-nav .nav-contact { padding: 12px 0; border: 0; }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 40px; padding-block: 66px 78px; }
  .hero h1 { font-size: clamp(4.3rem, 19vw, 6.4rem); }
  .hero-full-name { margin-block: 13px 26px; font-size: 16px; }
  .hero-tagline { font-size: clamp(2.15rem, 10vw, 3rem); }
  .hero-intro { max-width: 350px; font-size: 15px; }
  .hero-visual { max-width: 460px; width: calc(100% - 12px); align-self: center; }
  .visual-frame { padding: 11px; }
  .visual-caption { font-size: 8px; }
  .hero-coordinate { right: -14px; bottom: 22px; font-size: 8px; }
  .hero-index { right: 0; bottom: 27px; }
  .signal-inner { min-height: 68px; justify-content: center; flex-wrap: wrap; gap: 4px 9px; padding-block: 12px; font-size: 9px; }
  .about-section { padding-block: 80px 74px; }
  .about-layout { grid-template-columns: 1fr; gap: 25px; padding-block: 32px 32px; }
  .about-layout h2, .section-heading h2, .research-layout h2 { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .about-copy .lead, .lead { font-size: 18px; }
  .about-copy { font-size: 14px; }
  .about-rule { gap: 12px; font-size: 8px; }
  .focus-section { padding-block: 78px 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .section-heading .section-kicker { margin-bottom: 8px; }
  .section-heading > p { max-width: 400px; }
  .focus-grid { grid-template-columns: 1fr; }
  .focus-card { min-height: 0; padding: 21px; border-right: 0; border-bottom: 1px solid var(--line); }
  .focus-card:last-child { border-bottom: 0; }
  .card-icon { width: 40px; height: 40px; margin-block: 17px 12px; }
  .focus-card h3 { min-height: 0; margin-bottom: 6px; }
  .research-section { padding-block: 81px 85px; }
  .research-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 32px; }
  .research-layout .lead { max-width: 380px; }
  .panel-top, .panel-bottom { padding-inline: 12px; font-size: 8px; }
  .panel-art { min-height: 165px; padding: 17px; }
  .contact-section { padding-block: 72px; }
  .contact-inner { grid-template-columns: 1fr; gap: 30px; }
  .contact-inner .section-kicker { margin-bottom: 28px; }
  .contact-inner h2 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .contact-copy { font-size: 14px; }
  .footer-main { display: grid; grid-template-columns: 1fr auto; gap: 20px; }
  .footer-main > p { grid-column: 1; grid-row: 2; font-size: 14px; }
  .back-top { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .footer-meta { flex-wrap: wrap; gap: 6px 14px; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
