/* Single dark palette — the site looks the same in every OS theme.
   Hue 206 navy, the complement of the burnt orange accent. */
:root{
  color-scheme: dark;
  --ground:#0D1E2B;
  --surface:#182B39;
  --surface-2:#253B4B;
  --ink:#F7F9FA;
  --body:#CDD6DD;
  --muted:#9EAEBA;
  --line:#365063;
  --line-strong:#516F85;
  --accent:#C2570F;
  --on-accent:#FFFFFF;
  --accent-display:#D35C0D;
  --accent-ink:#E4660C;
  --accent-soft:rgba(226,102,12,.15);
  --blue:#97BCD8;
  --logo-line:#00E5FF;
  --shadow:0 1px 2px rgba(0,0,0,.45),0 10px 30px -14px rgba(0,0,0,.75);
  --maxw:1140px;
}

*,*::before,*::after{box-sizing:border-box;}
body{
  margin:0;
  background:var(--ground);
  color:var(--body);
  font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px;}

h1,h2,h3,.display{
  font-family:"Barlow Condensed","IBM Plex Sans",sans-serif;
  font-weight:700;color:var(--ink);text-transform:uppercase;
  letter-spacing:.005em;line-height:1.02;text-wrap:balance;margin:0;
}
h1{font-size:clamp(2.1rem,7.4vw,5.4rem);overflow-wrap:break-word;}
h2{font-size:clamp(1.75rem,4.2vw,3.1rem);overflow-wrap:break-word;}
h3{font-size:1.32rem;line-height:1.14;}
@media (max-width:560px){ h1 br{display:none;} }
p{margin:0;}

.mono{
  font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:.735rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);
}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.stack{display:flex;flex-direction:column;}
.prose{display:flex;flex-direction:column;gap:18px;}
.prose p{max-width:62ch;}

/* ---------- header ---------- */
/* No backdrop-filter here on purpose: in Chromium it clips absolutely
   positioned descendants, which silently swallows the Projects dropdown. */
.site-head{
  position:sticky;top:0;z-index:60;
  background:var(--ground);
  border-bottom:1px solid var(--line);
  overflow:visible;
}
.head-in{display:flex;align-items:center;gap:24px;height:74px;overflow:visible;}
.brand{display:flex;flex-direction:row;align-items:center;text-decoration:none;gap:11px;margin-right:auto;}
.brand-mark{width:40px;height:40px;flex:0 0 auto;display:block;}
.brand-type{display:flex;flex-direction:column;line-height:1;gap:4px;}
.brand b{font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.42rem;letter-spacing:.02em;text-transform:uppercase;color:var(--ink);}
.brand-type span{font-family:"IBM Plex Mono",monospace;font-size:.6rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);}
@media (max-width:420px){ .brand-mark{width:34px;height:34px;} .brand b{font-size:1.2rem;} }

.nav{display:flex;gap:22px;align-items:center;margin:0;padding:0;}
.nav > li{list-style:none;position:relative;}
.nav a,.nav .navbtn{
  display:inline-flex;align-items:center;gap:6px;
  font-family:inherit;font-size:.81rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;
  color:var(--body);text-decoration:none;padding:6px 0;
  border:0;border-bottom:1px solid transparent;background:none;cursor:pointer;
}
.nav a:hover,.nav .navbtn:hover{color:var(--ink);border-bottom-color:var(--accent);}
.nav a[aria-current="page"],.nav summary[aria-current="page"]{color:var(--ink);border-bottom-color:var(--accent);}
.nav .caret{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease;}
.dd[open] .caret{transform:rotate(225deg) translateY(-2px);}

/* native disclosure — no JS, no :hover dependency */
.dd{position:relative;}
.dd > summary{list-style:none;}
.dd > summary::-webkit-details-marker{display:none;}
.dd > summary::marker{content:"";}

.submenu{
  position:absolute;top:calc(100% + 8px);left:-14px;margin:0;padding:8px 0;min-width:212px;
  background:var(--surface);border:1px solid var(--line);border-radius:2px;box-shadow:var(--shadow);
  display:flex;flex-direction:column;z-index:70;
}
.submenu li{list-style:none;}
.submenu a{
  display:block;width:100%;padding:9px 16px;border-bottom:0;
  font-size:.78rem;letter-spacing:.05em;
}
.submenu a:hover{background:var(--accent-soft);color:var(--ink);}

