/* ============================================================
   CAD TECH  /  dark industrial, evolved
   ============================================================ */

:root {
  --bg: #0b0b0c;
  --bg-2: #0f0f11;
  --panel: #141416;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.05);
  --ink: #edece8;
  --muted: #93938c;
  --muted-2: #6b6b65;
  --acc: #ff4d00;
  --acc-dim: #b83a04;
  --font-display: "Anton", sans-serif;
  --font-body: "Archivo", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain, keeps flat surfaces from looking synthetic */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--acc); color: #0b0b0c; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.h-xl { font-size: clamp(64px, 7.4vw, 118px); }
.h-lg { font-size: clamp(44px, 4.6vw, 72px); }
.h-md { font-size: clamp(30px, 2.6vw, 40px); }

.accent { color: var(--acc); }

.lede {
  color: var(--muted);
  font-size: 17px;
  max-width: 56ch;
}

/* mono technical label, used everywhere */
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag .tick { color: var(--acc); }

/* section header row: label + rule, like a drawing zone marker */
.sec-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.sec-head .rule {
  flex: 0 0 56px;
  height: 1px;
  background: var(--acc);
  position: relative;
}

.sec-head .rule::before,
.sec-head .rule::after {
  content: "";
  position: absolute;
  top: -3px;
  width: 1px;
  height: 7px;
  background: var(--acc);
}

.sec-head .rule::before { left: 0; }
.sec-head .rule::after { right: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 30px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acc);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease);
  z-index: 0;
}

.btn span { position: relative; z-index: 1; }

.btn:hover { color: #0b0b0c; border-color: var(--acc); }
.btn:hover::before { transform: scaleY(1); }

.btn--solid {
  background: var(--acc);
  border-color: var(--acc);
  color: #0b0b0c;
}

.btn--solid::before { background: var(--ink); }
.btn--solid:hover { color: #0b0b0c; border-color: var(--ink); }

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  /* keep the fixed bar pinned flush during iOS address-bar collapse */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.site-header.scrolled {
  background: rgba(11, 11, 12, 0.96);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 26px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.active { color: var(--ink); }
.nav a.active::after { transform: scaleX(1); }

.nav .btn { padding: 13px 22px; }

.nav a.btn--solid { color: #0b0b0c; }
.nav a.btn--solid:hover { color: #0b0b0c; }
.nav a.btn--solid::after { display: none; }

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 150px;
  padding-bottom: 40px;
  overflow: hidden;
}

/* drafting grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 0%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.hero h1 {
  font-size: clamp(56px, 6.5vw, 100px);
  max-width: 13ch;
  margin-bottom: 0;
}

.hero .lede { margin: 24px 0 40px; max-width: 540px; font-size: 18px; }

.hero-cta {
  display: flex;
  gap: 18px;
  align-items: center;
}

/* blueprint drawing, right side */
.hero-draw {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-52%);
  width: 46vw;
  max-width: 700px;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.hero-draw svg { width: 100%; height: auto; }

.hero-draw .draw {
  stroke: var(--muted-2);
  fill: none;
  stroke-width: 1.1;
}

.hero-draw .draw-acc { stroke: var(--acc); }
.hero-draw .dash { stroke-dasharray: 7 5; }
.hero-draw .dim { stroke: var(--muted-2); stroke-width: 0.8; }

.hero-draw text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--muted-2);
  letter-spacing: 0.1em;
}

/* stat bar pinned to hero bottom */
.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  margin-top: 90px;
}

.hero-stats .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.stat {
  padding: 36px 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-left: 1px solid var(--line);
  padding-left: 36px;
}

.stat:first-child { border-left: none; padding-left: 0; }

.stat b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 54px;
  line-height: 1;
  color: var(--ink);
}

.stat b .accent { font-size: 0.6em; vertical-align: super; }

.stat small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  overflow: hidden;
  background: var(--bg-2);
}

