/* ==========================================================================
   Chenango Web Design — design system
   Dark, deep-space, high-tech theme
   (wrote this whole thing by hand, no framework - probably why it's fast)
   ========================================================================== */

:root {
  --bg: #05070d;
  --bg-alt: #0a0e1a;
  --bg-raise: #10152592;
  --panel: #0d1220cc;
  --panel-border: #3ddcff33;
  --accent: #3ddcff;
  --accent-2: #6e5bff;
  --accent-3: #ff5bb5;
  --text: #eef2f8;
  --text-dim: #9aa4b8;
  --text-dimmer: #6b7488;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1180px;
  --shadow-glow: 0 0 0 1px var(--panel-border), 0 20px 60px -20px #3ddcff2e;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, #10193a 0%, var(--bg) 55%), var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 2.6vw + 1rem, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; color: var(--text-dim); }
a { color: var(--accent); text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.sr-only {
  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 {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--accent); color: #04101a; padding: .75em 1.25em; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

/* -------------------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101a;
  box-shadow: 0 10px 30px -10px #3ddcff66;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px #3ddcff88; }
.btn--ghost {
  background: transparent; color: var(--text); border-color: #ffffff2b;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* -------------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #05070dcc;
  border-bottom: 1px solid #ffffff14;
}
/* backdrop-filter lives on a pseudo-element, not .site-header itself - browsers
   treat backdrop-filter (like filter) as establishing a new containing block
   for position:fixed descendants, which was quietly shrinking the mobile nav
   dropdown (a fixed-position child) down to the header's own ~64px height
   instead of the full viewport. isolating it here keeps the frosted-glass
   look without affecting anything positioned fixed inside the header. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: .85rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); }
.brand__logo { display: block; height: 38px; width: auto; }
.brand--footer .brand__logo { height: 32px; }

.nav__list { display: flex; align-items: center; gap: 1.9rem; }
.nav__item { position: relative; }
.nav__item > a {
  color: var(--text); font-size: .93rem; font-weight: 500; padding: .4rem 0; position: relative;
}
.nav__item > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--accent); transition: right .25s var(--ease);
}
.nav__item > a:hover::after, .nav__item > a[aria-current="page"]::after { right: 0; }
.nav__item > a[aria-current="page"] { color: var(--accent); }

.nav__submenu {
  position: absolute; top: 100%; left: -1rem; margin-top: .75rem; min-width: 240px;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-sm);
  padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  box-shadow: var(--shadow-glow); backdrop-filter: blur(16px);
}
.nav__item.has-children:hover .nav__submenu,
.nav__item.has-children:focus-within .nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__submenu a { display: block; padding: .55rem .75rem; border-radius: 8px; font-size: .88rem; color: var(--text-dim); }
.nav__submenu a:hover { background: #ffffff0a; color: var(--accent); }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; background: transparent; border: 1px solid #ffffff24; border-radius: 8px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 0 auto; transition: transform .25s var(--ease), opacity .25s var(--ease); }

.header-cta { padding: .6em 1.3em; font-size: .85rem; }

/* the full nav (7 items + logo + phone pill) needs real room to breathe -
   between the mobile breakpoint and ~1230px it was wrapping/getting clipped.
   tighten gaps and type size in that middle range rather than letting it break. */
@media (min-width: 869px) and (max-width: 1230px) {
  .nav__list { gap: 1.1rem; }
  .nav__item > a { font-size: .87rem; }
  .header-cta { padding: .5em 1em; font-size: .8rem; }
  .brand__logo { height: 32px; }
}

@media (max-width: 868px) {
  .header-cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__list {
    position: fixed; inset: 64px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); padding: 1rem 1.5rem 2rem; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__list.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__item { border-bottom: 1px solid #ffffff12; }
  .nav__item > a { display: block; padding: .95rem 0; }
  .nav__submenu {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 .5rem;
  }
  .nav__item.has-children.is-expanded .nav__submenu { display: block; }
}

/* -------------------------------------------------------------------------- hero + 3d canvas */
.hero-canvas {
  position: absolute; top: 0; right: 0; width: min(56vw, 720px); height: 640px;
  max-width: 100%; pointer-events: auto; z-index: 0;
  /* auto (not none) so hovering the sphere itself can be detected in scene.js -
     safe because hero__inner sits at a higher z-index, so any real buttons/links
     that happen to overlap this area still get clicks first regardless */
  /* the sphere geometry is wider than the canvas at most viewport sizes and was
     getting hard-clipped at the left edge - looked like a box cutting into the
     scene. fading it out instead so it blends into the background naturally. */
  -webkit-mask-image: linear-gradient(to left, black 55%, transparent 96%);
  mask-image: linear-gradient(to left, black 55%, transparent 96%);
}
.hero {
  position: relative; overflow: clip; padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  /* the hero-canvas is a DOM sibling rendered just before <main> (not a child
     of .hero), and .hero paints on top of it in stacking order - so even
     though .hero has no visible background, its box was silently swallowing
     every hover/click meant for the sphere behind it. click-through by default,
     re-enabled just on the actual interactive content below. */
  pointer-events: none;
}
.hero__inner {
  /* deliberately just a plain .wrap (position + stacking only) - it used to
     also carry its own max-width, but capping width AND centering via
     margin:auto on the *same* element that .wrap already centers doesn't work:
     the auto margins recompute around the new narrower width and re-center it
     inside the already-centered wrap, drifting the text right of every other
     section's left edge. the actual 640px cap now lives on .hero__copy below,
     a plain nested block that naturally sits flush-left with no margin tricks
     needed at all. */
  position: relative; z-index: 1; pointer-events: none;
}
.hero__copy { max-width: 640px; pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  padding: .4em .9em; border: 1px solid var(--panel-border); border-radius: 999px; margin-bottom: 1.4rem;
  background: #3ddcff0f;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 2px var(--accent); }
.hero p.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 34em; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.page-hero { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .lead { max-width: 46em; }

/* -------------------------------------------------------------------------- sections */
section { padding: clamp(3rem, 6vw, 5.5rem) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent); }

/* -------------------------------------------------------------------------- grids & cards */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius);
  padding: 1.75rem; backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: #3ddcff66; box-shadow: var(--shadow-glow); }
.card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #3ddcff22, #6e5bff22); border: 1px solid var(--panel-border);
  font-size: 1.3rem;
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card--muted { color: var(--text-dimmer); }

/* -------------------------------------------------------------------------- floating blurbs */
.floaters { position: relative; }
.floater {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius-sm);
  padding: .85rem 1.1rem; box-shadow: var(--shadow-glow); backdrop-filter: blur(12px);
  font-size: .85rem; animation: float 7s ease-in-out infinite;
  z-index: 2; pointer-events: none; /* decorative status badges, not clickable -
  shouldn't ever block hover/clicks on whatever sits beneath them (like the sphere) */
}
.floater strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; color: var(--text); }
.floater span { color: var(--text-dim); }
.floater__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px 2px var(--accent); flex-shrink: 0; }

/* right side, over the decorative sphere - not the text column. that area is
   just background flourish, nothing there needs to stay legible/unobstructed,
   unlike the hero copy on the left. */
.floater--1 { top: 10%; right: 4%; }
.floater--2 { top: 66%; right: 8%; }
.floater--3 { top: 38%; right: 2%; }

/* the right-side gutter these float in only reliably exists on wide screens -
   below that there's nowhere for them to go without sitting on top of the
   hero text, so they're hidden rather than fighting for the same space.
   the <960px rotating single-badge version below is a separate, already
   non-overlapping treatment and stays as-is. */
@media (min-width: 961px) and (max-width: 1399px) {
  .floater-group { display: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* -------------------------------------------------------------------------- asm cloud */
/* lowkey floating code fragments tracking the actual bumps where the 3d mesh */
/* pokes out past its wireframe cage - positions come from scene.js each frame, */
/* not CSS. container mirrors .hero-canvas's exact box so canvas-local pixel */
/* coords drop straight in with no scroll/offset math needed. */
.asm-cloud {
  position: absolute; top: 0; right: 0; width: min(56vw, 720px); height: 640px;
  max-width: 100%; pointer-events: none; z-index: 1;
}
.asm-bit {
  position: absolute; top: 0; left: 0; pointer-events: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem; letter-spacing: .01em; white-space: nowrap;
  color: var(--accent); text-shadow: 0 0 10px #3ddcff4d;
  opacity: 0; will-change: transform, opacity;
  transition: opacity .4s var(--ease);
}
@media (max-width: 960px) {
  .asm-cloud { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .asm-bit { display: none; }
}

/* -------------------------------------------------------------------------- cursor glow */
/* purely additive shine that trails the real cursor - the native OS pointer is never */
/* hidden or replaced, so there's zero risk of confusion, no navigation-flash weirdness, */
/* nothing to fix. this is just a soft light riding along behind it. */
#cursorGlow {
  position: fixed; top: 0; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; pointer-events: none; z-index: 9998;
  background: radial-gradient(circle, #3ddcff4d, #6e5bff26 55%, transparent 75%);
  mix-blend-mode: screen; opacity: 0; transform: translate3d(-200px, -200px, 0);
  transition: opacity .25s var(--ease), background .2s var(--ease), width .15s var(--ease), height .15s var(--ease), margin .15s var(--ease);
}
#cursorGlow.is-active { opacity: 1; }
#cursorGlow.is-hover {
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  background: radial-gradient(circle, #ff5bb559, #3ddcff3d 55%, transparent 75%);
}
@media (hover: none), (pointer: coarse) {
  #cursorGlow { display: none !important; }
}

/* -------------------------------------------------------------------------- mobile call button */
/* desktop already has the phone number in the header - this is the mobile equivalent, */
/* a thumb-reachable tap-to-call button that stays out of the way of content while scrolling */
a.mobile-call-btn {
  display: none; position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101a;
  animation: call-btn-glow 2.6s ease-in-out infinite;
}
.mobile-call-btn svg { width: 26px; height: 26px; position: relative; z-index: 1; }
@keyframes call-btn-glow {
  0%, 100% { box-shadow: 0 6px 20px -4px #3ddcff77, 0 0 0 1px #ffffff26, 0 0 14px 1px #3ddcff40; }
  50% { box-shadow: 0 8px 26px -3px #3ddcff99, 0 0 0 1px #ffffff33, 0 0 24px 6px #3ddcff70; }
}
@media (max-width: 868px) {
  a.mobile-call-btn { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  a.mobile-call-btn { animation: none; box-shadow: 0 6px 20px -4px #3ddcff77, 0 0 0 1px #ffffff26; }
}
/* tuck it away while the mobile nav is open so it doesn't float on top of the menu */
body:has(#navList.is-open) a.mobile-call-btn { opacity: 0; pointer-events: none; }

/* the floaters use the empty gutter around the hero text on wide screens - */
/* that gutter disappears below ~960px, so on small screens we rotate them */
/* one at a time instead of trying to cram all 3 onto the page */
@media (max-width: 960px) {
  .floater-group { position: relative; height: 64px; margin: 2.25rem 0 2rem; }
  .floater {
    /* explicit left/right (not inset:0) - padding on the ancestor doesn't inset
       an absolutely positioned child, its containing block is the padding EDGE */
    position: absolute; top: 0; bottom: 0; left: 1.5rem; right: 1.5rem;
    margin: 0; width: auto;
    opacity: 0; animation: none; pointer-events: none;
    transform: translateY(8px) scale(.97);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .floater.is-active {
    opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
  }
}

/* -------------------------------------------------------------------------- reveal-on-scroll */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition-duration: .01s; }
  .floater { animation: none; }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------- stats */
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 3vw, 2.6rem); color: var(--accent); }
.stat span { color: var(--text-dim); font-size: .9rem; }

/* -------------------------------------------------------------------------- pricing */
.price-card { display: flex; flex-direction: column; }
.price-card__amount { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--accent); margin: .3rem 0 1rem; }
.price-card__amount small { font-size: .95rem; color: var(--text-dim); font-weight: 500; }
.price-card ul { margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .55rem; }
.price-card li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-dim); font-size: .92rem; }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-card { margin-top: auto; }

/* -------------------------------------------------------------------------- portfolio */
.portfolio-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.portfolio-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.portfolio-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.portfolio-card:hover .portfolio-card__media img { transform: scale(1.06); }
.portfolio-card__body { padding: 1.5rem; }
.portfolio-card__tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); font-weight: 600; }

/* -------------------------------------------------------------------------- steps */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 1.25rem; }
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step__num {
  counter-increment: step; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  background: linear-gradient(135deg, #3ddcff22, #6e5bff22); border: 1px solid var(--panel-border); color: var(--accent);
}
.step__num::before { content: counter(step, decimal-leading-zero); }

/* -------------------------------------------------------------------------- CTA band */
.cta-band {
  border-radius: 24px; padding: clamp(2.5rem, 5vw, 4rem); text-align: center;
  background: linear-gradient(135deg, #0d1330, #0a0e1a 60%); border: 1px solid var(--panel-border);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%; background: radial-gradient(circle, #3ddcff22, transparent 60%);
  animation: spin 18s linear infinite;
}
.cta-band > * { position: relative; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------- forms */
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--text-dim); }
.form-field input, .form-field textarea {
  background: var(--bg-alt); border: 1px solid #ffffff24; border-radius: var(--radius-sm);
  padding: .85em 1em; color: var(--text); font-family: inherit; font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #3ddcff22;
}
.honeypot-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: 1.5rem; font-size: .9rem; }
.form-note--ok { background: #1fbf7522; border: 1px solid #1fbf7566; color: #7de9bd; }
.form-note--err { background: #ff4d4d22; border: 1px solid #ff4d4d66; color: #ffb3b3; }

/* -------------------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid #ffffff14; background: var(--bg-alt); padding-top: 3.5rem; margin-top: 4rem; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }
.footer-tagline { font-size: .9rem; max-width: 26em; }
.footer-social { font-size: .85rem; font-weight: 600; }
.social-icons { display: flex; gap: .75rem; margin-top: .9rem; }
.social-icons__link {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); border: 1px solid var(--panel-border); color: var(--text-dim);
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social-icons__link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social-icons__link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-map { padding-top: 2.5rem; }
.footer-map__inner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--panel-border); }
.footer-map__inner iframe { display: block; width: 100%; height: 320px; }
.footer-map__link { display: inline-block; margin-top: .8rem; font-size: .88rem; font-weight: 600; }
@media (max-width: 560px) { .footer-map__inner iframe { height: 240px; } }
.footer-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin-bottom: 1rem; }
.footer-list { display: flex; flex-direction: column; gap: .65rem; }
.footer-list a, .footer-list li { color: var(--text-dim); font-size: .9rem; }
.footer-list a:hover { color: var(--accent); }
.footer-area { font-size: .88rem; color: var(--text-dim); }
.site-footer__legal {
  border-top: 1px solid #ffffff12; padding: 1.5rem 0; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--text-dimmer);
}
.legal-list { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.legal-list a { color: var(--text-dimmer); font-size: .8rem; }
.legal-list a:hover { color: var(--accent); }

/* -------------------------------------------------------------------------- ambient section glow */
/* soft blurred color orbs that slowly breathe behind each section - subtle, not a light show */
.section-glow { overflow: clip; }
.section-glow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(46vw, 640px); height: min(46vw, 640px); border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color, var(--accent)), transparent 68%);
  opacity: .16; filter: blur(6px);
  animation: glow-breathe 9s ease-in-out infinite;
}
.section-glow--tr::before { right: -12%; top: -10%; }
.section-glow--tl::before { left: -14%; top: 0%; }
.section-glow--bl::before { left: -12%; bottom: -15%; }
.section-glow--br::before { right: -10%; bottom: -18%; }
.section-glow--center::before { left: 50%; top: -8%; transform: translateX(-50%); }
.section-glow--cyan { --glow-color: #3ddcff; }
.section-glow--purple { --glow-color: #6e5bff; }
.section-glow--pink { --glow-color: #ff5bb5; }

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: .13; }
  50% { transform: scale(1.18); opacity: .22; }
}
.section-glow--center.section-glow--pink::before,
.section-glow--center.section-glow--cyan::before,
.section-glow--center.section-glow--purple::before { animation-name: glow-breathe-center; }
@keyframes glow-breathe-center {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: .13; }
  50% { transform: translateX(-50%) scale(1.18); opacity: .22; }
}