.call{
  display:inline-flex;align-items:center;gap:9px;text-decoration:none;
  background:var(--accent);color:var(--on-accent);
  font-family:"IBM Plex Mono",monospace;font-weight:500;font-size:.86rem;letter-spacing:.02em;
  padding:11px 17px;border-radius:2px;white-space:nowrap;
}
.call:hover{filter:brightness(1.07);}
.call svg{width:15px;height:15px;}

.navtoggle{
  display:none;background:none;border:1px solid var(--line-strong);border-radius:2px;
  color:var(--ink);padding:9px 12px;cursor:pointer;
  font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
}
@media (max-width:940px){
  .navtoggle{display:inline-block;}
  .nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface);border-bottom:1px solid var(--line);
    padding:8px 24px 18px;box-shadow:var(--shadow);
  }
  .nav.open{display:flex;}
  .nav > li{border-bottom:1px solid var(--line);}
  .nav > li:last-child{border-bottom:0;}
  .nav a,.nav .navbtn{padding:13px 0;width:100%;justify-content:space-between;}
  .submenu{position:static;border:0;box-shadow:none;background:transparent;padding:0 0 10px 14px;min-width:0;}
  .submenu a{padding:8px 0;}
  .head-in{position:relative;}
  .call span.callnum{display:none;}
}
@media (max-width:520px){ .call{padding:11px 13px;} }

/* ---------- page hero ---------- */
.phero{border-bottom:1px solid var(--line);padding:clamp(52px,7vw,86px) 0 clamp(40px,5vw,60px);position:relative;overflow:hidden;}
.phero-in{display:flex;flex-direction:column;gap:18px;position:relative;z-index:1;}
.phero .lede{font-size:clamp(1.02rem,1.8vw,1.2rem);max-width:60ch;}
.crumb{display:flex;gap:8px;align-items:center;}
.crumb a{text-decoration:none;color:var(--muted);}
.crumb a:hover{color:var(--accent-ink);}

/* ---------- home hero ---------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);}
.hero-svg{position:absolute;inset:auto 0 -1px 0;width:100%;height:min(38%,240px);pointer-events:none;z-index:0;}
.hero-in{position:relative;z-index:1;padding:clamp(64px,10vw,124px) 0 clamp(84px,12vw,150px);display:flex;flex-direction:column;gap:26px;}
.eyebrow{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:center;}
.eyebrow span{position:relative;padding-left:15px;}
.eyebrow span::before{content:"";position:absolute;left:0;top:.52em;width:6px;height:6px;background:var(--accent);border-radius:50%;}
.hero h1 em{font-style:normal;color:var(--accent-display);}
.lede{font-size:clamp(1.05rem,1.9vw,1.24rem);max-width:56ch;color:var(--body);}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px;}
.btn{
  display:inline-flex;align-items:center;gap:9px;text-decoration:none;border-radius:2px;
  font-family:"IBM Plex Mono",monospace;font-size:.85rem;letter-spacing:.03em;font-weight:500;
  padding:15px 24px;border:1px solid transparent;cursor:pointer;
}
.btn-a{background:var(--accent);color:var(--on-accent);}
.btn-a:hover{filter:brightness(1.07);}
.btn-b{background:transparent;color:var(--ink);border-color:var(--line-strong);}
.btn-b:hover{border-color:var(--accent);color:var(--accent-ink);}

/* ---------- spec bar ---------- */
.specs{border-bottom:1px solid var(--line);background:var(--surface);}
.specs-in{display:grid;grid-template-columns:repeat(4,1fr);}
.spec{padding:26px 24px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:5px;}
.spec:first-child{border-left:0;}
.spec b{font-family:"Barlow Condensed",sans-serif;font-size:1.9rem;font-weight:700;color:var(--ink);line-height:1;font-variant-numeric:tabular-nums;}
@media (max-width:760px){
  .specs-in{grid-template-columns:repeat(2,1fr);}
  .spec:nth-child(3){border-left:0;}
  .spec:nth-child(-n+2){border-bottom:1px solid var(--line);}
}

/* ---------- sections ---------- */
.section{padding:clamp(56px,7vw,96px) 0;border-bottom:1px solid var(--line);}
.section:last-of-type{border-bottom:0;}
.section-head{display:flex;flex-direction:column;gap:14px;max-width:62ch;margin-bottom:42px;}
.section-head p{color:var(--body);}

.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}
.svc{background:var(--surface);padding:34px 30px;display:flex;flex-direction:column;gap:14px;}
.svc .tag{color:var(--accent-ink);}
.svc ul{margin:6px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:5px;font-size:.95rem;}
.svc li::marker{color:var(--accent);}
@media (max-width:760px){ .grid-2{grid-template-columns:1fr;} }

