/* Alex Jephson. Shared visual system; the approved AJ geometry is never redrawn in CSS. */
:root {
  color-scheme: dark;
  --background: #080e21; --surface: #10192e; --surface-raised: #152039;
  --text: #f3f5fc; --muted: #b0bdd3; --quiet: #9baac5;
  --line: #2d3a55; --line-subtle: rgba(162,181,222,.14);
  --cyan: #45e1ef; --purple: #bc9aff; --blue: #82b6ff;
  --shadow: 0 18px 55px rgba(0,0,0,.2); --content: 1240px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; color: var(--text); background: radial-gradient(ellipse 65% 28% at 90% 0, #19204070, transparent 90%), var(--background); line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1,h2,h3,p { margin-top: 0; }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
::selection { background: #7040a8; color: white; }
.container { width: min(calc(100% - 80px), var(--content)); margin-inline: auto; }
.icon { display: inline-block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 500; top: -100px; left: 18px; padding: 11px 18px; background: var(--cyan); color: #080e21; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(8,14,33,.94); border-bottom: 1px solid var(--line-subtle); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-logo { display: block; width: 42px; height: 50px; object-fit: contain; flex: none; }
.brand-name { font-size: 1.18rem; font-weight: 760; letter-spacing: -.04em; }
.brand-name span { color: var(--cyan); }
.brand-caption { padding-left: 19px; margin-left: 4px; border-left: 1px solid var(--line); color: var(--quiet); font-size: .74rem; }
.site-nav { display: flex; gap: 25px; align-items: center; }
.site-nav a { font-size: .83rem; color: #c5d0e2; font-weight: 650; }
.nav-link { position: relative; padding: 13px 0; }
.nav-link[aria-current], .nav-link.is-section { color: white; }
.nav-link[aria-current]::after,.nav-link.is-section::after { content: ''; position: absolute; bottom: 4px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--purple),var(--cyan)); border-radius: 1px; }
.site-nav a:hover { color: var(--cyan); }
.nav-contact { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #4b5d7f; border-radius: 7px; }
.nav-contact[aria-current] { border-color: var(--cyan); color: var(--cyan); }
.nav-contact .icon { width: 16px; height: 16px; color: var(--cyan); }
.mobile-menu-toggle { display: none; padding: 10px; background: var(--surface); color: white; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-subtle); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 45% 75% at 85% 55%, #5d2ba827, transparent 90%); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 60px; align-items: center; padding-block: 66px 70px; }
.eyebrow,.section-kicker { color: var(--cyan); font-size: .72rem; text-transform: uppercase; font-weight: 800; letter-spacing: .15em; }
h1 { font-size: clamp(3rem,5.7vw,5.15rem); line-height: 1.08; letter-spacing: -.065em; margin: 17px 0 17px; font-weight: 780; }
.name-highlight { color: #d3bcff; margin-left: .03em; }
.hero-role { color: #e2e8f5; font-size: clamp(1.03rem,1.45vw,1.2rem); font-weight: 630; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-description { max-width: 610px; color: var(--muted); font-size: .98rem; line-height: 1.8; margin-bottom: 23px; }
.hero-description strong { color: #f0f5ff; font-weight: 650; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 11px 18px; margin-bottom: 29px; }
.skill-tags span { display: inline-flex; gap: 7px; align-items: center; font-size: .75rem; color: #c8d5e8; }
.skill-tags .icon { width: 16px; height: 16px; color: var(--purple); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 19px; min-height: 47px; border: 1px solid transparent; border-radius: 8px; font-size: .85rem; font-weight: 750; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-2px); }
.button .icon { width: 17px; height: 17px; }
.button-primary { color: #13102b; background: linear-gradient(110deg,#c29aff,#abacff); border-color: #c4a2ff; box-shadow: 0 5px 24px #6b43ad20; }
.button-primary:hover { background: #d0b1ff; }
.button-secondary { color: #e1eafa; background: #101b30; border-color: #465776; }
.button-secondary:hover { background: #1a2841; border-color: #94a3c5; }
.hero-art { min-width: 0; position: relative; padding: 20px 0 50px; }
.art-grid { position: absolute; inset: -25px -30px; background-image: linear-gradient(#98a0dd09 1px,transparent 1px),linear-gradient(90deg,#98a0dd09 1px,transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse,black 20%,transparent 75%); }
.art-side-label { position: absolute; left: -12px; top: 0; z-index: 1; padding: 7px 13px; border: 1px solid #3a5270; border-radius: 8px; background: #102333; color: var(--cyan); font: 600 .68rem ui-monospace, SFMono-Regular, Consolas, monospace; transform: rotate(3deg); }
.code-cyan { color: var(--cyan); }
.editor-window { position: relative; overflow: hidden; border: 1px solid #394360; border-radius: 12px; background: linear-gradient(145deg,#141d35,#0d162a); box-shadow: var(--shadow); transform: rotate(-1deg); }
.editor-header { display: flex; align-items: center; gap: 7px; padding: 14px 15px; border-bottom: 1px solid var(--line-subtle); background: #1a233b; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #756296; }
.dot:nth-child(2) { background: #8a72ad; }.dot:nth-child(3) { background: #a28ebf; }
.editor-file { margin-left: 11px; font: .72rem ui-monospace, SFMono-Regular, Consolas, monospace; color: #c7c5e5; }
.editor-lang { margin-left: auto; font-size: .62rem; color: #a8b6d0; border: 1px solid #3c4766; padding: 0 6px; border-radius: 4px; }
.editor-code { padding: 24px 13px 28px; font: .76rem/1.95 ui-monospace, SFMono-Regular, Consolas, monospace; color: #bfe7f0; overflow: hidden; }
.line { display: flex; white-space: pre; }
.ln { width: 32px; flex: none; text-align: right; padding-right: 15px; color: #73849f; user-select: none; }
.code-purple { color: #c59bff; }.code-muted { color: #94abc0; }
.editor-status { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; border-top: 1px solid var(--line-subtle); color: #a6b7d1; font-size: .61rem; }
.editor-status span:first-child { color: #a7dce2; }
.floating-note { position: absolute; bottom: 0; right: 15px; padding: 14px 18px; background: #16223a; border: 1px solid #3a5270; border-radius: 9px; box-shadow: var(--shadow); }
.floating-note-top { display: flex; align-items: center; gap: 8px; color: #d1deed; font-size: .7rem; font-weight: 700; margin-bottom: 9px; }
.floating-note .icon { color: var(--cyan); height: 16px; width: 16px; }
.node-chain { display: flex; gap: 9px; align-items: center; font-size: .65rem; }.node-chain span { border: 1px solid #495576; border-radius: 4px; padding: 3px 8px; color: #bfeaf0; }.node-chain b { color: var(--purple); }
.section { padding-block: 42px; border-bottom: 1px solid var(--line-subtle); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-title { font-size: clamp(1.5rem,2.3vw,1.95rem); letter-spacing: -.035em; line-height: 1.2; margin: 7px 0 0; }
.section-action { display: inline-flex; gap: 7px; align-items: center; color: var(--cyan); font-size: .79rem; font-weight: 650; white-space: nowrap; padding-bottom: 3px; }
.section-action .icon { width: 17px; height: 17px; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.project-card { display: flex; flex-direction: column; min-width: 0; position: relative; padding: 23px; border: 1px solid #34425f; border-radius: 12px; background: linear-gradient(145deg,#162038,#101b30); transition: border-color .18s, transform .18s; }
.project-card:hover { border-color: #7c6da6; transform: translateY(-3px); }
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 17px; }
.project-symbol { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid #385e70; border-radius: 9px; color: #65dbe7; background: #183142; flex: none; }
.project-symbol.purple { background: #302443; border-color: #6a4c88; color: #c49bff; }.project-symbol.blue { background: #1a2d49; border-color: #3d5b83; color: #97c4ff; }
.project-symbol.cyan { background: rgb(34 211 238 / 10%); border-color: rgb(34 211 238 / 38%); }
.project-symbol.emerald { background: rgb(16 185 129 / 10%); border-color: rgb(16 185 129 / 38%); }
.project-symbol.amber { background: rgb(255 184 0 / 10%); border-color: rgb(255 184 0 / 38%); }
.project-symbol .icon { width: 24px; height: 24px; }

.project-mark img { display: block; width: 28px; height: 28px; object-fit: contain; }
.status { display: inline-block; padding: 3px 8px; background: #193137; color: #88e8d6; border: 1px solid #315753; border-radius: 5px; font-size: .64rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.status.wip { color: #e0c7ff; background: #30263e; border-color: #5e456f; }
.project-card :is(h2,h3) { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 11px; }
.project-card p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-bottom: 19px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }.project-tags span { font-size: .65rem; padding: 3px 7px; background: #222e45; border: 1px solid #33445e; color: #cbd8eb; border-radius: 5px; }
.project-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line-subtle); color: #c9b1ff; font-size: .77rem; font-weight: 700; }.project-link:hover { color: var(--cyan); }.project-link .icon { width: 16px; height: 16px; }
.capability-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.capability { padding: 20px 18px; border: 1px solid var(--line); background: #121d32; border-radius: 10px; }
.capability > .icon { width: 25px; height: 25px; color: var(--cyan); margin-bottom: 15px; }
.capability h3 { font-size: .86rem; line-height: 1.45; margin-bottom: 8px; }.capability p { color: var(--muted); font-size: .76rem; line-height: 1.7; margin-bottom: 0; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.experience-lede { font-size: .94rem; color: var(--muted); line-height: 1.8; margin: 18px 0 22px; }
.work-highlights { display: grid; gap: 21px; padding-top: 5px; }
.work-highlight { display: grid; grid-template-columns: 29px 1fr; gap: 13px; }
.highlight-icon { color: var(--purple); }.highlight-icon .icon { width: 24px; height: 24px; }
.work-highlight h3 { font-size: .94rem; margin: 0 0 5px; }.work-highlight p { font-size: .84rem; color: var(--muted); margin-bottom: 0; }
.contact-section { padding-block: 44px; background: linear-gradient(100deg,#2c1d4835,#162c4425); }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.page-cta h2 { font-size: 1.65rem; letter-spacing: -.03em; margin-bottom: 7px; }.page-cta p { margin-bottom: 0; color: var(--muted); font-size: .9rem; }
.inner-hero { padding-block: 48px 42px; border-bottom: 1px solid var(--line-subtle); background: radial-gradient(ellipse at 85% 0,#6c42a826,transparent 60%); }
.inner-hero h1 { font-size: clamp(2.25rem,4.2vw,3.55rem); margin: 13px 0 16px; letter-spacing: -.05em; }
.inner-hero p { max-width: 780px; color: var(--muted); font-size: 1.02rem; line-height: 1.8; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; color: var(--quiet); font-size: .75rem; margin-bottom: 24px; }.breadcrumb a { color: #c4a7f5; }.breadcrumb a:hover { text-decoration: underline; }
.page-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.feature-card { padding: 25px; border: 1px solid var(--line); background: linear-gradient(145deg,#172139,#101a2e); border-radius: 11px; }
.feature-card > .icon { width: 26px; height: 26px; color: var(--purple); margin-bottom: 16px; }
.feature-card h2 { font-size: 1.11rem; letter-spacing: -.025em; line-height: 1.4; margin-bottom: 12px; }.feature-card p { color: var(--muted); font-size: .89rem; line-height: 1.8; margin-bottom: 0; }
.prose { max-width: 780px; }.prose h2 { font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.4; margin: 30px 0 12px; }.prose h2:first-child { margin-top: 0; }.prose p { font-size: .98rem; color: var(--muted); line-height: 1.9; margin-bottom: 19px; }.prose a,.privacy-link { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }.prose a:hover { color: white; }.more-projects { margin-top: 30px; }
.project-detail-layout { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 48px; align-items: start; }
.project-facts { padding: 24px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }.project-facts .status { margin: 15px 0 24px; }.project-facts h2 { font-size: .87rem; }.project-facts > p:last-child { color: var(--quiet); font-size: .8rem; margin: 21px 0 0; }
.project-detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-shell { display: grid; grid-template-columns: .82fr 1fr; gap: 70px; align-items: start; }
.contact-description { color: var(--muted); line-height: 1.85; font-size: .96rem; margin-top: 21px; max-width: 440px; }
.contact-actions { display: flex; gap: 11px; margin-top: 25px; }.contact-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #445571; border-radius: 8px; background: #162339; }.contact-icon:hover { border-color: var(--cyan); color: var(--cyan); }
.contact-form { min-width: 0; padding: 27px; border: 1px solid #3c4a6b; border-radius: 13px; background: linear-gradient(145deg,#18223c,#111b31); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.2rem; margin-bottom: 5px; }.form-intro { color: var(--muted); font-size: .79rem; margin-bottom: 24px; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 15px; }.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }.full-width { grid-column: 1/-1; }
.form-field label { color: #dfe6f6; font-size: .8rem; font-weight: 650; }
.form-field input,.form-field select,.form-field textarea { width: 100%; color: var(--text); border: 1px solid #566584; border-radius: 7px; background: #0b152a; padding: 10px 12px; font-size: .91rem; }
.form-field textarea { resize: vertical; min-height: 150px; }.form-field input::placeholder,.form-field textarea::placeholder { color: #96a8c4; }.form-field select { cursor: pointer; }
.form-footer { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 22px; }.form-footer button { cursor: pointer; }.form-footer button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.form-hint { font-size: .73rem; color: var(--muted); max-width: 250px; }.form-status { color: #d9e8f5; border: 1px solid #4c6081; border-radius: 7px; padding: 12px; background: #1c2b45; margin: 17px 0 0; font-size: .84rem; }.form-status[data-kind=error] { background: #3c202d; color: #ffced5; border-color: #8f5068; }.form-status[data-kind=success] { background: #12352f; color: #bbf7dc; border-color: #3a7462; }
.form-status[hidden],.turnstile-placeholder[hidden] { display: none; }.turnstile-wrap { margin-top: 20px; min-height: 65px; }.turnstile-placeholder { border: 1px dashed #566481; border-radius: 7px; padding: 13px; color: var(--muted); font-size: .78rem; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer { border-top: 1px solid var(--line-subtle); padding-block: 26px 20px; background: #080e1e; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 22px; }.footer-brand { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 650; }.footer-brand small { display: block; color: var(--quiet); font-size: .69rem; font-weight: 400; margin-top: 2px; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: .78rem; color: #c4d0e3; }.site-footer-links a:hover { color: var(--cyan); }.footer-bottom { display: flex; justify-content: space-between; gap: 16px; color: var(--quiet); font-size: .68rem; border-top: 1px solid var(--line-subtle); padding-top: 17px; margin-top: 21px; }
@media (max-width: 1180px) { .brand-caption { display: none; }.site-nav { gap: 22px; }.hero-layout { gap: 30px; }.editor-code { font-size: .68rem; }.capability-grid { grid-template-columns: repeat(3,1fr); }.contact-shell { gap: 40px; } }
@media (max-width: 900px) {
  .container { width: calc(100% - 44px); }.nav-wrap { flex-wrap: wrap; padding-block: 13px; min-height: 78px; }.site-nav { width: 100%; gap: 20px; flex-wrap: wrap; padding-bottom: 7px; }
  .nav-enhanced .nav-wrap { flex-wrap: nowrap; }.nav-enhanced .mobile-menu-toggle { display: grid; place-items: center; }.nav-enhanced .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 3px; padding: 15px 22px 22px; background: #0d162b; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }.nav-enhanced .site-nav.is-open { display: flex; }.nav-enhanced .nav-link { padding: 12px 5px; }.nav-enhanced .nav-link::after { right: auto; width: 35px; }.nav-enhanced .nav-contact { margin-top: 7px; }
  .hero-layout { padding-block: 44px 50px; gap: 28px; grid-template-columns: 1.1fr .9fr; }.hero-art { padding-bottom: 25px; }.editor-code { font-size: .57rem; padding-inline: 6px; }.ln { width: 24px; padding-right: 10px; }.editor-file { font-size: .6rem; margin-left: 3px; }.floating-note { right: -3px; padding: 10px 12px; }.editor-status { font-size: .5rem; padding-inline: 9px; }.hero-role { font-size: 1rem; }.hero-description { font-size: .92rem; }.hero h1 { font-size: 3.3rem; }.skill-tags { gap: 10px; }.skill-tags span { font-size: .7rem; }
  .project-grid { gap: 13px; }.project-card { padding: 18px; }.project-card :is(h2,h3) { font-size: .98rem; }.project-card p { font-size: .8rem; }.status { font-size: .6rem; }.project-symbol { width: 37px; height: 37px; }.experience-grid { gap: 35px; }.page-grid { grid-template-columns: repeat(2,1fr); }.contact-shell { grid-template-columns: 1fr 1.1fr; gap: 30px; }.contact-form { padding: 22px; }.form-fields { grid-template-columns: 1fr; }.project-detail-layout { grid-template-columns: 230px 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }.hero h1 { font-size: clamp(3.2rem,11vw,4.4rem); }.hero-role { font-size: 1.08rem; }.hero-description { font-size: .97rem; }.hero-art { max-width: 510px; width: 100%; margin-inline: auto; padding: 12px 0 30px; }.editor-code { font-size: .77rem; padding: 20px 12px; }.ln { width: 32px; padding-right: 14px; }.editor-file { font-size: .7rem; margin-left: 9px; }.editor-status { font-size: .6rem; }.floating-note { right: 8px; padding: 12px 16px; }.art-side-label { display: none; }.skill-tags { gap: 10px 17px; }.skill-tags span { font-size: .75rem; }
  .project-grid { grid-template-columns: 1fr; }.project-card { padding: 23px; }.project-card :is(h2,h3) { font-size: 1.13rem; }.project-card p { font-size: .91rem; }.project-symbol { width: 44px; height: 44px; }.status { font-size: .68rem; }.project-tags span { font-size: .72rem; }.project-link { font-size: .83rem; }
  .capability-grid { grid-template-columns: repeat(2,1fr); }.capability:last-child { grid-column: 1/-1; }.experience-grid { grid-template-columns: 1fr; gap: 30px; }.page-cta { align-items: flex-start; flex-direction: column; gap: 24px; }.contact-shell { grid-template-columns: 1fr; gap: 28px; }.form-fields { grid-template-columns: 1fr 1fr; }.footer-grid { align-items: flex-start; flex-direction: column; }.project-detail-layout { grid-template-columns: 1fr; gap: 28px; }.project-facts { padding: 18px; }.project-facts > .project-symbol { float: left; margin-right: 13px; }.project-facts .status { margin: 10px 0 20px; }.project-facts h2 { clear: both; }.project-facts > p:last-child { margin-top: 13px; }.prose p { font-size: .95rem; }
}
@media (max-width: 480px) {
  .container { width: calc(100% - 36px); }.brand-logo { width: 34px; height: 41px; }.brand-name { font-size: 1.07rem; }.brand { gap: 9px; }.nav-wrap { min-height: 74px; }.mobile-menu-toggle { padding: 8px; }.hero-layout { padding-top: 34px; }.hero h1 { font-size: 3.15rem; }.hero-role { font-size: .99rem; }.hero-description { font-size: .91rem; }.eyebrow,.section-kicker { font-size: .65rem; }.actions .button { padding: 11px 14px; font-size: .8rem; }.editor-code { font-size: .62rem; padding-inline: 7px; }.editor-status { font-size: .52rem; }.editor-file { font-size: .62rem; }.line .ln { width: 25px; padding-right: 10px; }.floating-note { padding: 11px 13px; }.section { padding-block: 32px; }.section-heading { align-items: flex-start; gap: 12px; }.section-action { font-size: .7rem; align-self: flex-end; }.section-action .icon { width: 14px; }.section-title { font-size: 1.45rem; }.capability-grid { gap: 10px; }.capability { padding: 17px 14px; }.page-grid { grid-template-columns: 1fr; }.inner-hero { padding-block: 32px; }.inner-hero h1 { font-size: 2.35rem; }.inner-hero p { font-size: .93rem; }.contact-form { padding: 20px; }.form-fields { grid-template-columns: 1fr; }.form-footer .button { width: 100%; }.form-hint { max-width: none; }.site-footer-links { gap: 20px; }.footer-bottom { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } }
@media print { .site-header,.hero-art,.contact-form,.page-cta,.footer,.skip-link { display:none; } body { background:white; color:black; }.container { width:100%; }.section,.inner-hero { border:none; }.project-card,.feature-card,.capability { break-inside:avoid; background:white; border-color:#999; } p,.prose p,h1,h2,h3,.name-highlight { color:black; } a { text-decoration:underline; } }

/* v0.3: summary on home, substantive and distinct detail-page layouts. */
.section-summary { color: var(--muted); font-size: .82rem; margin: 8px 0 0; max-width: 640px; }
.project-teaser { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg,#162039,#10192e); padding: 23px; min-width: 0; transition: border-color .16s, transform .16s; }
.project-teaser:hover { border-color: #8c76ad; transform: translateY(-2px); }
.project-teaser h3 { font-size: 1.08rem; letter-spacing: -.025em; margin: 0 0 9px; }
.project-teaser p { color: var(--muted); font-size: .89rem; line-height: 1.65; margin: 0; }
.project-teaser .project-link { margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-subtle); margin-bottom: 0; margin-block-start: 22px; }
.capability-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.approach-home { background: linear-gradient(115deg,#1c1633bb,#091a29a0); }
.approach-home-inner,.about-home { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px,7vw,105px); }
.approach-home-inner > div:last-child p,.about-home > div:last-child p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 15px; }
.about-home .section-title { max-width: 430px; }
.project-showcase { display: grid; gap: 16px; }
.project-showcase-card { display: grid; grid-template-columns: 58px minmax(0,1.15fr) minmax(230px,.68fr); gap: 24px; padding: 27px; background: linear-gradient(130deg,#162139,#101a2d); border: 1px solid #364461; border-radius: 13px; align-items: start; }
.project-showcase-id { display: grid; justify-items: center; gap: 12px; }
.project-number { color: var(--quiet); font: 700 .7rem ui-monospace, monospace; letter-spacing: .08em; }
.project-showcase-main h2 { font-size: 1.45rem; letter-spacing: -.04em; line-height: 1.3; margin: 12px 0 10px; }
.project-showcase-main h2 a:hover { color: var(--purple); }
.project-showcase-main > p { font-size: .92rem; line-height: 1.8; color: var(--muted); max-width: 570px; margin: 0 0 19px; }
.project-showcase .project-tags { margin: 0; }
.project-showcase-aside { border-left: 1px solid var(--line); padding-left: 25px; min-height: 160px; display: flex; flex-direction: column; align-items: flex-start; }
.mini-label { font-size: .66rem; color: var(--cyan); text-transform: uppercase; font-weight: 780; letter-spacing: .12em; }
.project-showcase-aside p { font-size: .88rem; line-height: 1.55; color: var(--text); margin: 5px 0 15px; }
.inline-link { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; font-weight: 720; color: #c8adff; }
.inline-link .icon { width: 17px; height: 17px; }
.inline-link:hover { color: var(--cyan); }
.project-showcase-aside .inline-link { margin-top: auto; padding-top: 7px; }
.editorial-note { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.1fr); gap: clamp(30px,7vw,115px); align-items: start; }
.editorial-note h2 { font-size: clamp(1.4rem,2.3vw,2rem); line-height: 1.3; letter-spacing: -.035em; margin: 10px 0 0; max-width: 430px; }
.editorial-note p { color: var(--muted); font-size: .96rem; line-height: 1.85; margin: 0 0 17px; }
.editorial-note a:not(.section-action) { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.focus-list { display: grid; }
.focus-block { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: clamp(20px,5vw,70px); padding: 34px 0; border-bottom: 1px solid var(--line-subtle); }
.focus-block:first-child { padding-top: 3px; }.focus-block:last-child { border-bottom: 0; padding-bottom: 0; }
.focus-index { display: flex; flex-direction: column; gap: 7px; }
.focus-index span:first-child { font-size: 3.5rem; font-weight: 780; letter-spacing: -.09em; line-height: 1; color: #b49bff; }
.focus-index span:last-child { color: var(--cyan); font-size: .67rem; font-weight: 780; text-transform: uppercase; letter-spacing: .14em; }
.focus-content h2 { font-size: 1.7rem; letter-spacing: -.04em; line-height: 1.3; margin-bottom: 12px; }
.focus-lede { max-width: 780px; color: var(--muted); font-size: .99rem; line-height: 1.78; margin: 0 0 20px; }
.focus-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.focus-detail { padding: 18px 20px; background: #141d33; border: 1px solid var(--line); border-radius: 9px; }
.focus-detail h3 { font-size: .94rem; line-height: 1.4; margin-bottom: 7px; }
.focus-detail p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin-bottom: 0; }
.focus-cue { display: flex; align-items: flex-start; gap: 8px; margin: 20px 0 0; color: #b6dfec; font-size: .85rem; }
.focus-cue .icon { width: 17px; height: 17px; color: var(--cyan); margin-top: 2px; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.foundation-points { margin: 0 0 20px; padding-left: 20px; color: var(--muted); font-size: .96rem; line-height: 1.75; }
.foundation-points li { margin-bottom: 8px; }
.expertise-tags span { padding: 7px 11px; font-size: .77rem; border-radius: 6px; border: 1px solid #414763; color: #ded5f3; background: #191e37; }
.decision-path { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.decision-path li { min-width: 0; position: relative; border: 1px solid var(--line); border-radius: 10px; background: #121c30; padding: 22px; }
.path-number { color: var(--purple); font: 800 .82rem ui-monospace, monospace; letter-spacing: .05em; }
.decision-path h3 { font-size: .97rem; margin: 14px 0 8px; line-height: 1.35; }
.decision-path p { font-size: .83rem; color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.principle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.principle-card { min-width: 0; display: flex; flex-direction: column; background: linear-gradient(150deg,#16213b,#0f192e); border: 1px solid #3b4768; border-radius: 12px; padding: 23px; }
.principle-card h3 { font-size: 1.16rem; line-height: 1.35; margin: 13px 0 12px; letter-spacing: -.02em; }
.principle-card > p { color: var(--muted); font-size: .88rem; line-height: 1.75; margin: 0 0 20px; }
.principle-prompt { border-top: 1px solid var(--line-subtle); padding-top: 15px; margin-top: auto; color: var(--quiet); font-size: .73rem; }
.principle-prompt strong { font-weight: 670; display: block; margin-top: 5px; color: #e6d9ff; font-size: .86rem; }
.about-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px,8vw,110px); align-items: start; }
.about-side { padding: 28px; background: #151f36; border: 1px solid var(--line); border-radius: 12px; }
.about-side h2 { margin: 10px 0 17px; font-size: 1.4rem; letter-spacing: -.03em; }
.about-side ul { list-style: none; margin: 0 0 26px; padding: 0; }
.about-side li { position: relative; padding: 8px 0 8px 20px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.about-side li:before { position: absolute; content: ''; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.project-story > h2 { font-size: 1.65rem; margin: 10px 0 18px; letter-spacing: -.035em; }
.project-story p { color: var(--muted); font-size: 1rem; line-height: 1.86; margin-bottom: 16px; max-width: 820px; }
.project-facts .fact-description { font-size: .84rem; color: var(--muted); margin: 0 0 23px; line-height: 1.65; }
.project-facts > .project-tags { margin-top: 7px; }
.project-facts h2 { margin: 19px 0 8px; }
.detail-band { background: #0d1629; }
.feature-card.detail-feature h3 { font-size: 1.04rem; margin-bottom: 12px; }
.decision-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.decision-card { padding: 22px; border-top: 2px solid #74549c; background: #141d31; border-radius: 3px 3px 9px 9px; }
.decision-number { font: 780 .79rem ui-monospace, monospace; color: #c5acff; }
.decision-card h3 { font-size: 1rem; margin: 12px 0 9px; }
.decision-card p { font-size: .88rem; line-height: 1.75; color: var(--muted); margin: 0; }
.project-end { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; }
.project-end h2 { margin: 8px 0 12px; font-size: 1.45rem; }
.project-end p { color: var(--muted); font-size: .91rem; line-height: 1.8; margin-bottom: 0; }
.project-end .project-detail-actions { justify-content: flex-end; }
@media (max-width: 1050px) {
  .project-showcase-card { grid-template-columns: 48px 1fr; gap: 20px; }
  .project-showcase-aside { grid-column: 2; min-height: 0; border-left: 0; padding: 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 4px 16px; }
  .project-showcase-aside .inline-link { grid-column: 1/-1; margin-top: 5px; }
  .project-showcase-aside .mini-label { grid-row: 1; }.project-showcase-aside p { grid-row: 2; margin-bottom: 10px; }
  .decision-path { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .principle-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .focus-block { grid-template-columns: 115px 1fr; gap: 25px; }
  .focus-index span:first-child { font-size: 2.8rem; }
  .focus-details { grid-template-columns: 1fr; }
  .about-layout { gap: 30px; }
}
@media (max-width: 700px) {
  .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .capability:last-child { grid-column: auto; }
  .approach-home-inner,.about-home,.editorial-note,.about-layout,.project-end { grid-template-columns: 1fr; gap: 16px; }
  .project-showcase-card { padding: 21px; }
  .project-showcase-main h2 { font-size: 1.25rem; }
  .focus-block { grid-template-columns: 1fr; gap: 15px; }
  .focus-index { flex-direction: row; align-items: center; gap: 15px; }
  .focus-index span:first-child { font-size: 2rem; }
  .principle-grid,.decision-grid { grid-template-columns: 1fr; }
  .project-end .project-detail-actions { justify-content: flex-start; }
  .project-story p { font-size: .94rem; }
}
@media (max-width: 480px) {
  .section-heading { align-items: flex-start; }
  .section-heading .section-action { max-width: 42%; white-space: normal; text-align: right; }
  .project-showcase-card { grid-template-columns: 1fr; padding: 19px; }
  .project-showcase-id { justify-items: start; display: flex; align-items: center; }
  .project-showcase-main,.project-showcase-aside { grid-column: 1; }
  .project-showcase-aside { grid-template-columns: 1fr; gap: 3px; padding-top: 8px; border-top: 1px solid var(--line-subtle); }
  .project-showcase-aside .mini-label,.project-showcase-aside p { grid-row: auto; }
  .project-showcase-aside .inline-link { grid-column: 1; }
  .decision-path { grid-template-columns: 1fr; }
  .focus-detail { padding: 15px; }
  .editorial-note h2 { font-size: 1.4rem; }
}
@media print {
  .project-teaser,.project-showcase-card,.focus-detail,.principle-card,.decision-card,.decision-path li { break-inside: avoid; background: white; color: black; border: 1px solid #bbb; }
  .project-teaser p,.project-showcase-card p,.focus-detail p,.principle-card p,.decision-card p { color: #222; }
}

/* Keep the section call-to-action clearly legible on narrow screens. */
@media (max-width:480px) {
  .section-heading { flex-direction: column; align-items: stretch; gap: 11px; }
  .section-heading .section-action { max-width: none; align-self: flex-start; white-space: nowrap; text-align: left; }
}