.marquee-label {
  text-align: center;
  margin-bottom: 8px;
  color: var(--muted-2);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 46s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee-item {
  height: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.marquee-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(1);
}

/* ---------- sections ---------- */

section { position: relative; }

.section-pad { padding: 150px 0; }

/* ---------- services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 80px;
  align-items: start;
  margin-top: 70px;
}

.service-list { border-top: 1px solid var(--line); }

.service-row {
  border-bottom: 1px solid var(--line);
  padding: 34px 8px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.service-row:hover,
.service-row.active { background: var(--bg-2); padding-left: 22px; }

.service-row-top {
  display: flex;
  align-items: baseline;
  gap: 22px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.service-row.active .service-num,
.service-row:hover .service-num { color: var(--acc); }

.service-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0.02em;
  flex: 1;
}

.service-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
  white-space: nowrap;
}

.service-cat.hot { color: var(--acc); border-color: rgba(255, 77, 0, 0.4); }

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.5s var(--ease);
  opacity: 0;
  margin-top: 0;
}

.service-row.active .service-body {
  max-height: 220px;
  opacity: 1;
  margin-top: 16px;
}

.service-body p {
  color: var(--muted);
  max-width: 52ch;
  padding-left: 46px;
  font-size: 15.5px;
}

.service-viewport {
  position: sticky;
  top: 130px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.service-viewport-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.service-viewport-head .dots { display: flex; gap: 6px; }

.service-viewport-head .dots i {
  width: 6px;
  height: 6px;
  border: 1px solid var(--muted-2);
  display: block;
}

.service-viewport-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: #101012;
}

.service-viewport-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.55s var(--ease), transform 0.9s var(--ease);
}

.service-viewport-img img.show {
  opacity: 1;
  transform: scale(1);
}

/* ---------- about ---------- */

.about { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 90px;
  align-items: center;
}

.about-photo {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
}

.about-photo img { width: 100%; height: auto; display: block; }

.about-photo-block {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-photo-block dt { color: var(--muted-2); }
.about-photo-block dd { color: var(--ink); text-align: right; }

.about-copy h2 { margin-bottom: 36px; max-width: 14ch; }

.about-copy p {
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 58ch;
}

.about-copy p strong { color: var(--ink); font-weight: 500; }

/* ---------- quote ---------- */

.quote-wrap {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.quote-stars {
  color: var(--acc);
  letter-spacing: 8px;
  font-size: 15px;
  margin-bottom: 34px;
}

blockquote.big-quote {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.42;
  color: var(--ink);
}

.quote-cite {
  margin-top: 36px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.quote-cite b { font-weight: 600; letter-spacing: 0.02em; }

.quote-cite span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.gallery-item {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.gallery-item .frame {
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 3.4;
}

.gallery-item:nth-child(4) .frame,
.gallery-item:nth-child(6) .frame { aspect-ratio: 16 / 9.5; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img { transform: scale(1.045); }

.gallery-cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-cap .no { color: var(--acc); }

/* ---------- faq ---------- */

.faq { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 90px;
  align-items: start;
}

.faq-intro h2 { margin-bottom: 24px; }

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  padding: 26px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-item.open .faq-q,
.faq-q:hover { color: var(--acc); }

.faq-q .plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.faq-q .plus::before { left: 0; top: 6px; width: 14px; height: 1.5px; }
.faq-q .plus::after { left: 6px; top: 0; width: 1.5px; height: 14px; }

.faq-item.open .plus::after { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a p {
  color: var(--muted);
  padding: 0 8px 28px;
  max-width: 60ch;
  font-size: 15.5px;
}

/* ---------- certs ---------- */

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 70px;
}

.cert-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 42px 44px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}

.cert-card:hover { border-color: rgba(255, 77, 0, 0.35); }

.cert-year {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-2);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}

.cert-card:hover .cert-year { -webkit-text-stroke-color: var(--acc); }

.cert-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cert-card p { color: var(--muted); font-size: 15px; max-width: 34ch; }

/* ---------- blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 70px;
}

.blog-card {
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.blog-card:hover { border-color: rgba(255, 77, 0, 0.35); transform: translateY(-4px); }

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.blog-card-meta .cat { color: var(--acc); }

.blog-card h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  padding: 24px 22px 28px;
  flex: 1;
}

.blog-card .frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--line);
}

.blog-card .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: filter 0.5s, transform 0.8s var(--ease);
}

.blog-card:hover .frame img { filter: none; transform: scale(1.04); }

.blog-more { text-align: center; margin-top: 60px; }

/* ---------- tool promo band ---------- */

.tool-band { border-top: 1px solid var(--line); background: var(--bg-2); }

.tool-band-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}

.tool-band h2 { margin: 22px 0 20px; max-width: 16ch; }
.tool-band p { color: var(--muted); max-width: 46ch; margin-bottom: 30px; }

.tool-band-visual {
  border: 1px solid var(--line);
  background: var(--panel);
}

.tool-band-visual .vhead {
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.tool-band-rows { padding: 8px 22px 20px; }

.tool-band-rows .r {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.tool-band-rows .r:last-child { border-bottom: none; }

.tool-band-rows .r span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.tool-band-rows .r b {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--ink);
}

.tool-band-rows .r b em { font-family: var(--font-mono); font-size: 13px; font-style: normal; color: var(--acc); }

@media (max-width: 1080px) {
  .tool-band-inner { grid-template-columns: 1fr; gap: 44px; padding: 84px 0; }
}

/* ---------- CTA ---------- */

.cta {
  border-top: 1px solid var(--line);
  padding: 170px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, black 0%, transparent 70%);
}

.cta .container { position: relative; z-index: 1; }

.cta h2 {
  font-size: clamp(70px, 9vw, 150px);
  margin: 26px 0 40px;
}

.cta h2 a { transition: color 0.35s; }
.cta h2 a:hover { color: var(--acc); }

.cta-phone {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--muted);
  display: block;
  margin-bottom: 48px;
}

.cta-phone b { color: var(--ink); font-weight: 500; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
}

.footer-grid .logo img { height: 22px; margin-bottom: 24px; }

.footer-grid p { color: var(--muted); font-size: 15px; max-width: 38ch; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 22px;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--acc); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 26px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-meta {
  display: flex;
  align-items: center;
}

.footer-meta span + span::before {
  content: "/";
  margin: 0 10px;
}

.site-credit {
  color: #fff;
}

.site-credit a {
  color: #fff;
  text-decoration: underline;
}

/* ---------- contact page ---------- */

.contact-hero {
  padding: 210px 0 90px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, black 0%, transparent 70%);
}

.contact-hero .container { position: relative; z-index: 1; }

.contact-hero h1 { max-width: 13ch; margin-top: 30px; }

.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 26px;
  align-items: start;
  padding-bottom: 150px;
}

