:root {
  color-scheme: light;
  --bg: #f7f6f2; --paper: #eeede6; --ink: #252d28; --muted: #626961;
  --line: #d6d9cf; --accent: #4a6447; --warm: #a35239; --dark: #273c31;
  --font-head: 'DM Sans', sans-serif; --font-mono: 'IBM Plex Mono', monospace;
  --hud-text: #f4f5ed; --hud-bg: #273c31; --hud-line: #596959;
  --battle-clearance: 190px;
  --text-small: 14px; --text-body: 18px; --text-subheading: 24px;
  --text-title: 32px; --text-section: 48px; --text-display: 72px;
}
:root[data-theme="dark"] {
  color-scheme: dark; --bg: #171d1a; --paper: #202924; --ink: #eeeee5;
  --muted: #b0b8ad; --line: #3a453c; --accent: #b0c4a0; --warm: #e1a28a; --dark: #101813;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: var(--text-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, blockquote, h1, h2, h3, p { margin: 0; }
p + p { margin-top: 1rem; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--warm); outline-offset: 6px; }
::selection { background: #d7e0ca; color: #1d2c22; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 24px; padding: 12px 20px; background: var(--ink); color: var(--bg); z-index: 600; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; z-index: 300; background: var(--bg); }
.navigation { height: 102px; display: flex; align-items: center; border-bottom: 1px solid var(--line); gap: 30px; }
.wordmark { font-weight: 650; letter-spacing: -.06em; font-size: var(--text-subheading); margin-right: auto; }
.wordmark-dot { color: var(--warm); }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: var(--text-body); font-weight: 550; }
.nav-links a:hover, .text-link:hover, .contact-links a:hover { color: var(--warm); }
.nav-tools { display: flex; align-items: center; gap: 18px; }
.theme-button { border: 1px solid var(--line); background: transparent; border-radius: 50%; width: 44px; height: 44px; padding: 12px; display: grid; place-items: center; }
.theme-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.theme-button path { fill: currentColor; }
.menu-button { display: none; border: 0; padding: 9px 0; background: transparent; font-size: var(--text-small); }
.eyebrow { font-family: var(--font-mono); font-size: var(--text-small); text-transform: uppercase; font-weight: 500; letter-spacing: .04em; }
.eyebrow > span { color: var(--warm); margin-right: 20px; }
.hero { padding-top: 34px; padding-bottom: 56px; }
.hero-topline { display: flex; justify-content: space-between; align-items: center; }
.location { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--text-small); }
.location i, .image-badge i { width: 6px; height: 6px; background: #708461; border-radius: 50%; display: inline-block; }
.hero-grid { display: grid; grid-template-columns: 1.32fr 1fr; gap: 65px; padding: 65px 0 70px; align-items: center; }
h1 { font-weight: 500; font-size: var(--text-display); line-height: 1.03; letter-spacing: -.065em; }
em { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; letter-spacing: -.035em; color: var(--accent); }
.intro-line { display: flex; gap: 20px; margin-top: 32px; max-width: 500px; }
.intro-rule { width: 25px; height: 1px; flex-shrink: 0; margin-top: 13px; background: var(--warm); }
.intro-line p { font-size: var(--text-body); color: var(--muted); }
.intro-line a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { display: flex; gap: 28px; align-items: center; margin-top: 30px; }
.button { min-height: 54px; display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; padding: 12px 23px; font-size: var(--text-body); font-weight: 550; border: 1px solid transparent; transition: background-color .18s, color .18s; }
.button-primary { background: var(--ink); color: var(--bg); }
.button-primary:hover { background: var(--accent); }
.button-outline { border-color: var(--line); }
.button-outline:hover { background: var(--paper); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; font-size: var(--text-body); font-weight: 550; border-bottom: 1px solid var(--line); padding: 10px 0; }
.hero-figure { padding-left: 8px; }
.image-index { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: var(--text-small); color: var(--muted); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.hero-figure img { aspect-ratio: 1.14; width: 100%; object-fit: cover; object-position: 60% 50%; border-radius: 120px 2px 2px 2px; }
.hero-figure figcaption { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.hero-figure figcaption strong { font-size: var(--text-body); font-weight: 600; }
.hero-figure figcaption small { display: block; font-size: var(--text-small); color: var(--muted); margin-top: 3px; }
.hero-figure figcaption > a { font-size: var(--text-subheading); }
.art-note { font-size: var(--text-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 19px; }
.hero-foot { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; font-size: var(--text-small); color: var(--muted); }
.hero-foot > span:first-child { color: var(--ink); }
.hero-foot a { color: var(--accent); }
.section { padding-block: 90px; }
.section-heading { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 70px; margin-bottom: 44px; align-items: end; }
.section-heading > .eyebrow { grid-column: 1/-1; margin-bottom: 26px; }
h2 { font-size: var(--text-section); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; }
.section-intro { color: var(--muted); font-size: var(--text-body); max-width: 380px; justify-self: end; padding-bottom: 4px; }
.project-image { display: block; position: relative; overflow: hidden; background: #d8d4b9; }
.project-image img { width: 100%; object-fit: cover; aspect-ratio: 1.94; transition: transform .5s ease; }
@media (hover:hover) { .project-image:hover img { transform: scale(1.025); } }
.image-badge { position: absolute; top: 22px; left: 22px; background: #f7f6f2; color: #273c31; padding: 7px 12px; font-size: var(--text-small); display: flex; align-items: center; gap: 8px; }
.image-action { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; background: #f7f6f2; color: #273c31; border-radius: 50%; font-size: var(--text-subheading); }
.project-summary { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; padding-top: 35px; }
h3 { font-weight: 550; letter-spacing: -.035em; line-height: 1.2; font-size: var(--text-title); }
.project-summary h3 { margin-top: 14px; }
.project-subtitle { color: var(--muted); font-size: var(--text-body); margin-top: 10px; }
.project-summary > div > p:not(.eyebrow):not(.project-subtitle), .secondary-copy > p:not(.eyebrow):not(.project-subtitle) { font-size: var(--text-body); color: var(--muted); }
.project-summary .text-link, .secondary-copy .text-link { margin-top: 12px; }
.project-meta { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 20px; margin: 28px 0 0; }
.project-meta dt { font-family: var(--font-mono); font-size: var(--text-small); text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.project-meta dd { margin: 0; font-size: var(--text-body); }
.secondary-section { padding-top: 12px; }
.secondary-project { display: grid; grid-template-columns: 1.2fr 1fr; gap: 75px; align-items: center; }
.ant-image img { aspect-ratio: 1.12; object-fit: cover; }
.secondary-copy h3 { margin-top: 16px; }
.secondary-copy .project-subtitle { font-family: 'DM Serif Display', Georgia, serif; font-size: var(--text-subheading); line-height: 1.2; color: var(--accent); margin-bottom: 24px; }
.studio-link { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: var(--text-body); }
.studio-link small { font-size: var(--text-small); color: var(--muted); }
.about-band { background: var(--paper); padding-block: 100px; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-layout h2 { margin-top: 28px; }
.about-pull { color: var(--muted); font-size: var(--text-body); margin-top: 30px; }
.signature { display: block; font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: var(--text-subheading); color: var(--accent); margin-top: 30px; }
.pronunciation { color: var(--muted); font-size: var(--text-small); }
.about-copy > p { color: var(--muted); font-size: var(--text-body); }
.about-copy .large-copy { color: var(--ink); font-size: var(--text-body); line-height: 1.6; }
.experience-stats { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.experience-stats strong { font-weight: 500; font-size: var(--text-section); line-height: 1; letter-spacing: -.05em; }
.experience-stats strong span { font-size: var(--text-subheading); font-weight: 400; }
.experience-stats p { font-size: var(--text-small); color: var(--muted); margin-top: 10px; }
.practice-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; padding-top: 25px; }
.capability-copy h3 { font-size: var(--text-subheading); margin-bottom: 20px; }
.capability-copy p { font-size: var(--text-body); color: var(--muted); }
.tool-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.tool-list span { border: 1px solid var(--line); padding: 5px 9px; font-size: var(--text-small); }
.link-note { display: block; color: var(--muted); font-size: var(--text-small); margin-top: 8px; }
.process-list { list-style: none; margin: 0; padding: 0; }
.process-list li { border-top: 1px solid var(--line); display: flex; gap: 25px; padding: 22px 0; }
.process-list li:first-child { padding-top: 0; border: 0; }
.process-list li > span { color: var(--warm); font-family: var(--font-mono); font-size: var(--text-small); padding-top: 2px; }
.process-list h3 { font-size: var(--text-subheading); }
.process-list p { font-size: var(--text-body); color: var(--muted); margin-top: 9px; }
.personal-section { padding-block: 95px; border-block: 1px solid var(--line); }
.personal-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 110px; align-items: center; }
.personal-copy h2 { margin: 28px 0; font-size: var(--text-section); }
.personal-copy > p:not(.eyebrow) { font-size: var(--text-body); color: var(--muted); }
.creed { padding: 44px; background: var(--dark); color: #f4f3e9; }
.creed > .eyebrow { color: #bec8b7; }
.creed blockquote { font-size: var(--text-section); line-height: 1.15; letter-spacing: -.035em; margin-top: 34px; }
.creed em { color: #c9d3b4; }
.creed-line { display: block; height: 1px; width: 38px; background: #93a383; margin: 32px 0; }
.creed p { color: #c5cdbf; font-size: var(--text-small); }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-top: 1px solid var(--line); padding-top: 32px; }
.desk-label { font-size: var(--text-small); color: var(--warm); }
.desk-grid h3 { font-size: var(--text-subheading); margin-top: 15px; }
.desk-grid p { color: var(--muted); font-size: var(--text-body); margin: 20px 0; }
.contact-section { background: var(--paper); padding-block: 85px 48px; }
.contact-heading { max-width: 790px; }
.contact-heading h2 { margin-top: 28px; font-size: var(--text-section); }
.contact-heading > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: var(--text-body); margin-top: 22px; }
.contact-email { font-size: var(--text-title); display: inline-flex; gap: 70px; align-items: center; letter-spacing: -.035em; margin: 25px 0 40px; border-bottom: 1px solid var(--ink); }
.contact-email:hover { color: var(--warm); }
.contact-links { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); padding-top: 26px; gap: 24px; }
.contact-links a { font-size: var(--text-body); }
.contact-links span { display: block; color: var(--muted); font-size: var(--text-small); margin-bottom: 8px; }
footer { display: flex; justify-content: space-between; padding-block: 28px 290px; font-size: var(--text-small); color: var(--muted); gap: 20px; }
.mission-zone { position: relative; z-index: 220; }
footer { position: relative; z-index: 220; }
.game-landscape { position: fixed; inset: auto 0 0; height: 205px; background: linear-gradient(transparent, var(--bg) 83%); z-index: 205; pointer-events: none; }
.combat-canvas { position: fixed; inset: 0; z-index: 210; width: 100%; height: 100%; pointer-events: none; image-rendering: pixelated; }
.combat-canvas-live { z-index: 245; }
.combat-interface { position: fixed; inset: 0; z-index: 270; color: var(--hud-text); pointer-events: none; }
.combat-status { position: absolute; top: var(--combat-status-top); left: var(--combat-squad-x); width: 360px; display: grid; grid-template-columns: 1.6fr .8fr .7fr; transform: translateX(-50%); background: var(--hud-bg); border-radius: 4px; }
.combat-status > div { padding: 10px 12px; min-height: 60px; display: grid; align-content: center; gap: 7px; }
.combat-status > div + div { border-left: 1px solid var(--hud-line); text-align: center; }
.combat-status span, .objective-bar span { font: var(--text-small) var(--font-mono); color: #c2ccbd; }
.combat-status strong { font: 600 var(--text-body) var(--font-mono); line-height: 1; }
.combat-health { grid-template-columns: 1fr 36px; align-items: center; }
.combat-health > span { grid-column: 1 / -1; }
.health-track { height: 4px; background: #596959; }
.health-track i { display: block; height: 100%; background: #70d07e; transform-origin: left; transition: transform .2s; }
.combat-alert { position: absolute; bottom: 172px; right: 25px; background: var(--hud-bg); border-radius: 3px; padding: 7px 11px; font: var(--text-small) var(--font-mono); opacity: 0; }
.combat-alert.is-visible { opacity: 1; }
.combat-alert.is-danger { border-left: 3px solid #d7533f; }
.combat-alert.is-kill { border-left: 3px solid #70d07e; }
.combat-controls { position: absolute; bottom: 12px; left: 24px; display: flex; gap: 20px; color: var(--ink); font: var(--text-small) var(--font-mono); }
.objective-bar { position: absolute; right: 220px; bottom: 29px; display: flex; gap: 20px; width: 310px; padding: 10px 14px; background: var(--hud-bg); border-radius: 4px; }
.objective-bar > div:first-child { min-width: 0; flex: 1; }
.objective-bar strong { display: block; font-size: var(--text-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 450; margin-top: 2px; }
.objective-progress { text-align: right; }
.game-toggle { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 164px; min-height: 56px; background: #bd302c; color: #fff; border: 1px solid #bd302c; border-radius: 6px; padding: 12px 18px; font-size: var(--text-body); font-weight: 600; }
.game-toggle:hover { background: #a52421; border-color: #a52421; }
.next-level-button { position: fixed; z-index: 301; right: 24px; bottom: 92px; min-width: 164px; min-height: 56px; padding: 12px 18px; border: 1px solid #244f39; border-radius: 6px; background: #244f39; color: #fff; font-size: var(--text-body); font-weight: 600; }
.next-level-button:hover { background: #173a28; }
.next-level-button[hidden], .game-victory[hidden], .mission-ui-off .next-level-button, .mission-ui-off .game-victory { display: none; }
.game-victory { position: fixed; inset: 0; z-index: 310; pointer-events: none; display: grid; place-items: center; overflow: hidden; }
.victory-message { position: relative; z-index: 1; width: min(480px, calc(100% - 40px)); padding: 32px; text-align: center; background: var(--bg); color: var(--ink); border: 2px solid var(--accent); border-radius: 8px; box-shadow: 0 12px 40px #0002; }
.victory-message h2 { font-size: var(--text-title); margin: 12px 0; }
.victory-message p { font-size: var(--text-body); }
.game-victory > i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--spark); animation: victory-spark 1.4s var(--delay) 3 both; }
@keyframes victory-spark { 0% { transform: translate(0, 0) scale(.3); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: 0; } }
@media (max-width: 700px) { .next-level-button { right: 12px; bottom: 156px; min-width: 150px; } }
.game-toggle i { width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.game-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mission-ui-off .combat-canvas, .mission-ui-off .combat-interface, .mission-ui-off .game-landscape { display: none; }
.mission-ui-off .game-toggle { background: #fff; color: #252d28; border-color: #c8ccc5; }
.mission-ui-off .game-toggle:hover { background: #fff; border-color: #626961; }
.show-markers [data-marker] { outline: 1px dashed var(--warm); }
.dev-marker-label { position: absolute; top: 4px; left: 4px; z-index: 280; color: #fff; background: #a35239; padding: 2px 5px; font: var(--text-small) var(--font-mono); pointer-events: none; }
@media (max-width:1100px) {
  .shell { width: calc(100% - 72px); }
  .hero-grid { gap: 34px; }
  .section-heading, .project-summary, .practice-layout, .about-layout, .personal-layout { column-gap: 50px; }
  .secondary-project { gap: 40px; }
  .objective-bar { right: 205px; width: 280px; }
  .game-toggle { right: 16px; }
}
@media (max-width:900px) {
  :root { --text-display: 48px; --text-section: 32px; --text-title: 24px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
  h1 { font-size: var(--text-display); }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .hero-foot > span:nth-child(2) { display: none; }
  .nav-links { gap: 18px; }
  .objective-bar { display: none; }
  .personal-copy h2 { font-size: var(--text-section); }
  .creed { padding: 28px; }
}
@media (max-width:700px) {
  .shell { width: calc(100% - 40px); }
  .navigation { height: 78px; gap: 20px; }
  .wordmark { font-size: var(--text-subheading); }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-links.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero { padding-top: 22px; padding-bottom: 22px; }
  .eyebrow { font-size: var(--text-small); }
  .location { font-size: var(--text-small); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 38px 0; }
  h1 { font-size: var(--text-display); }
  .intro-line { margin-top: 24px; gap: 13px; }
  .intro-line p { font-size: var(--text-body); }
  .hero-actions { margin-top: 24px; }
  .hero-figure { padding: 0; }
  .hero-figure img { aspect-ratio: 1.65; border-top-left-radius: 75px; }
  .hero-figure figcaption { padding-top: 14px; }
  .art-note { display: none; }
  .hero-foot { font-size: var(--text-small); }
  .section { padding-block: 55px; }
  .section-heading { grid-template-columns: 1fr; margin-bottom: 28px; gap: 20px; }
  .section-heading > .eyebrow { margin: 0; }
  .section-intro { justify-self: start; font-size: var(--text-body); }
  h2 { font-size: var(--text-section); }
  .project-image img { aspect-ratio: 1.3; }
  .image-badge { top: 12px; left: 12px; font-size: var(--text-small); }
  .image-action { width: 38px; height: 38px; bottom: 12px; right: 12px; }
  .project-summary { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  h3 { font-size: var(--text-title); }
  .project-meta { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .secondary-section { padding-top: 0; }
  .secondary-project { grid-template-columns: 1fr; gap: 28px; }
  .ant-image img { aspect-ratio: 1.4; }
  .studio-link { align-items: start; flex-direction: column; margin-top: 32px; }
  .about-band, .personal-section { padding-block: 55px; }
  .about-layout, .practice-layout, .personal-layout { grid-template-columns: 1fr; gap: 38px; }
  .about-layout h2 { margin-top: 20px; }
  .about-copy .large-copy { font-size: var(--text-body); }
  .practice-layout { padding-top: 0; }
  .personal-copy h2 { font-size: var(--text-section); }
  .creed { padding: 32px; }
  .creed blockquote { font-size: var(--text-section); }
  .desk-grid { grid-template-columns: 1fr; gap: 32px; }
  .desk-grid article + article { border-top: 1px solid var(--line); padding-top: 26px; }
  .contact-section { padding-block: 55px 35px; }
  .contact-email { gap: 45px; margin-bottom: 30px; }
  .contact-links { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  footer { padding-bottom: 230px; flex-wrap: wrap; font-size: var(--text-small); }
  .game-landscape { height: 150px; }
  .combat-status { left: 12px; width: calc(100% - 24px); max-width: 420px; transform: none; }
  .combat-status > div { min-height: 60px; padding: 8px 12px; }
  .combat-controls { left: 12px; bottom: 13px; gap: 0; flex-direction: column; padding: 6px 8px; border-radius: 4px; background: var(--bg); font-size: var(--text-small); line-height: 1.5; }
  .combat-controls span:nth-child(2) { display: none; }
  .combat-controls::after { content: 'Tap to fire'; }
  .combat-controls span:last-child { display: none; }
  .game-toggle { bottom: 12px; right: 12px; padding: 12px; gap: 10px; min-width: 150px; }
  .game-toggle svg { display: none; }
  .combat-alert { bottom: 228px; right: 12px; max-width: 80vw; font-size: var(--text-small); }
}
@media (min-width:701px) and (max-width:780px) {
  .combat-status { left: 12px; transform: none; top: var(--combat-status-top); }
  .combat-controls { left: 12px; transform: none; bottom: 10px; }
}
@media (max-width:360px) {
  .combat-status > div { padding-inline: 7px; }
  .hero-topline { align-items: start; gap: 12px; flex-direction: column; }
}
