/* Ingenio Code — graphite, copper, and space to think. */
:root {
  --graphite: #23272e;
  --slate: #484f58;
  --copper: #d5a878;
  --ivory: #f7f5f1;
  --white: #fff;
  --ink: #282d34;
  --muted: #62666b;
  --line: #dedcd6;
  --dark-line: #3b3e43;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--copper); color: var(--graphite); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, input { color: inherit; }
:focus-visible { outline: 2px solid #9c6a3c; outline-offset: 6px; }
.dark-section :focus-visible, .site-header :focus-visible { outline-color: var(--copper); }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; line-height: 1.25; }
p + p { margin-top: 18px; }
svg { display: block; }
svg.icon, svg.service-icon { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.container { width: min(var(--container), calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 112px; }
.dark-section { background: var(--graphite); color: var(--ivory); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 1.9px; line-height: 1.6; text-transform: uppercase; }
.section-number { color: #94663d; margin-right: 2px; }
.dark-section .section-number { color: var(--copper); }
h2 { font-size: clamp(30px, 3.1vw, 44px); letter-spacing: -1.8px; }
.muted-heading { color: #797c7f; }
.copper-text { color: var(--copper); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 58px; }
.section-heading .eyebrow { margin-bottom: 23px; }
.section-heading > p { max-width: 340px; color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); flex-shrink: 0; box-shadow: 0 0 0 4px rgb(213 168 120 / 9%); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; min-height: 54px; padding: 15px 23px; font-size: 13px; font-weight: 650; transition: background .2s, transform .2s, box-shadow .2s; }
.button-copper { background: var(--copper); color: var(--graphite); border: 1px solid var(--copper); }
.button-copper:hover { background: #e4ba8e; border-color: #e4ba8e; transform: translateY(-2px); box-shadow: 0 5px 25px rgb(213 168 120 / 12%); }
.button .icon { width: 18px; height: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; }
.text-link .icon { width: 18px; transition: transform .2s; }
.text-link:hover .icon { transform: translateX(4px); }
.skip-link { position: fixed; left: 16px; top: -80px; padding: 12px 20px; z-index: 100; background: var(--copper); color: var(--graphite); }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { height: 90px; background: var(--graphite); color: var(--ivory); border-bottom: 1px solid rgb(255 255 255 / 8%); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--font-heading); font-size: 25px; font-weight: 600; letter-spacing: -1.3px; line-height: 1; }
.brand-code { font-weight: 400; }
.brand-dot { color: var(--copper); }
.brand-emblem { display: block; width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.brand-mark { display: flex; align-items: center; gap: 4px; height: 30px; width: 30px; transform: skewY(-27deg); }
.brand-mark span { display: block; width: 6px; background: var(--copper); }
.brand-mark span:nth-child(1) { height: 15px; }
.brand-mark span:nth-child(2) { height: 29px; }
.brand-mark span:nth-child(3) { height: 21px; }
.main-navigation { display: flex; align-items: center; gap: 30px; }
.main-navigation > a { color: #c6c7c9; font-size: 12px; transition: color .2s; }
.main-navigation > a:hover, .main-navigation > a.active { color: var(--copper); }
.main-navigation .nav-contact { display: inline-flex; align-items: center; gap: 22px; color: var(--copper); border: 1px solid #6b5c4c; padding: 11px 17px; margin-left: 6px; }
.nav-contact .icon { height: 16px; width: 16px; }
.main-navigation .nav-contact:hover { background: rgb(213 168 120 / 8%); }
.menu-toggle { display: none; }

/* Hero / custom isometric architecture */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / 1.7%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 1.7%) 1px, transparent 1px); background-size: 88px 88px; mask-image: linear-gradient(90deg, transparent 20%, black 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding-top: 83px; padding-bottom: 74px; }
.hero-copy { position: relative; z-index: 2; }
.hero .eyebrow { color: var(--copper); font-size: 10px; margin-bottom: 27px; letter-spacing: 2.1px; }
h1 { font-size: clamp(48px, 5.15vw, 74px); line-height: 1.13; font-weight: 500; letter-spacing: -3.7px; }
h1 > span { color: var(--copper); }
.hero-description { max-width: 445px; font-size: 16px; color: #b4b5b8; line-height: 1.8; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 31px; }
.hero-actions .button { gap: 18px; }
.hero-signature { margin-top: 44px; display: flex; align-items: center; gap: 12px; color: #93979c; font-size: 10px; letter-spacing: .3px; }
.signature-line { width: 25px; height: 1px; background: var(--copper); }
.signature-separator { margin-inline: 8px; color: #64696f; }
.hero-art { position: relative; aspect-ratio: 1; min-width: 0; }
.architecture-art { position: absolute; width: 108%; left: -3%; top: 0; height: 100%; overflow: visible; }
.art-topline, .art-bottomline { position: absolute; display: flex; justify-content: space-between; width: 86%; left: 7%; color: #85888d; font-family: monospace; font-size: 8px; letter-spacing: 1.7px; }
.art-topline { top: 0; padding-top: 13px; border-top: 1px solid #444345; }
.art-bottomline { bottom: 0; padding-bottom: 13px; border-bottom: 1px solid #444345; }
.art-bottomline > span:last-child { color: var(--copper); font-size: 15px; }
.orbit { width: 83%; height: 83%; border: 1px solid rgb(213 168 120 / 8%); border-radius: 50%; position: absolute; inset: 8.5%; }
.orbit-two { inset: 18.5%; width: 63%; height: 63%; border-style: dashed; }
.art-label { display: flex; align-items: center; gap: 9px; position: absolute; color: #cec5bb; background: #2b2e32; border: 1px solid #5a4d42; box-shadow: 0 8px 24px rgb(0 0 0 / 12%); font-size: 10px; padding: 10px 13px; }
.label-top { top: 20%; left: -1%; }
.label-middle { right: -2%; top: 46%; }
.label-middle .icon { width: 15px; height: 15px; color: var(--copper); }
.label-bottom { bottom: 12%; left: 6%; }
.tiny-square { width: 6px; height: 6px; border: 1px solid var(--copper); transform: rotate(45deg); }
.floating-block { animation: float-block 7s ease-in-out infinite; }
.floating-glass { animation: float-glass 7s ease-in-out infinite; }
@keyframes float-block { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes float-glass { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-bottom { position: relative; display: flex; align-items: center; gap: 67px; border-top: 1px solid var(--dark-line); padding-block: 25px 28px; }
.hero-bottom > div { display: flex; align-items: center; gap: 17px; }
.hero-bottom strong { font-family: var(--font-heading); font-size: 35px; font-weight: 400; color: var(--copper); letter-spacing: -1.5px; }
.hero-bottom > div > span { color: #a6a8ac; font-size: 11px; line-height: 1.6; }
.scroll-cue { display: flex; align-items: center; gap: 24px; margin-left: auto; color: #c5c4c2; font-size: 11px; }
.scroll-cue > span { color: var(--copper); font-size: 24px; }
.expertise-strip { background: #eeeae3; border-bottom: 1px solid var(--line); }
.expertise-strip .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 23px; font-size: 10px; letter-spacing: 1.8px; font-weight: 550; }
.strip-plus { font-weight: 400; color: #a27a51; font-size: 18px; line-height: 1; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; position: relative; padding: 33px 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.service-card:hover { background: var(--white); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.service-icon { width: 31px; height: 31px; color: #a3764d; stroke-width: 1.2 !important; }
.card-top > span { font-family: monospace; font-size: 10px; color: #726f6a; }
.service-card h3 { font-size: 20px; letter-spacing: -.65px; margin-bottom: 15px; }
.service-card > p { font-size: 14px; color: var(--muted); margin-bottom: 26px; max-width: 280px; }
.card-tag { font-size: 9px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; color: #746758; margin-top: auto; padding-top: 17px; border-top: 1px solid #e6e1d9; }

/* About / values */
.about-section { background: var(--white); }
.about-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.experience-card { position: relative; background: var(--graphite); color: var(--ivory); padding: 33px 35px 25px; overflow: hidden; }
.experience-card::before { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid rgb(213 168 120 / 16%); border-radius: 50%; top: 90px; left: 100px; box-shadow: 0 0 0 45px rgb(213 168 120 / 3%), 0 0 0 90px rgb(213 168 120 / 2%); }
.experience-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.experience-top > span:last-child { color: #b6ada3; font-size: 8px; letter-spacing: 1.5px; }
.experience-top .brand-mark { transform: skewY(-27deg) scale(.8); transform-origin: left; }
.experience-number { position: relative; font-family: var(--font-heading); font-size: clamp(120px, 12vw, 172px); font-weight: 400; letter-spacing: -12px; line-height: 1.5; color: var(--copper); padding-top: 14px; }
.experience-number > span { font-size: 70px; letter-spacing: -5px; vertical-align: top; display: inline-block; margin-top: 18px; }
.experience-card > p { position: relative; font-family: var(--font-heading); font-size: 23px; line-height: 1.45; letter-spacing: -.7px; padding-bottom: 40px; }
.experience-bottom { display: flex; justify-content: space-between; align-items: center; position: relative; border-top: 1px solid #52504b; padding-top: 20px; color: #b6b3ad; font-size: 11px; }
.experience-bottom .icon { color: var(--copper); width: 19px; height: 19px; }
.about-copy .eyebrow { margin-bottom: 22px; }
.about-copy h2 { font-size: clamp(30px, 2.8vw, 40px); margin-bottom: 25px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.personal-signature { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.initials { border: 1px solid #d8c7b4; color: #8d6946; border-radius: 50%; width: 43px; height: 43px; display: grid; place-items: center; font-size: 12px; font-family: var(--font-heading); }
.personal-signature > div { display: flex; flex-direction: column; }
.personal-signature strong { font-size: 13px; }
.personal-signature div > span { font-size: 11px; color: #777c81; }
.value-section { padding-top: 90px; }
.value-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 35px; gap: 30px; }
.value-heading .eyebrow { color: #8b6b4a; }
.value-heading h3 { font-size: 24px; letter-spacing: -.8px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.values-grid article { padding: 25px 21px 0; border-right: 1px solid var(--line); margin-top: 18px; }
.values-grid article:first-child { padding-left: 0; }
.values-grid article:last-child { border: 0; padding-right: 0; }
.values-grid article > span { font-family: monospace; font-size: 10px; color: #8b6945; }
.values-grid h4 { margin-block: 19px 10px; font-size: 13px; letter-spacing: -.35px; }
.values-grid p { color: var(--muted); font-size: 12px; }

/* Philosophy */
.philosophy-section { background: #2b2e33; border-bottom: 1px solid var(--dark-line); }
.philosophy-inner { display: flex; gap: 35px; position: relative; padding-block: 68px; }
.quote-mark { color: var(--copper); font-family: Georgia, serif; font-size: 115px; line-height: 1; }
.philosophy-inner .eyebrow { color: #aaa197; margin-block: 4px 23px; }
.philosophy-inner h2 { font-size: clamp(28px, 3vw, 41px); line-height: 1.4; letter-spacing: -1.5px; }
.philosophy-inner h2 span { color: var(--copper); }
.philosophy-inner p:last-child { margin-top: 22px; color: #aeb0b2; font-size: 13px; }
.philosophy-star { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: sans-serif; font-size: 170px; line-height: 1; font-weight: 400; color: var(--copper); opacity: .7; }

/* Technology */
.technology-section .section-heading > p { color: #a5a7aa; }
.foundation-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--dark-line); }
.foundation-grid article { padding: 31px 38px 34px; border-right: 1px solid var(--dark-line); }
.foundation-grid article:first-child { padding-left: 0; }
.foundation-grid article:last-child { padding-right: 0; border: 0; }
.foundation-number { font-size: 10px; color: var(--copper); letter-spacing: 2px; font-family: monospace; }
.foundation-grid h3 { font-size: 22px; letter-spacing: -.6px; margin-block: 25px 15px; }
.foundation-grid p { color: #a5a7aa; font-size: 13px; max-width: 295px; }
.benefit-note { display: flex; align-items: center; gap: 16px; padding: 20px 25px; background: rgb(213 168 120 / 6%); border: 1px solid rgb(213 168 120 / 18%); margin-top: 25px; }
.benefit-note .icon { color: var(--copper); width: 19px; height: 19px; }
.benefit-note p { font-size: 12px; color: #b5b1ac; }
.benefit-note strong { color: #d9c1a8; font-weight: 500; }
.modules-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-block: 69px 27px; }
.modules-header h3 { font-size: 22px; letter-spacing: -.7px; }
.modules-header > span { color: #979b9f; font-size: 9px; letter-spacing: 1.5px; }
.modules-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.module-card { background: #292d34; border: 1px solid #3b3f45; padding: 23px 16px 19px; transition: border-color .2s, transform .2s; }
.module-card:hover { border-color: #8c7257; transform: translateY(-3px); }
.module-card .icon { color: var(--copper); width: 23px; height: 23px; margin-bottom: 25px; }
.module-card h4 { font-size: 12px; letter-spacing: -.3px; margin-bottom: 10px; }
.module-card p { color: #9fa3a8; font-size: 11px; line-height: 1.7; }
.stack-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; margin-top: 95px; align-items: start; }
.stack-intro .eyebrow { color: var(--copper); font-size: 9px; }
.stack-intro h3 { font-size: 31px; letter-spacing: -1.1px; margin-block: 22px 20px; }
.stack-intro > p:last-of-type { font-size: 14px; color: #a5a7aa; max-width: 330px; }
.stack-language { border-top: 1px solid var(--dark-line); margin-top: 32px; padding-top: 25px; }
.stack-language > span { display: block; font-size: 8px; letter-spacing: 1.4px; color: #8e9298; margin-bottom: 15px; }
.stack-language strong { display: flex; align-items: center; gap: 10px; font-size: 17px; font-family: var(--font-heading); font-weight: 400; }
.ts-icon { display: grid; align-items: end; justify-content: end; padding: 2px 3px; width: 28px; height: 28px; border: 1px solid #a68764; color: var(--copper); font-family: sans-serif; font-weight: 600; font-size: 16px; line-height: 1; }
.stack-language p { color: #9fa3a8; font-size: 12px; margin-top: 14px; max-width: 330px; }
.stack-browser { min-width: 0; border: 1px solid #45464a; background: #202329; }
.browser-topbar { height: 43px; background: #2c3037; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: 18px; border-bottom: 1px solid #45464a; }
.browser-topbar > span { color: #a1a1a4; font-family: monospace; font-size: 9px; }
.browser-topbar > .icon { color: #81858a; width: 15px; height: 15px; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 5px; height: 5px; border-radius: 50%; background: #7a6d5e; }
.browser-dots span:nth-child(2) { background: #66635f; }
.browser-dots span:nth-child(3) { background: #51575a; }
.stack-tabs { display: flex; border-bottom: 1px solid var(--dark-line); }
.stack-tabs button { flex: 1; background: transparent; border: none; border-right: 1px solid var(--dark-line); padding: 16px 15px; font-size: 11px; text-align: left; color: #90969d; position: relative; }
.stack-tabs button:last-child { border-right: none; }
.stack-tabs button > span { float: right; }
.stack-tabs button[aria-selected='true'] { background: #292b2f; color: var(--copper); }
.stack-tabs button[aria-selected='true']::after { content: ''; position: absolute; height: 2px; background: var(--copper); bottom: -1px; inset-inline: 0; }
.stack-tabs button:hover { color: var(--copper); }
.stack-panel { padding: 25px; min-height: 343px; }
.code-comment { font-family: monospace; font-size: 10px; color: #a49c91; }
.tech-list { margin-block: 20px 26px; }
.tech-list > div { display: grid; grid-template-columns: 92px 1fr; gap: 15px; padding-block: 12px; border-bottom: 1px solid #34383e; }
.tech-list dt { color: #dfc1a0; font-family: monospace; font-size: 12px; }
.tech-list dd { margin: 0; color: #b4b6ba; font-size: 11px; }
.panel-footer { display: flex; align-items: center; gap: 10px; font-family: monospace; font-size: 9px; color: #9e9f9f; }
.panel-footer .status-dot { width: 4px; height: 4px; }
.architecture-description { padding-bottom: 24px; }
.architecture-description h4 { color: #dfc1a0; font-family: monospace; font-size: 12px; margin-block: 20px 9px; }
.architecture-description p { color: #b4b6ba; font-size: 12px; }
.architecture-description p + p { margin-top: 8px; }

/* AI — a deliberately conceptual, not simulated, interface */
.ai-section { background: #eeeae3; }
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.ai-copy .eyebrow { font-size: 10px; margin-bottom: 22px; }
.ai-copy h2 { margin-bottom: 24px; }
.ai-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); max-width: 445px; }
.check-list { list-style: none; padding: 0; margin: 27px 0 0; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; }
.check-list .icon { width: 16px; height: 16px; margin-top: 2px; color: #9c7045; }
.ai-visual { padding: 28px; border: 1px solid #d4c9ba; background: linear-gradient(135deg, #f7f5f1, #e8e2d9); position: relative; overflow: hidden; }
.ai-visual-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 25px; border-bottom: 1px solid #d9d2c8; }
.ai-visual-top > span { font-family: monospace; font-size: 9px; letter-spacing: 1px; color: #7c7060; }
.ai-visual-top .icon { color: #a67c52; width: 19px; height: 19px; }
.ai-source-row { display: flex; justify-content: space-between; gap: 9px; margin-top: 33px; }
.ai-source-row > span { display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #d5cabb; background: rgb(255 255 255 / 40%); padding: 10px 9px; font-size: 9px; flex: 1; }
.ai-source-row .icon { width: 14px; height: 14px; color: #95704c; }
.ai-connector { height: 65px; display: flex; justify-content: space-around; margin-inline: 16%; position: relative; }
.ai-connector > span { width: 1px; height: 33px; background: #c7af91; }
.ai-connector > span:nth-child(2) { height: 65px; }
.ai-connector::after { content: ''; position: absolute; height: 33px; border: 1px solid #c7af91; border-top: 0; inset: 0 16% auto; }
.ai-core { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 166px; }
.ai-core-rings { position: absolute; width: 165px; height: 165px; border: 1px solid #c9b59c; border-radius: 50%; box-shadow: 0 0 0 15px rgb(213 168 120 / 8%), 0 0 0 30px rgb(213 168 120 / 5%); }
.ai-core > .icon { color: #a17347; width: 38px; height: 38px; }
.ai-core > span { position: relative; font-family: var(--font-heading); font-size: 10px; }
.ai-output-line { height: 46px; width: 1px; background: #c7af91; margin-inline: auto; }
.ai-output { display: flex; align-items: center; gap: 13px; padding: 17px; background: var(--graphite); color: var(--ivory); }
.ai-output > div { display: flex; flex-direction: column; gap: 4px; }
.ai-output strong { font-size: 11px; font-weight: 500; }
.ai-output div > span { font-size: 9px; color: #a4a6a9; }
.ai-output > .icon { margin-left: auto; color: var(--copper); width: 17px; height: 17px; }
.ai-visual-caption { text-align: center; color: #8c7d6e; font-family: monospace; font-size: 9px; margin-top: 23px; }

/* Process */
.process-section { background: var(--ivory); }
.process-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px; margin-bottom: 58px; }
.process-overview article { border-top: 1px solid #bda080; padding-top: 20px; }
.process-overview article > span { color: #886a49; font-size: 9px; font-weight: 600; letter-spacing: 1.6px; }
.process-overview h3 { font-size: 20px; letter-spacing: -.6px; margin-block: 18px 12px; }
.process-overview p { font-size: 13px; color: var(--muted); max-width: 300px; }
.process-details { border-top: 1px solid var(--line); }
.process-item { border-bottom: 1px solid var(--line); }
.process-item summary { display: flex; align-items: center; gap: 28px; list-style: none; cursor: pointer; padding: 25px 10px 25px 0; font-family: var(--font-heading); font-size: 17px; letter-spacing: -.4px; }
.process-item summary::-webkit-details-marker { display: none; }
.process-item summary:hover { color: #956b41; }
.detail-number { color: #9b7955; font-family: monospace; font-size: 11px; letter-spacing: 0; }
.details-toggle { width: 24px; height: 24px; position: relative; margin-left: auto; flex-shrink: 0; }
.details-toggle::before, .details-toggle::after { content: ''; position: absolute; background: #8d7359; width: 12px; height: 1px; top: 11px; left: 6px; }
.details-toggle::after { transform: rotate(90deg); transition: transform .2s; }
.process-item[open] .details-toggle::after { transform: rotate(0); }
.details-content { max-width: 970px; padding: 0 50px 32px 46px; color: var(--muted); font-size: 14px; }
.details-content strong { color: var(--slate); font-weight: 600; }
.detail-list { padding-left: 20px; margin-block: 18px; }
.detail-list li { margin-bottom: 7px; padding-left: 5px; }
.detail-list li::marker { color: #9c774f; }
.workflow { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin-block: 22px 30px; }
.workflow li { padding: 7px 10px; background: #ece6dc; color: #74624f; font-size: 10px; }
.workflow li:not(:last-child)::after { content: ' →'; padding-left: 10px; color: #9c774f; }
.status-list { margin-block: 20px 0; }
.status-list > div { display: grid; grid-template-columns: 185px 1fr; gap: 25px; border-top: 1px solid #e2ded7; padding-block: 12px; font-size: 13px; }
.status-list dt { font-weight: 600; color: var(--slate); }
.status-list dd { margin: 0; }
.table-scroll { overflow-x: auto; margin-block: 22px 15px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
caption { text-align: left; font-size: 11px; margin-bottom: 12px; color: #8b7156; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 16px; }
thead { background: #ece7df; color: var(--slate); }
thead th { font-weight: 600; white-space: nowrap; }
tbody th { width: 80px; }
td:last-child { white-space: nowrap; }
.size-badge { border: 1px solid #cebcaa; color: #88633f; display: inline-block; min-width: 36px; padding: 3px 5px; text-align: center; font-family: monospace; font-size: 11px; }
.small-note { font-size: 11px; color: #716e69; }
.ownership-note { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 35px; color: #79746b; }
.ownership-note .icon { width: 16px; height: 16px; color: #9a7752; }
.ownership-note p { font-size: 12px; }
.ownership-note strong { color: #5f5d58; font-weight: 500; }

/* Contact / footer */
.contact-section { padding-top: 55px; }
.contact-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-bottom: 31px; border-bottom: 1px solid var(--dark-line); }
.contact-top .eyebrow { font-size: 9px; color: #c2b4a5; letter-spacing: 1.5px; }
.contact-index { font-size: 9px; letter-spacing: 1px; color: #8e9298; white-space: nowrap; }
.contact-main { display: flex; align-items: center; justify-content: space-between; padding-block: 65px; gap: 40px; }
.contact-main h2 { font-size: clamp(38px, 4.8vw, 66px); letter-spacing: -2.8px; line-height: 1.2; }
.contact-main h2 span { color: var(--copper); }
.contact-main p { color: #a6a9ad; font-size: 14px; margin-block: 25px 29px; }
.contact-circle { flex-shrink: 0; width: 145px; height: 145px; border: 1px solid #70604e; border-radius: 50%; display: grid; place-items: center; margin-right: 30px; transition: background .25s, transform .25s; }
.contact-circle .icon { color: var(--copper); width: 50px; height: 50px; stroke-width: 1; }
.contact-circle:hover { background: rgb(213 168 120 / 7%); transform: rotate(5deg); }
.contact-info { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 29px 40px; border-top: 1px solid var(--dark-line); }
.contact-person { display: flex; flex-direction: column; gap: 5px; }
.contact-person strong { font-family: var(--font-heading); font-weight: 400; font-size: 17px; }
.contact-person > span { color: #91969c; font-size: 11px; }
.contact-links { display: flex; align-items: center; gap: 30px; }
.contact-links a { display: flex; align-items: center; gap: 9px; color: #c5beb4; font-size: 13px; transition: color .2s; }
.contact-links a:hover { color: var(--copper); }
.contact-links .icon { width: 16px; height: 16px; }
.email-line { display: flex; align-items: center; gap: 9px; }
.copy-email { border: 1px solid #514c46; background: transparent; color: #ae9272; display: grid; place-items: center; padding: 7px; }
.copy-email:hover { border-color: var(--copper); }
.copy-email .icon { width: 13px; height: 13px; }
.site-footer { background: #1e2228; border-top: 1px solid #30343a; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 28px; }
.footer-inner .brand { font-size: 20px; gap: 6px; }
.footer-inner .brand-emblem { width: 36px; height: 36px; }
.footer-inner p { font-size: 10px; color: #a4a5a7; }
.footer-inner > span, .back-top { color: #858a90; font-size: 10px; }
.back-top:hover { color: var(--copper); }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translate(-50%, 16px); opacity: 0; visibility: hidden; background: var(--ivory); color: var(--graphite); border: 1px solid #ba9872; padding: 12px 20px; box-shadow: 0 6px 30px rgb(0 0 0 / 15%); font-size: 13px; transition: opacity .2s, transform .2s, visibility .2s; max-width: calc(100% - 40px); width: max-content; text-align: center; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Content remains visible unless JavaScript explicitly enables motion. */
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
  .motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1600px) {
  .hero-inner { padding-block: 105px 95px; }
}
@media (max-width: 1199px) {
  .container { width: calc(100% - 80px); }
  .main-navigation { gap: 21px; }
  .main-navigation > a { font-size: 11px; }
  .brand { font-size: 23px; }
  .hero-inner { gap: 10px; padding-top: 66px; }
  h1 { font-size: 58px; letter-spacing: -3px; }
  .hero-actions { align-items: flex-start; gap: 20px; flex-direction: column; }
  .hero-signature { margin-top: 30px; }
  .hero-art { margin-top: -30px; }
  .label-middle { right: -3%; }
  .art-label { font-size: 9px; padding: 9px 10px; }

  .hero-description { max-width: 410px; font-size: 15px; }
  .about-layout { gap: 60px; }
  .service-card { padding: 28px 25px; }
  .service-card h3 { font-size: 19px; }
  .stack-section { gap: 50px; }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .module-card { padding: 23px; }
  .module-card .icon { margin-bottom: 18px; }
  .module-card p { font-size: 12px; }
  .ai-layout { gap: 50px; }
  .ai-visual { padding: 22px; }
  .ai-source-row > span { gap: 5px; padding-inline: 7px; font-size: 8px; }
  .contact-links { gap: 20px; }
}
@media (max-width: 959px) {
  .container { width: calc(100% - 56px); }
  .section { padding-block: 85px; }
  .site-header { height: 76px; }
  html { scroll-padding-top: 80px; }
  .main-navigation { gap: 17px; }
  .main-navigation > a { font-size: 10px; }
  .main-navigation .nav-contact { margin-left: 0; padding: 10px 12px; gap: 12px; }
  .header-inner { gap: 20px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-emblem { width: 38px; height: 38px; }
  .brand-mark { transform: skewY(-27deg) scale(.85); transform-origin: left; }
  .hero-inner { padding-top: 60px; padding-bottom: 55px; }
  h1 { font-size: 49px; letter-spacing: -2.7px; }
  .hero .eyebrow { font-size: 8px; }
  .hero-description { font-size: 14px; }
  .hero-art { align-self: center; margin-top: -50px; }
  .art-label { font-size: 8px; gap: 7px; padding: 7px 8px; }

  .art-topline, .art-bottomline { font-size: 6px; letter-spacing: 1px; }
  .label-middle { right: -4%; }

  .hero-signature { font-size: 8px; }
  .expertise-strip .container { font-size: 8px; letter-spacing: 1.2px; }
  .section-heading { gap: 30px; }
  .section-heading > p { max-width: 260px; font-size: 13px; }
  .service-card { padding: 25px 20px; }
  .service-card h3 { font-size: 16px; }
  .service-card > p { font-size: 12px; }
  .card-tag { font-size: 8px; letter-spacing: .6px; }
  .about-layout { gap: 40px; }
  .experience-card { padding: 27px; }
  .experience-top > span:last-child { font-size: 6px; }
  .experience-number { font-size: 120px; }
  .experience-number > span { font-size: 54px; }
  .experience-card > p { font-size: 20px; }
  .about-copy h2 { font-size: 28px; }
  .about-copy > p:not(.eyebrow) { font-size: 12px; }
  .about-copy .eyebrow { font-size: 9px; }
  .personal-signature div > span { font-size: 9px; }
  .values-grid article { padding-inline: 13px; }
  .values-grid h4 { font-size: 11px; }
  .values-grid p { font-size: 11px; }
  .philosophy-star { font-size: 120px; right: 0; }
  .philosophy-inner { gap: 20px; }
  .philosophy-inner h2 { font-size: 30px; }
  .philosophy-inner p:last-child { max-width: 520px; font-size: 12px; }
  .foundation-grid article { padding-inline: 25px; }
  .foundation-grid h3 { font-size: 19px; }
  .foundation-grid p { font-size: 12px; }
  .stack-section { gap: 35px; grid-template-columns: .85fr 1.15fr; }
  .stack-intro h3 { font-size: 26px; }
  .stack-intro .eyebrow { font-size: 8px; }
  .stack-panel { padding: 20px; }
  .stack-tabs button { font-size: 10px; padding-inline: 12px; }
  .tech-list > div { grid-template-columns: 75px 1fr; gap: 10px; }
  .tech-list dt { font-size: 11px; }
  .ai-layout { gap: 30px; }
  .ai-copy .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .ai-copy > p:not(.eyebrow) { font-size: 13px; }
  .check-list li { font-size: 11px; }
  .ai-visual { padding: 19px; }
  .ai-visual-top > span { font-size: 7px; }
  .ai-source-row { gap: 6px; }
  .ai-source-row > span { flex-direction: column; }
  .ai-output { padding: 14px 11px; gap: 9px; }
  .ai-output strong { font-size: 9px; }
  .ai-output div > span { font-size: 8px; }
  .ai-visual-caption { font-size: 8px; }
  .process-overview { gap: 25px; }
  .process-overview h3 { font-size: 17px; }
  .process-overview p { font-size: 12px; }
  .contact-info { align-items: flex-start; }
  .contact-links { flex-direction: column; align-items: flex-start; gap: 10px; }
  .contact-main h2 { font-size: 47px; }
  .contact-circle { width: 110px; height: 110px; margin-right: 5px; }
  .contact-circle .icon { width: 40px; height: 40px; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { display: none; }
}
@media (max-width: 759px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 68px; }
  .site-header { height: 72px; }
  html { scroll-padding-top: 76px; }
  .brand { font-size: 23px; }
  .menu-toggle:not([hidden]) { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 6px; width: 44px; height: 44px; border: 1px solid #5a5146; background: transparent; position: relative; z-index: 2; }
  .menu-toggle > span { width: 18px; height: 1px; background: var(--copper); transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] > span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-navigation { position: fixed; inset: 72px 0 0; background: var(--graphite); padding: 35px 25px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; overflow-y: auto; }
  .main-navigation.is-open { visibility: visible; opacity: 1; }
  .main-navigation > a { font-family: var(--font-heading); font-size: 22px; padding-block: 19px; border-bottom: 1px solid var(--dark-line); }
  .main-navigation .nav-contact { margin-top: 30px; padding: 16px 20px; justify-content: space-between; font-size: 18px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 52px; padding-bottom: 30px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 25px; letter-spacing: 1.5px; }
  h1 { font-size: clamp(45px, 8.5vw, 64px); line-height: 1.15; letter-spacing: -2.8px; }
  .hero-description { max-width: 470px; font-size: 15px; margin-top: 22px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 26px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-signature { margin-top: 25px; font-size: 9px; }
  .hero-art { width: min(420px, 95%); justify-self: center; margin-top: 18px; margin-bottom: 15px; }
  .art-topline, .art-bottomline { font-size: 7px; }
  .art-label { font-size: 9px; padding: 8px 10px; }
  .label-top { left: 0; }
  .label-middle { right: -2%; }

  .hero-bottom { gap: 35px; padding-block: 22px; }
  .hero-bottom strong { font-size: 30px; }
  .hero-bottom > div { gap: 12px; }
  .hero-bottom > div > span { font-size: 9px; }
  .scroll-cue { font-size: 0; gap: 0; }
  .scroll-cue > span { font-size: 22px; }
  .expertise-strip .container { flex-wrap: wrap; justify-content: center; column-gap: 14px; row-gap: 7px; padding-block: 19px; font-size: 8px; }
  .expertise-strip .strip-plus:nth-child(4) { display: none; }
  .expertise-strip .container > span:nth-child(5)::before { content: ''; display: block; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 35px; }
  .section-heading > p { max-width: 450px; font-size: 14px; }
  .section-heading .eyebrow { margin-bottom: 19px; }
  h2 { font-size: clamp(28px, 5.6vw, 38px); letter-spacing: -1.3px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 25px 20px; }
  .service-card h3 { font-size: 18px; }
  .service-card > p { font-size: 13px; }
  .card-top { margin-bottom: 25px; }
  .card-tag { font-size: 8px; line-height: 1.6; }
  .about-layout { grid-template-columns: 1fr; gap: 38px; }
  .experience-card { width: 100%; padding: 27px; }
  .experience-top > span:last-child { font-size: 8px; }
  .experience-number { font-size: 130px; line-height: 1.3; }
  .experience-card > p { font-size: 23px; padding-bottom: 25px; }
  .experience-card::before { top: 60px; left: 45%; }
  .experience-bottom { font-size: 12px; }
  .about-copy .eyebrow { font-size: 10px; }
  .about-copy h2 { font-size: 31px; }
  .about-copy > p:not(.eyebrow) { font-size: 14px; }
  .personal-signature div > span { font-size: 11px; }
  .value-section { padding-top: 60px; }
  .value-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .value-heading h3 { font-size: 25px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid article { padding: 22px 20px 10px 0; margin: 0; border-bottom: 1px solid var(--line); border-right: 0; }
  .values-grid article:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .values-grid article:last-child { padding: 22px 20px 0 0; }
  .values-grid h4 { font-size: 13px; margin-block: 12px 8px; }
  .values-grid p { font-size: 12px; }
  .philosophy-inner { gap: 18px; padding-block: 50px; }
  .quote-mark { font-size: 76px; }
  .philosophy-inner h2 { font-size: clamp(23px, 4.7vw, 32px); letter-spacing: -1px; }
  .philosophy-inner .eyebrow { font-size: 9px; margin-bottom: 17px; }
  .philosophy-inner p:last-child { font-size: 12px; }
  .philosophy-star { display: none; }
  .foundation-grid { grid-template-columns: 1fr; }
  .foundation-grid article, .foundation-grid article:first-child, .foundation-grid article:last-child { padding: 25px 0; border-right: 0; }
  .foundation-grid article + article { border-top: 1px solid var(--dark-line); }
  .foundation-grid h3 { font-size: 21px; margin-block: 15px 13px; }
  .foundation-grid h3 br { display: none; }
  .foundation-grid p { max-width: 100%; font-size: 13px; }
  .benefit-note { padding: 18px; align-items: flex-start; }
  .benefit-note .icon { margin-top: 2px; }
  .benefit-note strong { display: block; }
  .modules-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 45px; }
  .modules-header h3 { font-size: 21px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module-card { padding: 23px 20px; }
  .module-card h4 { font-size: 13px; }
  .stack-section { grid-template-columns: 1fr; gap: 32px; margin-top: 60px; }
  .stack-intro .eyebrow { font-size: 9px; }
  .stack-intro h3 { font-size: 30px; }
  .stack-intro > p:last-of-type, .stack-language p { max-width: 100%; }
  .stack-language { margin-top: 25px; }
  .stack-tabs button { font-size: 11px; padding: 16px; }
  .stack-panel { min-height: 335px; padding: 23px; }
  .tech-list > div { grid-template-columns: 85px 1fr; gap: 15px; }
  .tech-list dd { font-size: 12px; }
  .ai-layout { grid-template-columns: 1fr; gap: 40px; }
  .ai-copy .eyebrow { font-size: 9px; }
  .ai-copy > p:not(.eyebrow) { max-width: 100%; font-size: 14px; }
  .check-list li { font-size: 13px; }
  .ai-visual { padding: 25px; max-width: 480px; width: 100%; justify-self: center; }
  .ai-visual-top > span { font-size: 8px; }
  .ai-source-row > span { flex-direction: row; font-size: 9px; }
  .ai-output { padding: 17px 13px; }
  .ai-output strong { font-size: 10px; }
  .ai-output div > span { font-size: 9px; }
  .ai-visual-caption { font-size: 9px; }
  .process-overview { grid-template-columns: 1fr; gap: 25px; margin-bottom: 40px; }
  .process-overview h3 { font-size: 21px; margin-block: 11px 9px; }
  .process-overview p { max-width: 100%; font-size: 13px; }
  .process-item summary { gap: 15px; padding-block: 23px; font-size: 14px; letter-spacing: -.3px; }
  .detail-number { font-size: 10px; }
  .details-content { padding: 0 0 25px 30px; font-size: 13px; }
  .status-list > div { grid-template-columns: 1fr; gap: 3px; font-size: 12px; }
  th, td { padding: 12px 10px; }
  table { min-width: 460px; }
  .ownership-note { align-items: flex-start; justify-content: flex-start; }
  .ownership-note .icon { margin-top: 2px; }
  .ownership-note p { font-size: 11px; }
  .ownership-note strong { display: block; }
  .contact-section { padding-top: 37px; }
  .contact-top .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .contact-index { display: none; }
  .contact-main { padding-block: 43px; }
  .contact-main h2 { font-size: clamp(31px, 7vw, 49px); letter-spacing: -1.8px; }
  .contact-main p { font-size: 13px; }
  .contact-circle { display: none; }
  .contact-info { flex-direction: column; gap: 22px; padding-block: 27px 33px; }
  .contact-links { gap: 14px; }
  .contact-person > span { font-size: 10px; }
  .footer-inner { gap: 20px; padding-block: 24px; }
  .footer-inner .brand { width: 100%; }
  .footer-inner > span, .back-top { font-size: 9px; }
  .back-top { margin-left: auto; }
}
@media (max-width: 389px) {
  .container { width: calc(100% - 32px); }
  h1 { font-size: 41px; letter-spacing: -2.5px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-bottom { gap: 18px; }
  .hero-bottom strong { font-size: 26px; }
  .hero-bottom > div { gap: 9px; }
  .hero-bottom > div > span { font-size: 8px; }
  .service-card { padding: 21px 15px; }
  .service-card h3 { font-size: 16px; }
  .service-card > p { font-size: 12px; }
  .card-tag { font-size: 7px; letter-spacing: .4px; }
  .ai-visual { padding: 20px 14px; }
  .ai-source-row > span { font-size: 8px; }
  .ai-output strong { font-size: 9px; }
  .stack-tabs button { padding: 15px 10px; font-size: 10px; }
  .stack-panel { padding: 19px; }
  .tech-list > div { grid-template-columns: 70px 1fr; gap: 10px; }
  .code-comment { font-size: 9px; }
  .contact-main h2 { font-size: 30px; letter-spacing: -1.4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .hero-art, .scroll-cue, .hero-actions, .contact-circle, .copy-email, .back-top, .toast, .ai-visual { display: none !important; }
  body, .dark-section, .philosophy-section, .experience-card, .site-footer, .ai-section { color: #23272e !important; background: white !important; }
  .container { width: 100%; }
  .section { padding-block: 30px; }
  .hero-inner, .about-layout, .ai-layout, .stack-section { display: block; padding-block: 20px; }
  .hero-description, .hero-bottom span, .dark-section p, .contact-main p, .contact-links a, .contact-person span { color: #484f58 !important; }
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
  .experience-card { border: 1px solid #ddd; margin-bottom: 25px; }
  .experience-number { font-size: 80px; }
  .experience-card::before { display: none; }
  .foundation-grid h3, .module-card h4, .stack-intro h3 { color: #23272e; }
  .stack-browser, .browser-topbar, .module-card { background: white; color: #23272e; }
  .stack-panel[hidden] { display: block !important; }
  .stack-panel { min-height: 0; }
  .tech-list dt, .architecture-description h4 { color: #23272e; }
  .tech-list dd, .architecture-description p { color: #484f58; }
  .details-content { display: block !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .footer-inner { padding-block: 20px; }
}