.contact-info {
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-info-head {
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
}

.contact-info-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 28px;
  margin-top: 12px;
}

.contact-line {
  display: block;
  padding: 26px 30px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.contact-line:last-child { border-bottom: none; }
.contact-line:hover { background: var(--bg-2); }

.contact-line small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 8px;
}

.contact-line b {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}

.contact-line:hover b { color: var(--acc); }

.contact-note {
  padding: 26px 30px;
  color: var(--muted);
  font-size: 14.5px;
  border-top: 1px solid var(--line);
}

/* form styled like a drawing title block */
.contact-form {
  border: 1px solid var(--line);
  background: var(--panel);
}

.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.field {
  padding: 26px 34px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.field:nth-child(odd) { border-right: 1px solid var(--line); }

.field--full { grid-column: 1 / -1; border-right: none !important; }

.field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.field:focus-within label { color: var(--acc); }

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  padding: 2px 0;
}

.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 34px;
}

.form-foot .hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- contact wizard (multi-step enquiry) ---------- */
.wizard {
  border: 1px solid var(--line);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.wiz-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 34px;
  border-bottom: 1px solid var(--line);
}

.wiz-counter b { color: var(--acc); font-weight: 500; }

/* [hidden] must beat .btn's display:inline-flex */
.btn[hidden], .wiz-body[hidden], .wiz-foot[hidden], .wiz-done[hidden] { display: none !important; }

