/* MT Cabling Solutions: site styles */
:root {
  --ink: #0a1424;
  --ink-2: #0f1d33;
  --ink-3: #16263f;
  --stone: #e8ebee;
  --stone-2: #dde1e6;
  --paper: #ffffff;
  --amber: #f8b848;
  --amber-2: #ffc864;
  --blue: #0050a0;
  --blue-2: #1c6cc4;
  --text: #0e1a2b;
  --text-2: #4a5a70;
  --on-dark: #e9eef5;
  --on-dark-2: #9fb0c6;
  --line-d: rgba(233, 238, 245, 0.13);
  --line-l: rgba(14, 26, 43, 0.13);
  --wa: #25d366;
  --radius: 6px;
  --head-h: 76px;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --f-sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (max-width: 860px) { :root { --head-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; font-family: var(--f-sans); font-size: 18px; line-height: 1.6; color: var(--text);
  background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -0.012em; margin: 0; }
h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Labels: mono, small caps, a short rule before (cable-tag feel) */
.label {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-weight: 500;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px;
}
.label::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .label, .crew .label, .quote .label, .label--amber { color: var(--amber); }
.lede { font-size: clamp(1.08rem, 1.35vw, 1.22rem); color: var(--text-2); max-width: 62ch; }
.dark .lede { color: var(--on-dark-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: var(--radius); font: 600 1rem/1 var(--f-sans); letter-spacing: 0.01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-2); transform: translateY(-1px); }
.btn--line { border-color: rgba(233, 238, 245, 0.55); color: #fff; background: rgba(10, 20, 36, 0.18); }
.btn--line:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost { border-color: var(--line-l); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--wa svg { color: var(--wa); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.dark .tlink { color: var(--amber); }
.tlink svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.tlink:hover svg { transform: translateX(3px); }

/* Header (white, logo in full colour). Frost lives on ::before so the fixed menu never gets trapped. */
.head { position: sticky; top: 0; z-index: 60; height: var(--head-h); }
.head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line-l); transition: box-shadow .25s;
}
.head.is-scrolled::before { box-shadow: 0 8px 28px rgba(10, 20, 36, 0.08); }
.head__in { height: 100%; display: flex; align-items: center; gap: 18px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 860px) { .brand img { height: 38px; } }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__drop > button {
  font: 500 1rem/1 var(--f-sans); color: var(--text); text-decoration: none; padding: 10px 10px; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav__drop > button:hover, .nav > a[aria-current="page"] { color: var(--blue); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.nav__drop { position: relative; }
.nav__drop > button svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__drop.is-open > button svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 340px; background: #fff; border: 1px solid var(--line-l);
  border-radius: var(--radius); box-shadow: 0 18px 50px rgba(10, 20, 36, 0.14); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s linear .18s;
}
.nav__drop.is-open .drop { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s var(--ease), visibility 0s; }
.drop a { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 4px; text-decoration: none; font-weight: 500; }
.drop a span { font: 500 0.72rem/1 var(--f-mono); color: var(--text-2); width: 20px; flex: none; }
.drop a:hover { background: var(--stone); }
.drop a.drop__all { border-top: 1px solid var(--line-l); margin-top: 6px; border-radius: 0 0 4px 4px; color: var(--blue); }
.head__call { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--text); white-space: nowrap; }
.head__call svg { width: 18px; height: 18px; color: var(--blue); }
.head__call:hover { color: var(--blue); }
.head__cta { min-height: 46px; padding: 0 18px; }
.burger { display: none; }
@media (max-width: 1360px) { .head__call span { display: none; } }
@media (max-width: 1240px) {
  .nav, .head__cta { display: none; }
  .head__in { gap: 10px; }
  .head__call { margin-left: auto; width: 46px; height: 46px; justify-content: center; border: 1px solid var(--line-l); border-radius: var(--radius); }
  .burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px;
    border: 1px solid var(--line-l); border-radius: var(--radius); background: #fff; cursor: pointer;
  }
  .burger span { height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* Mobile menu: a sibling of the header, hidden with visibility too (never transform alone). */
.mmenu {
  position: fixed; inset: var(--head-h) 0 0 0; z-index: 55; background: var(--ink); color: var(--on-dark); overflow-y: auto;
  padding: 18px var(--gut) 40px; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-12px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s linear .3s;
}
.menu-open .mmenu { visibility: visible; pointer-events: auto; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
.mmenu a { display: block; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 1.25rem; font-weight: 600; }
.mmenu .mmenu__sub a { font-size: 1.02rem; font-weight: 500; padding: 11px 0 11px 16px; color: var(--on-dark-2); }
.mmenu .btns { margin-top: 26px; }
.mmenu .btn { flex: 1 1 200px; }
@media (min-width: 1241px) { .mmenu { display: none; } }
.menu-open { overflow: hidden; }

/* Home hero */
.hero { position: relative; min-height: calc(100svh - var(--head-h)); display: flex; flex-direction: column; color: #fff; background: var(--ink); overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 28, 0.88) 0%, rgba(8, 15, 28, 0.66) 42%, rgba(8, 15, 28, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 15, 28, 0.9) 0%, rgba(8, 15, 28, 0) 46%);
}
.hero__body { position: relative; flex: 1; display: flex; align-items: center; padding: clamp(48px, 8vh, 96px) 0 40px; }
.hero__copy { max-width: 760px; }
.hero__copy h1 { margin-bottom: 22px; text-wrap: balance; }
.hero__copy p { color: rgba(233, 238, 245, 0.86); font-size: clamp(1.04rem, 1.3vw, 1.2rem); max-width: 60ch; }
.hero__copy p strong { color: #fff; font-weight: 600; }
.hero__copy .btns { margin-top: 30px; }
.hero__copy .hero__tag { display: inline-flex; align-items: center; gap: 12px; font: 500 0.76rem/1.4 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin-bottom: 20px; }
.hero__copy .hero__tag::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Proof run: one amber cable across the hero foot with four terminations */
.run { position: relative; padding: 0 0 34px; }
.run__line { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: linear-gradient(90deg, rgba(248, 184, 72, 0) 0, var(--amber) 9%, var(--amber) 100%); transform-origin: left; }
.run ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.run li { padding-top: 34px; position: relative; }
.run li::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--amber); }
.run li b { display: block; font: 500 0.72rem/1.3 var(--f-mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.run li span { display: block; font-size: 1rem; line-height: 1.45; color: rgba(233, 238, 245, 0.9); max-width: 28ch; }
@media (max-width: 860px) {
  .run ol { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .run__line { display: none; }
  .run li { padding: 0 0 0 28px; }
  .run li::before { top: 3px; }
}

/* Sections */
.sec { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.dark { background: var(--ink); color: var(--on-dark); }
.dark-2 { background: var(--ink-2); color: var(--on-dark); }
.stone { background: var(--stone); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head h2 { max-width: 20ch; text-wrap: balance; }
.sec__head .lede { margin-top: 18px; }
@media (max-width: 760px) { .sec__head { grid-template-columns: 1fr; } }

/* Services index: a cable schedule with a live preview pane */
.sched { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sched__list { border-top: 1px solid var(--line-l); }
.sched__row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 22px 6px 22px 0;
  border-bottom: 1px solid var(--line-l); text-decoration: none; position: relative; transition: padding .3s var(--ease);
}
.sched__row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--amber); transition: width .45s var(--ease); }
.sched__row:hover::after, .sched__row.is-on::after { width: 100%; }
.sched__row.is-on { padding-left: 10px; }
.sched__n { font: 500 0.8rem/1 var(--f-mono); color: var(--text-2); letter-spacing: 0.06em; }
.sched__row h3 { font-size: clamp(1.18rem, 1.6vw, 1.42rem); margin-bottom: 4px; }
.sched__row p { margin: 0; color: var(--text-2); font-size: 0.98rem; line-height: 1.45; }
.sched__row > svg { width: 22px; height: 22px; color: var(--blue); transition: transform .25s var(--ease); }
.sched__row:hover > svg { transform: translateX(4px); }
.sched__thumb { display: none; }
.sched__view { position: sticky; top: calc(var(--head-h) + 28px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.sched__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.sched__view img.is-on { opacity: 1; transform: none; }
.sched__view figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; color: #fff; font-weight: 600; font-size: 1.15rem;
  background: linear-gradient(0deg, rgba(8, 15, 28, 0.85), rgba(8, 15, 28, 0));
}
.sched__view figcaption small { display: block; font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.sched__more { margin-top: 30px; }
@media (max-width: 900px) {
  .sched { grid-template-columns: 1fr; }
  .sched__view { display: none; }
  .sched__row { grid-template-columns: 76px minmax(0, 1fr) 22px; }
  .sched__n { display: none; }
  .sched__thumb { display: block; width: 76px; height: 76px; border-radius: 4px; object-fit: cover; }
}

/* Route section with the building cross-section */
.route { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.route h2 { margin-bottom: 18px; }
.route__list { counter-reset: r; margin: 28px 0 32px; border-top: 1px solid var(--line-d); }
.route__list li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-d);
  cursor: default; transition: color .2s, padding .25s var(--ease); color: var(--on-dark);
}
.route__list li b { font: 500 0.78rem/1 var(--f-mono); color: var(--amber); }
.route__list li span { font-weight: 500; }
.route__list li.is-on { color: var(--amber); padding-left: 6px; }
.route__fig { margin: 0; }
.route__fig svg { width: 100%; height: auto; overflow: visible; }
.route__fig figcaption { font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); margin-top: 14px; }
.bld { fill: none; stroke: rgba(159, 176, 198, 0.42); stroke-width: 1.4; }
.bld--slab { fill: rgba(159, 176, 198, 0.16); stroke: rgba(159, 176, 198, 0.42); }
.bld--earth { fill: url(#hatch); stroke: none; }
.bld--grade { stroke: rgba(233, 238, 245, 0.55); stroke-width: 1.6; }
.bld--soft { stroke: rgba(159, 176, 198, 0.24); }
.bld--tray { fill: rgba(159, 176, 198, 0.35); stroke: none; }
.bld--beam { fill: rgba(159, 176, 198, 0.3); stroke: rgba(159, 176, 198, 0.5); }
.bld--txt { fill: rgba(159, 176, 198, 0.75); font: 500 10px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; stroke: none; }
.cab { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cab--glow { stroke: rgba(248, 184, 72, 0.18); stroke-width: 11; }
.cab-end { fill: var(--amber); opacity: 0; transition: opacity .3s; }
.cab-end.is-lit { opacity: 1; }
.mk circle { fill: var(--ink); stroke: var(--amber); stroke-width: 1.6; transition: fill .2s; }
.mk text { fill: var(--amber); font: 600 11px var(--f-mono); text-anchor: middle; dominant-baseline: central; transition: fill .2s; }
.mk line { stroke: var(--amber); stroke-width: 1; opacity: 0.7; }
.mk { cursor: pointer; }
.mk.is-on circle { fill: var(--amber); }
.mk.is-on text { fill: var(--ink); }
.part { transition: opacity .25s; }
.route__fig.is-focus .part:not(.is-on) { opacity: 0.22; }
.route__fig.is-focus .mk:not(.is-on) { opacity: 0.35; }
.part.is-on .cab { stroke: #ffd690; }
.part.is-on .bld, .part.is-on .bld--tray, .part.is-on .bld--beam { stroke: rgba(248, 184, 72, 0.9); }
@media (max-width: 960px) { .route { grid-template-columns: 1fr; } .route__fig { order: -1; } }

/* Who we work with */
.who { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.who__list { columns: 2; column-gap: 40px; border-top: 1px solid var(--line-l); }
.who__list li { break-inside: avoid; padding: 16px 0 16px 26px; border-bottom: 1px solid var(--line-l); position: relative; font-weight: 500; line-height: 1.4; }
.who__list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 12px; height: 2px; background: var(--amber); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .who__list { columns: 1; } }

/* Recent work strip */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 16px 14px; color: #fff; font-size: 0.95rem; line-height: 1.35; font-weight: 500;
  background: linear-gradient(0deg, rgba(8, 15, 28, 0.82), rgba(8, 15, 28, 0));
}
.shot figcaption small { display: block; font: 500 0.66rem/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 3px; }
.shot .sample { position: absolute; top: 10px; left: 10px; font: 500 0.64rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(10, 20, 36, 0.7); padding: 6px 8px; border-radius: 3px; }
.work .shot:nth-child(1) { grid-column: span 5; grid-row: span 2; aspect-ratio: auto; }
.work .shot:nth-child(2) { grid-column: span 4; aspect-ratio: 4 / 3; }
.work .shot:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.work .shot:nth-child(4) { grid-column: span 4; aspect-ratio: 4 / 3; }
@media (max-width: 760px) {
  .work { grid-template-columns: 1fr 1fr; }
  .work .shot:nth-child(n) { grid-column: span 1; grid-row: auto; aspect-ratio: 3 / 4; }
  .work .shot:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* Area rings */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rings { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; }
.rings svg { width: 100%; height: auto; }
.ring { fill: none; stroke: var(--blue); stroke-width: 1.2; }
.ring--far { stroke-dasharray: 3 7; stroke: rgba(0, 80, 160, 0.55); }
.ring--fill { fill: rgba(0, 80, 160, 0.07); stroke: rgba(0, 80, 160, 0.5); }
.ring-txt { font: 500 11px var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; fill: var(--text-2); }
.ring-dot { fill: var(--amber); stroke: var(--ink); stroke-width: 2; }
.area h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* Contractors callout */
.crew { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.crew__copy { padding: clamp(36px, 5vw, 64px); }
.crew__copy h2 { margin-bottom: 18px; color: #fff; }
.crew__copy p { color: var(--on-dark-2); max-width: 54ch; }
.crew__copy .btns { margin-top: 28px; }
.crew__img { position: relative; min-height: 320px; }
.crew__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crew__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink), rgba(10, 20, 36, 0) 45%); }
@media (max-width: 860px) { .crew { grid-template-columns: 1fr; } .crew__img { min-height: 240px; order: -1; } .crew__img::before { background: linear-gradient(0deg, var(--ink), rgba(10, 20, 36, 0) 50%); } }

/* Quote band (closes every page) */
.quote { background: var(--ink); color: var(--on-dark); padding: clamp(72px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.quote__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.quote h2 { color: #fff; margin-bottom: 16px; max-width: 18ch; text-wrap: balance; }
.quote p { color: var(--on-dark-2); max-width: 52ch; }
.quote__ways { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.quote__ways a { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-d); text-decoration: none; color: #fff; font-weight: 500; }
.quote__ways a small { font: 500 0.7rem/1 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); }
.quote__ways a svg { width: 20px; height: 20px; color: var(--amber); }
.quote__ways a.is-wa svg { color: var(--wa); }
.quote__ways a:hover { color: var(--amber); }
.quote .btns { margin-top: 28px; }
@media (max-width: 860px) { .quote__in { grid-template-columns: 1fr; } .quote__ways a { grid-template-columns: 28px 1fr; } .quote__ways a small { display: none; } }

/* Footer */
.foot { background: var(--stone); color: var(--text-2); padding: 64px 0 28px; font-size: 0.98rem; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-l); }
.foot__brand img { height: 92px; width: auto; margin-bottom: 18px; }
.foot__brand p { max-width: 38ch; }
.foot h4 { font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.foot__h-gap { margin-top: 30px; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { color: var(--blue); }
.foot__contact a { display: block; margin-bottom: 4px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 0.86rem; }
.foot__base a { color: var(--text-2); }
.foot__base .credit-link:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__top { grid-template-columns: 1fr; } }

/* Floating actions */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); }
.fab svg { width: 28px; height: 28px; }
.fab__wa { background: var(--wa); color: #fff; position: relative; }
.fab__wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s var(--ease) infinite; }
.fab__call { background: var(--amber); color: var(--ink); display: none !important; }
@media (max-width: 860px) { .fab__call { display: grid !important; } .fab a { width: 52px; height: 52px; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fab__wa::after { animation: none; } }

/* Inner page hero */
.phero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.phero__img { position: absolute; inset: 0; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 15, 28, 0.9) 0%, rgba(8, 15, 28, 0.62) 55%, rgba(8, 15, 28, 0.3) 100%); }
.phero__in { position: relative; min-height: clamp(380px, 54vh, 560px); display: flex; flex-direction: column; justify-content: flex-end; padding: 56px 0 clamp(44px, 6vw, 72px); }
.phero h1 { max-width: 20ch; margin-bottom: 18px; text-wrap: balance; font-size: clamp(2.1rem, 4.2vw, 3.5rem); }
.phero p { max-width: 62ch; color: rgba(233, 238, 245, 0.86); font-size: clamp(1.04rem, 1.3vw, 1.18rem); }
.phero .btns { margin-top: 26px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 0.72rem/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(233, 238, 245, 0.7); margin-bottom: 22px; }
.crumbs a { text-decoration: none; color: inherit; }
.crumbs a:hover { color: var(--amber); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--amber); }
.phero--short .phero__in { min-height: clamp(300px, 40vh, 420px); }

/* Service page */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { border-top: 1px solid var(--line-l); }
.dark .ticks { border-color: var(--line-d); }
.ticks li { padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line-l); position: relative; line-height: 1.45; }
.dark .ticks li { border-color: var(--line-d); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 760px) { .cols2 { grid-template-columns: 1fr; } }
.cols2 h3 { margin-bottom: 14px; }
.plain li { padding: 12px 0; border-bottom: 1px solid var(--line-l); font-weight: 500; }
.plain { border-top: 1px solid var(--line-l); }
.scope { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--amber); background: rgba(248, 184, 72, 0.1); color: var(--text); font-size: 1rem; border-radius: 0 var(--radius) var(--radius) 0; }
.xp { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line-d); }
.xp li { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line-d); color: var(--on-dark); line-height: 1.45; display: grid; grid-template-columns: 36px 1fr; gap: 8px; }
.xp li b { font: 500 0.75rem/1.6 var(--f-mono); color: var(--amber); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gal .shot { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .gal { grid-template-columns: 1fr 1fr; } .gal .shot:first-child { grid-column: span 2; aspect-ratio: 4 / 3; } }
.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.others a { padding: 22px 20px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); text-decoration: none; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; transition: background .2s; }
.others a span { font: 500 0.72rem/1.6 var(--f-mono); color: var(--text-2); }
.others a:hover { background: #fff; color: var(--blue); }
@media (max-width: 900px) { .others { grid-template-columns: 1fr 1fr; } }

/* Services hub cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(10, 20, 36, 0.1); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body small { font: 500 0.7rem/1 var(--f-mono); color: var(--text-2); letter-spacing: 0.08em; }
.card__body h3 { font-size: 1.22rem; }
.card__body p { color: var(--text-2); font-size: 0.98rem; line-height: 1.45; margin: 0; }
.card__body .tlink { margin-top: auto; padding-top: 10px; align-self: flex-start; border: 0; }
@media (max-width: 1100px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.also { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px; padding-top: 32px; border-top: 2px solid var(--ink); }
.also ul { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.also li { font-weight: 500; position: relative; padding-left: 20px; }
.also li::before { content: ""; position: absolute; left: 0; top: 13px; width: 10px; height: 2px; background: var(--amber); }
@media (max-width: 760px) { .also { grid-template-columns: 1fr; } }

/* Retrofit page */
.chal { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.chal li { padding: 26px 24px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.chal li b { display: block; font: 500 0.72rem/1 var(--f-mono); color: var(--blue); margin-bottom: 14px; letter-spacing: 0.08em; }
.chal li h3 { font-size: 1.2rem; margin-bottom: 8px; }
.chal li p { margin: 0; color: var(--text-2); font-size: 0.98rem; line-height: 1.5; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps::before { content: ""; position: absolute; left: 8px; right: 0; top: 9px; height: 2px; background: var(--amber); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.steps li { position: relative; padding-top: 38px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 2px solid var(--amber); }
.steps li b { display: block; font: 500 0.72rem/1 var(--f-mono); color: var(--amber); letter-spacing: 0.1em; margin-bottom: 10px; }
.steps li h3 { color: #fff; margin-bottom: 8px; }
.steps li p { color: var(--on-dark-2); font-size: 1rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform: scaleY(var(--draw, 1)); transform-origin: top; }
  .steps li { padding: 0 0 30px 40px; }
}
.statement { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.25; max-width: 30ch; color: #fff; }
.statement em { font-style: normal; color: var(--amber); }

/* Projects */
.filter { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--line-l); margin-bottom: 30px; }
.filter button { font: 600 1rem/1 var(--f-sans); background: none; border: 0; padding: 14px 0; cursor: pointer; color: var(--text-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.filter button:hover { color: var(--text); }
.filter button[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--amber); }
.filter button span { font: 500 0.72rem/1 var(--f-mono); color: var(--text-2); margin-left: 6px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pgrid .shot { aspect-ratio: 3 / 4; cursor: zoom-in; }
.pgrid .shot.is-hidden { display: none; }
.pgrid .shot button { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }
.themes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 40px; }
.themes h3 { font-size: 1.05rem; margin-bottom: 6px; }
.themes p { font-size: 0.95rem; color: var(--text-2); margin: 0; }
.note { font-size: 0.95rem; color: var(--text-2); margin-top: 26px; }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(5, 10, 20, 0.94); display: grid; place-items: center; padding: 60px 20px 40px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s linear .25s; }
.lb.is-open { visibility: visible; opacity: 1; transition: opacity .25s, visibility 0s; }
.lb figure { margin: 0; max-width: min(1200px, 100%); }
.lb img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lb figcaption { color: var(--on-dark); text-align: center; margin-top: 14px; }
.lb button { position: absolute; background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 1; }
.lb__x { top: 16px; right: 16px; }
.lb__p { left: 16px; top: 50%; }
.lb__n { right: 16px; top: 50%; }

/* About */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.trio li { border-top: 2px solid var(--amber); padding-top: 22px; }
.trio h3 { margin-bottom: 10px; color: #fff; }
.trio p { color: var(--on-dark-2); margin: 0; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }
.prose p { font-size: 1.08rem; }
.facts { border-top: 1px solid var(--line-l); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-l); }
.facts dt { font: 500 0.72rem/1.6 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.facts dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line-l); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 40px); }
.form h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 8px; }
.form > p { color: var(--text-2); margin-bottom: 24px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; }
.field label i { font-style: normal; font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-sans); color: var(--text); background: #f7f8fa; border: 1px solid #c9d0d9; border-radius: var(--radius);
  padding: 13px 14px; min-height: 50px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e1a2b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(0, 80, 160, 0.14); }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: #c0392b; }
.field .err { display: none; color: #b03a2e; font-size: 0.88rem; margin-top: 6px; }
.field.is-bad .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
.form__privacy { font-size: 0.9rem; color: var(--text-2); margin-top: 18px; }
.form__ok { display: none; text-align: left; }
.form.is-sent .form__ok { display: block; }
.form.is-sent form { display: none; }
.form__ok h2 { margin-bottom: 12px; }
.direct { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.direct a, .direct div { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; }
.direct svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.direct .is-wa svg { color: var(--wa); }
.direct small { display: block; font: 500 0.7rem/1.4 var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-bottom: 3px; }
.direct strong { font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.direct a:hover strong { color: var(--blue); }
.aside h2 { font-size: 1.5rem; margin-bottom: 14px; }

/* Reveal on scroll (QA scrolls naturally and fails on anything left in its start state) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .08s; } .js .rv-d2 { transition-delay: .16s; } .js .rv-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* Area legend */
.legend { margin-top: 28px; display: grid; gap: 12px; }
.legend li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: center; font-weight: 500; line-height: 1.4; }
.legend i { width: 22px; height: 22px; border-radius: 50%; display: block; }
.legend .l1 { background: var(--amber); border: 2px solid var(--ink); width: 16px; height: 16px; margin-left: 3px; }
.legend .l2 { background: rgba(0, 80, 160, 0.1); border: 1.5px solid rgba(0, 80, 160, 0.6); }
.legend .l3 { border: 1.5px dashed rgba(0, 80, 160, 0.6); }

.crumbs, .steps { list-style: none; margin: 0; padding: 0; }
.steps { padding: 0; }
@media (max-width: 760px) { .work .shot:nth-child(4) { grid-column: span 2; aspect-ratio: 4 / 3; } }

/* ---------- v2: DrainCo-style video hero, transparent header on home ---------- */
.head--over { position: fixed; left: 0; right: 0; }
.head--over:not(.is-scrolled)::before { background: linear-gradient(180deg, rgba(7, 12, 22, 0.55), rgba(7, 12, 22, 0)); border-color: transparent; }
.head--over:not(.is-scrolled) .nav > a, .head--over:not(.is-scrolled) .nav__drop > button, .head--over:not(.is-scrolled) .head__call { color: #fff; }
.head--over:not(.is-scrolled) .nav > a:hover, .head--over:not(.is-scrolled) .nav__drop > button:hover { color: var(--amber); }
.head--over:not(.is-scrolled) .head__call svg { color: var(--amber); }
.brand__dark { display: none; }
.head--over:not(.is-scrolled) .brand__dark { display: block; }
.head--over:not(.is-scrolled) .brand__light { display: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 860px) { .brand img { height: 38px; } }
@media (max-width: 1240px) {
  .head--over:not(.is-scrolled) .burger { background: transparent; border-color: rgba(255, 255, 255, 0.4); }
  .head--over:not(.is-scrolled) .burger span { background: #fff; }
  .head--over:not(.is-scrolled) .head__call { border-color: rgba(255, 255, 255, 0.4); }
}
.menu-open .head--over::before { background: var(--ink); }

.vhero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--ink); }
.vhero__media { position: absolute; inset: 0; }
.vhero__poster, .vhero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero__video { opacity: 0; transition: opacity .9s; }
.vhero__video.is-playing { opacity: 1; }
.vhero__scrim {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 52% 46% at 50% 47%, rgba(7, 12, 22, 0.66), rgba(7, 12, 22, 0) 100%),
    linear-gradient(180deg, rgba(7, 12, 22, 0.7) 0%, rgba(7, 12, 22, 0.34) 36%, rgba(7, 12, 22, 0.46) 66%, rgba(7, 12, 22, 0.96) 100%);
}
.vhero__in { position: relative; text-align: center; padding: calc(var(--head-h) + 40px) var(--gut) 64px; display: flex; flex-direction: column; align-items: center; }
.vhero__title { margin: 0; line-height: 0; }
.vhero__logo { width: clamp(250px, 31vw, 460px); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55)); }
.vhero__line { margin: 26px 0 0; font: 500 clamp(1.15rem, 0.95rem + 0.8vw, 1.6rem)/1.3 var(--f-sans); letter-spacing: -0.01em; max-width: 32ch; text-wrap: balance; color: #fff; }
.vhero .btns { justify-content: center; margin-top: 30px; }
.vhero__proof { margin: 36px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font: 500 0.72rem/1.6 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(233, 238, 245, 0.78); max-width: 860px; }
.vhero__proof span { display: inline-flex; align-items: center; gap: 10px; }
.vhero__proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); flex: none; }
@media (max-width: 600px) {
  .vhero .btns { width: 100%; max-width: 360px; }
  .vhero .btns .btn { flex: 1 1 100%; }
  .vhero__proof { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .vhero__video { display: none; } }

/* ---------- v2: hover-expanding challenge panels ---------- */
.pans { display: flex; gap: 10px; height: clamp(440px, 62vh, 580px); }
.pan { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: var(--ink-3); transition: flex-grow .75s var(--ease); outline: none; }
.pan.is-on { flex-grow: 3.6; }
.pan:focus-visible { box-shadow: 0 0 0 2px var(--amber); }
.pan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) brightness(0.6); transform: scale(1.06); transition: filter .75s var(--ease), transform 1.4s var(--ease); }
.pan.is-on img { filter: none; transform: scale(1); }
.pan::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 12, 22, 0.92) 0%, rgba(7, 12, 22, 0.2) 55%, rgba(7, 12, 22, 0.05) 100%); }
.pan__body { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 24px 22px; width: max-content; max-width: 100%; }
.pan__n { display: block; font: 500 0.72rem/1 var(--f-mono); color: var(--amber); letter-spacing: 0.1em; margin-bottom: 12px; }
.pan h3 { color: #fff; font-size: clamp(1.15rem, 1.5vw, 1.45rem); white-space: nowrap; }
.pan:not(.is-on) h3 { writing-mode: vertical-rl; transform: rotate(180deg); }
.pan p { width: 34ch; max-width: calc(100vw - 80px); margin: 10px 0 0; color: rgba(233, 238, 245, 0.88); font-size: 1rem; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); }
.pan.is-on p { opacity: 1; transform: none; transition: opacity .45s .3s, transform .55s .3s var(--ease); }
.pan:not(.is-on) p { position: absolute; pointer-events: none; }
@media (max-width: 860px) {
  .pans { flex-direction: column; height: auto; }
  .pan, .pan.is-on { flex: none; height: 230px; }
  .pan img { filter: none; transform: none; }
  .pan:not(.is-on) h3 { writing-mode: horizontal-tb; transform: none; }
  .pan p, .pan:not(.is-on) p { position: static; opacity: 1; transform: none; width: auto; }
  .pan__body { width: auto; }
}

