:root {
  --night: #0a111b;
  --ink: #111c28;
  --ink-2: #182636;
  --paper: #f6f2ea;
  --paper-2: #ece5d8;
  --white: #fffdf9;
  --text: #1b2630;
  --muted: #5b6670;
  --line: #ddd5c6;
  --copper: #b5602f;
  --copper-2: #d9854f;
  --amber: #ffcf8a;
  --on-ink: #e9e4da;
  --on-ink-muted: #9fabb5;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: 20px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
h2 { font-family: var(--serif); font-size: clamp(2.1rem, 7vw, 3.3rem); letter-spacing: -0.01em; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

.kicker, .eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(10, 17, 27, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark { width: 34px; height: 34px; border: 1.5px solid var(--copper-2); border-radius: 50%; display: grid; place-items: center; }
.brand-mark svg { width: 17px; height: 17px; fill: var(--copper-2); }
.brand-pe { color: var(--on-ink-muted); font-weight: 400; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

.nav-toggle {
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--on-ink); transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav {
  position: absolute; top: 64px; left: 0; right: 0;
  background: var(--night);
  display: none; flex-direction: column;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav.open { display: flex; }
.nav a { text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 1.05rem; }
.nav a.nav-cta { border: 0; margin-top: 14px; text-align: center; background: var(--copper); color: #fff; border-radius: var(--radius); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  font: 500 1rem var(--sans);
  text-decoration: none; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .2s;
}
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: #a0512a; box-shadow: 0 0 24px rgba(217,133,79,.35); }
.btn-ghost { border-color: rgba(255,255,255,0.3); color: var(--on-ink); background: rgba(10,17,27,.25); }
.btn-ghost:hover { border-color: var(--copper-2); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #080e17 0%, #0e1826 40%, #1a2136 75%, #2a2540 100%);
  color: var(--on-ink);
  padding-top: 100px;
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  line-height: 1.02; letter-spacing: -0.015em;
  color: #fff;
}
.hero h1 em { color: var(--copper-2); }
.hero .lede { font-size: 1.1rem; max-width: 34em; color: #d6d2ca; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }

.hero-scene {
  position: relative; z-index: 1; pointer-events: none;
  height: clamp(360px, 110vw, 540px);
  margin-top: -110px;
}
.hero-more { position: relative; z-index: 2; background: #0b121b; padding: 4px 0 36px; margin-top: -1px; }
.hero-scene svg { width: 100%; height: 100%; }
.hero-scrim { display: none; }

.scroll-cue { display: none; }

/* Load-in for hero copy */
.js .rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Scene ---------- */
.scene .stars circle { fill: #fff; opacity: .5; animation: twinkle 4s ease-in-out infinite alternate; }
.scene .stars circle:nth-child(3n) { animation-delay: -1.3s; animation-duration: 5s; }
.scene .stars circle:nth-child(3n+1) { animation-delay: -2.6s; animation-duration: 3.4s; }
@keyframes twinkle { from { opacity: .15; } to { opacity: .7; } }

.scene .ridge-far { fill: #252844; }
.scene .ridge-rim { fill: none; stroke: #f0a38d; stroke-width: 2; stroke-opacity: .5; }
.scene .hills { fill: #151d2c; }
.scene .ground { fill: #0b121b; }
.scene .grade { stroke: #3a4a5c; stroke-width: 1.5; }

.scene .draw {
  fill: none; stroke: #b4c7d9; stroke-opacity: .6; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.js .scene .draw { stroke-dasharray: 1 2; stroke-dashoffset: 1.05; }
.js .scene.drawing .draw { animation: draw 1.7s cubic-bezier(.6,.1,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.scene .wire { stroke-width: 1.8; transition: stroke .8s, stroke-opacity .8s; transition-delay: var(--d, 0s); }
.scene.energized .wire { stroke: var(--copper-2); stroke-opacity: .75; }
.scene .underground { fill: none; stroke: #3a4a5c; stroke-width: 2; stroke-dasharray: 6 6; }

.scene .flow, .scene .flow-halo {
  fill: none; stroke-linecap: round;
  stroke-dasharray: 2 18; opacity: 0;
  animation: flow 1.8s linear infinite;
}
.scene .flow { stroke: #fff1d6; stroke-width: 3; }
.scene .flow-halo { stroke: var(--amber); stroke-width: 10; }
.scene.energized .flow { opacity: 1; transition: opacity .6s var(--d, 0s); }
.scene.energized .flow-halo { opacity: .28; transition: opacity .6s var(--d, 0s); }
@keyframes flow { to { stroke-dashoffset: -20; } }

.scene .solar { transition: fill 1s .4s; }
.scene.lit .solar { fill: rgba(90,130,170,.25); }
.scene .win { fill: #121b26; transition: fill .6s ease; transition-delay: calc(var(--i) * 120ms); }
.scene.lit .win { fill: #ffc877; }
.scene.lit .win.arch { fill: #e89a58; }
.scene .win.off { fill: #121b26 !important; transition-delay: 0s; }
.scene .building-mullions path { stroke: #0b121b; stroke-width: 2; opacity: 0; transition: opacity .4s 1.2s; }
.scene.lit .building-mullions path { opacity: .7; }
.scene .cone { fill: url(#cone); opacity: 0; transition: opacity 1s .5s; }
.scene.lit .cone { opacity: .5; }
.scene .bulb { fill: #2a3440; transition: fill .4s .5s; }
.scene.lit .bulb { fill: #ffe7bb; }

/* ---------- Stats band ---------- */
.stats-band { background: #0b121b; color: var(--on-ink); border-top: 1px solid rgba(255,255,255,.05); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto; padding-top: 28px; padding-bottom: 32px; }
.stats div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.12); }
.stats dt { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: #fff; }
.stats dd { margin: 6px 0 0; font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--on-ink-muted); line-height: 1.35; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .kicker { color: var(--copper-2); }
.section-paper { background: var(--paper); }
.section-head { max-width: 40em; margin-bottom: 44px; }
.section-head > p:not(.kicker):not(.boutique-sign) { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }
.section-ink .section-head > p:not(.kicker) { color: var(--on-ink-muted); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Services: the circuit ---------- */
.power { background: linear-gradient(180deg, #0b121b 0%, var(--ink) 30%); color: var(--on-ink); }
.power h2 { color: #fff; }
.power .kicker { color: var(--copper-2); }
.power .section-head > p:not(.kicker) { color: var(--on-ink-muted); }

.circuit { list-style: none; margin: 0; padding: 0; position: relative; --p: 0; }
.circuit::before {
  content: ''; position: absolute; left: 23px; top: 24px; bottom: 64px; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 6px, transparent 6px 12px);
}
.circuit-fill {
  position: absolute; left: 23px; top: 24px; width: 2px;
  height: calc((100% - 88px) * var(--p));
  background: linear-gradient(180deg, var(--copper), var(--amber));
  box-shadow: 0 0 10px rgba(255,190,120,.7);
}
.circuit-fill::after {
  content: ''; position: absolute; bottom: -5px; left: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff1d6; box-shadow: 0 0 14px 5px rgba(255,190,120,.75);
  opacity: min(1, calc(var(--p) * 20));
}
.node { position: relative; padding: 0 0 44px 72px; }
.node-icon {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18); background: var(--ink);
  display: grid; place-items: center; color: var(--on-ink-muted);
  transition: border-color .4s, color .4s, box-shadow .5s;
}
.node-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node-tag { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); padding-top: 3px; transition: color .4s; }
.node h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; color: #cfd6dc; margin-top: 4px; transition: color .4s; }
.node p { margin-top: 8px; color: var(--on-ink-muted); font-size: .98rem; max-width: 34em; }
.node.live .node-icon { border-color: var(--copper-2); color: #ffd7a0; box-shadow: 0 0 0 6px rgba(217,133,79,.12), 0 0 26px rgba(255,180,110,.45); }
.node.live .node-tag { color: var(--copper-2); }
.node.live h3 { color: #fff; }

/* ---------- Boutique ---------- */
.boutique-points { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.boutique-points li { padding: 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; }
.boutique-points .bp-num { grid-row: span 2; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--copper); }
.boutique-points h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.boutique-points p { color: var(--muted); }
.boutique-sign { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--text); }
.boutique-sign span { display: block; margin-top: 4px; font-family: var(--mono); font-style: normal; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sectors ---------- */
.sectors { display: grid; gap: 14px; }
.sector {
  position: relative; padding: 26px 22px 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.sector::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sector:hover { box-shadow: 0 14px 34px rgba(20,32,43,.08); border-color: #cfc5b4; }
.sector:hover::before { transform: scaleX(1); }
.sector-num { font-family: var(--mono); font-size: .75rem; color: var(--copper); display: block; margin-bottom: 14px; }
.sector h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; }
.sector p { margin-top: 10px; color: var(--muted); font-size: .97rem; }

/* ---------- Work ---------- */
.work-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.work-tabs::-webkit-scrollbar { display: none; }
.work-tab { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; font: 500 .95rem var(--sans); color: var(--text); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.work-tab:hover { border-color: var(--copper); }
.work-tab:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.work-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-count { font-family: var(--mono); font-size: .72rem; color: var(--copper); }
.work-tab[aria-selected="true"] .work-count { color: var(--copper-2); }
.work-panel { margin-top: 36px; }
.work-panel-title { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.work-blurb { margin-top: 6px; color: var(--muted); }
.work-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.work-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.work-loc { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--copper); }
.work-item h4 { margin: 6px 0 0; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.work-item h4 + p { margin-top: 6px; color: var(--muted); font-size: .97rem; }
.js .work-panel:not([hidden]) .work-item { animation: work-in .5s var(--ease) both; }
@keyframes work-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .js .work-panel .work-item { animation: none; } }
.quotes { display: grid; gap: 20px; margin-top: 56px; }
.quote { margin: 0; padding: 28px 24px; background: var(--white); border-left: 3px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.quote figcaption { margin-top: 16px; display: grid; }
.quote figcaption span { font-size: .9rem; color: var(--muted); }
/* Placeholders stay visibly marked until real content replaces them */
.quote.is-placeholder { outline: 1.5px dashed #c9bda8; outline-offset: -1.5px; }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.process li { position: relative; padding-left: 58px; }
.process .step {
  position: absolute; left: 0; top: -2px; z-index: 1;
  width: 42px; height: 42px; border: 1.5px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; background: var(--white);
  font-family: var(--mono); font-size: .8rem; color: var(--muted);
  transition: border-color .4s, color .4s, background .4s, box-shadow .5s;
  transition-delay: calc(var(--i) * .35s);
}
.process li::before {
  content: ''; position: absolute; left: 20px; top: 46px; bottom: -26px;
  border-left: 1.5px dashed var(--line);
}
.process li::after {
  content: ''; position: absolute; left: 20px; top: 46px; bottom: -26px; width: 1.5px;
  background: var(--copper); transform: scaleY(0); transform-origin: top;
  transition: transform .4s linear; transition-delay: calc(var(--i) * .35s + .2s);
}
.process li:last-child::before, .process li:last-child::after { display: none; }
.process.in .step { border-color: var(--copper); color: #fff; background: var(--copper); box-shadow: 0 0 0 5px rgba(181,96,47,.12); }
.process.in li::after { transform: scaleY(1); }
.process h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.process p { margin-top: 6px; color: var(--muted); }

/* ---------- Service area ---------- */
.counties { list-style: none; padding: 0; margin: 24px 0 0; display: grid; }
.counties li { font-family: var(--mono); font-size: .85rem; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
.counties li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.map { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.map .ocean { fill: #e3e8ea; }
.map .grid-line { stroke: rgba(20,32,43,0.06); stroke-width: 1; }
.map .land { fill: var(--white); stroke: #9aa7af; stroke-width: 1.2; }
.map .county-labels text { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; fill: #a49c8e; }
.map .route { fill: none; stroke: var(--copper); stroke-width: 2; stroke-dasharray: 6 5; opacity: .8; }
.map .route-reveal { fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.js .map .route-reveal { stroke-dasharray: 1 2; stroke-dashoffset: 1.05; transition: stroke-dashoffset 2.6s cubic-bezier(.5,0,.3,1) .3s; }
.js .map.in .route-reveal { stroke-dashoffset: 0; }
.map .reach circle { fill: none; stroke: var(--copper); stroke-width: 1; opacity: .25; }
.map .cities circle { fill: var(--ink); }
.map .cities text { font-family: var(--sans); font-size: 17px; font-weight: 500; fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round; }
.js .map .cities g { opacity: 0; transition: opacity .5s; transition-delay: calc(.4s + var(--i) * .28s); }
.js .map.in .cities g { opacity: 1; }
.map .home circle { fill: var(--copper); }
.map .home .pulse { opacity: .25; animation: pulse 2.4s ease-out infinite; transform-origin: 352px 281px; }
.map .home text { font-family: var(--mono); font-size: 19px; font-weight: 500; letter-spacing: .1em; fill: var(--copper); paint-order: stroke; stroke: var(--white); stroke-width: 4px; }
.map .home text.sub { font-size: 13px; letter-spacing: .06em; fill: var(--muted); }
.map .sea { font-family: var(--mono); font-size: 11px; letter-spacing: .3em; fill: #8e9ca4; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(2.2); opacity: 0; } }

/* ---------- About ---------- */
.about { display: grid; gap: 32px; }
.portrait {
  position: relative; margin: 0;
  width: 150px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--line);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait-ph { position: absolute; inset: 0; display: grid; place-items: end center; }
.portrait-ph svg { width: 78%; fill: #cfc5b4; }
.portrait-ph span { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-lede { margin-top: 20px; font-size: 1.2rem; line-height: 1.5; }
.about-copy p + p { margin-top: 16px; }
.about-copy > p:not(.kicker):not(.about-lede) { color: var(--muted); }
.creds { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.creds li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.creds strong { font-weight: 600; }
.creds span { font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.creds a { color: var(--copper); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-grid > div > p:not(.kicker) { margin-top: 18px; color: var(--on-ink-muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: grid; grid-template-columns: 70px 1fr; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-list span { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-ink-muted); padding-top: 3px; }
.contact-list a { text-decoration: none; color: #fff; }
.contact-list a:hover { color: var(--copper-2); }

.form { display: grid; gap: 16px; background: var(--ink-2); padding: 24px 20px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.07); }
.form label { display: grid; gap: 6px; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-ink-muted); }
.form input, .form select, .form textarea {
  font: 400 16px var(--sans); color: #fff;
  background: var(--ink); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; min-height: 48px;
  text-transform: none; letter-spacing: 0;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-ink-muted) 50%), linear-gradient(135deg, var(--on-ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--copper-2); box-shadow: 0 0 0 3px rgba(217,133,79,0.2); }
.form-note { font-size: .9rem; color: var(--copper-2); min-height: 1.2em; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button:disabled { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { background: var(--night); color: var(--on-ink-muted); padding: 28px 0; font-size: .85rem; }
.footer-inner { display: grid; gap: 6px; }

/* ---------- Tablet and up ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .hero-actions { flex-direction: row; }
  .hero h1 { max-width: 14ch; }
  .hero-scene { height: clamp(420px, 62vw, 560px); margin-top: -160px; }
  .stats dt { font-size: 3rem; }
  .stats dd { font-size: .75rem; }
  .stats div + div { padding-left: 32px; }
  .section { padding: 112px 0; }
  .sectors { grid-template-columns: 1fr 1fr; }
  .work-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .work-tabs { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .quotes { grid-template-columns: 1fr 1fr; }
  /* An odd final quote spans both columns instead of sitting alone */
  .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .process { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .process li { padding-left: 0; padding-top: 62px; }
  .process .step { top: 0; }
  .process li::before { left: 50px; right: -18px; top: 21px; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--line); }
  .process li::after { left: 50px; right: -18px; top: 20px; bottom: auto; width: auto; height: 1.5px; transform: scaleX(0); transform-origin: left; }
  .process.in li::after { transform: scaleX(1); }
  .form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .form .full { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr auto; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; align-items: center; gap: 28px;
    background: none; padding: 0; border: 0;
  }
  .nav a { border: 0; padding: 6px 0; font-size: .95rem; color: var(--on-ink); opacity: .85; }
  .nav a:hover { opacity: 1; color: var(--copper-2); }
  .nav a.nav-cta { margin: 0; padding: 10px 18px; opacity: 1; color: #fff; }
  .nav a.nav-cta:hover { background: #a0512a; color: #fff; }

  .hero { height: 100vh; height: 100svh; min-height: 660px; max-height: 1000px; padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-content { padding-top: 40px; }
  .hero-more { background: none; padding: 22px 0 110px; margin: 0; }
  .hero h1 { max-width: 16ch; font-size: clamp(3.4rem, 5.2vw, 4.6rem); }
  .hero .lede { max-width: 30em; }
  .hero-scene { position: absolute; inset: 0; z-index: 0; height: auto; margin: 0; }
  .hero-scrim {
    display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(8,14,23,.94) 0%, rgba(8,14,23,.82) 36%, rgba(8,14,23,0) 62%);
  }
  .scroll-cue {
    display: flex; align-items: center; gap: 12px;
    position: absolute; z-index: 2; left: max(32px, calc((100vw - 1160px) / 2 + 32px)); bottom: 28px;
    font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--on-ink-muted); text-decoration: none;
  }
  .scroll-cue::before { content: ''; width: 1.5px; height: 36px; background: linear-gradient(var(--amber), transparent); animation: cue 2s ease-in-out infinite; transform-origin: top; }
  .scroll-cue:hover { color: #fff; }

  .power-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
  .power-head { position: sticky; top: 120px; margin-bottom: 0; }
  .boutique { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
  .boutique .section-head { margin-bottom: 0; }
  .sectors { grid-template-columns: repeat(4, 1fr); }
  .area { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: center; }
  .area .section-head { margin-bottom: 0; }
  .about { grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
  .portrait { width: 220px; }
  .about-copy { max-width: 42em; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; }
}
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Projects in construction ---------- */
.build { display: grid; gap: 48px; }
.build-main { display: grid; gap: 28px; }
.build-figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.build-figure img { width: 100%; height: auto; aspect-ratio: 1400 / 1076; object-fit: cover; }
.build-status {
  position: absolute; left: 14px; top: 14px;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(10,17,27,.82); border-radius: 999px;
}
.build-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255,207,138,.6); animation: build-pulse 2s ease-out infinite; }
@keyframes build-pulse { 70% { box-shadow: 0 0 0 8px rgba(255,207,138,0); } 100% { box-shadow: 0 0 0 0 rgba(255,207,138,0); } }
.section-ink .work-loc { color: var(--copper-2); }
.build-title { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.1; }
.build-lede { margin-top: 14px; color: var(--on-ink-muted); }
.build-facts { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
.build-facts dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.build-facts dd { margin: 4px 0 0; color: #fff; }
.build-btn { margin-top: 28px; text-align: center; }
.build-update-title { font-family: var(--mono); font-weight: 400; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-2); padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.build-shots { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 28px; }
.build-shot a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.build-shot img { width: 100%; height: auto; aspect-ratio: 1400 / 785; object-fit: cover; transition: transform .4s var(--ease); }
.build-shot a:hover img { transform: scale(1.03); }
.build-shot a:focus-visible { outline: 2px solid var(--copper-2); outline-offset: 3px; }
.build-shot h5 { margin: 12px 0 0; font: 600 1rem var(--sans); color: #fff; }
.build-shot p { margin-top: 4px; font-size: .93rem; color: var(--on-ink-muted); }
@media (min-width: 640px) {
  .build-shots { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (min-width: 960px) {
  .build-main { grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
  .build-btn { align-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .build-dot { animation: none; }
  .build-shot img { transition: none; }
}

/* ---------- Reduced motion: show the finished state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .js .scene .draw { stroke-dasharray: none; animation: none; }
  .scene .stars circle, .map .home .pulse, .scroll-cue::before { animation: none; }
  .scene .flow, .scene .flow-halo { display: none; }
  .js .map .route-reveal { stroke-dasharray: none; transition: none; }
  .js .map .cities g { opacity: 1; transition: none; }
}
