:root {
  --bg: #07090b;
  --bg-soft: #0c1013;
  --panel: rgba(15, 20, 24, .78);
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --text: #f4f7f6;
  --muted: #9ca8a5;
  --green: #20bf26;
  --cyan: #22a4cd;
  --magenta: #c41eaf;
  --content: min(1200px, calc(100vw - 48px));
  --radius: 2px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
::selection { background: var(--green); color: #021303; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 12px 16px; background: #fff; color: #000; }
.page-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}
.cursor-glow {
  position: fixed;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: .11;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--cyan), transparent 67%);
  filter: blur(18px);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--content);
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 9px 10px 9px 14px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(8, 11, 13, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
  transition: border-color .3s ease, background .3s ease, top .3s ease;
}
.site-header.scrolled { top: 8px; border-color: rgba(255,255,255,.2); background: rgba(8, 11, 13, .92); }
.brand-frame { position: relative; isolation: isolate; display: flex; align-items: center; width: 226px; min-height: 48px; }
.brand-frame::before { content: ""; position: absolute; z-index: -1; inset: -9px -14px; background: radial-gradient(ellipse, rgba(255,255,255,.94), rgba(255,255,255,.5) 58%, transparent 76%); filter: blur(7px); }
.brand-frame img { width: 100%; height: auto; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); }
.main-nav a { position: relative; color: #bec7c5; font-size: .76rem; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; transition: color .25s ease; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--green); transition: right .3s var(--ease); }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; padding: 0 17px; background: #fff; color: #090b0d; font-size: .77rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease, color .25s ease; }
.header-cta:hover { background: var(--green); color: #041505; }
.menu-toggle { display: none; border: 0; background: transparent; color: white; }

.section { width: var(--content); margin: 0 auto; padding: 132px 0; }
.hero { min-height: 100svh; padding-top: 156px; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(390px, .87fr); align-items: center; gap: clamp(52px, 7vw, 110px); position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: 14%; top: 14%; background: var(--green); opacity: .06; filter: blur(90px); border-radius: 50%; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; color: #b4bfbc; font: 700 .73rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(32,191,38,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(32,191,38,0); } 100% { box-shadow: 0 0 0 0 rgba(32,191,38,0); } }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { margin: 0; font-weight: 820; letter-spacing: -.055em; line-height: .97; }
h1 { max-width: 830px; font-size: clamp(3.2rem, 6.8vw, 6.55rem); }
h2 { font-size: clamp(2.65rem, 5.1vw, 5rem); }
h2 span { color: var(--muted); }
.text-gradient { color: transparent; background: linear-gradient(100deg, var(--green) 3%, var(--cyan) 53%, var(--magenta)); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 720px; margin: 32px 0 0; color: #b5bfbd; font-size: clamp(1.05rem, 1.55vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 54px; padding: 0 22px; border: 1px solid transparent; display: inline-flex; justify-content: center; align-items: center; gap: 30px; cursor: pointer; font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--green); color: #041404; }
.button-primary:hover { background: #36dc3c; }
.button-ghost { border-color: var(--line-strong); color: #d8dfdd; }
.button-ghost:hover { background: #fff; border-color: #fff; color: #050708; }
.hero-facts { display: flex; gap: 0; margin: 56px 0 0; }
.hero-facts div { min-width: 148px; padding: 0 26px; border-left: 1px solid var(--line); }
.hero-facts div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { color: #f7faf9; font-size: 1.16rem; font-weight: 790; }
.hero-facts dd { margin: 2px 0 0; color: #76817e; font-size: .78rem; }

.ops-panel { position: relative; min-height: 570px; border: 1px solid var(--line-strong); background: linear-gradient(145deg, rgba(20,26,30,.88), rgba(7,9,11,.82)); overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease; }
.ops-panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0, transparent 5px, rgba(255,255,255,.012) 6px); pointer-events: none; }
.panel-topbar, .panel-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font: 700 .67rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: #7f8c88; }
.panel-topbar { border-bottom: 1px solid var(--line); }
.panel-footer { border-top: 1px solid var(--line); }
.live-state { color: var(--green); display: inline-flex; align-items: center; gap: 8px; }
.live-state i { width: 6px; height: 6px; background: currentColor; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.panel-core { min-height: 304px; display: grid; place-items: center; align-content: center; text-align: center; border-bottom: 1px solid var(--line); }
.core-orbit { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; border: 1px solid rgba(34,164,205,.3); border-radius: 50%; animation: spin 16s linear infinite; }
.orbit::before { content: ""; position: absolute; width: 7px; height: 7px; top: -4px; left: 50%; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.orbit-two { inset: 25px; border-color: rgba(196,30,175,.35); animation-direction: reverse; animation-duration: 10s; }
.orbit-two::before { background: var(--magenta); box-shadow: 0 0 18px var(--magenta); }
@keyframes spin { to { transform: rotate(360deg); } }
.core-mark { position: relative; width: 108px; height: 108px; padding: 14px; display: grid; place-items: center; border: 1px solid rgba(32,191,38,.5); background: #f5f7f6; box-shadow: inset 0 0 30px rgba(32,191,38,.08), 0 0 30px rgba(32,191,38,.08); }
.core-mark::after { content: "SCAN / WID"; position: absolute; left: 50%; bottom: -25px; transform: translateX(-50%); color: #64706d; font: 650 .5rem ui-monospace, monospace; letter-spacing: .16em; white-space: nowrap; }
.core-mark img { width: 100%; height: 100%; object-fit: contain; image-rendering: auto; }
.panel-kicker { margin: 17px 0 0; color: #687471; font: 650 .64rem ui-monospace, monospace; letter-spacing: .14em; }
.panel-role { margin: 4px 0 0; color: #f6faf8; font-size: 1.1rem; font-weight: 740; }
.signal-list { display: grid; grid-template-columns: 1fr 1fr; }
.signal-list div { min-height: 72px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); color: #aeb8b5; font-size: .76rem; }
.signal-list div:nth-child(odd) { border-right: 1px solid var(--line); }
.signal-list b { color: #4f5c58; font: 650 .65rem ui-monospace, monospace; }
.scroll-cue { position: absolute; left: 0; bottom: 26px; display: flex; align-items: center; gap: 14px; color: #6f7a77; font: 700 .65rem ui-monospace, monospace; letter-spacing: .16em; }
.scroll-cue i { display: block; width: 56px; height: 1px; background: linear-gradient(90deg, var(--green), transparent); }

.section-heading { display: grid; grid-template-columns: 1fr minmax(270px, .42fr); align-items: end; gap: 50px; margin-bottom: 60px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -20px; }
.section-heading > p:last-child { margin: 0; color: #98a3a0; font-size: 1.03rem; }
.expertise-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; }
.feature-card { position: relative; min-height: 300px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--line); background: rgba(12,16,19,.72); overflow: hidden; transition: border-color .3s ease, transform .3s var(--ease); }
.feature-card:hover { border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.feature-card::after { content: ""; position: absolute; right: -25%; bottom: -50%; width: 260px; height: 260px; background: var(--cyan); opacity: .035; filter: blur(40px); border-radius: 50%; }
.feature-card-large { grid-row: span 2; min-height: 614px; background: linear-gradient(145deg, rgba(32,191,38,.12), rgba(12,16,19,.7) 46%); }
.feature-card-large::after { width: 380px; height: 380px; background: var(--green); opacity: .08; }
.card-index { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(32,191,38,.5); color: var(--green); font: 700 .7rem ui-monospace, monospace; }
.card-index.cyan { border-color: rgba(34,164,205,.55); color: var(--cyan); }
.card-index.magenta { border-color: rgba(196,30,175,.55); color: var(--magenta); }
.mini-label { margin: 0 0 8px; color: #61706b; font: 700 .65rem ui-monospace, monospace; letter-spacing: .13em; }
.feature-card h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.8rem); letter-spacing: -.035em; line-height: 1.04; }
.feature-card:not(.feature-card-large) h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.feature-card p:last-child { max-width: 530px; margin: 18px 0 0; color: #99a4a1; }
.tag-list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li, .tech-line span { border: 1px solid var(--line); padding: 8px 12px; color: #b6c0bd; font: 650 .69rem ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.capability-band { margin-top: 14px; display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); border: 1px solid var(--line); background: rgba(12,16,19,.6); }
.capability-band > * { min-height: 265px; padding: 30px; border-right: 1px solid var(--line); }
.capability-band > *:last-child { border-right: 0; }
.capability-intro { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(34,164,205,.1), transparent 65%); }
.capability-intro h3 { margin: 0; font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.08; letter-spacing: -.035em; }
.capability-band article b { color: #e9efed; font: 750 .69rem ui-monospace, monospace; letter-spacing: .1em; }
.capability-band article p { margin: 24px 0 0; color: #8f9a97; font-size: .9rem; }

.saas-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: clamp(50px, 8vw, 120px); align-items: start; }
.saas-sticky { position: sticky; top: 130px; }
.saas-sticky > p:not(.eyebrow) { max-width: 640px; margin: 30px 0 0; color: #9ba6a3; font-size: 1.05rem; }
.tech-line { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 34px; }
.saas-steps { border-top: 1px solid var(--line); }
.process-card { min-height: 255px; display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.process-card > span { color: var(--green); font: 750 .76rem ui-monospace, monospace; }
.process-card div > p:first-child { margin: 0 0 12px; color: #65706d; font: 700 .67rem ui-monospace, monospace; letter-spacing: .13em; }
.process-card h3 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.4rem); letter-spacing: -.035em; line-height: 1.1; }
.process-card div > p:last-child { max-width: 510px; margin: 18px 0 0; color: #98a29f; }

.service-strip { width: 100%; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0b0f11; transform: rotate(-1.2deg) scale(1.02); }
.strip-track { width: max-content; min-height: 84px; display: flex; align-items: center; gap: 28px; animation: marquee 28s linear infinite; }
.strip-track span { font-size: clamp(1.15rem, 2vw, 1.75rem); font-weight: 830; letter-spacing: -.02em; }
.strip-track i { width: 9px; height: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 12px rgba(32,191,38,.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

.heading-row { grid-template-columns: 1fr minmax(260px, .38fr); }
.heading-row .eyebrow { margin-bottom: 2px; }
.portfolio-toolbar { position: sticky; z-index: 20; top: 88px; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 12px; border: 1px solid var(--line); background: rgba(8,11,13,.9); backdrop-filter: blur(18px); }
.portfolio-filter { min-height: 43px; display: inline-flex; align-items: center; gap: 12px; padding: 0 15px; border: 1px solid var(--line); background: transparent; color: #aeb8b5; cursor: pointer; font: 720 .7rem ui-monospace, monospace; letter-spacing: .07em; text-transform: uppercase; transition: color .25s ease, border-color .25s ease, background .25s ease; }
.portfolio-filter span { color: #5e6a66; font-size: .62rem; }
.portfolio-filter:hover { border-color: var(--line-strong); color: #fff; }
.portfolio-filter.active { border-color: var(--green); background: rgba(32,191,38,.1); color: var(--green); }
.portfolio-filter.active span { color: #9cd69f; }
.portfolio-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.portfolio-item { position: relative; min-width: 0; border: 1px solid var(--line); background: #0b0e10; overflow: hidden; animation: portfolioIn .55s var(--ease) both; }
@keyframes portfolioIn { from { opacity: 0; transform: translateY(14px); } }
.portfolio-open { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: zoom-in; }
.portfolio-thumb { aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: #15191b; }
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease), filter .4s ease; }
.portfolio-item[data-category="webdesign"] .portfolio-thumb,
.portfolio-item[data-category="clients"] .portfolio-thumb { padding: 20px; background: #eceeed; }
.portfolio-item[data-category="webdesign"] .portfolio-thumb img,
.portfolio-item[data-category="clients"] .portfolio-thumb img { object-fit: contain; }
.portfolio-open:hover .portfolio-thumb img { transform: scale(1.045); filter: saturate(1.08); }
.portfolio-caption { min-height: 83px; display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; border-top: 1px solid var(--line); }
.portfolio-caption span { color: var(--green); font: 700 .6rem ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.portfolio-caption strong { display: block; margin-top: 4px; overflow: hidden; color: #e8edeb; font-size: .85rem; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.portfolio-audio { grid-column: span 2; min-height: 280px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(34,164,205,.14), rgba(12,16,19,.9)); }
.portfolio-audio::before { content: "AUDIO / WID"; color: rgba(255,255,255,.08); font-size: clamp(2.4rem, 5vw, 5.5rem); font-weight: 850; letter-spacing: -.07em; line-height: .9; }
.portfolio-audio audio { width: 100%; margin-top: 24px; accent-color: var(--green); }
.portfolio-more-wrap { margin-top: 34px; display: grid; justify-items: center; gap: 12px; }
.portfolio-more-wrap p { margin: 0; color: #6f7b77; font: 650 .68rem ui-monospace, monospace; letter-spacing: .06em; }
.portfolio-more[hidden] { display: none; }
.portfolio-lightbox { width: min(1120px, calc(100vw - 32px)); max-width: none; height: min(820px, calc(100vh - 32px)); max-height: none; padding: 0; border: 1px solid rgba(255,255,255,.2); background: #07090b; color: #fff; overflow: hidden; }
.portfolio-lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.portfolio-lightbox figure { width: 100%; height: 100%; margin: 0; padding: 54px 72px 82px; display: grid; place-items: center; }
.portfolio-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.portfolio-lightbox figcaption { position: absolute; left: 72px; right: 72px; bottom: 23px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.portfolio-lightbox figcaption span { color: var(--green); font: 700 .65rem ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.portfolio-lightbox figcaption strong { font-size: .9rem; font-weight: 680; }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 3; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(7,9,11,.75); color: #fff; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--green); background: rgba(32,191,38,.12); color: var(--green); }
.lightbox-close { top: 14px; right: 14px; width: 42px; height: 42px; font-size: 1.45rem; }
.lightbox-nav { top: 50%; width: 45px; height: 52px; transform: translateY(-50%); }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.history { display: grid; grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(60px, 9vw, 140px); align-items: start; }
.history-copy { position: sticky; top: 130px; }
.history-copy > p:not(.eyebrow) { max-width: 600px; color: #9ca6a3; margin: 30px 0; }
.history-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.history-actions .button { min-height: 48px; background: rgba(32,191,38,.07); }
.history-actions .button:hover { border-color: var(--green); color: var(--green); }
.text-link { display: inline-flex; gap: 24px; padding-bottom: 6px; border-bottom: 1px solid var(--green); font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 96px 1fr; min-height: 122px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); color: #7f8a87; transition: color .25s ease, padding .25s var(--ease), background .25s ease; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: transparent; }
.timeline li:hover, .timeline li.active { padding-left: 16px; padding-right: 12px; color: #f2f6f4; background: linear-gradient(90deg, rgba(32,191,38,.06), transparent 70%); }
.timeline li.active::before { background: var(--green); box-shadow: 0 0 15px rgba(32,191,38,.45); }
.timeline b { font: 700 .75rem ui-monospace, monospace; color: var(--green); }
.timeline span { display: block; color: #edf2f0; font-size: 1rem; font-weight: 740; }
.timeline p { margin: 5px 0 0; color: #7f8b87; font-size: .86rem; line-height: 1.5; }

.logo-history-dialog { width: min(1160px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(255,255,255,.2); background: #080b0d; color: #fff; overflow: hidden; }
.logo-history-dialog::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(8px); }
.logo-history-shell { max-height: calc(100vh - 34px); overflow-y: auto; }
.logo-history-head { position: sticky; z-index: 3; top: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 0 0 30px; padding: clamp(24px, 4vw, 52px); border-bottom: 1px solid var(--line); background: rgba(8,11,13,.94); backdrop-filter: blur(18px); }
.logo-history-head .eyebrow { margin-bottom: 15px; color: var(--green); }
.logo-history-head h2 { font-size: clamp(2.25rem, 5vw, 4.8rem); }
.logo-history-close { flex: 0 0 auto; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent; color: #fff; cursor: pointer; font-size: 1.5rem; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.logo-history-close:hover { border-color: var(--green); background: rgba(32,191,38,.1); color: var(--green); }
.logo-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 clamp(24px, 4vw, 52px) clamp(24px, 4vw, 52px); }
.logo-era { min-width: 0; margin: 0; border: 1px solid var(--line); background: #0e1215; }
.logo-era > div { min-height: 230px; padding: clamp(22px, 4vw, 48px); display: grid; place-items: center; background: #f2f3f2; }
.logo-era img { width: 100%; max-height: 150px; object-fit: contain; }
.logo-era figcaption { min-height: 72px; padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.logo-era figcaption b { color: var(--green); font: 750 .68rem ui-monospace, monospace; letter-spacing: .1em; }
.logo-era figcaption span { color: #c7cfcd; font-size: .82rem; font-weight: 680; text-align: right; }
.logo-era-current { border-color: rgba(32,191,38,.5); box-shadow: inset 0 0 35px rgba(32,191,38,.04); }

.contact { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 140px); padding-bottom: 110px; }
.contact::before { content: ""; position: absolute; z-index: -1; width: 440px; height: 440px; left: -16%; top: 10%; background: var(--magenta); opacity: .06; filter: blur(100px); border-radius: 50%; }
.contact-lead > p:not(.eyebrow) { max-width: 560px; margin: 28px 0 0; color: #9aa4a1; }
.contact-direct { margin-top: 42px; border-top: 1px solid var(--line); }
.contact-direct a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 70px; border-bottom: 1px solid var(--line); }
.contact-direct small { color: #68736f; font: 700 .64rem ui-monospace, monospace; letter-spacing: .12em; }
.contact-direct span { font-weight: 650; }
.contact-direct a:hover span { color: var(--green); }
.contact-form { padding: 34px; border: 1px solid var(--line-strong); background: rgba(13,17,20,.82); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 21px; color: #aeb8b5; font: 700 .68rem ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 9px; border: 1px solid var(--line); border-radius: 0; outline: none; background: #090c0e; color: #f1f5f3; padding: 15px 16px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; text-transform: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input, .contact-form select { min-height: 54px; }
.contact-form textarea { resize: vertical; min-height: 145px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(32,191,38,.1); }
.contact-form ::placeholder { color: #53605c; }
.submit-button { width: 100%; border: 0; }
.form-note { margin: 13px 0 0; color: #65716d; font-size: .76rem; text-align: center; }

.site-footer { width: var(--content); margin: 0 auto; padding: 46px 0 30px; border-top: 1px solid var(--line); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { position: relative; isolation: isolate; width: 330px; }
.footer-brand::before { content: ""; position: absolute; z-index: -1; inset: -15px -24px; background: radial-gradient(ellipse, rgba(255,255,255,.9), rgba(255,255,255,.42) 58%, transparent 76%); filter: blur(10px); }
.footer-brand img { width: 100%; height: auto; }
.footer-social { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-social a { color: #a8b2af; font-size: .78rem; font-weight: 720; letter-spacing: .05em; text-transform: uppercase; }
.footer-social a:hover { color: var(--green); }
.footer-bottom { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); color: #65716d; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a4aeab; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --content: min(100% - 32px, 760px); }
  .site-header { grid-template-columns: auto 1fr auto; }
  .menu-toggle { position: relative; z-index: 3; display: grid; gap: 7px; width: 46px; height: 46px; place-content: center; border: 1px solid var(--line); justify-self: end; }
  .menu-toggle span:not(.sr-only) { display: block; width: 19px; height: 1px; background: #fff; transition: transform .3s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: -19px -1px auto; min-height: 100vh; padding: 130px 28px 40px; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 18px; background: rgba(7,9,11,.98); transform: translateY(-110%); transition: transform .45s var(--ease); }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 160px; }
  .ops-panel { min-height: 530px; }
  .scroll-cue { display: none; }
  .section { padding: 100px 0; }
  .section-heading, .heading-row { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .expertise-grid, .saas-section, .history, .contact { grid-template-columns: 1fr; }
  .history-copy { position: static; }
  .capability-band { grid-template-columns: repeat(2, 1fr); }
  .capability-band > *:nth-child(2) { border-right: 0; }
  .capability-band > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-card-large { min-height: 470px; }
  .saas-sticky { position: static; }
  .portfolio-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  :root { --content: calc(100% - 24px); }
  .site-header { top: 8px; min-height: 60px; padding: 7px 7px 7px 9px; }
  .brand-frame { width: 190px; min-height: 42px; }
  .menu-toggle { width: 42px; height: 42px; }
  .hero { padding-top: 130px; padding-bottom: 62px; gap: 45px; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.2rem); }
  h2 { font-size: clamp(2.35rem, 12vw, 3.55rem); }
  .hero-lead { margin-top: 24px; }
  .hero-actions { display: grid; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .hero-facts div { min-width: 0; padding: 0 10px; }
  .hero-facts dt { font-size: .98rem; }
  .hero-facts dd { font-size: .66rem; line-height: 1.35; }
  .ops-panel { min-height: auto; }
  .panel-core { min-height: 278px; }
  .core-orbit { width: 166px; height: 166px; }
  .signal-list { grid-template-columns: 1fr; }
  .signal-list div:nth-child(odd) { border-right: 0; }
  .feature-card, .contact-form { padding: 25px; }
  .capability-band { grid-template-columns: 1fr; }
  .capability-band > * { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-band > *:last-child { border-bottom: 0; }
  .feature-card-large { min-height: 440px; }
  .portfolio-toolbar { top: 72px; margin-inline: -2px; padding: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .portfolio-toolbar::-webkit-scrollbar { display: none; }
  .portfolio-filter { flex: 0 0 auto; }
  .portfolio-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .portfolio-item[data-category="webdesign"] .portfolio-thumb,
  .portfolio-item[data-category="clients"] .portfolio-thumb { padding: 10px; }
  .portfolio-caption { min-height: 72px; padding: 11px 12px; }
  .portfolio-caption strong { font-size: .74rem; }
  .portfolio-audio { grid-column: 1 / -1; min-height: 230px; padding: 22px; }
  .portfolio-lightbox { width: calc(100vw - 16px); height: calc(100vh - 16px); }
  .portfolio-lightbox figure { padding: 56px 18px 92px; }
  .portfolio-lightbox figcaption { left: 18px; right: 18px; bottom: 24px; align-items: flex-start; flex-direction: column; gap: 3px; }
  .lightbox-nav { top: auto; bottom: 76px; }
  .history-actions { align-items: stretch; flex-direction: column; }
  .history-actions .button { width: 100%; }
  .history-actions .text-link { align-self: flex-start; }
  .logo-history-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .logo-history-shell { max-height: calc(100vh - 18px); }
  .logo-history-head { margin-bottom: 18px; padding: 22px 18px 18px; }
  .logo-history-grid { grid-template-columns: 1fr; gap: 10px; padding: 0 18px 18px; }
  .logo-era > div { min-height: 180px; padding: 26px 18px; }
  .logo-era figcaption { min-height: 64px; }
  .process-card { grid-template-columns: 42px 1fr; gap: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-direct a { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-social { gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
