/* ==========================================================================
   SPLYCED — splyced.pro  ·  v2 "atomic editorial"
   Mid-century modern, design-studio restraint. Hairline rules, oversized
   numerals, generous whitespace. Atomic flourishes as accents.

   PALETTE — sampled directly from the brand SVGs (do not eyeball-edit):
     logo_vector.svg      : #cd5932 (orange S/P), #4f817e (teal L/E),
                            #d19430 (mustard Y/C), #c5bda7 (connector collar),
                            #c75d37 #ba623c (cable oranges), #000000 (ink)
     logo_icon_vector.svg : #ce572c (orange cable), #4f7f81 (teal cable),
                            #ba623c (rust center cable), #ddccba (plug tips)
   Cream #E4E2D5 supplied by brand (mascot shirt).
   ========================================================================== */

:root {
  /* --- Canonical brand roles --- */
  --orange:   #cd5932;
  --teal:     #4f817e;
  --mustard:  #d19430;
  --cream:    #E4E2D5;
  --ink:      #1f1e1a;

  /* --- Supporting tones straight from the SVGs --- */
  --orange-cable: #ce572c;
  --teal-cable:   #4f7f81;
  --rust:         #ba623c;
  --putty:        #ddccba;
  --collar:       #c5bda7;

  /* --- Derived (darkened for AA contrast in small text on cream) --- */
  --teal-deep:   #3c615e;
  --teal-light:  #7da7a3;   /* teal lifted for legibility on dark surfaces */
  --orange-deep: #9c4220;
  --ink-soft:    #55503f;

  /* --- Surfaces --- */
  --paper:  #ECEAE0;
  --dark:   #21201c;
  --dark-2: #2a2924;

  /* --- Hairlines (the v2 signature: thin rules, never thick borders) --- */
  --line:       rgba(31, 30, 26, .16);
  --line-soft:  rgba(31, 30, 26, .09);
  --line-cream: rgba(228, 226, 213, .22);

  /* --- Type --- */
  --font-display: "Jost", "Futura", "Century Gothic", sans-serif; /* mid-century geometric */
  --font-script:  "Yellowtail", cursive;                          /* 50s ad brush — sparingly */
  --font-body:    "Albert Sans", "Segoe UI", sans-serif;

  /* --- Rhythm --- */
  --wrap: 1200px;
  --radius: 20px;
  --header-h: 96px;
  --header-h-condensed: 64px;
}

/* ==========================================================================
   1. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  /* faint paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .03 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: 0; }
p  { margin: 0 0 1.1em; max-width: 60ch; }
ul { padding-left: 1.2em; }
::selection { background: var(--mustard); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: min(var(--wrap), calc(100% - 3rem)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: .7rem 1.2rem; border-radius: 0 0 10px 10px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; color: var(--cream); }

/* ==========================================================================
   2. ATOMIC ORNAMENT — quiet accents, never noise
   ========================================================================== */
.starburst {
  display: inline-block; width: .8em; height: .8em; flex: none;
  background: currentColor;
  clip-path: polygon(50% 0, 58% 38%, 92% 12%, 64% 46%, 100% 50%, 64% 54%,
                     92% 88%, 58% 62%, 50% 100%, 42% 62%, 8% 88%, 36% 54%,
                     0 50%, 36% 46%, 8% 12%, 42% 38%);
}

.kicker {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 1.4rem;
}
.kicker .starburst { color: var(--orange); }

.script { font-family: var(--font-script); font-weight: 400; letter-spacing: .01em; }

/* Oversized outlined numeral — section indexing, very poster */
.num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--collar);
  user-select: none;
}

/* Single hairline orbit icon */
.orbit-icon {
  position: relative; width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
}
.orbit-icon::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--line); border-radius: 50%;
  transform: scaleY(.46) rotate(-24deg);
}
.orbit-icon .nucleus {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--mustard);
}