.wiz-progress {
  height: 3px;
  background: var(--line-soft);
  overflow: hidden;
}

.wiz-progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--acc);
  transition: width 0.5s var(--ease);
}

.wiz-body {
  flex: 1;
  padding: 34px;
}

.wiz-step {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: none;
}

.wiz-step.is-active { display: block; animation: wizIn 0.45s var(--ease); }

@keyframes wizIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.wiz-q { margin-bottom: 26px; }

.wiz-q-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acc);
  display: block;
  margin-bottom: 14px;
}

.wiz-q h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.05;
}

.wiz-q-sub { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 44ch; }

.wiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wiz-opt { cursor: pointer; display: block; }
.wiz-opt--full { grid-column: 1 / -1; }
.wiz-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.wiz-opt-box {
  display: block;
  position: relative;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 18px 20px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.wiz-opt:hover .wiz-opt-box { border-color: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.wiz-opt input:checked + .wiz-opt-box { border-color: var(--acc); background: rgba(255, 77, 0, 0.06); }
.wiz-opt input:focus-visible + .wiz-opt-box { border-color: var(--acc); }

.wiz-opt-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  display: block;
  margin-bottom: 10px;
}

.wiz-opt-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  padding-right: 30px;
}

.wiz-opt-desc {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}

.wiz-opt-tick {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.wiz-opt input:checked + .wiz-opt-box .wiz-opt-tick {
  background: var(--acc);
  border-color: var(--acc);
  color: #0b0b0c;
}

.wiz-field + .wiz-field { margin-top: 22px; }

.wiz-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.wiz-field:focus-within label { color: var(--acc); }

.wiz-field input,
.wiz-field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 0.25s;
}

.wiz-field input:focus,
.wiz-field textarea:focus { border-color: var(--acc); }
.wiz-field.has-error input,
.wiz-field.has-error textarea { border-color: var(--acc-dim); }
.wiz-field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.wiz-field input::placeholder,
.wiz-field textarea::placeholder { color: var(--muted-2); }

.wiz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.wiz-err {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--acc);
  margin-top: 16px;
}

.wiz-step.show-error .wiz-err { display: block; }

.wiz-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 34px;
  border-top: 1px solid var(--line);
}

.wiz-back {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s;
}

.wiz-back:hover { color: var(--ink); }

.wiz-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-left: auto;
}

.wiz-done {
  padding: 66px 34px 72px;
  text-align: center;
  animation: wizIn 0.5s var(--ease);
}

.wiz-done-mark {
  width: 62px;
  height: 62px;
  margin: 0 auto 28px;
  border: 1px solid var(--acc);
  color: var(--acc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.wiz-done h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1.05;
}

.wiz-done p { color: var(--muted); max-width: 42ch; margin: 18px auto 0; font-size: 14.5px; }

.wiz-done-lines {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.wiz-done-lines a {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 16px 26px;
  min-width: 180px;
  transition: border-color 0.25s;
}

.wiz-done-lines a:hover { border-color: var(--acc); }

.wiz-done-lines small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 8px;
}

.wiz-done-lines b { font-size: 16px; font-weight: 500; word-break: break-word; }

/* ---------- reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ---------- shared page hero (inner pages) ---------- */

.page-hero {
  padding: 200px 0 84px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, black 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 14ch; margin-top: 30px; }
.page-hero .lede { margin-top: 28px; }

/* lighter inner-page header, no blueprint grid or dramatic display type */
.sub-hero { padding: 160px 0 56px; }
.sub-hero h1 { margin-top: 20px; max-width: 22ch; }
.sub-hero .lede { margin-top: 18px; }

/* anchored sections clear the fixed header */
[id] { scroll-margin-top: 110px; }

/* ---------- services index ---------- */

.svc-index-list { border-top: 1px solid var(--line); margin-top: 70px; }

.svc-index-row {
  display: grid;
  grid-template-columns: 90px 1.2fr 220px 1fr 60px;
  gap: 30px;
  align-items: center;
  padding: 40px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.svc-index-row:hover { background: var(--bg-2); padding-left: 24px; }

.svc-index-row .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-2);
  transition: -webkit-text-stroke-color 0.35s;
}

