/* ===============================================================
   BONE MIRE — Design system
   Shape language is taken from the logo: chamfered (cut) corners,
   heavy geometric caps, a single orange accent on charcoal.
   =============================================================== */

:root {
  /* Surfaces */
  --bg: #0e0e0e;
  --bg-2: #121212;
  --bg-3: #161616;
  --panel: #171717;
  --panel-2: #1c1c1c;
  --line: #2a2a2a;
  --line-soft: #202020;

  /* Ink */
  --text: #f5f4f1;
  --muted: #9d9c97;
  --muted-2: #77766f;

  /* Brand */
  --orange: #ef8c1b;
  --orange-2: #ff9f31;
  --orange-dim: rgba(239, 140, 27, .14);

  /* Type */
  --font-display: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Caveat Brush", "Brush Script MT", cursive;

  /* Geometry */
  --chamfer: 16px;
  --chamfer-sm: 9px;
  --radius: 4px;
  --container: 1240px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .35);
  --ring: 0 0 0 3px rgba(239, 140, 27, .35);
}

/* Signature cut-corner shape, derived from the logo letterforms */
.cut,
.btn,
.hero-frame,
.project-media,
.service-icon,
.cta-inner,
.gallery img,
.service-photo,
.service-line-photo,
.project-feature img,
.project-placeholder-large,
.stat-item,
.contact-card,
.wa-float {
  clip-path: polygon(
    var(--chamfer) 0,
    100% 0,
    100% calc(100% - var(--chamfer)),
    calc(100% - var(--chamfer)) 100%,
    0 100%,
    0 var(--chamfer)
  );
}

.btn,
.service-icon,
.wa-float,
.stat-item {
  --chamfer: var(--chamfer-sm);
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--orange);
  color: #111;
  padding: 12px 18px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Two large blurs are expensive to repaint. A pre-blurred radial
   gradient costs nothing and looks identical. */
.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}
.ambient-a { background: radial-gradient(circle, rgba(239,140,27,.16), transparent 68%); }
.ambient-b { background: radial-gradient(circle, rgba(255,255,255,.05), transparent 68%); }
.ambient-a { left: -260px; top: 160px; }
.ambient-b { right: -340px; top: 58vh; }

.site-header, .footer, main { position: relative; z-index: 1; }

/* ---------------------------------------------------------------
   Header / navigation
   --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 14, 14, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(12, 12, 12, .96);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand { display: flex; align-items: center; width: 164px; }
.brand img { width: 100%; height: 68px; object-fit: contain; object-position: left center; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: #c6c5c1;
  position: relative;
  transition: color .2s ease;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width .25s ease;
}
.nav > a:not(.btn):hover { color: #fff; }
.nav > a:not(.btn):hover::after,
.nav > a.active::after { width: 100%; }
.nav > a.active { color: #fff; }

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  color: #b9b8b3;
  transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-login::after { display: none; }
.nav-login:hover {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--orange);
  transform: translateY(-1px);
}

.nav-phone {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav-phone::after { display: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 7px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }

/* Reading progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transform-origin: left;
}

/* ---------------------------------------------------------------
   Buttons and links
   --------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 26px;
  background: var(--orange);
  color: #111;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.01em;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--orange-2);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(239, 140, 27, .18);
}
.btn:active { transform: translateY(0); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 13px; }
.btn-dark { background: #141414; color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px #3a3a3a; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e8e8e5;
  font-weight: 600;
  transition: gap .2s ease;
}
.text-link:hover { gap: 18px; }
.text-link span { color: var(--orange); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  color: #b3b2ac;
  text-transform: uppercase;
}
.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(239, 140, 27, .8);
}
.eyebrow.light { color: #2d2d2d; }
.eyebrow.light i { background: #111; box-shadow: none; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.hero {
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  padding: 78px 0 88px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 70px;
  align-items: center;
}

.hero-copy { max-width: 700px; }

.hero h1,
.page-hero h1,
.project-hero h1 {
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: .94;
  letter-spacing: -.045em;
  margin: 26px 0 28px;
}
.hero h1 em,
.page-hero h1 em {
  color: var(--orange);
  font-style: normal;
  font-weight: 600;
}

.hero-copy > p {
  max-width: 620px;
  color: #b2b1ac;
  font-size: 18px;
  line-height: 1.72;
  margin: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-meta div { display: grid; gap: 3px; }
.hero-meta strong {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 13px;
}
.hero-meta span {
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-visual { min-height: 640px; display: flex; align-items: center; }

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: .9;
  background: linear-gradient(145deg, #1e1e1e, #141414);
  box-shadow: var(--shadow), inset 0 0 0 1px #2c2c2c;
  overflow: hidden;
}

/* ===============================================================
   Hero — fabrication animation
   ---------------------------------------------------------------
   One shared cycle. Every layer animates on the same duration and
   claims its own slice of the timeline, so the sequence stays in
   step without a single line of JavaScript.
   =============================================================== */

