@font-face{font-family:Golos Text;src:url(assets/brand/GolosText.ttf) format("truetype");font-weight:400 900;font-display:swap}
@font-face{font-family:IBM Plex Mono;src:url(assets/brand/IBMPlexMono-Regular.ttf) format("truetype");font-display:swap}
/* Terracotta accents and the dark-green surfaces from the original DALVIK palette. */
:root, :root[data-theme=dark] {
  --bg: #111a17;
  --panel: #19251f;
  --surface: #15201b;
  --soft: #25342b;
  --line: #3b4d42;
  --white: #f5f0e8;
  --muted: #b8c5bc;
  --mint: #ff8668;
  --button-bg: #ff8668;
  --button-text: #211a18;
  --brief-bg: #ff9c84;
  --brief-text: #211a18;
}
:root[data-theme=light] {
  --bg: #f7f3eb;
  --panel: #fffaf3;
  --surface: #eee9df;
  --soft: #e6dfd3;
  --line: #c8c1b4;
  --white: #172728;
  --muted: #46544c;
  --mint: #ac3824;
  --button-bg: #aa3824;
  --button-text: #fff;
  --brief-bg: #efdcd3;
  --brief-text: #282424;
}
body,button,input,select,textarea{font-family:"Golos Text",sans-serif}
.board-num,.scene-index,.eyebrow,.project-meta,.proof-example-head,.board-head,.project-tags{font-family:"IBM Plex Mono",monospace}
.brand-lockup,.brand-lockup img{display:block;width:clamp(95px,10vw,141px);height:auto}
.brand-lockup .on-light,:root[data-theme=light] .brand-lockup .on-dark{display:none}
:root[data-theme=light] .brand-lockup .on-light{display:block}
.hero h1{font-size:clamp(42px,5.3vw,84px);line-height:1.03;letter-spacing:-.055em}
.hero-brief{display:inline-block;margin-top:1.4rem}
.hero-actions{flex-wrap:wrap}.product-alt{border:1px solid var(--line);color:var(--white)}
#projects .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.project[id],#team-work{scroll-margin-top:6rem}
.module-links{list-style:none;padding:0;margin:1rem 0}
.module-links li,.handoff dt{border-top:1px solid var(--line);padding:.65rem 0}
.module-links a{font-weight:600;color:var(--mint)}.module-links small{display:block;color:var(--muted);margin-top:.3rem}
#cnc .project-meta{color:var(--white)}#cnc .scene-index{border-left:3px solid var(--mint)}
#team-work article{display:flow-root}#team-work .project-visual{float:left;width:51%;margin:0 5% 1.3rem 0}
.handoff{overflow:hidden}.handoff dt{font-weight:600}.handoff dd{margin:0 0 .7rem;color:var(--muted)}
@media(max-width:760px){#projects .project-grid{grid-template-columns:1fr}#team-work .project-visual{float:none;width:100%}.hero-actions{gap:.65rem}.hero h1{font-size:clamp(36px,8.4vw,58px)}}
@media print{.brand-lockup img{filter:grayscale(1)}}

.project-scene .photo-signal,.project-scene .processor-online{stroke:#ff8668}
.project-scene .photo-signal:not(.signal-halo){stroke:#ffbaa5}

/* Customer homepage */
#main section[id], #main article[id], #main details[id] { scroll-margin-top: 5rem; }
#home { align-items: center; gap: clamp(2rem,6vw,7rem); min-height: 0; padding-block: clamp(3rem,6vw,6rem); }
#home h1 { margin: 0; }
#home .hero-description { max-width: 35rem; margin: 1.35rem 0 0; font-size: clamp(1rem,1.25vw,1.2rem); line-height: 1.55; }
#home .hero-actions { gap: 1rem 1.5rem; margin-top: 1.5rem; }
#home .text-link { font-size: .96rem; }
#home .system-board { width: 100%; padding: clamp(1rem,3vw,2.75rem); }
#home .board-orbit { margin: 0; max-width: none; }
#projects, .custom-work, #contacts { padding-block: clamp(2.5rem,5vw,5.5rem); }
#projects h2, .custom-work h2, #contacts h2 { font-size: clamp(2rem,3.5vw,3.6rem); line-height: 1.07; letter-spacing: -.045em; margin: 0; }
#projects .project-grid { margin-top: clamp(1.5rem,2.8vw,2.75rem); gap: 2rem clamp(1.4rem,3vw,3.25rem); align-items: start; }
.solution, .custom-work > *, .contact-options { min-width: 0; }
.solution { display: flex; flex-direction: column; align-items: flex-start; }
.solution-head { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.solution-head h3, .founder-note h3 { font-size: clamp(1.35rem,1.9vw,1.9rem); line-height: 1.2; margin: 0; letter-spacing: -.035em; }
.solution-head .status { font-size: .8rem; padding: .25rem .5rem; }
.solution > p, .custom-work p, .solution .more p, #contacts .contact-lead p { font-size: 1rem; line-height: 1.55; }
.solution p, .custom-work p { color: var(--muted); margin: .8rem 0 1rem; max-width: 62ch; }
.solution > .button { margin: 0 0 1.25rem; }
.solution .scene-player, .solution > .project-scene, .solution .more { width: 100%; }
.solution .project-scene, .founder-note .project-scene { margin: 0; }
.scene-controls { margin-bottom: 0; border-bottom: 0; padding-block: 0; }
.more { border-top: 1px solid var(--line); }
.more > summary { padding: .85rem 0; font-size: .95rem; font-weight: 550; cursor: pointer; }
.more > summary::marker { color: var(--mint); }
.more a { color: var(--mint); text-decoration: underline; text-underline-offset: .2em; }
.detail-links { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.custom-work, .contact-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: clamp(2rem,7vw,7rem); align-items: start; }
.founder-note { padding-left: 1.5rem; border-left: 2px solid var(--mint); }
.contact-options { display: grid; justify-items: start; gap: .85rem; }
.contact-options .email { color: inherit; font-size: 1rem; text-decoration: underline; text-underline-offset: .2em; }
.contact-options .more { width: 100%; border-color: currentColor; margin-top: .3rem; }
.contact-options summary::marker { color: inherit; }
#contacts .contact-lead p { color: var(--brief-text); max-width: 46ch; margin: 1rem 0 0; }
#brief .form-caption { color: var(--brief-text); }
#contacts :focus-visible { outline-offset: 2px; }
@media (max-width: 760px) {
  #home { display: block; padding-block: 2rem; }
  #home .system-board { margin-top: 1.35rem; padding: .4rem; }
  #home .board-orbit svg { height: 7.25rem; }
  #home .hero-actions { margin-top: 1rem; }
  .custom-work, .contact-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .founder-note { padding-left: 1rem; }
  #projects .project-grid { row-gap: 2rem; }
}