.svc-index-row:hover .num { -webkit-text-stroke-color: var(--acc); }

.svc-index-row h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.svc-index-row:hover h2 { color: var(--acc); }

.svc-index-row .frame {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
}

.svc-index-row .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5);
  transition: filter 0.5s, transform 0.8s var(--ease);
}

.svc-index-row:hover .frame img { filter: none; transform: scale(1.05); }

.svc-index-row p { color: var(--muted); font-size: 15px; }

.svc-index-row .go {
  font-size: 22px;
  color: var(--muted-2);
  text-align: right;
  transition: color 0.3s, transform 0.35s var(--ease);
}

.svc-index-row:hover .go { color: var(--acc); transform: translateX(6px); }

/* ---------- service detail ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 80px;
  align-items: start;
  padding-bottom: 130px;
}

.detail-hero-img {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px;
  margin-bottom: 54px;
}

.detail-hero-img .frame { overflow: hidden; aspect-ratio: 16 / 9; }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.detail-hero-img .cap {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.detail-main > p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
  max-width: 64ch;
}

.detail-main > p:first-of-type {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.55;
}

.detail-sub {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 2.4vw, 34px);
  margin: 64px 0 34px;
}

.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.point-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px 30px;
  transition: border-color 0.35s;
}

.point-card:hover { border-color: rgba(255, 77, 0, 0.35); }

.point-card .pnum {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 14px;
}

.point-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 10px; }
.point-card p { color: var(--muted); font-size: 14.5px; }

.detail-main .faq-list { margin-top: 34px; }

/* side rail */
.detail-side { position: sticky; top: 120px; display: grid; gap: 24px; }

.side-card {
  border: 1px solid var(--line);
  background: var(--panel);
}

.side-card-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.side-card nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s, padding-left 0.3s var(--ease);
}

.side-card nav a:last-child { border-bottom: none; }

.side-card nav a:hover { color: var(--ink); background: var(--bg-2); padding-left: 30px; }

.side-card nav a.current { color: var(--acc); }

.side-card nav a .go { font-size: 15px; color: var(--muted-2); }

.side-cta { padding: 28px 24px; }

.side-cta p { color: var(--muted); font-size: 14.5px; margin: 10px 0 20px; }

.side-cta .phone {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: block;
  margin-bottom: 18px;
}

/* prev / next pager */
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  margin-top: 70px;
}

.pager a {
  padding: 26px 30px;
  transition: background 0.3s;
}

.pager a:hover { background: var(--bg-2); }

.pager a + a { border-left: 1px solid var(--line); text-align: right; }

.pager a small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 8px;
}

.pager a b { font-size: 16px; font-weight: 600; color: var(--muted); transition: color 0.3s; }
.pager a:hover b { color: var(--acc); }

/* ---------- blog index ---------- */

.post-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
  margin-top: 70px;
  transition: border-color 0.4s;
}

.post-feature:hover { border-color: rgba(255, 77, 0, 0.35); }

.post-feature .frame { overflow: hidden; min-height: 340px; }

.post-feature .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4);
  transition: filter 0.5s, transform 0.8s var(--ease);
}

.post-feature:hover .frame img { filter: none; transform: scale(1.03); }

.post-feature-body {
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line);
}

.post-feature-body .blog-card-meta { border: none; padding: 0 0 20px; }

.post-feature-body h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 18px;
}

.post-feature-body p { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }

/* ---------- article ---------- */

.article-hero { padding: 190px 0 60px; }

.article-meta {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-bottom: 30px;
}

.article-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
  max-width: 22ch;
}

.article-figure {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 12px;
  margin: 0 0 64px;
}

.article-figure .frame { overflow: hidden; aspect-ratio: 16 / 8.2; }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }

.article-body {
  max-width: 760px;
  padding-bottom: 40px;
}

.article-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 26px;
}