.stage {
  --cycle: 13s;
  display: grid;
  place-items: center;
}

/* 1 — Blueprint grid sweeps in */
.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  transform-origin: left center;
  animation: grid-in var(--cycle) ease-in-out infinite;
}

@keyframes grid-in {
  0%       { opacity: 0; transform: scaleX(0); }
  9%       { opacity: 1; transform: scaleX(1); }
  76%      { opacity: 1; }
  92%, 100% { opacity: 0; transform: scaleX(1); }
}

/* 2 — Measuring pass */
.stage-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, rgba(239, 140, 27, .85), transparent);
  box-shadow: 0 0 22px rgba(239, 140, 27, .55);
  opacity: 0;
  animation: scan var(--cycle) ease-in-out infinite;
}

@keyframes scan {
  0%, 6%   { opacity: 0; transform: translateY(0); }
  8%       { opacity: 1; }
  20%      { opacity: 1; transform: translateY(100vh); }
  22%, 100% { opacity: 0; transform: translateY(100vh); }
}

/* Ambient light that switches on with the sign */
.stage-glow {
  position: absolute;
  right: -12%;
  bottom: -18%;
  width: 66%;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 140, 27, .55), transparent 70%);
  opacity: 0;
  animation: led-room var(--cycle) linear infinite;
}

@keyframes led-room {
  0%, 54%       { opacity: 0; }
  56%           { opacity: .5; }
  57%           { opacity: .08; }
  59%           { opacity: .62; }
  60%           { opacity: .15; }
  63%, 88%      { opacity: .42; }
  96%, 100%     { opacity: 0; }
}

/* The sign panel itself */
.sign {
  position: relative;
  width: 78%;
  padding: 34px 32px 40px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
}

.sign-tag {
  display: block;
  font-size: 9px;
  letter-spacing: .24em;
  color: #6f6e6b;
  opacity: 0;
  animation: fade-slot var(--cycle) ease infinite;
}

@keyframes fade-slot {
  0%, 10%   { opacity: 0; }
  16%, 88%  { opacity: 1; }
  95%, 100% { opacity: 0; }
}

/* Stacked letter layers */
.sign-word {
  position: relative;
  margin-top: 6px;
  line-height: .82;
}

.sign-word .layer {
  font-family: var(--font-display);
  font-size: clamp(72px, 9.5vw, 140px);
  font-weight: 800;
  letter-spacing: -.075em;
  display: block;
}

.sign-word .layer:not(.layer-extrude) {
  position: absolute;
  inset: 0;
}

/* 3 — Outline drawn first */
.layer-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6);
  opacity: 0;
  animation: outline-in var(--cycle) ease infinite;
}

@keyframes outline-in {
  0%, 12%   { opacity: 0; }
  18%, 30%  { opacity: 1; }
  40%, 100% { opacity: 0; }
}

