/* Layout: dark site-board. Big condensed type left, real photography cropped hard right;
   services set out like the circuit schedule on a consumer unit door; work in an off-grid photo wall. */
:root {
  --ink: #0e0e0d;        /* page ground, the logo's black */
  --board: #171715;      /* raised panels */
  --rule: #2b2a26;       /* hairlines */
  --paper: #eeebe4;      /* main text */
  --dust: #9a968b;       /* secondary text */
  --volt: #f5c000;       /* FM Electrical yellow, sampled from their graphics */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; }
::selection { background: var(--volt); color: var(--ink); }

.wrap { padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dust); }
.disp { font-family: var(--f-display); font-stretch: 68%; font-weight: 850; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
.dot { color: var(--volt); }
.btn { display: inline-flex; align-items: center; gap: .7em; min-height: 52px; padding: 0 26px; font: 600 14px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--paper); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--volt { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.btn--volt:hover { background: var(--paper); border-color: var(--paper); }
.btn--line { background: transparent; color: var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; background: linear-gradient(var(--ink), rgba(14,14,13,0)); }
.nav.solid { background: var(--ink); border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--dust); transition: color .2s; }
.nav ul a:hover { color: var(--paper); }
.nav-r { display: flex; align-items: center; gap: 20px; }
.nav-r .tel { font: 500 13px/1 var(--f-mono); letter-spacing: .06em; text-decoration: none; }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 12px; }
@media (max-width: 900px) { .nav ul, .nav-r .tel { display: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--rule); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 34px; padding: 130px var(--gutter) 40px; }
.hero h1 { font-size: clamp(76px, 13.6vw, 228px); }
.hero h1 span { display: block; }
.hero h1 .indent { padding-left: .55em; }
.hero-lede { max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); color: var(--paper); margin: 0; }
.hero-lede em { font-style: normal; color: var(--volt); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { position: relative; overflow: hidden; border-left: 1px solid var(--rule); }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: saturate(.85) contrast(1.05); }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,13,.55), rgba(14,14,13,0) 45%), linear-gradient(0deg, rgba(14,14,13,.7), rgba(14,14,13,0) 35%); }
.hero-img figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; gap: 12px; }
.hero-meta { position: absolute; z-index: 3; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 16px; pointer-events: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-img { order: -1; height: 62vh; min-height: 380px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .hero-copy { padding-top: 36px; }
  .hero-meta { display: none; }
}

/* ---------- STRIP ---------- */
.strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-block: 18px; border-bottom: 1px solid var(--rule); }
.strip span { white-space: nowrap; }
.strip span::before { content: "■"; color: var(--volt); margin-right: 10px; font-size: 8px; vertical-align: 2px; }

/* ---------- SECTION HEAD ---------- */
.sec { padding-block: clamp(80px, 11vw, 160px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(54px, 8.4vw, 132px); }
.sec-head p { max-width: 30em; margin: 0; color: var(--dust); justify-self: end; }
.sec-head .mono { display: block; margin-bottom: 18px; color: var(--volt); }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }

/* ---------- SERVICES: circuit schedule ---------- */
.sched { border-top: 1px solid var(--paper); }
.sched-head, .way { display: grid; grid-template-columns: 92px minmax(0, 1.25fr) minmax(0, 1fr) 40px; gap: 24px; align-items: center; }
.sched-head { padding-block: 12px; border-bottom: 1px solid var(--rule); }
.way { position: relative; padding-block: clamp(22px, 2.6vw, 34px); border-bottom: 1px solid var(--rule); text-decoration: none; transition: padding .25s, background .25s; }
.way-n { font: 500 13px/1 var(--f-mono); color: var(--dust); letter-spacing: .08em; }
.way h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 70px); line-height: .92; margin: 0; transition: color .25s; }
.way p { margin: 0; color: var(--dust); font-size: 15.5px; max-width: 34em; }
.way-arr { justify-self: end; font: 400 26px/1 var(--f-body); color: var(--dust); transition: transform .25s, color .25s; }
.way:hover h3, .way:focus-visible h3 { color: var(--volt); }
.way:hover .way-arr { color: var(--volt); transform: translateX(6px); }
.way:hover .way-n { color: var(--paper); }
@media (max-width: 800px) {
  .sched-head { display: none; }
  .way { grid-template-columns: 52px minmax(0, 1fr) 24px; row-gap: 10px; }
  .way p { grid-column: 2 / 3; }
  .way-arr { grid-row: 1; grid-column: 3; }
}
.reveal { position: fixed; z-index: 15; width: 260px; aspect-ratio: 3 / 4; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.94); transition: opacity .2s, transform .25s; border: 1px solid var(--rule); background: var(--board); }
.reveal.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.reveal img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 900px) { .reveal { display: none; } }

/* ---------- STATEMENT ---------- */
.statement { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-block: 1px solid var(--rule); }
.statement figure { margin: 0; position: relative; min-height: 560px; border-right: 1px solid var(--rule); overflow: hidden; }
.statement figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(36px, 6vw, 96px) var(--gutter); }
.statement blockquote { margin: 0; font-family: var(--f-display); font-stretch: 80%; font-weight: 700; text-transform: uppercase; font-size: clamp(38px, 5.2vw, 84px); line-height: .95; text-wrap: balance; }
.statement blockquote .dim { color: var(--dust); }
.statement-copy p { max-width: 30em; margin: 0; color: var(--dust); }
.statement-copy p strong { color: var(--paper); font-weight: 600; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } .statement figure { min-height: 0; aspect-ratio: 4 / 5; border-right: 0; border-bottom: 1px solid var(--rule); } }