.article-body p:first-of-type {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

.article-body h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 2.6vw, 36px);
  margin: 60px 0 28px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 38px 0 14px;
  padding-left: 18px;
  border-left: 2px solid var(--acc);
}

.article-body ul { margin: 0 0 26px; padding-left: 2px; }

.article-body ul li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 10px;
  height: 1.5px;
  background: var(--acc);
}

.article-body .inline-figure {
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--panel);
  margin: 44px 0;
}

.article-body .inline-figure img { width: 100%; }

.article-cta {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 40px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 70px 0 0;
}

.article-cta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 26px;
}

/* ---------- about ---------- */

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 70px;
}

.mission-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 44px 46px;
}

.mission-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 28px;
  margin: 18px 0 18px;
}

.mission-card p { color: var(--muted); font-size: 16px; max-width: 44ch; }

.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-top: 26px;
}

.value-cell {
  padding: 30px 28px;
  border-left: 1px solid var(--line);
  transition: background 0.3s;
}

.value-cell:first-child { border-left: none; }
.value-cell:hover { background: var(--bg-2); }

.value-cell .vnum {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 12px;
}

.value-cell b { font-size: 15.5px; font-weight: 600; }

.about-band {
  position: relative;
  margin-top: 110px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.about-band img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.55);
}

.about-band .band-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.about-band .band-text h2 { max-width: 18ch; }

/* ---------- calculator ---------- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
  margin-top: 70px;
}

.calc-panel { border: 1px solid var(--line); background: var(--panel); }

.calc-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line);
}

.calc-block { padding: 28px 30px; border-bottom: 1px solid var(--line); }

.calc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 16px;
}

.seg { display: flex; flex-wrap: wrap; gap: 8px; }

.seg-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 16px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.seg-btn:hover { color: var(--ink); border-color: var(--muted-2); }

.seg-btn.active {
  color: #0b0b0c;
  background: var(--acc);
  border-color: var(--acc);
}

.calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.calc-field {
  padding: 24px 30px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.calc-field:nth-child(even) { border-right: none; }

.calc-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.calc-field:focus-within label { color: var(--acc); }

.calc-field input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 22px;
  padding: 0;
}

.calc-field input::placeholder { color: var(--muted-2); }
.calc-field .unit {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.calc-note { padding: 22px 30px; color: var(--muted-2); font-size: 13px; }

.calc-readout { border: 1px solid var(--line); background: var(--panel); position: sticky; top: 120px; }

.calc-readout-head { padding: 20px 28px; border-bottom: 1px solid var(--line); }

.calc-result {
  padding: 40px 28px 34px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.calc-result-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 74px);
  line-height: 0.9;
  color: var(--ink);
}

.calc-result-unit {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--acc);
  letter-spacing: 0.06em;
}

.calc-breakdown { padding: 8px 28px 22px; }

.calc-breakdown > div {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.calc-breakdown > div:last-child { border-bottom: none; }

.calc-breakdown dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.calc-breakdown dd { font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }

.calc-cta { padding: 26px 28px; border-top: 1px solid var(--line); }
.calc-cta p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.calc-cta .btn { width: 100%; justify-content: center; }

.calc-disclaimer {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-align: center;
}

@media (max-width: 1080px) {
  .calc { grid-template-columns: 1fr; }
  .calc-readout { position: static; }
}

@media (max-width: 700px) {
  .calc-fields { grid-template-columns: 1fr; }
  .calc-field:nth-child(n) { border-right: none; }
}

/* ---------- mobile nav ---------- */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 46px;
  height: 46px;
  cursor: pointer;
  position: relative;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(11, 11, 12, 0.97);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav.open { opacity: 1; pointer-events: auto; }

.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(38px, 9vw, 54px);
  line-height: 1.25;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 4px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.mobile-nav.open a { opacity: 1; transform: none; }

.mobile-nav.open a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.18s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.24s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.36s; }

.mobile-nav a:hover, .mobile-nav a.active { color: var(--acc); }