/* 4 — Face fills from left to right */
.layer-fill {
  color: #fff;
  clip-path: inset(0 100% 0 0);
  animation: fill-in var(--cycle) cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes fill-in {
  0%, 26%   { clip-path: inset(0 100% 0 0); }
  38%, 90%  { clip-path: inset(0 0 0 0); }
  97%, 100% { clip-path: inset(0 0 0 100%); }
}

/* 5 — Depth slides out behind the face */
.layer-extrude {
  position: relative;
  color: #0c0c0c;
  text-shadow:
    1px 1px 0 #1a1a1a, 2px 2px 0 #191919, 3px 3px 0 #181818,
    4px 4px 0 #171717, 5px 5px 0 #161616, 6px 6px 0 #151515,
    7px 7px 0 #141414, 8px 8px 0 #131313, 9px 9px 0 #121212,
    10px 10px 22px rgba(0, 0, 0, .75);
  opacity: 0;
  animation: extrude var(--cycle) cubic-bezier(.22, 1, .36, 1) infinite;
}

@keyframes extrude {
  0%, 36%   { opacity: 0; transform: translate(0, 0); }
  46%, 90%  { opacity: 1; transform: translate(-7px, -7px); }
  97%, 100% { opacity: 0; transform: translate(0, 0); }
}

/* 6 — LED ignition halo */
.layer-halo {
  color: var(--orange);
  filter: blur(18px);
  opacity: 0;
  animation: led-ignite var(--cycle) linear infinite;
}

@keyframes led-ignite {
  0%, 54%   { opacity: 0; }
  56%       { opacity: .9; }
  57%       { opacity: .1; }
  59%       { opacity: 1; }
  60%       { opacity: .2; }
  63%, 88%  { opacity: .72; }
  95%, 100% { opacity: 0; }
}

/* Script accent draws in after the main word */
.sign-script {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(44px, 5.4vw, 82px);
  line-height: 1;
  margin: 2px 0 0 46px;
  transform: rotate(-5deg);
  clip-path: inset(0 100% 0 0);
  animation: script-in var(--cycle) cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes script-in {
  0%, 44%   { clip-path: inset(0 100% 0 0); }
  54%, 90%  { clip-path: inset(0 0 0 0); }
  97%, 100% { clip-path: inset(0 100% 0 0); }
}

/* 7 — Specular sweep across the finished face */
.sign-sweep {
  position: absolute;
  top: -60%;
  left: -35%;
  width: 28%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: rotate(18deg) translateX(0);
  opacity: 0;
  animation: sweep var(--cycle) ease-in-out infinite;
}

@keyframes sweep {
  0%, 66%   { opacity: 0; transform: rotate(18deg) translateX(0); }
  70%       { opacity: 1; }
  82%       { opacity: 1; transform: rotate(18deg) translateX(520%); }
  84%, 100% { opacity: 0; transform: rotate(18deg) translateX(520%); }
}

/* Technical annotations, drawn like a measurement */
.spec {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: .16em;
  color: #8d8c87;
  opacity: 0;
  animation: fade-slot var(--cycle) ease infinite;
}
.spec b { font-weight: 500; }
.spec i {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4a4a4a);
}
.spec-w { left: 9%; top: 13%; }
.spec-w i { width: 54px; }
.spec-h { right: 8%; top: 17%; animation-delay: .3s; }
.spec-h i { width: 40px; }
.spec-mat {
  right: 8%;
  bottom: 7%;
  color: #b8b7b2;
  border: 1px solid #2c2c2c;
  background: #141414;
  border-radius: 999px;
  padding: 8px 12px;
  animation-delay: .6s;
}

/* ---------------------------------------------------------------
   Ticker
   --------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #131313;
}
.ticker-viewport {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.ticker:hover .ticker-viewport { animation-play-state: paused; }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: none;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #78776f;
}
.ticker-track b { color: var(--orange); font-size: 16px; }

/* ---------------------------------------------------------------
   Sections
   --------------------------------------------------------------- */

.section { padding: 118px 0; }
.pt0 { padding-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head h2,
.process-grid h2,
.cta-inner h2,
.project-detail-grid h2,
.faq-head h2,
.footer-cta h2 {
  font-size: clamp(38px, 4.8vw, 70px);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin: 18px 0 0;
}
.section-head > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  max-width: 540px;
}

/* Stats band */
.stats-band { background: var(--bg-2); border-block: 1px solid var(--line-soft); padding: 68px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-item {
  padding: 26px 24px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--orange);
}
.stat-item span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
  transition: background .25s ease, transform .25s ease;
}
.service-card:hover { background: #171717; transform: translateY(-4px); }
.service-index { font-size: 10px; color: var(--muted-2); letter-spacing: .13em; }
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-top: 52px;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
/* Service card with a real photo instead of the icon block */
.service-photo {
  margin-top: 30px;
  aspect-ratio: 1.5;
  overflow: hidden;
  background: #131313;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card.has-photo:hover .service-photo img { transform: scale(1.05); }
.service-card.has-photo { display: flex; flex-direction: column; }
.service-card.has-photo h3 { margin-top: 20px; }

.service-line-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1.4;
  overflow: hidden;
  background: #131313;
}
.service-line-photo img { width: 100%; height: 100%; object-fit: cover; }

.icon-photo { padding: 0; overflow: hidden; }
.icon-photo img { width: 100%; height: 100%; object-fit: cover; }

.service-card h3 { font-size: 22px; letter-spacing: -.02em; margin: 24px 0 11px; }
.service-card p { color: #8c8b87; margin: 0; max-width: 300px; font-size: 15px; }
.service-arrow {
  position: absolute;
  right: 28px;
  top: 28px;
  color: var(--muted-2);
  font-size: 20px;
  transition: color .2s ease, transform .2s ease;
}
.service-card:hover .service-arrow { color: var(--orange); transform: translate(3px, -3px); }

/* Work */
.work-section {
  background: #0c0c0c;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.project-card { display: block; }
.project-media {
  position: relative;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: #171717;
  box-shadow: inset 0 0 0 1px #242424;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.project-card:hover .project-media img { transform: scale(1.04); }
.project-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(239, 140, 27, .14), transparent 32%),
    linear-gradient(145deg, #1d1d1d, #121212);
  overflow: hidden;
}
.project-placeholder::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotate(-4deg);
}
.project-placeholder span {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 11vw, 150px);
  letter-spacing: -.07em;
  color: #ededeb;
  line-height: .85;
}
.project-placeholder small {
  position: relative;
  margin-top: 18px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.project-number {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(10px);
  font-size: 10px;
  color: #aaa;
}
.project-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 19px 4px 0;
}
.project-info span {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.project-info h3 { font-size: 23px; margin: 6px 0 0; letter-spacing: -.02em; }
.project-info b { color: var(--orange); font-size: 20px; transition: transform .2s ease; }
.project-card:hover .project-info b { transform: translate(3px, -3px); }
.portfolio-grid { gap: 48px 26px; }

/* Portfolio filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: .2s ease;
}
.filter-btn:hover { color: #fff; border-color: #3c3c3c; }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #111; font-weight: 700; }

/* Process */
.process-section { background: var(--bg-3); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.lead { font-size: 17px; color: var(--muted); max-width: 470px; line-height: 1.75; }
.process-list { border-top: 1px solid #2f2f2f; }
.process-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid #2f2f2f;
}
.process-row > span { font-family: var(--font-display); font-size: 12px; color: var(--orange); font-weight: 700; }
.process-row h3 { font-size: 21px; margin: 0 0 8px; }
.process-row p { margin: 0; color: #8d8c88; max-width: 520px; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card {
  padding: 30px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why-card h3 { font-size: 19px; margin: 16px 0 10px; }
.why-card p { margin: 0; color: #8c8b87; font-size: 15px; }
.why-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--orange-dim);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}

/* FAQ */
.faq-head { margin-bottom: 40px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq-q i {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--orange);
  font-style: normal;
  font-size: 20px;
  transition: transform .25s ease;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 0 26px;
  color: var(--muted);
  max-width: 820px;
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }

/* About page */
.about-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.about-copy p { font-size: 17px; line-height: 1.85; color: #a09f9a; margin: 0 0 24px; }
.about-copy p:last-child { margin-bottom: 0; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card {
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease;
}
.value-card:hover { transform: translateY(-5px); border-color: #3a3a3a; }
.value-card h3 { font-size: 18px; margin: 16px 0 10px; }
.value-card p { margin: 0; color: #8c8b87; font-size: 15px; }

.capability-list { border-top: 1px solid var(--line); }
.capability-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, color .25s ease;
}
.capability-row:hover { padding-left: 12px; }
.capability-row:hover strong { color: var(--orange); }
.capability-no { font-size: 11px; color: var(--muted-2); letter-spacing: .12em; }
.capability-row strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -.02em;
  transition: color .25s ease;
}
.capability-row b { color: var(--orange); }

/* CTA */
.cta-section { padding: 0 0 74px; background: var(--bg-3); }
.cta-inner {
  --chamfer: 34px;
  min-height: 480px;
  background: var(--orange);
  color: #151515;
  padding: 62px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::after {
  content: "BM";
  position: absolute;
  right: -20px;
  bottom: -110px;
  font-family: var(--font-display);
  font-size: 340px;
  font-weight: 800;
  letter-spacing: -.1em;
  color: rgba(0, 0, 0, .07);
  line-height: 1;
}
.cta-inner h2 {
  max-width: 920px;
  margin: 24px 0 34px;
  font-size: clamp(42px, 6vw, 86px);
  position: relative;
  z-index: 1;
}
.cta-inner .btn { position: relative; z-index: 1; }

/* Page heroes */
.page-hero { padding: 124px 0 88px; }
.page-hero.compact { padding-bottom: 66px; }
.page-hero p { max-width: 680px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.page-hero h1 { font-size: clamp(54px, 7.2vw, 100px); margin-top: 24px; }

/* Service list page */
.service-list { border-top: 1px solid var(--line); }
.service-line {
  display: grid;
  grid-template-columns: 80px .8fr 1.2fr;
  gap: 50px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-line-no { font-size: 11px; color: var(--muted-2); }
.service-line h2 { font-size: 32px; margin: 18px 0 0; letter-spacing: -.035em; }
.service-line p { color: var(--muted); line-height: 1.75; margin: 0 0 24px; }
.service-line .service-icon { margin: 0; }

/* Project detail */
.project-hero { padding: 116px 0 54px; }
.project-hero h1 { max-width: 1050px; font-size: clamp(48px, 6.6vw, 94px); }
.project-facts {
  display: flex;
  gap: 54px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 42px;
  flex-wrap: wrap;
}
.project-facts span { display: grid; gap: 4px; font-size: 14px; }
.project-facts small { font-size: 9px; letter-spacing: .14em; color: var(--muted-2); }
.project-feature img { width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.project-placeholder-large { position: relative; aspect-ratio: 1.8; }
.project-placeholder-large span { font-size: clamp(70px, 15vw, 200px); }
.project-detail-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; }
.project-copy p { font-size: 18px; line-height: 1.8; color: #a09f9a; margin: 0 0 32px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery img { width: 100%; aspect-ratio: 1.25; object-fit: cover; cursor: zoom-in; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.pager a { color: var(--muted); font-size: 14px; }
.pager a:hover { color: var(--orange); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

/* ---------------------------------------------------------------
   Contact
   --------------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.contact-aside { position: sticky; top: 120px; }
.contact-aside h2 { font-size: 40px; line-height: 1.08; letter-spacing: -.04em; margin: 0 0 22px; }
.contact-aside > p { color: var(--muted); font-size: 16px; line-height: 1.75; }

.contact-cards { display: grid; gap: 12px; margin-top: 34px; }
.contact-card {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .2s ease;
}
.contact-card:hover { background: var(--panel-2); }
.contact-card small { font-size: 9px; letter-spacing: .16em; color: var(--muted-2); text-transform: uppercase; }
.contact-card span { color: #dcdbd7; font-size: 15px; }

.form-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--bg-3);
}
.quote-form, .admin-form, .login-card form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.quote-form label,
.admin-form label,
.login-card label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: #a8a7a2;
  font-weight: 600;
  letter-spacing: .02em;
}

.quote-form input, .quote-form textarea, .quote-form select,
.admin-form input, .admin-form textarea, .admin-form select,
.login-card input, .inquiry select {
  width: 100%;
  background: #101010;
  border: 1px solid #2e2e2e;
  border-radius: 3px;
  color: #fff;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus,
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus,
.login-card input:focus {
  border-color: var(--orange);
  box-shadow: var(--ring);
}
textarea { resize: vertical; }

.hp { position: absolute !important; left: -99999px !important; opacity: 0 !important; }
.form-note { font-size: 11px !important; color: #666 !important; margin: 0; }

.success-box, .error-box {
  border: 1px solid #325a3d;
  background: #142019;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: grid;
  gap: 4px;
}
.success-box strong { font-size: 18px; font-family: var(--font-display); }
.success-box span { color: #9fb4a5; }
.error-box { border-color: #60352d; background: #261713; }
.error-box span { color: #e6b2a8; font-size: 13px; }

.legal { max-width: 820px; }
.legal h2 { font-size: 28px; margin: 42px 0 10px; }
.legal p { font-size: 17px; color: #a3a29c; line-height: 1.8; }
.legal a { color: var(--orange); }

/* 404 */
.error-page { padding: 140px 0 120px; text-align: center; }
.error-page h1 { font-size: clamp(90px, 20vw, 220px); line-height: .85; letter-spacing: -.07em; margin: 0; }
.error-page p { color: var(--muted); font-size: 18px; margin: 22px auto 34px; max-width: 520px; }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */

.footer { padding: 0 0 28px; background: #0a0a0a; border-top: 1px solid #1d1d1d; }

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 68px 0;
  border-bottom: 1px solid #1d1d1d;
}
.footer-cta h2 { max-width: 620px; }
.footer-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, .75fr);
  gap: 48px;
  padding-top: 62px;
}
.footer-logo { width: 185px; height: 86px; object-fit: contain; object-position: left center; margin-bottom: 20px; }
.footer-brand p { color: #77766f; max-width: 340px; }
.footer-grid h4 {
  font-size: 10px;
  letter-spacing: .14em;
  color: #5e5d59;
  margin: 16px 0 18px;
  text-transform: uppercase;
}
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a, .footer-grid span { color: #a8a7a2; margin: 5px 0; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-hours { color: #6f6e69 !important; font-size: 13px !important; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #1c1c1c;
  margin-top: 48px;
  padding-top: 22px;
  font-size: 11px;
  color: #55544f;
}
.footer-bottom-links { display: flex; gap: 20px; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #0b2c17;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: translateY(-3px); }

/* ---------------------------------------------------------------
   Motion
   --------------------------------------------------------------- */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(120%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: .65; }
}

/* Headline lines slide up from behind a mask on load */
.split-lines {
  overflow: hidden;
  padding-bottom: .08em;
}
.split-lines > span,
.split-lines {
  display: block;
}
.split-lines .line {
  display: block;
  animation: rise-in .9s cubic-bezier(.22, 1, .36, 1) both;
}
.split-lines .line:nth-child(2) { animation-delay: .1s; }
.split-lines .line:nth-child(3) { animation-delay: .18s; }

/* Hero supporting content fades in behind the headline */
.hero-copy .eyebrow { animation: fade-up .7s ease both; }
.hero-copy > p { animation: fade-up .8s ease .25s both; }
.hero-actions { animation: fade-up .8s ease .38s both; }
.hero-meta { animation: fade-up .8s ease .5s both; }
.hero-visual { animation: fade-up 1s ease .3s both; }

.eyebrow i { animation: pulse-dot 2.6s ease-in-out infinite; }

/* Subtle parallax, driven by JS through a custom property */
.hero-frame {
  transform: translate3d(0, var(--parallax, 0px), 0);
  will-change: transform;
}

/* ---------------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.service-card:nth-child(2), .project-card:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3) { transition-delay: .14s; }
.service-card:nth-child(4) { transition-delay: .18s; }
.service-card:nth-child(5) { transition-delay: .22s; }
.service-card:nth-child(6) { transition-delay: .26s; }

/* ===============================================================
   Admin panel
   =============================================================== */

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 50% 0, rgba(239, 140, 27, .09), transparent 30%), #0c0c0c;
}
.login-card {
  width: min(100%, 440px);
  padding: 34px;
  border: 1px solid #2a2a2a;
  background: var(--bg-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.login-card > img { width: 180px; height: 85px; object-fit: contain; object-position: left; margin-bottom: 20px; }
.login-card h1 { font-size: 32px; margin: 0 0 6px; }
.login-card > p { color: var(--muted-2); margin: 0 0 24px; }
.back-link { display: inline-block; margin-top: 20px; color: #777; font-size: 13px; }

.admin-body { background: #0d0d0d; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #111;
  border-right: 1px solid #242424;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  z-index: 40;
}
.admin-brand img { width: 145px; height: 78px; object-fit: contain; object-position: left; }
.admin-sidebar nav { display: grid; gap: 6px; margin-top: 28px; }
.admin-sidebar nav a, .admin-side-bottom a {
  padding: 11px 13px;
  border-radius: 3px;
  color: #8c8b87;
  font-size: 13px;
}
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: #1c1c1c; color: #fff; }
.admin-sidebar nav a.active { box-shadow: inset 3px 0 var(--orange); }
.admin-side-bottom { margin-top: auto; display: grid; gap: 4px; border-top: 1px solid #222; padding-top: 16px; }
.admin-main { min-width: 0; }
.admin-top {
  height: 72px;
  border-bottom: 1px solid #242424;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 28px;
  background: rgba(13, 13, 13, .9);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.admin-top > div { display: grid; text-align: right; }
.admin-top span { font-size: 9px; letter-spacing: .14em; color: #666; }
.admin-top strong { font-size: 13px; }
.admin-menu {
  display: none;
  margin-right: auto;
  background: #1b1b1b;
  border: 1px solid #2c2c2c;
  border-radius: 3px;
  padding: 8px 11px;
  cursor: pointer;
}
.admin-content { padding: 34px; max-width: 1450px; }
.admin-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.admin-title span { font-size: 9px; color: var(--orange); font-weight: 700; letter-spacing: .16em; }
.admin-title h1 { font-size: 38px; letter-spacing: -.035em; margin: 4px 0 0; }
.admin-title > a:not(.btn) { color: #888; font-size: 13px; }
.admin-actions { display: flex; gap: 10px; align-items: center; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-grid > div { background: var(--bg-3); border: 1px solid #272727; border-radius: var(--radius); padding: 22px; }
.stat-grid span { font-size: 11px; color: #777; }
.stat-grid strong { display: block; font-family: var(--font-display); font-size: 38px; margin-top: 12px; }

.admin-card { background: var(--bg-3); border: 1px solid #272727; border-radius: var(--radius); padding: 22px; }
.admin-card h2 { margin: 0 0 20px; font-size: 19px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.admin-card-head h2 { margin: 0; }
.admin-card-head a { font-size: 12px; color: #999; }
.admin-hint { color: #74736e; font-size: 12px; margin: -8px 0 16px; }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid #242424; font-size: 13px; }
th { font-size: 9px; letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; }
td strong { display: block; }
td small { display: block; color: #6b6a66; margin-top: 3px; }

.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid #373737;
  color: #aaa;
}
.status.new { border-color: #775021; color: #efae61; background: #2b2013; }
.status.contacted { border-color: #33465f; color: #9ebde3; }
.status.quoted { border-color: #4e4465; color: #c5aee3; }
.status.closed { border-color: #34503d; color: #9bc7a6; }

.actions { display: flex; gap: 12px; align-items: center; }
.actions a, .actions button { font-size: 12px; color: #ccc; }
.actions button { background: none; border: 0; padding: 0; cursor: pointer; color: #ba7267; }
.actions form { margin: 0; }

.admin-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-admin-list { display: grid; }
.service-admin-list .row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #242424;
}
.service-admin-list .row > span.icon {
  width: 42px;
  height: 42px;
  background: var(--orange-dim);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--orange);
  font-weight: 700;
}
.service-admin-list strong, .service-admin-list small { display: block; }
.service-admin-list small { font-size: 10px; color: #666; margin-top: 3px; }

.check-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.check-row label { display: flex !important; align-items: center; gap: 9px; }
.check-row input { width: auto !important; }
.admin-preview { max-width: 320px; border-radius: var(--radius); border: 1px solid #2d2d2d; }

.gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.gallery-admin figure { margin: 0; border: 1px solid #2a2a2a; border-radius: var(--radius); overflow: hidden; background: #121212; }
.gallery-admin img { width: 100%; aspect-ratio: 1.3; object-fit: cover; }
.gallery-admin figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; font-size: 11px; color: #8a8985; }
.gallery-admin button { background: none; border: 0; color: #ba7267; cursor: pointer; font-size: 11px; }

.inquiry-list { display: grid; gap: 15px; }
.inquiry { padding: 24px; }
.inquiry-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.inquiry-head h2 { margin: 9px 0 2px; font-size: 20px; }
.inquiry-head small { color: #666; }
.inquiry-head select { width: auto; min-width: 140px; }
.inquiry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 18px 0;
  padding: 13px 0;
  border-top: 1px solid #242424;
  border-bottom: 1px solid #242424;
}
.inquiry-meta a, .inquiry-meta span { font-size: 12px; color: #a09f9a; }
.inquiry > p { color: #a2a19c; line-height: 1.7; margin-bottom: 0; }

/* Sections below the fold are not painted until they approach the
   viewport. Cuts a large amount of work on long pages. */
.work-section,
.process-section,
.stats-band,
.cta-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* ===============================================================
   Responsive
   =============================================================== */

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: auto; }
  .hero-frame { max-width: 760px; aspect-ratio: 1.25; }
  .sign { width: 70%; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-aside { position: static; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .about-story { grid-template-columns: 1fr; gap: 34px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .admin-shell { grid-template-columns: 210px 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-phone, .nav-divider { display: none; }
  .nav { gap: 20px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height: 74px; }
  .brand { width: 138px; }
  .brand img { height: 60px; }
  .nav-toggle { display: block; z-index: 3; }
  .nav {
    position: fixed;
    inset: 74px 0 0;
    background: #101010;
    padding: 30px 20px 50px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav > a:not(.btn) { font-size: 25px; font-weight: 600; padding: 11px 8px; color: #ddd; }
  .nav > a:not(.btn)::after { display: none; }
  .nav-phone { display: block; padding-left: 8px; border-left: 0; font-size: 18px !important; color: var(--orange) !important; }
  .nav-divider { display: none; }
  .nav-login { justify-content: flex-start; margin-top: 12px; padding: 12px 14px; }
  .nav .btn { margin-top: 14px; }

  /* Fixed blurs and backdrop filters are the most expensive thing on
     a phone. Neither is missed at this size. */
  .ambient { display: none; }
  .site-header, .admin-top { backdrop-filter: none; }
  .value-grid { grid-template-columns: 1fr; }
  .capability-row { grid-template-columns: 40px 1fr auto; }
  .capability-row strong { font-size: 19px; }
  .ticker-viewport { animation-duration: 22s; }

  .hero { padding: 62px 0; }
  .hero h1, .page-hero h1 { font-size: clamp(44px, 13vw, 74px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-meta { gap: 8px; }
  .hero-meta span { font-size: 9px; }
  .hero-frame { aspect-ratio: .95; }
  .sign { width: 86%; padding: 24px 22px 30px; }
  .spec-w, .spec-h { display: none; }
  /* The blurred halo is the one costly layer here — shrink it on phones. */
  .layer-halo { filter: blur(11px); }

  .section { padding: 78px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2, .process-grid h2, .project-detail-grid h2, .footer-cta h2 { font-size: 40px; }
  .stats-band { padding: 52px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .why-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; gap: 34px; }
  .project-media { aspect-ratio: 1.25; }
  .process-row { grid-template-columns: 55px 1fr; }
  .cta-inner { --chamfer: 22px; min-height: 420px; padding: 34px 24px; }
  .cta-inner h2 { font-size: 44px; }
  .page-hero { padding: 84px 0 62px; }
  .service-line { grid-template-columns: 48px 1fr; gap: 20px; }
  .service-line > div:last-child { grid-column: 2; }
  .project-facts { gap: 24px; }
  .project-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-panel { padding: 22px; }
  .faq-q { font-size: 17px; }

  .footer-cta { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding-top: 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }

  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: 0; top: 0; width: 250px; transform: translateX(-102%); transition: transform .25s ease; }
  .admin-sidebar.open { transform: none; }
  .admin-top { justify-content: flex-end; }
  .admin-menu { display: block; }
  .admin-content { padding: 22px 16px; }
  .admin-two { grid-template-columns: 1fr; }
  .admin-title h1 { font-size: 32px; }
}

@media (max-width: 520px) {
  .hero-meta { grid-template-columns: 1fr; gap: 13px; }
  .hero-meta div { grid-template-columns: 34px 1fr; align-items: center; }
  .hero-frame { aspect-ratio: .82; }
  .spec-mat { font-size: 7px; padding: 6px 9px; }
  .sign-sweep { display: none; }
  .service-card { padding: 22px; }
  .stats-grid { grid-template-columns: 1fr; }
  .project-info h3 { font-size: 20px; }
  .page-hero h1 { font-size: 46px; }
  .service-line { padding: 32px 0; }
  .service-line h2 { font-size: 26px; }
  .cta-inner h2 { font-size: 38px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr; }
  .admin-title { align-items: flex-start; flex-direction: column; }
  .inquiry-head { flex-direction: column; }
  .inquiry-head form { width: 100%; }
  .inquiry-head select { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .split-lines .line { animation: none; }
  .hero-copy .eyebrow, .hero-copy > p, .hero-actions, .hero-meta, .hero-visual { animation: none; opacity: 1; }
  .ticker-viewport { animation: none; }
  .hero-frame { transform: none; }

  /* Freeze the fabrication loop on its completed state */
  .stage-grid, .stage-scan, .stage-glow, .sign-tag,
  .sign-word .layer, .sign-script, .sign-sweep, .spec { animation: none; }
  .stage-grid, .sign-tag, .spec, .layer-extrude { opacity: 1; }
  .layer-fill, .sign-script { clip-path: none; }
  .layer-extrude { transform: translate(-7px, -7px); }
  .layer-halo { opacity: .7; }
  .layer-outline, .stage-scan, .sign-sweep { opacity: 0; }
  .stage-glow { opacity: .42; }
}

@media print {
  .site-header, .footer, .wa-float, .cta-section, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}