@media (prefers-reduced-motion: reduce) {
  .section-glow::before { animation: none; }
}

/* -------------------------------------------------------------------------- metal shimmer sweep */
/* a thin band of light sliding across - like a flash catching brushed metal */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 40%;
  background: linear-gradient(115deg, transparent, #ffffff5c, transparent);
  transform: translateX(-220%) skewX(-18deg);
  animation: shimmer-sweep 5.5s ease-in-out infinite;
  pointer-events: none;
}
.btn--primary.shimmer::after { animation-duration: 4.5s; }
.card__icon.shimmer::after { width: 60%; }
.card:nth-child(2) .card__icon.shimmer::after { animation-delay: .4s; }
.card:nth-child(3) .card__icon.shimmer::after { animation-delay: .8s; }
.card:nth-child(4) .card__icon.shimmer::after { animation-delay: 1.2s; }
.card:nth-child(5) .card__icon.shimmer::after { animation-delay: 1.6s; }
.card:nth-child(6) .card__icon.shimmer::after { animation-delay: 2s; }

@keyframes shimmer-sweep {
  0%, 55% { transform: translateX(-220%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

/* portfolio cards: shimmer only sweeps on hover - keeps a big grid calm until you engage it */
.portfolio-card__media { position: relative; }
.portfolio-card__media::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(115deg, transparent, #ffffff40, transparent);
  transform: translateX(-220%) skewX(-18deg);
  pointer-events: none;
}
.portfolio-card:hover .portfolio-card__media::after {
  animation: shimmer-sweep 1.1s ease-in-out 1;
}

@media (prefers-reduced-motion: reduce) {
  .shimmer::after, .portfolio-card:hover .portfolio-card__media::after { animation: none; content: none; }
}

/* -------------------------------------------------------------------------- legal / privacy pages */
.legal-doc { max-width: 760px; }
.legal-doc h2 { margin-top: 2rem; }
.legal-doc p, .legal-doc li { color: var(--text-dim); }
.legal-doc ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1em; }
.legal-doc li { margin-bottom: .35em; }
.legal-updated { color: var(--text-dimmer); font-size: .9rem; }