.mobile-nav .mobile-nav-foot {
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

body.nav-locked { overflow: hidden; }

/* ---------- micro-interactions ---------- */

.btn:active { transform: scale(0.98); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* service "learn more" link (was inline-styled) */
.svc-more {
  display: inline-block;
  margin: 14px 0 0 46px;
  color: var(--acc);
  transition: letter-spacing 0.3s var(--ease);
}

.svc-more:hover { letter-spacing: 0.28em; }

.post-feature-body .btn { align-self: flex-start; }

.about-copy .lead {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.6;
}

/* drafting crosshair corner marks on gallery frames */
.gallery-item { position: relative; }

.gallery-item::before,
.gallery-item::after {
  content: "+";
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1;
  color: var(--acc);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.gallery-item::before { top: 8px; left: 10px; }
.gallery-item::after { bottom: 46px; right: 10px; }

.gallery-item:hover::before,
.gallery-item:hover::after { opacity: 1; }

/* gentle lift on card hovers */
.point-card,
.cert-card,
.mission-card { transition: border-color 0.35s, transform 0.4s var(--ease); }

.point-card:hover,
.cert-card:hover { transform: translateY(-3px); }

.tool-band-visual {
  display: block;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.tool-band-visual:hover { border-color: rgba(255, 77, 0, 0.35); transform: translateY(-3px); }

/* ---------- process page ---------- */

.process-list {
  border-top: 1px solid var(--line);
  margin-top: 70px;
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: 120px minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 52px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.process-step:hover { background: var(--bg-2); padding-left: 24px; }

.process-step .pstep-num {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-2);
  transition: -webkit-text-stroke-color 0.35s;
}

.process-step:hover .pstep-num { -webkit-text-stroke-color: var(--acc); }

.process-step h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.process-step .pstep-tag { display: block; margin-bottom: 18px; color: var(--acc); }

.process-step p { color: var(--muted); font-size: 15.5px; max-width: 54ch; }

.process-step .pstep-aside {
  border-left: 1px solid var(--line);
  padding-left: 36px;
  align-self: center;
}

.process-step .pstep-aside li {
  color: var(--muted);
  font-size: 14.5px;
  padding: 8px 0 8px 24px;
  position: relative;
}

.process-step .pstep-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 1.5px;
  background: var(--acc);
}

.process-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 70px;
}

.process-panel {
  border: 1px solid var(--line);
  background: var(--panel);
}

.process-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line);
}

.process-panel ul { padding: 12px 30px 24px; }

.process-panel li {
  color: var(--muted);
  font-size: 15px;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}

.process-panel li:last-child { border-bottom: none; }

.process-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 1.5px;
  background: var(--acc);
}

.process-panel li b { color: var(--ink); font-weight: 500; }

@media (max-width: 1080px) {
  .process-step { grid-template-columns: 80px 1fr; }
  .process-step .pstep-aside { grid-column: 2; border-left: none; padding-left: 0; margin-top: 10px; }
  .process-panels { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .process-step { grid-template-columns: 1fr; gap: 18px; padding: 40px 4px; }
  .process-step .pstep-num { font-size: 44px; }
  .process-step .pstep-aside { grid-column: 1; }
}

/* ---------- 404 ---------- */

.error-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
}

.error-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 75%);
}

.error-hero .container { position: relative; z-index: 1; width: 100%; }

.error-code {
  font-family: var(--font-display);
  font-size: clamp(120px, 22vw, 280px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--muted-2);
}

.error-code .accent { color: transparent; -webkit-text-stroke-color: var(--acc); }

.error-hero h1 { margin: 26px 0 16px; }

.error-hero .lede { margin: 0 auto 40px; }

.error-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- wide desktop ---------- */

@media (min-width: 1700px) {
  :root { --container: 1400px; }
  body { font-size: 17px; }
  .hero-draw { max-width: 800px; }
}

/* ---------- tablet ---------- */