.dotted-bg {
  background-image: radial-gradient(rgba(31,30,26,.07) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* --------------------------------------------------------------------------
   ATOMIC TEXTURE — sparse, period-correct motifs placed as faint section
   ornaments (echoing the amoeba circle on the rescue band). Three classics:
   * the sputnik / "starburst clock" — radiating spokes with ball tips
     (George Nelson Ball Clock, 1949)
   * the boomerang — Formica "Skylark" pattern, 1950
   * the atom orbit — three crossed electron ellipses
   Used at very low opacity; texture, not decoration soup.
   -------------------------------------------------------------------------- */
.services-strip { position: relative; overflow: clip; }
.services-strip::after { /* sputnik clock burst, top right */
  content: ""; position: absolute; top: 2rem; right: -70px;
  width: 320px; height: 320px; opacity: .07; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 100L185 100M100 100L142.5 173.6M100 100L57.5 173.6M100 100L15 100M100 100L57.5 26.4M100 100L142.5 26.4M100 100L147.6 127.5M100 100L100 155M100 100L52.4 127.5M100 100L52.4 72.5M100 100L100 45M100 100L147.6 72.5' stroke='%231f1e1a' stroke-width='2' fill='none'/%3E%3Cg fill='%231f1e1a'%3E%3Ccircle cx='185' cy='100' r='5'/%3E%3Ccircle cx='142.5' cy='173.6' r='5'/%3E%3Ccircle cx='57.5' cy='173.6' r='5'/%3E%3Ccircle cx='15' cy='100' r='5'/%3E%3Ccircle cx='57.5' cy='26.4' r='5'/%3E%3Ccircle cx='142.5' cy='26.4' r='5'/%3E%3Ccircle cx='147.6' cy='127.5' r='3.2'/%3E%3Ccircle cx='100' cy='155' r='3.2'/%3E%3Ccircle cx='52.4' cy='127.5' r='3.2'/%3E%3Ccircle cx='52.4' cy='72.5' r='3.2'/%3E%3Ccircle cx='100' cy='45' r='3.2'/%3E%3Ccircle cx='147.6' cy='72.5' r='3.2'/%3E%3Ccircle cx='100' cy='100' r='7'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.areas-teaser { position: relative; overflow: clip; }
.areas-teaser::after { /* boomerang, bottom right */
  content: ""; position: absolute; bottom: -26px; right: 4%;
  width: 270px; height: 216px; opacity: .1; pointer-events: none;
  transform: rotate(-10deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160'%3E%3Cpath d='M14 128C28 66 88 22 166 20C184 20 187 38 171 44C118 62 76 94 57 140C49 159 18 150 14 128Z' fill='%231f1e1a'/%3E%3C/svg%3E") center / contain no-repeat;
}
.design { position: relative; overflow: clip; }
.design::after { /* paired four-point stars, right side */
  content: ""; position: absolute; top: 16%; right: 5%;
  width: 180px; height: 190px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 59,41 100,50 59,59 50,100 41,59 0,50 41,41' fill='%23d19430'/%3E%3C/svg%3E") right top / 88px 88px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 59,41 100,50 59,59 50,100 41,59 0,50 41,41' fill='%234f817e'/%3E%3C/svg%3E") left 14px bottom 18px / 38px 38px no-repeat;
}
@media (max-width: 760px) { .design::after { display: none; } }
.page-hero::after { /* atom orbit, right edge of every inner-page hero */
  content: ""; position: absolute; top: 50%; right: -80px;
  transform: translateY(-50%);
  width: 300px; height: 300px; opacity: .055; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%231f1e1a' stroke-width='2.5'%3E%3Cellipse cx='110' cy='110' rx='95' ry='36'/%3E%3Cellipse cx='110' cy='110' rx='95' ry='36' transform='rotate(60 110 110)'/%3E%3Cellipse cx='110' cy='110' rx='95' ry='36' transform='rotate(120 110 110)'/%3E%3C/g%3E%3Ccircle cx='110' cy='110' r='8' fill='%231f1e1a'/%3E%3Ccircle cx='205' cy='110' r='5' fill='%231f1e1a'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Motif variants — pages opt in via a modifier class on .page-hero so the
   inner heroes rotate through the atomic vocabulary instead of repeating. */
.page-hero--burst::after { /* sputnik clock burst */
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 100L185 100M100 100L142.5 173.6M100 100L57.5 173.6M100 100L15 100M100 100L57.5 26.4M100 100L142.5 26.4M100 100L147.6 127.5M100 100L100 155M100 100L52.4 127.5M100 100L52.4 72.5M100 100L100 45M100 100L147.6 72.5' stroke='%231f1e1a' stroke-width='2' fill='none'/%3E%3Cg fill='%231f1e1a'%3E%3Ccircle cx='185' cy='100' r='5'/%3E%3Ccircle cx='142.5' cy='173.6' r='5'/%3E%3Ccircle cx='57.5' cy='173.6' r='5'/%3E%3Ccircle cx='15' cy='100' r='5'/%3E%3Ccircle cx='57.5' cy='26.4' r='5'/%3E%3Ccircle cx='142.5' cy='26.4' r='5'/%3E%3Ccircle cx='147.6' cy='127.5' r='3.2'/%3E%3Ccircle cx='100' cy='155' r='3.2'/%3E%3Ccircle cx='52.4' cy='127.5' r='3.2'/%3E%3Ccircle cx='52.4' cy='72.5' r='3.2'/%3E%3Ccircle cx='100' cy='45' r='3.2'/%3E%3Ccircle cx='147.6' cy='72.5' r='3.2'/%3E%3Ccircle cx='100' cy='100' r='7'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero--boom::after { /* Skylark boomerang */
  width: 290px; height: 232px; opacity: .07;
  transform: translateY(-50%) rotate(-12deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 160'%3E%3Cpath d='M14 128C28 66 88 22 166 20C184 20 187 38 171 44C118 62 76 94 57 140C49 159 18 150 14 128Z' fill='%231f1e1a'/%3E%3C/svg%3E");
}
.page-hero--diamonds::after { /* paired four-point stars, in color */
  right: 16px; opacity: .35;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 59,41 100,50 59,59 50,100 41,59 0,50 41,41' fill='%23d19430'/%3E%3C/svg%3E") right 20px top 24% / 84px 84px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 59,41 100,50 59,59 50,100 41,59 0,50 41,41' fill='%234f817e'/%3E%3C/svg%3E") right 130px top 58% / 36px 36px no-repeat;
}
.theater-page .page-hero::after { /* cream version for the dark room */
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23ddccba' stroke-width='2.5'%3E%3Cellipse cx='110' cy='110' rx='95' ry='36'/%3E%3Cellipse cx='110' cy='110' rx='95' ry='36' transform='rotate(60 110 110)'/%3E%3Cellipse cx='110' cy='110' rx='95' ry='36' transform='rotate(120 110 110)'/%3E%3C/g%3E%3Ccircle cx='110' cy='110' r='8' fill='%23ddccba'/%3E%3Ccircle cx='205' cy='110' r='5' fill='%23ddccba'/%3E%3C/svg%3E");
}
.site-footer::before { /* amoeba, echoing the rescue band */
  content: ""; position: absolute; left: -150px; bottom: -130px;
  width: 480px; height: 420px; background: rgba(228, 226, 213, .05);
  border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%;
  pointer-events: none;
}

/* ==========================================================================
   3. BUTTONS & LINKS — refined pills, no cartoon shadows
   ========================================================================== */
.btn {
  display: inline-block; padding: .9rem 2rem;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--orange); color: #fff;
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--teal    { background: var(--teal); }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { color: var(--cream); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--ghost-teal {
  background: transparent; color: var(--teal-deep); border-color: var(--teal-deep);
}
.btn--ghost-teal:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn--sm { padding: .6rem 1.4rem; font-size: .8rem; }

/* Quiet arrow link */
.go {
  font-family: var(--font-display); font-weight: 500;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-deep); text-decoration: none;
}
.go::after { content: "\00a0\2192"; transition: margin-left .2s; }
a.go:hover::after, a:hover .go::after { margin-left: .35em; }
a.go:hover { color: var(--teal-deep); }

/* ==========================================================================
   4. HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--cream) 88%, white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-condensed { box-shadow: 0 10px 30px -18px rgba(31,30,26,.35); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: var(--header-h);
  transition: min-height .25s ease;
}
.site-header.is-condensed .header-inner { min-height: var(--header-h-condensed); }
/* Oversized brand mark: the slot stays 150px wide but the art runs 196px,
   so it leaks past the bar edges and tucks BEHIND the first nav link. */
.brand { flex: none; width: 150px; position: relative; z-index: 1; }
.brand img {
  width: 196px; max-width: none; height: auto;
  opacity: .9; margin-block: -16px;
  /* letters ride clearly above the bar line; only the wire curl drips below */
  transform: translateY(13px);
  transition: width .25s ease, transform .25s ease;
}
.site-header.is-condensed .brand img { width: 148px; margin-block: -10px; transform: translateY(8px); }
/* nav links drop onto the wordmark's optical line (desktop bar only) */
@media (min-width: 981px) {
  .site-header .site-nav ul { padding-top: 46px; transition: padding-top .25s ease; }
  .site-header.is-condensed .site-nav ul { padding-top: 26px; }
}
.site-nav { position: relative; z-index: 2; } /* nav text rides over the leak */
@media (max-width: 980px) {
  .brand { width: 124px; }
  .brand img { width: 156px; margin-block: -10px; }
}

.site-nav ul {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 500;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none; color: var(--ink); padding: .35rem 0; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1.5px; background: var(--orange);
  transition: right .25s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after { right: 0; }
.nav-cta .btn { padding: .55rem 1.4rem; font-size: .74rem; background: transparent; color: var(--ink); border-color: var(--ink); }
.nav-cta .btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.nav-toggle {
  display: none; background: none; border: none; padding: .6rem; cursor: pointer;
}
.nav-toggle-box { display: grid; gap: 6px; width: 28px; }
.nav-toggle-box span {
  height: 2.5px; border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle-box span:nth-child(1) { background: var(--orange-cable); }
.nav-toggle-box span:nth-child(2) { background: var(--teal-cable); }
.nav-toggle-box span:nth-child(3) { background: var(--mustard); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none; padding: 1.6rem 1.5rem 2rem;
    box-shadow: 0 30px 40px -30px rgba(31,30,26,.4);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .site-nav a:not(.btn) { font-size: .95rem; }
}

/* ==========================================================================
   5. HOME — HERO
   ========================================================================== */
.hero {
  position: relative; overflow: clip;
  padding: clamp(4.5rem, 12vh, 8.5rem) 0 clamp(4rem, 10vh, 7rem);
}
.hero-inner { position: relative; z-index: 3; max-width: 720px; }

/* --- Atomic cluster behind the headline: a saturated mustard sun disc
       carrying the cable mark, ringed by a teal orbit. This is the hero's
       color moment — the headline overlaps its left edge. --- */
.hero-deco {
  position: absolute; z-index: 0; pointer-events: none;
  top: clamp(.5rem, 5vh, 3.5rem);
  right: clamp(-70px, 2vw, 100px);
  width: min(44vw, 520px); aspect-ratio: 1;
}
.hero-deco::before { /* the sun */
  content: ""; position: absolute; inset: 7%;
  border-radius: 50%; background: var(--mustard);
}
.hero-deco img { /* the cable mark, riding the sun */
  position: absolute; left: 50%; top: 50%;
  width: 52%; height: auto;
  transform: translate(-50%, -52%);
}
.hero-deco .deco-ring { /* teal orbit */
  position: absolute; inset: -3%;
  border: 2px solid var(--teal); border-radius: 50%;
  transform: rotate(-18deg) scaleY(.44);
}
.hero-deco .deco-star {
  position: absolute; top: 2%; left: 4%;
  width: 52px; height: 52px; color: var(--teal);
}
.hero-deco .deco-diamond {
  position: absolute; bottom: 8%; left: -2%;
  width: 56px; height: 56px; background: var(--orange);
  clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%);
}
@media (max-width: 900px) {
  .hero-deco { width: min(58vw, 360px); right: -14vw; opacity: .55; }
}

.hero-title {
  font-size: clamp(3rem, 8.4vw, 6.4rem);
  margin-bottom: .35em;
}
.hero-title .script {
  display: block;
  font-size: .88em;
  color: var(--orange);
  transform: rotate(-2.5deg);
  transform-origin: left center;
  margin-top: .06em;
  /* "Creativity." writes itself in like wet ink — a left-to-right reveal
     timed to read as cursive handwriting. Reduced motion: instant. */
  clip-path: inset(-30% 102% -30% -8%);
  animation: script-write 1.25s cubic-bezier(.62, .04, .34, 1) .45s forwards;
}
@keyframes script-write { to { clip-path: inset(-30% -8% -30% -8%); } }
.hero p.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 38em; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 2.4rem; }

/* Mascot — front and (off-)center: above the atomic cluster, barely faded */
.hero-mascot {
  position: absolute; right: clamp(-70px, 1vw, 30px); bottom: -30px; z-index: 2;
  width: clamp(180px, 23vw, 300px); opacity: .96;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 12%);
          mask-image: linear-gradient(to top, transparent 0, #000 12%);
}

/* Twinkle constellation — varied shapes, colors and sizes, blinking softly.
   Keyframes start AND end fully visible so reduced-motion (which clamps to
   one instant iteration) leaves them all on. */
.twinkle-field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tw {
  position: absolute;
  width: var(--s, 20px); height: var(--s, 20px);
  background: var(--c, var(--mustard));
  animation: twinkle var(--t, 3.2s) ease-in-out var(--d, 0s) infinite;
}
.tw-star8 {
  clip-path: polygon(50% 0, 58% 38%, 92% 12%, 64% 46%, 100% 50%, 64% 54%, 92% 88%, 58% 62%, 50% 100%, 42% 62%, 8% 88%, 36% 54%, 0 50%, 36% 46%, 8% 12%, 42% 38%);
}
.tw-star4 { clip-path: polygon(50% 0, 59% 41%, 100% 50%, 59% 59%, 50% 100%, 41% 59%, 0 50%, 41% 41%); }
.tw-dot { border-radius: 50%; }
@keyframes twinkle {
  0%, 100% { opacity: .95; transform: scale(1) rotate(0deg); }
  50%      { opacity: .06; transform: scale(.5) rotate(22deg); }
}

/* The showpiece announcement — loud, confident, impossible to miss */
.scroll-cue {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-top: 3.4rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(.95rem, 1.8vw, 1.25rem);
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--orange-deep);
  animation: cue-pulse 2.6s ease-in-out infinite;
}
.scroll-cue::before {
  content: ""; width: .9em; height: .9em; flex: none;
  background: var(--mustard);
  clip-path: polygon(50% 0, 58% 38%, 92% 12%, 64% 46%, 100% 50%, 64% 54%, 92% 88%, 58% 62%, 50% 100%, 42% 62%, 8% 88%, 36% 54%, 0 50%, 36% 46%, 8% 12%, 42% 38%);
  animation: cue-spin 9s linear infinite;
}
.scroll-cue::after {
  content: ""; width: .55em; height: .55em;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg) translateY(-2px);
  animation: cue-bob 1.6s ease-in-out infinite;
}
@keyframes cue-bob { 50% { transform: rotate(45deg) translate(4px, 2px); } }
@keyframes cue-spin { to { transform: rotate(360deg); } }
@keyframes cue-pulse { 50% { opacity: .65; } }

/* ==========================================================================
   6. HOME — CABLE RAIL + FLAGSHIP PANELS  (cables.js draws into .cable-stage)
   ========================================================================== */
.cable-stage { position: relative; }
.cable-stage > svg.cable-art {
  /* sized in px by cables.js (width/height attrs) so coordinates stay 1:1
     with the DOM — never stretched, so plugs land dead-center on jacks.
     z-index above the panels (2): the wire and plug ride OVER the panel
     edge and visibly seat into the jack — not ghosted underneath it. */
  position: absolute; top: 0; left: 0;
  pointer-events: none; z-index: 3; overflow: visible;
}
/* Schematic-style wires: a colored core over a thin ink casing, routed
   orthogonally with uniform corner radii — printed-diagram clean. */
.cable-art path.wire, .cable-art path.wire-casing {
  fill: none; stroke-linecap: round;
}
.cable-art path.wire-casing { stroke: var(--ink); stroke-width: 8.5; }
.cable-art path.wire { stroke-width: 5.5; }
.cable-art .wire--orange  { stroke: var(--orange-cable); }
.cable-art .wire--teal    { stroke: var(--teal-cable); }
.cable-art .wire--mustard { stroke: var(--mustard); }
/* No transition here — cables.js positions the plug per frame so it rides
   the wire tip exactly, then enables a transition only for the final snap. */
.cable-art .plug { transition: opacity .25s ease; }

.flagship { padding: clamp(2rem, 5vh, 4rem) 0 1rem; }
.flagship-head {
  max-width: 620px;
  margin-bottom: clamp(3rem, 7vh, 5rem);
  /* indented to match the panels so the cable rail never runs through it */
  margin-left: clamp(64px, 9vw, 130px);
}
@media (max-width: 760px) { .flagship-head { margin-left: 0; } }

.panel {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 44px 1fr; gap: 2rem;
  background: color-mix(in srgb, var(--paper) 75%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 clamp(3.5rem, 9vh, 6rem) clamp(64px, 9vw, 130px);
  max-width: 880px;
}
.panel .panel-num {
  position: absolute; top: -0.55em; right: clamp(1.2rem, 3vw, 2.4rem);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--collar);
  user-select: none; pointer-events: none;
}
.panel .jack {
  position: relative; width: 30px; height: 30px; margin-top: .4rem;
  border: 1px solid var(--ink); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--ink) 0 30%, var(--collar) 32% 64%, var(--ink) 66% 100%);
  justify-self: start;
}
.panel .jack::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.panel.is-plugged[data-cable="orange"]  .jack::after { border-color: var(--orange-cable); box-shadow: 0 0 16px -3px var(--orange-cable); }
.panel.is-plugged[data-cable="teal"]    .jack::after { border-color: var(--teal-cable);   box-shadow: 0 0 16px -3px var(--teal-cable); }
.panel.is-plugged[data-cable="mustard"] .jack::after { border-color: var(--mustard);      box-shadow: 0 0 16px -3px var(--mustard); }

/* Atomic starburst that pops and fades the instant the plug seats */
.panel .jack::before {
  content: ""; position: absolute; inset: -26px;
  clip-path: polygon(50% 0, 58% 38%, 92% 12%, 64% 46%, 100% 50%, 64% 54%, 92% 88%, 58% 62%, 50% 100%, 42% 62%, 8% 88%, 36% 54%, 0 50%, 36% 46%, 8% 12%, 42% 38%);
  opacity: 0; transform: scale(.2); pointer-events: none;
}
.panel.is-plugged .jack::before { animation: jack-burst .85s ease-out forwards; }
.panel.is-plugged[data-cable="orange"]  .jack::before { background: var(--orange-cable); }
.panel.is-plugged[data-cable="teal"]    .jack::before { background: var(--teal-cable); }
.panel.is-plugged[data-cable="mustard"] .jack::before { background: var(--mustard); }
@keyframes jack-burst {
  0%   { opacity: .9;  transform: scale(.25) rotate(0deg); }
  60%  { opacity: .35; }
  100% { opacity: 0;   transform: scale(2.1) rotate(24deg); }
}

.panel .kicker { margin-bottom: .8rem; }
.panel[data-cable="orange"]  .kicker { color: var(--orange-deep); }
.panel[data-cable="teal"]    .kicker { color: var(--teal-deep); }
.panel[data-cable="mustard"] .kicker { color: #8a5e12; }
.panel h3 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.01em; }
.panel > div > p { color: var(--ink-soft); }
.panel ul.panel-points {
  list-style: none; padding: 0; margin: 1rem 0 1.6rem;
  display: grid; gap: .4rem;
}
.panel ul.panel-points li { padding-left: 1.5em; position: relative; font-size: .98rem; }
.panel ul.panel-points li::before {
  content: ""; position: absolute; left: 0; top: .56em;
  width: .5em; height: .5em; background: currentColor;
  clip-path: polygon(50% 0, 58% 38%, 92% 12%, 64% 46%, 100% 50%, 64% 54%, 92% 88%, 58% 62%, 50% 100%, 42% 62%, 8% 88%, 36% 54%, 0 50%, 36% 46%, 8% 12%, 42% 38%);
  color: var(--teal);
}
.panel[data-cable="orange"] ul.panel-points li::before { color: var(--orange); }
.panel[data-cable="mustard"] ul.panel-points li::before { color: var(--mustard); }

@media (max-width: 760px) {
  .panel { margin-left: 0; grid-template-columns: 1fr; gap: 1rem; }
  .panel .jack { display: none; }
  .panel::before {
    /* static, already-connected mini cable for mobile / reduced motion */
    content: ""; display: block; width: 84px; height: 11px;
    border-radius: 6px; margin-bottom: .6rem;
    background: linear-gradient(90deg, var(--ink) 0 20%, var(--putty) 20% 32%, currentColor 32% 100%);
  }
  .panel[data-cable="orange"]::before  { color: var(--orange-cable); }
  .panel[data-cable="teal"]::before    { color: var(--teal-cable); }
  .panel[data-cable="mustard"]::before { color: var(--mustard); }
}

/* ==========================================================================
   7. HOME — DESIGN STATEMENT (the studio manifesto)
   ========================================================================== */
.design {
  padding: clamp(4rem, 11vh, 8rem) 0;
  border-top: 1px solid var(--line-soft);
}
.design .statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.25;
  letter-spacing: -.01em; max-width: 21em; margin: 0 0 .6em;
  text-wrap: balance;
}
.design .statement em {
  font-style: normal; color: var(--orange);
}
.design-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 3rem; margin-top: clamp(2.5rem, 6vh, 4rem);
  list-style: none; padding: 0;
}
.design-list li { border-top: 1px solid var(--line); padding: 1.4rem 0 .6rem; }
.design-list h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.design-list p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   8. HOME — SYSTEM TAKEOVER & RESCUE BAND
   ========================================================================== */