/* ---------- WORK ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.job { margin: 0; display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.job-img { position: relative; overflow: hidden; background: var(--board); }
.job-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(.9); }
.job:hover .job-img img { transform: scale(1.035); filter: saturate(1); }
.job-tag { position: absolute; top: 14px; left: 14px; padding: 6px 9px; background: var(--ink); color: var(--paper); font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.job-tag.y { background: var(--volt); color: var(--ink); }
.job-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; border-top: 1px solid var(--rule); padding-top: 12px; }
.job-cap h3 { margin: 0; font: 600 18px/1.3 var(--f-body); }
.job-cap p { margin: 0; grid-column: 1 / -1; color: var(--dust); font-size: 15px; max-width: 36em; }
.job-cap .mono { white-space: nowrap; }
.job:hover .job-cap h3 { color: var(--volt); }
.j1 { grid-column: 1 / span 7; } .j1 .job-img { aspect-ratio: 4 / 3; }
.j2 { grid-column: 9 / span 4; margin-top: clamp(60px, 12vw, 200px); } .j2 .job-img { aspect-ratio: 3 / 4; }
.j3 { grid-column: 2 / span 4; } .j3 .job-img { aspect-ratio: 3 / 4; }
.j4 { grid-column: 7 / span 5; margin-top: clamp(40px, 8vw, 140px); } .j4 .job-img { aspect-ratio: 4 / 5; }
.j4 .job-img img { object-position: 50% 40%; }
.work-foot { margin-top: clamp(56px, 7vw, 100px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--rule); padding-top: 24px; }
@media (max-width: 860px) {
  .j1, .j2, .j3, .j4 { grid-column: 1 / -1; margin-top: 0; }
  .work-grid { row-gap: 52px; }
}

/* ---------- ABOUT ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.about h2 { font-size: clamp(54px, 7.2vw, 116px); }
.about-body { display: flex; flex-direction: column; gap: 22px; max-width: 40em; }
.about-body p { margin: 0; font-size: clamp(17px, 1.35vw, 20px); }
.about-body p.dim { color: var(--dust); font-size: 16.5px; }
.std { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.std li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.std li span:last-child { color: var(--paper); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .std li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- CONTACT ---------- */
.contact { background: var(--volt); color: var(--ink); }
.contact .disp { font-size: clamp(70px, 13vw, 220px); }
.contact .mono { color: rgba(14,14,13,.65); }
.contact-top { padding-block: clamp(70px, 9vw, 130px) clamp(40px, 5vw, 64px); }
.contact-top h2 .line2 { display: block; color: var(--ink); -webkit-text-stroke: 0; }
.contact-top h2 .line1 { display: block; color: transparent; -webkit-text-stroke: 2px var(--ink); }
@supports not (-webkit-text-stroke: 2px black) { .contact-top h2 .line1 { color: var(--ink); } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); padding-block: 0 clamp(70px, 9vw, 130px); }
.direct { display: flex; flex-direction: column; gap: 28px; }
.direct .num { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; text-decoration: none; letter-spacing: -.01em; user-select: all; }
.direct .num:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.direct-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.chip:hover { background: var(--ink); color: var(--volt); }
.direct p { margin: 0; max-width: 26em; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.f { display: flex; flex-direction: column; gap: 6px; padding-block: 12px; border-bottom: 1.5px solid var(--ink); }
.f.full { grid-column: 1 / -1; }
.f label { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(14,14,13,.7); }
.f input, .f select, .f textarea { width: 100%; border: 0; background: transparent; color: var(--ink); font: 500 18px/1.4 var(--f-body); padding: 4px 0; outline: none; border-radius: 0; color-scheme: light; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-position: right 6px center, right 0 center; background-size: 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.f textarea { resize: vertical; min-height: 96px; }
.f input::placeholder, .f textarea::placeholder { color: rgba(14,14,13,.4); }
.f:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1.5px 0 var(--ink); }
.f .err { font-size: 13px; color: #7a1a00; min-height: 0; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.form-foot small { font-size: 13.5px; max-width: 30em; color: rgba(14,14,13,.7); }
.contact .btn--dark { background: var(--ink); border-color: var(--ink); color: var(--volt); }
.contact .btn--dark:hover { background: transparent; color: var(--ink); }
.sent { grid-column: 1 / -1; margin-top: 20px; padding: 20px; border: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.sent pre { margin: 0; white-space: pre-wrap; font: 400 14px/1.5 var(--f-mono); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } form { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
footer { padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; border-top: 1px solid var(--rule); }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--volt); }
.foot-word { grid-column: 1 / -1; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: clamp(64px, 19vw, 330px); line-height: .8; text-transform: uppercase; color: var(--board); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; margin-top: 10px; user-select: none; }
@media (max-width: 700px) { footer { grid-template-columns: 1fr; } }