.split{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:start;}
@media (max-width:900px){ .split{grid-template-columns:1fr;gap:34px;} }
.note{
  background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);
  padding:28px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow);
}
.note h3{font-size:1.1rem;}
.note p{font-size:.95rem;}
.note .fine,.fine{font-size:.82rem;color:var(--muted);}

.brands{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0;}
.brands li{
  list-style:none;font-family:"IBM Plex Mono",monospace;font-size:.82rem;letter-spacing:.06em;
  border:1px solid var(--line-strong);color:var(--ink);
  padding:9px 15px;border-radius:2px;background:var(--surface);
}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}
.step{background:var(--surface);padding:28px 24px;display:flex;flex-direction:column;gap:11px;}
.step .num{font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.14em;color:var(--accent-ink);}
.step h3{font-size:1.05rem;}
.step p{font-size:.92rem;}
@media (max-width:900px){ .steps{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .steps{grid-template-columns:1fr;} }

/* ---------- gallery ---------- */
.gal{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
@media (max-width:900px){ .gal{grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .gal{grid-template-columns:1fr;} }

.card{
  background:var(--surface);border:1px solid var(--line);
  display:flex;flex-direction:column;box-shadow:var(--shadow);
}
/* ---------- gallery card photos ---------- */
.card .shot{
  aspect-ratio:4/3;border-bottom:1px solid var(--line);
  background:var(--surface-2);overflow:hidden;position:relative;
}
.shotbtn{
  display:block;width:100%;height:100%;padding:0;border:0;background:none;
  cursor:zoom-in;position:relative;
}
.card .shot img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease;}
.shotbtn:hover img{transform:scale(1.03);}
.shotcount{
  position:absolute;right:10px;bottom:10px;
  font-family:"IBM Plex Mono",monospace;font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;
  background:color-mix(in srgb,var(--ground) 82%,transparent);color:var(--ink);
  border:1px solid var(--line-strong);border-radius:2px;padding:4px 8px;
}
.strip{
  display:flex;gap:6px;padding:8px;background:var(--surface-2);
  border-bottom:1px solid var(--line);overflow-x:auto;
}
.strip .thumb{
  flex:0 0 62px;height:46px;padding:0;border:1px solid var(--line-strong);
  background:none;cursor:zoom-in;border-radius:2px;overflow:hidden;
}
.strip .thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.strip .thumb:hover{border-color:var(--accent);}

/* ---------- lightbox ---------- */
.lb{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;}
.lb[hidden]{display:none;}
.lb-backdrop{position:absolute;inset:0;background:rgba(4,10,16,.93);}
.lb-figure{
  position:relative;margin:0;max-width:min(1400px,94vw);max-height:92vh;
  display:flex;flex-direction:column;gap:12px;align-items:center;
}
.lb-img{
  max-width:100%;max-height:82vh;width:auto;height:auto;display:block;
  border:1px solid var(--line-strong);background:var(--surface);
}
.lb-cap{
  font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--body);text-align:center;
}
.lb-count{color:var(--muted);margin-left:10px;}
.lb-btn{
  position:absolute;z-index:2;background:color-mix(in srgb,var(--ground) 80%,transparent);
  color:var(--ink);border:1px solid var(--line-strong);border-radius:2px;
  cursor:pointer;line-height:1;font-family:inherit;
}
.lb-close{top:18px;right:18px;width:46px;height:46px;font-size:1.7rem;}
.lb-prev,.lb-next{top:50%;transform:translateY(-50%);width:52px;height:70px;font-size:2rem;}
.lb-prev{left:14px;} .lb-next{right:14px;}
.lb-btn:hover{border-color:var(--accent);color:var(--accent-ink);}
.lb-btn:disabled{opacity:.3;cursor:default;}
@media (max-width:620px){
  .lb-prev,.lb-next{width:42px;height:58px;font-size:1.6rem;}
  .lb-prev{left:6px;} .lb-next{right:6px;}
  .lb-close{top:10px;right:10px;width:40px;height:40px;}
  .strip .thumb{flex:0 0 54px;height:40px;}
}
body.lb-open{overflow:hidden;}
.figure-wide{margin:0 0 42px;border:1px solid var(--line);background:var(--surface-2);}
.figure-wide img{width:100%;height:auto;display:block;}
.figure-wide figcaption{padding:14px 18px;border-top:1px solid var(--line);}
.card .meat{padding:22px 22px 24px;display:flex;flex-direction:column;gap:10px;flex:1;}
.card .size{
  font-family:"Barlow Condensed",sans-serif;font-weight:700;text-transform:uppercase;
  font-size:2.1rem;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums;
}
.card .size small{font-size:.95rem;letter-spacing:.06em;color:var(--muted);margin-left:6px;}
.card .where{font-family:"Barlow Condensed",sans-serif;font-weight:600;text-transform:uppercase;font-size:1.12rem;color:var(--ink);line-height:1.1;}
.card .meta{display:flex;flex-wrap:wrap;gap:6px 14px;}
.card .note{all:unset;font-size:.92rem;color:var(--body);display:block;}
.pill{
  display:inline-block;font-family:"IBM Plex Mono",monospace;font-size:.66rem;letter-spacing:.09em;
  text-transform:uppercase;border:1px solid var(--line-strong);color:var(--muted);
  padding:4px 9px;border-radius:2px;
}
.pill.on{border-color:var(--accent);color:var(--accent-ink);}

.tally{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-bottom:42px;}
.tally div{background:var(--surface);padding:24px;display:flex;flex-direction:column;gap:5px;}
.tally b{font-family:"Barlow Condensed",sans-serif;font-size:2rem;font-weight:700;color:var(--ink);line-height:1;font-variant-numeric:tabular-nums;}
@media (max-width:640px){ .tally{grid-template-columns:1fr;} }

/* ---------- link list ---------- */
.linkrow{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}
.linkrow a{
  background:var(--surface);padding:26px 24px;text-decoration:none;
  display:flex;flex-direction:column;gap:8px;
}
.linkrow a:hover{background:var(--surface-2);}
.linkrow b{font-family:"Barlow Condensed",sans-serif;font-weight:700;text-transform:uppercase;font-size:1.2rem;color:var(--ink);}
.linkrow span{font-size:.92rem;color:var(--body);}
@media (max-width:800px){ .linkrow{grid-template-columns:1fr;} }

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:44px;align-items:start;}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr;gap:34px;} }
.big-num{
  font-family:"Barlow Condensed",sans-serif;font-weight:700;text-transform:uppercase;
  font-size:clamp(2.2rem,5vw,3.2rem);line-height:1;color:var(--ink);text-decoration:none;
  display:inline-block;font-variant-numeric:tabular-nums;
}
.big-num:hover{color:var(--accent-ink);}
.form{display:flex;flex-direction:column;gap:16px;background:var(--surface);border:1px solid var(--line);padding:30px;box-shadow:var(--shadow);}
.field{display:flex;flex-direction:column;gap:6px;}
.field label{font-family:"IBM Plex Mono",monospace;font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);}
.field input,.field select,.field textarea{
  font-family:inherit;font-size:.97rem;color:var(--ink);
  background:var(--ground);border:1px solid var(--line-strong);border-radius:2px;
  padding:11px 13px;width:100%;
}
.field textarea{resize:vertical;min-height:96px;}
.row-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
@media (max-width:520px){ .row-2{grid-template-columns:1fr;} }
.out{display:none;flex-direction:column;gap:12px;border:1px solid var(--line-strong);background:var(--ground);padding:18px;border-radius:2px;}
.out.on{display:flex;}
.out pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:"IBM Plex Mono",monospace;font-size:.82rem;line-height:1.6;color:var(--ink);}
.out-actions{display:flex;flex-wrap:wrap;gap:10px;}
.mini{
  font-family:"IBM Plex Mono",monospace;font-size:.76rem;letter-spacing:.04em;
  padding:9px 14px;border-radius:2px;cursor:pointer;text-decoration:none;
  border:1px solid var(--line-strong);background:transparent;color:var(--ink);
}
.mini.solid{background:var(--accent);color:var(--on-accent);border-color:var(--accent);}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line);}
.foot-in{padding:44px 0 56px;display:flex;flex-direction:column;gap:22px;}
.foot-top{display:flex;flex-wrap:wrap;gap:26px 40px;align-items:flex-start;justify-content:space-between;}
.foot-nav{display:flex;flex-wrap:wrap;gap:8px 22px;padding:0;margin:0;}
.foot-nav li{list-style:none;}
.foot-nav a{font-size:.85rem;text-decoration:none;color:var(--body);}
.foot-nav a:hover{color:var(--accent-ink);}

@media (prefers-reduced-motion: reduce){ *{animation-duration:.001ms !important;transition-duration:.001ms !important;} }