@media (max-width: 1080px) {
  .section-pad { padding: 110px 0; }
  .services-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 54px; }
  .service-viewport { position: static; }
  .hero-draw { display: none; }
  .gallery-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 60px; }
  .detail-side { position: static; }
  .svc-index-row { grid-template-columns: 60px 1fr 200px; }
  .svc-index-row p, .svc-index-row .go { display: none; }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature .frame { min-height: 260px; }
  .post-feature-body { border-left: none; border-top: 1px solid var(--line); }
  .values-row { grid-template-columns: 1fr 1fr; }
  .values-row .value-cell:nth-child(3) { border-left: none; }
  .values-row .value-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-photo { max-width: 420px; }
}

/* ---------- mobile nav breakpoint ---------- */

@media (max-width: 900px) {
  .nav a { display: none; }
  .nav-toggle { display: block; }
  .header-inner { height: 74px; }
  .hero { padding-top: 74px; }
}

/* ---------- phone ---------- */

@media (max-width: 700px) {
  .container, .header-inner { padding: 0 22px; }
  .section-pad { padding: 84px 0; }
  .h-xl { font-size: clamp(46px, 13vw, 64px); }
  .h-lg { font-size: clamp(34px, 9.5vw, 44px); }
  .page-hero { padding: 150px 0 60px; }
  .sub-hero { padding: 130px 0 40px; }
  .hero { min-height: auto; padding-bottom: 44px; }
  .hero-inner { padding: 60px 0 0; }
  .hero-kicker { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); margin-bottom: 0; }
  .hero .lede { font-size: 16.5px; margin: 20px 0 34px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-stats { margin-top: 70px; }
  .hero-stats .container { grid-template-columns: 1fr; }
  .stat { border-left: none; padding: 20px 0; border-top: 1px solid var(--line-soft); }
  .stat:first-child { border-top: none; }
  .stat b { font-size: 42px; }
  .gallery-grid, .blog-grid, .form-grid, .points-grid, .mission-grid { grid-template-columns: 1fr; }
  .field { padding: 20px 22px 18px; }
  .field:nth-child(odd) { border-right: none; }
  .form-head, .form-foot { padding: 20px 22px; flex-wrap: wrap; gap: 14px; }
  .wizard { min-height: 0; }
  .wiz-head { padding: 18px 22px; }
  .wiz-body { padding: 26px 22px; }
  .wiz-options { grid-template-columns: 1fr; }
  .wiz-row { grid-template-columns: 1fr; gap: 22px; }
  .wiz-q h3 { font-size: 24px; }
  .wiz-foot { padding: 18px 22px; flex-wrap: wrap; gap: 14px; }
  .wiz-foot .btn { flex: 1; justify-content: center; }
  .wiz-hint { width: 100%; margin-left: 0; order: -1; }
  .wiz-back { order: 1; }
  .wiz-done-lines { flex-direction: column; }
  .wiz-done-lines a { min-width: 0; width: 100%; padding: 16px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-meta span + span::before { content: none; }
  .svc-index-row { grid-template-columns: 44px 1fr; }
  .svc-index-row .frame { display: none; }
  .svc-index-row .num { font-size: 26px; }
  .cert-card { padding: 30px 26px; gap: 24px; flex-direction: column; }
  .values-row { grid-template-columns: 1fr; }
  .values-row .value-cell { border-left: none; }
  .values-row .value-cell:nth-child(n+2) { border-top: 1px solid var(--line); }
  .pager { grid-template-columns: 1fr; }
  .pager a + a { border-left: none; border-top: 1px solid var(--line); text-align: left; }
  .article-cta { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
  .about-band img { height: 340px; }
  .cta { padding: 110px 0; }
  .quote-stars { margin-bottom: 24px; }
  blockquote.big-quote { font-size: 21px; }
  .service-body p { padding-left: 0; }
  .service-body .svc-more { margin-left: 0 !important; }
  .service-row-top { flex-wrap: wrap; gap: 12px; }
  .contact-hero { padding: 150px 0 60px; }
  .contact-grid { padding-bottom: 90px; }
  .detail-hero-img { margin-bottom: 40px; }
  .article-hero { padding: 140px 0 44px; }
  .article-figure { margin-bottom: 44px; }
  .marquee { padding: 10px 0; }
  .marquee-item { height: 68px; padding: 0 16px; }
}