/* ---------- v2: Ireland map ---------- */
.iemap { position: relative; margin: 0; max-width: 520px; width: 100%; justify-self: center; }
.iemap__svg { width: 100%; height: auto; }
.cty { fill: #c9d1da; stroke: #f3f5f7; stroke-width: 1.3; stroke-linejoin: round; cursor: pointer; outline: none; transition: fill .3s var(--ease); }
.cty:hover, .cty:focus-visible, .cty.is-hover { fill: #8ea2b8; }
.cty.is-base { fill: var(--amber); }
.cty.is-base:hover, .cty.is-base.is-hover { fill: #ffcd70; }
.cty.is-dub { fill: var(--blue); }
.cty.is-dub:hover, .cty.is-dub.is-hover { fill: var(--blue-2); }
.iemap__ring { fill: rgba(0, 80, 160, 0.06); stroke: rgba(0, 80, 160, 0.65); stroke-width: 2; stroke-dasharray: 7 7; pointer-events: none; }
.iemap__ringtxt { font: 500 17px var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--blue); paint-order: stroke; stroke: var(--stone); stroke-width: 4px; pointer-events: none; }
.pin { pointer-events: none; }
.pin text { font: 600 22px var(--f-sans); fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 4px; }
.pin--base .dot { fill: var(--ink); stroke: #fff; stroke-width: 2.5; }
.pin--base .halo { fill: none; stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease) infinite; }
.pin--dub .dot { fill: #fff; stroke: var(--ink); stroke-width: 2; }
@keyframes halo { 0% { transform: scale(1); opacity: 0.7; } 75%, 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin--base .halo { animation: none; } }
.iemap__tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 500; line-height: 1.3; padding: 7px 10px; border-radius: 4px; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; }
.iemap__tip.is-on { opacity: 1; }
.iemap__tip small { display: block; font: 500 0.66rem/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.iemap__hint { font-size: 0.92rem; color: var(--text-2); margin-top: 18px; }
.legend .l1 { background: var(--amber); border: 0; width: 18px; height: 18px; border-radius: 3px; margin-left: 2px; }
.legend .l2 { background: var(--blue); border: 0; width: 18px; height: 18px; border-radius: 3px; margin-left: 2px; }
.legend .l3 { border: 1.5px dashed rgba(0, 80, 160, 0.7); background: rgba(0, 80, 160, 0.05); }
@media (max-width: 860px) { .pan::after { background: linear-gradient(0deg, rgba(7, 12, 22, 0.95) 0%, rgba(7, 12, 22, 0.6) 58%, rgba(7, 12, 22, 0.3) 100%); } }