.rescue {
  position: relative; background: var(--teal); color: var(--cream);
  padding: clamp(4rem, 10vh, 7rem) 0;
  overflow: clip;
}
.rescue::before {
  content: ""; position: absolute; right: -180px; top: -120px;
  width: 540px; height: 470px; background: rgba(228,226,213,.07);
  border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%;
}
.rescue .kicker { color: var(--putty); }
.rescue .kicker .starburst { color: var(--mustard); }
.rescue h2 { color: #fff; max-width: 15em; }
.rescue .script { color: var(--putty); font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.rescue p { max-width: 42em; color: rgba(228,226,213,.88); }
.rescue .btn { background: var(--cream); color: var(--ink); }
.rescue .btn:hover { background: var(--ink); color: var(--cream); }
.rescue-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.rescue-list { list-style: none; margin: 0; padding: 0; display: grid; }
.rescue-list li {
  border-top: 1px solid var(--line-cream);
  padding: 1rem 0; font-size: .98rem; color: rgba(228,226,213,.92);
  font-style: italic;
}
.rescue-list li:last-child { border-bottom: 1px solid var(--line-cream); }
@media (max-width: 820px) { .rescue-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   9. HOME — SERVICES INDEX (editorial list, not boxes)
   ========================================================================== */
.services-strip { padding: clamp(4rem, 11vh, 7.5rem) 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0 3.5rem; margin-top: clamp(2rem, 5vh, 3.5rem);
}
.service-card {
  display: flex; flex-direction: column; gap: .35rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 1.7rem;
  text-decoration: none; color: var(--ink);
  transition: padding-left .25s ease;
}
.service-card:hover { padding-left: .7rem; color: var(--ink); }
.service-card .orbit-icon { display: none; } /* markup kept; v2 list is type-led */
.service-card h3 { font-size: 1.12rem; margin: 0; }
.service-card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.service-card .go { margin-top: .7rem; }

/* ==========================================================================
   10. HOME — AREAS TEASER
   ========================================================================== */
.areas-teaser {
  background: var(--mustard);
  padding: clamp(3.5rem, 9vh, 6rem) 0;
}
.areas-teaser .kicker { color: #4a3a10; }
.areas-teaser .kicker .starburst { color: var(--ink); }
.areas-teaser h2 { max-width: 16em; }
.area-chips { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.area-chip {
  background: transparent; border: 1px solid var(--ink); border-radius: 999px;
  padding: .6rem 1.5rem;
  font-family: var(--font-display); font-weight: 500; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  transition: background .2s, color .2s;
}
.area-chip:hover { background: var(--ink); color: var(--mustard); }
.areas-teaser .towns { font-size: .95rem; max-width: 56em; margin-top: 1.4rem; color: #4a3a10; }

/* Legacy why-band classes (kept harmless if reused) */
.why { padding: clamp(4rem, 10vh, 7rem) 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 3rem; margin-top: 2rem; }
.why-item { display: grid; gap: .4rem; justify-items: start; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.why-item .orbit-icon { display: none; }
.why-item h3 { font-size: 1.05rem; margin: 0; }
.why-item p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.proof-slot { display: none; } /* reviews/photos slot stays in markup, silent until filled */

/* ==========================================================================
   11. FAQ (shared) — hairline accordion
   ========================================================================== */
.faq { padding: clamp(3.5rem, 9vh, 6rem) 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.3rem 3rem 1.3rem 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.08rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .4rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.6rem; color: var(--orange);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 62ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--dark); color: var(--putty);
  padding: clamp(3.5rem, 8vh, 5.5rem) 0 2rem;
  position: relative; overflow: clip;
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand img { width: 64px; margin-bottom: 1rem; }
.footer-slogan { font-family: var(--font-script); font-size: 1.5rem; color: var(--mustard); margin: 0 0 1rem; }
.site-footer h4 {
  color: var(--collar); font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.site-footer address { font-style: normal; font-size: .93rem; line-height: 2; }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-cream);
  font-size: .82rem; color: var(--collar);
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: space-between;
}
.social { display: flex; gap: .7rem; margin-top: 1.2rem !important; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line-cream); border-radius: 50%;
  font-family: var(--font-display); font-weight: 500; font-size: .72rem;
  letter-spacing: .05em; text-decoration: none;
  transition: border-color .2s;
}
.social a:hover { border-color: var(--mustard); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. INNER PAGES — SHARED
   ========================================================================== */
.page-hero {
  position: relative; overflow: clip;
  padding: clamp(3.5rem, 9vh, 6rem) 0 clamp(3rem, 7vh, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 38em; color: var(--ink-soft); }
.breadcrumbs { font-size: .78rem; margin-bottom: 2rem; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs li + li::before { content: "\2192"; margin-right: .6rem; color: var(--teal); }

.content-section { padding: clamp(3.5rem, 9vh, 6rem) 0; }
.content-section.alt { background: var(--paper); border-block: 1px solid var(--line-soft); }
.content-section h2 { max-width: 22em; }
.content-section h2:not(:first-of-type) { margin-top: 2.2em; }

/* Service blocks — editorial rows */
.service-blocks { display: grid; margin-top: 1rem; }
.service-block {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem 3rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: clamp(1.8rem, 4vh, 2.6rem) 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block .orbit-icon { display: none; }
.service-block h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: .3rem; }
.service-block .benefit {
  font-family: var(--font-display); font-weight: 500;
  color: var(--teal-deep); margin-bottom: .5rem; font-size: 1.04rem;
}
.service-block p:not(.benefit) { color: var(--ink-soft); margin-bottom: 0; font-size: .97rem; max-width: 56ch; }
.service-block .btn { align-self: center; white-space: nowrap; }
@media (max-width: 700px) {
  .service-block { grid-template-columns: 1fr; }
}

/* Checklist */
.check-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0 3rem; list-style: none; padding: 0;
}
.check-grid li {
  border-top: 1px solid var(--line);
  padding: 1rem 0 1rem 1.7rem; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: .98rem;
}
.check-grid li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: .55em; height: .55em; background: var(--orange);
  clip-path: polygon(50% 0, 58% 38%, 92% 12%, 64% 46%, 100% 50%, 64% 54%, 92% 88%, 58% 62%, 50% 100%, 42% 62%, 8% 88%, 36% 54%, 0 50%, 36% 46%, 8% 12%, 42% 38%);
}

/* CTA band */
.cta-band {
  background: var(--orange); color: #fff;
  padding: clamp(4rem, 10vh, 7rem) 0;
}
.cta-band h2 { color: #fff; max-width: 16em; }
.cta-band .script { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.2rem); display: block; margin-bottom: .5rem; }
.cta-band .btn { background: var(--cream); color: var(--ink); margin-top: 1.4rem; }
.cta-band .btn:hover { background: var(--ink); color: var(--cream); }

/* ==========================================================================
   14. DEDICATED THEATER — dark cinema treatment
   ========================================================================== */
.theater-page { background-color: var(--dark); color: var(--putty); }
.theater-page .site-header { background: color-mix(in srgb, var(--dark) 88%, black); border-bottom-color: var(--line-cream); }
.theater-page .site-nav a:not(.btn) { color: var(--cream); }
.theater-page .nav-cta .btn { color: var(--cream); border-color: var(--collar); }
.theater-page .page-hero { border-bottom-color: var(--line-cream); }
.theater-page h1, .theater-page h2, .theater-page h3 { color: var(--cream); }
.theater-page .page-hero .lede, .theater-page p { color: var(--collar); }
.theater-page .content-section.alt { background: var(--dark-2); border-color: var(--line-cream); }
.theater-page .service-block, .theater-page .faq details { border-color: var(--line-cream); }
.theater-page .faq summary { color: var(--cream); }
.theater-page .faq summary::after { color: var(--teal-light); }
.theater-page .faq details > div { color: var(--collar); }
.theater-page .service-block p:not(.benefit) { color: var(--collar); }
.theater-page .service-block .benefit { color: var(--teal-light); }
.theater-page .breadcrumbs { color: var(--collar); }
.theater-page .breadcrumbs a { color: var(--putty); }
.theater-page .kicker { color: var(--teal-light); }
.theater-page .kicker .starburst { color: var(--mustard); }
.theater-page a { color: var(--teal-light); }
.theater-page a:hover { color: var(--mustard); }
.theater-page .btn { color: var(--ink); }
.theater-page .check-grid li { border-color: var(--line-cream); }
.theater-page .check-grid li::before { background: var(--teal-light); }

/* Marquee v2 — a real cinema sign: layered frame, perimeter bulbs with a
   slow chase, warm glow. "SPLYCED PRESENTS" eyebrow sells the bit. */
.marquee {
  display: block; width: fit-content;
  padding: 2.1rem 3.6rem 1.9rem; margin: .4rem 0 1.8rem;
  position: relative; text-align: center;
  background: linear-gradient(180deg, #32302a 0%, #1b1a16 100%);
  border: 1px solid rgba(209, 148, 48, .55);
  border-radius: 14px;
  box-shadow:
    0 0 70px -16px rgba(209, 148, 48, .7),
    0 14px 40px -18px rgba(0, 0, 0, .8),
    inset 0 0 46px rgba(0, 0, 0, .55);
}
.marquee::before { /* perimeter bulbs — four edges, chasing slowly */
  content: ""; position: absolute; inset: 9px; border-radius: 9px;
  pointer-events: none;
  background-image:
    radial-gradient(circle 2.2px, var(--mustard) 62%, transparent 66%),
    radial-gradient(circle 2.2px, var(--mustard) 62%, transparent 66%),
    radial-gradient(circle 2.2px, var(--mustard) 62%, transparent 66%),
    radial-gradient(circle 2.2px, var(--mustard) 62%, transparent 66%);
  background-size: 24px 6px, 24px 6px, 6px 24px, 6px 24px;
  background-position: 8px 0, 8px 100%, 0 8px, 100% 8px;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  filter: drop-shadow(0 0 5px rgba(209, 148, 48, .9));
  animation: marquee-chase 1.6s linear infinite;
}
@keyframes marquee-chase {
  to { background-position: 32px 0, -16px 100%, 0 32px, 100% -16px; }
}
.marquee-eyebrow {
  font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .48em; text-transform: uppercase;
  color: var(--mustard); margin: 0 0 .55rem;
}
.marquee h1 {
  margin: 0;
  text-shadow: 0 0 28px rgba(228, 226, 213, .35);
}

/* ==========================================================================
   15. GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem; margin-top: 2rem;
}
.gallery-item {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: clip; aspect-ratio: 4 / 3; background: var(--paper);
  cursor: pointer; padding: 0; display: block; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .placeholder-tile {
  display: grid; place-items: center; height: 100%;
  color: var(--collar); font-family: var(--font-display); font-weight: 500;
  font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
}
.gallery-item figcaption, .gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: .7rem 1.1rem;
  background: rgba(31,30,26,.84); color: var(--cream); font-size: .82rem;
}
.lightbox {
  border: none; padding: 0; background: rgba(31,30,26,.93);
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
  display: none; place-items: center;
}
.lightbox[open] { display: grid; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 6px; object-fit: contain; }
.lightbox .lb-close {
  position: fixed; top: 1.4rem; right: 1.6rem;
  background: transparent; color: var(--cream); border: 1px solid var(--collar);
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; transition: border-color .2s;
}
.lightbox .lb-close:hover { border-color: var(--orange); }

/* ==========================================================================
   16. BRANDS (dormant page)
   ========================================================================== */
.brand-group { margin-bottom: 3.5rem; }
.brand-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 3rem; margin-top: .6rem; }
.brand-card { border-top: 1px solid var(--line); padding: 1.4rem 0 1.6rem; }
.brand-card .logo-slot {
  height: 56px; display: grid; place-items: center; margin-bottom: .9rem;
  border: 1px dashed var(--line); border-radius: 8px;
  color: var(--collar); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.brand-card h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.brand-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ==========================================================================
   17. CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4.5rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-form { display: grid; gap: 1.4rem; }
.contact-form .field { display: grid; gap: .45rem; }
.contact-form label {
  font-family: var(--font-display); font-weight: 500;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--ink);
  border-radius: 0; padding: .55rem 0; width: 100%;
  transition: border-color .2s;
}
.contact-form select { cursor: pointer; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-bottom-color: var(--orange); box-shadow: 0 1px 0 var(--orange);
}
.contact-form textarea { resize: vertical; }
/* Honeypot — off-screen, untabbable, invisible to real users */
.contact-form .hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.contact-form input[aria-invalid="true"] { border-bottom-color: var(--orange-deep); }
.field-error {
  margin: .1rem 0 0; font-size: .82rem; color: var(--orange-deep); font-weight: 600;
}
.form-status {
  margin: .2rem 0 0; font-size: .95rem; font-weight: 600; min-height: 1.2em;
}
.form-status.is-success { color: var(--teal-deep); }
.form-status.is-error   { color: var(--orange-deep); }

.contact-aside { border-left: 1px solid var(--line); padding-left: 2.5rem; }
@media (max-width: 820px) { .contact-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 2rem; } }
.contact-aside address { font-style: normal; line-height: 2; }
.contact-aside hr { border: none; border-top: 1px solid var(--line); margin: 1.6rem 0; }

/* ==========================================================================
   18. AREA PAGES
   ========================================================================== */
.town-cloud { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.town-cloud li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: .3rem 1rem; font-size: .82rem;
  font-family: var(--font-display); font-weight: 500; letter-spacing: .06em;
  color: var(--ink-soft);
}
.area-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 3rem; margin-top: 1.5rem; }
.area-card {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2rem;
  text-decoration: none; color: var(--ink);
  transition: padding-left .25s ease;
}
.area-card:hover { padding-left: .7rem; color: var(--ink); }
.area-card .kicker { margin-bottom: .6rem; }
.area-card h3 { margin-bottom: .4rem; }
.area-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ==========================================================================
   19. ABOUT
   ========================================================================== */
.bio-grid { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start; margin-bottom: 3.5rem; }
.bio-grid .portrait {
  border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); overflow: clip;
}
@media (max-width: 640px) { .bio-grid { grid-template-columns: 1fr; } .bio-grid .portrait { max-width: 220px; } }
.about-mascot { width: 150px; transform: rotate(3deg); }

/* ==========================================================================
   19b. THE ROCKET — unlabeled. If you know, you know.
   Flat, logo-styled artwork standing on the footer's bottom edge.
   Hover: rumble + canvas smoke (real buoyancy/drag/turbulence — main.js).
   Click: long ignition shake with smoke pooling at the pad, then liftoff —
   it pins to the viewport, climbs out trailing exhaust, and pulls the page
   to the top on the same acceleration curve. Gone until the next page load.
   ========================================================================== */
.rocket {
  position: absolute; right: clamp(.75rem, 4vw, 3rem); bottom: -6px;
  width: clamp(72px, 9vw, 110px);
  background: none; border: none; padding: 0; margin: 0;
  cursor: pointer; line-height: 0; z-index: 3;
}
.rocket svg { width: 100%; height: auto; display: block; overflow: visible; }
.rocket .rocket-flame { opacity: 0; transform-box: fill-box; transform-origin: 50% 0; }
.rocket:hover, .rocket:focus-visible { animation: rkt-rumble .18s linear infinite; }
.rocket.is-igniting { animation: rkt-shake .09s linear infinite; }
.rocket.is-flying { animation: none; }
.rocket.is-flying .rocket-flame {
  opacity: 1; animation: rkt-flame .08s linear infinite alternate;
}
.smoke-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 998; }
/* keep the bottom bar clear of the launch pad */
.footer-bottom { padding-right: clamp(110px, 14vw, 170px); }
@keyframes rkt-rumble {
  25% { transform: translate(.8px, -.5px) rotate(-.9deg); }
  75% { transform: translate(-.8px, .5px) rotate(.9deg); }
}
@keyframes rkt-shake {
  20% { transform: translate(2.5px, -2px) rotate(-1.6deg); }
  45% { transform: translate(-2.5px, 1.5px) rotate(1.3deg); }
  70% { transform: translate(2px, 2.5px) rotate(-1.1deg); }
  90% { transform: translate(-1.5px, -2px) rotate(1.5deg); }
}
@keyframes rkt-flame {
  from { transform: scaleY(.78); }
  to   { transform: scaleY(1.22); }
}

/* ==========================================================================
   20. REVEAL-ON-SCROLL + REDUCED MOTION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@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; }
  /* cables.js also checks this media query and renders the wires
     pre-drawn and plugged in — see assets/js/cables.js */
}

/* ==========================================================================
   21. PRINT
   ========================================================================== */
@media print {
  .site-header, .site-footer, .hero-mascot, .cable-art, .nav-toggle, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}
