:root {
    --black: #0a0a0a;
    --ink: #1a1a1a;
    --paper: #f4f1ec;
    --paper-warm: #ede8e0;
    --rule: #2a2a2a;
    --hazard: #ff6a13;        /* safety / hazard orange */
    --hazard-deep: #d64a00;
    --caution: #fbb800;       /* utility-marker yellow */
    --steel: #6b6b6b;
    --steel-light: #a8a39d;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* === HAZARD STRIPE TOP BAR === */
  .hazard-bar {
    height: 8px;
    background: repeating-linear-gradient(
      135deg,
      var(--hazard) 0 18px,
      var(--black) 18px 36px
    );
  }

  /* === NAV === */
  nav.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--black);
    color: var(--paper);
    padding: 14px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222;
  }
  nav.top .brand {
    display: flex;
    align-items: center;
    text-decoration: none;
  }
  nav.top .brand-logo {
    height: 36px;
    width: auto;
    display: block;
  }
  nav.top .links {
    display: flex; gap: 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  nav.top .links a {
    color: var(--paper);
    text-decoration: none;
    transition: color 0.15s;
  }
  nav.top .links a:hover { color: var(--hazard); }
  nav.top .cta {
    background: var(--hazard);
    color: var(--black);
    padding: 10px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid var(--hazard);
    transition: all 0.15s;
  }
  nav.top .cta:hover {
    background: transparent;
    color: var(--hazard);
  }

  @media (max-width: 800px) {
    nav.top .links { display: none; }
  }

  /* === MOBILE NAV === */
     /* Hide toggle button on desktop views */
   nav.top .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: inherit; /* Inherits text color from navbar */
}

@media (max-width: 800px) {
  nav.top { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* --- Mobile Breakpoint (800px and below) --- */

  /* Display the hamburger button */
  nav.top .menu-toggle {
    display: block;
    order: 3; /* Forces menu button to the right side */
    margin-left: 12px; /* FIXED: Controls the exact spacing between the CTA and Hamburger */
  }

  /* Push desktop CTA button out of the way or hide it if needed */
  nav.top .cta {
    order: 2;
    margin-left: auto; /* FIXED: Absorbs all empty space, pushing CTA and Hamburger to the right */
  }

  /* Convert links container to absolute dropdown list */
  nav.top .links {
    display: none; /* Hidden by default */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Sits directly below the navbar */
    left: 0;
    width: 100%;
    background-color: inherit; /* Match your website background color */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 999;
    box-sizing: border-box;
    border-bottom: 1px solid #222;
    gap: 15px; /* Vertical spacing between links */
  }

  /* Make vertical links block elements for better hit-targets */
  nav.top .links a {
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }

  /* Target utility class to display menu when triggered */
  nav.top .links.active {
    display: flex;
  }
}

/* --- SCROLLSPY ACTIVE HIGHLIGHT STATE --- */

/* Active state link color targets using your safety/hazard orange variable */
nav.top .links a.active {
  color: var(--hazard);
}

/* Fallback fallback treatment across mobile view states */
@media (max-width: 800px) {
  nav.top .links a.active {
    border-left: 3px solid var(--hazard);
    padding-left: 8px;
  }
}

/* --- SCROLLSPY ACTIVE DESKTOP STYLING --- */
@media (min-width: 801px) {
  nav.top .links a {
    /* Safe padding buffer protects the navbar height from expanding when the border toggles */
    padding-bottom: 6px; 
    border-bottom: 3px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
  }

  /* Matches your hazard orange color and your mobile 3px border thickness matrix */
  nav.top .links a.active {
    color: var(--hazard);
    border-bottom-color: var(--hazard);
  }
}


  /* === Back to Top === */

  /* --- Floating Back to Top Button --- */
/* --- Enhanced Floating Back to Top Button --- */
.back-to-top {
  position: fixed;
  
  /* FIXED: Raised bottom spacing to clear Android's system navigation bar overlay */
  bottom: clamp(40px, 8vh, 80px); 
  right: 30px;               
  
  width: 45px;
  height: 45px;
  background-color: #333333; /* CHANGE THIS: Match your primary theme color */
  color: #ffffff;            
  border: none;
  border-radius: 50%;        
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  
  /* FIXED: Pushes the layer safely over Chrome Android's dynamic engine layers */
  z-index: 99999;             
  
  /* Smooth visibility transitions */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;      
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

/* Hover state effect */
.back-to-top:hover {
  transform: translateY(-3px); 
  background-color: #555555;   
}

/* Class injected via JavaScript when user scrolls past threshold */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;      
}

/* Responsive tweak for mobile screens */
@media (max-width: 800px) {
  .back-to-top {
    /* FIXED: Ensures safety space from the edge on high-res Android screens */
    bottom: 50px; 
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}


/* Hover state effect */
.back-to-top:hover {
  transform: translateY(-3px); /* Subtle bounce upward on hover */
  background-color: #555555;   /* Lightens the background slightly */
}

/* Class injected via JavaScript when user scrolls past threshold */
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;      /* Restores clickability */
}

/* Responsive tweak for mobile screens to keep it out of the way */
@media (max-width: 600px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}


  /* === HERO === */
  .hero {
    background: var(--black);
    color: var(--paper);
    padding: 90px 6vw 110px;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0; right: -10%;
    width: 60%;
    height: 100%;
    background:
      radial-gradient(circle at 30% 50%, rgba(255,106,19,0.18), transparent 60%);
    pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.25em;
    color: var(--hazard);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--hazard);
  }

  h1.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(40px, 6.5vw, 86px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  h1.hero-title .hl {
    color: var(--hazard);
    display: inline-block;
  }

  .tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--hazard);
    margin: 0 0 32px 0;
    padding-top: 2px;
    border-top: 2px solid var(--hazard);
    display: inline-block;
    padding-right: 24px;
  }


  .hero-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 19px;
    line-height: 1.55;
    color: #d8d3cb;
    max-width: 560px;
    margin-bottom: 40px;
  }

  .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary, .btn-secondary {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 15px;
    padding: 16px 28px;
    text-decoration: none;
    border: 2px solid var(--hazard);
    transition: all 0.18s;
    cursor: pointer;
    display: inline-block;
  }
  .btn-primary { background: var(--hazard); color: var(--black); }
  .btn-primary:hover { background: var(--hazard-deep); border-color: var(--hazard-deep); }
  .btn-secondary { background: transparent; color: var(--paper); border-color: var(--paper); }
  .btn-secondary:hover { background: var(--paper); color: var(--black); }

  /* Hero photo */
  .hero-photo {
    position: relative;
    border: 1px solid #2a2a2a;
    overflow: hidden;
  }
  .hero-photo::before {
    content: "FIELD COMPARISON";
    position: absolute;
    top: 0; left: 0;
    background: var(--hazard);
    color: var(--black);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2em;
    padding: 6px 12px;
    z-index: 2;
  }
  .hero-photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .hero-photo-caption {
    background: var(--black);
    color: var(--paper);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 20px 24px;
    gap: 16px;
  }
  .hp-left, .hp-right {
    display: flex;
    flex-direction: column;
  }
  .hp-right { text-align: right; }
  .hp-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--steel-light);
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .hp-stat {
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    line-height: 1;
    color: var(--hazard);
  }
  .hp-right .hp-stat { color: var(--steel); }
  .hp-divider {
    width: 1px;
    height: 36px;
    background: #333;
  }

  /* Hero logo - cream plate with black logo for industrial nameplate feel */
  .hero-logo-wrap {
    display: inline-block;
    background: var(--paper);
    padding: 32px 44px;
    margin-bottom: 36px;
    border: 1px solid #2a2a2a;
  }
  .hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
  }
  @media (max-width: 900px) {
    .hero-logo { max-width: 320px; }
    .hero-logo-wrap { padding: 26px 34px; }
  }
  @media (max-width: 500px) {
    .hero-logo { max-width: 260px; }
    .hero-logo-wrap { padding: 22px 28px; margin-bottom: 24px; }
  }

  /* Watermark logo - background brand stamp */
  .logo-watermark {
    position: absolute;
    pointer-events: none;
    opacity: 0.05;
    width: 720px;
    max-width: 90%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .logo-watermark img { width: 100%; display: block; }

  /* === PROBLEM SECTION === */
  .problem {
    background: var(--paper);
    padding: 100px 6vw;
    border-bottom: 1px solid #d8d3cb;
  }
  .container { max-width: 1200px; margin: 0 auto; }

  .section-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--hazard);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .section-tag::before {
    content: "";
    width: 36px; height: 2px;
    background: var(--hazard);
    display: inline-block;
  }

  /* Centered variant for the mission section */
  .section-tag.mission-tag {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
  }
  .section-tag.mission-tag::after {
    content: "";
    width: 36px; height: 2px;
    background: var(--hazard);
    display: inline-block;
  }

  h2.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 32px;
    max-width: 900px;
  }

  .lead {
    font-family: 'Barlow', sans-serif;
    font-size: 21px;
    line-height: 1.5;
    color: #2a2a2a;
    max-width: 760px;
    margin-bottom: 50px;
  }
  .lead strong { color: var(--black); }

  .problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
  }
  @media (max-width: 900px) {
    .problem-grid { grid-template-columns: 1fr; }
  }
  .problem-card {
    background: var(--paper-warm);
    padding: 32px 28px;
    border-left: 4px solid var(--hazard);
    position: relative;
  }
  .problem-card .num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--hazard-deep);
    letter-spacing: 0.2em;
    margin-bottom: 18px;
  }
  .problem-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .problem-card p {
    font-size: 16px;
    color: #3a3a3a;
    line-height: 1.55;
  }

  /* === SPEC SECTION (the meat) === */
  .specs {
    background: var(--ink);
    color: var(--paper);
    padding: 110px 6vw;
    position: relative;
  }
  .specs::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 8px;
    background: repeating-linear-gradient(
      135deg,
      var(--hazard) 0 18px,
      var(--black) 18px 36px
    );
  }

  .specs .section-tag { color: var(--hazard); }
  .specs .section-tag::before { background: var(--hazard); }
  .specs h2.section-title { color: var(--paper); }

  .spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid #333;
    border-left: 1px solid #333;
  }
  @media (max-width: 900px) {
    .spec-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 500px) {
    .spec-grid { grid-template-columns: 1fr; }
  }
  .spec-cell {
    padding: 36px 28px;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    position: relative;
  }
  .spec-cell .spec-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--steel-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 18px;
  }
  .spec-cell .spec-value {
    font-family: 'Archivo Black', sans-serif;
    font-size: 42px;
    line-height: 1;
    color: var(--hazard);
    letter-spacing: -0.01em;
  }
  .spec-cell .spec-unit {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    color: var(--steel-light);
    margin-top: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .spec-cell .spec-desc {
    margin-top: 18px;
    font-size: 14px;
    color: #c4bfb7;
    line-height: 1.5;
  }

  /* === HOW IT WORKS === */
  .how {
    background: var(--paper);
    padding: 110px 6vw;
  }
  .step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
  }
  @media (max-width: 900px) {
    .step-grid { grid-template-columns: 1fr; gap: 32px; }
  }
  .step {
    position: relative;
    padding-top: 30px;
  }
  .step .step-num {
    font-family: 'Archivo Black', sans-serif;
    font-size: 80px;
    line-height: 1;
    color: var(--hazard);
    opacity: 0.18;
    position: absolute;
    top: -20px; left: -8px;
  }
  .step h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
  }
  .step p {
    font-size: 16px;
    color: #3a3a3a;
    line-height: 1.55;
    position: relative;
    z-index: 2;
  }
  .step .step-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--hazard-deep);
    margin-top: 16px;
    text-transform: uppercase;
  }

  /* === USE CASES === */
  .uses {
    background: var(--paper-warm);
    padding: 110px 6vw;
  }
  .use-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
  }
  @media (max-width: 1100px) {
    .use-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 700px) {
    .use-grid { grid-template-columns: 1fr; }
  }
  .use-card {
    background: var(--paper);
    border: 1px solid #d8d3cb;
    padding: 36px 32px;
    transition: transform 0.2s, border-color 0.2s;
  }
  .use-card:hover {
    transform: translateY(-3px);
    border-color: var(--hazard);
  }
  .use-card .icon {
    width: 48px; height: 48px;
    background: var(--black);
    display: flex; align-items: center; justify-content: center;
    color: var(--hazard);
    font-family: 'Archivo Black', sans-serif;
    font-size: 22px;
    margin-bottom: 22px;
  }
  .use-card h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 19px;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: -0.005em;
  }
  .use-card p {
    font-size: 15px;
    color: #3a3a3a;
    line-height: 1.55;
  }

  /* === FIELD TEST CALLOUT === */
  .field {
    background: var(--black);
    color: var(--paper);
    padding: 90px 6vw;
    position: relative;
  }
  .field-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  @media (max-width: 900px) { .field-grid { grid-template-columns: 1fr; } }

  .field h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .field p { font-size: 17px; color: #c4bfb7; line-height: 1.6; }

  .field-stats {
    background: linear-gradient(180deg, #141414 0%, #050505 100%);
    border: 1px solid #2a2a2a;
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .field-stat .v {
    font-family: 'Archivo Black', sans-serif;
    font-size: 38px;
    line-height: 1;
    color: var(--hazard);
  }
  .field-stat .l {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--steel-light);
    text-transform: uppercase;
    margin-top: 12px;
  }

  /* === CONTACT / CTA === */
  .contact {
    background: var(--paper);
    padding: 110px 6vw;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
  }
  @media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

  .contact-form {
    background: var(--ink);
    color: var(--paper);
    padding: 44px 36px;
    border: 1px solid var(--ink);
  }
  .contact-form h3 {
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 8px;
  }
  .contact-form .sub {
    font-size: 14px;
    color: var(--steel-light);
    margin-bottom: 28px;
  }
  .contact-form label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--steel-light);
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    color: var(--paper);
    padding: 12px 14px;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    margin-bottom: 18px;
    transition: border-color 0.15s;
  }
  .contact-form input:focus,
  .contact-form select:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--hazard);
  }
  .contact-form textarea { resize: vertical; min-height: 90px; }
  .contact-form button {
    background: var(--hazard);
    color: var(--black);
    border: 2px solid var(--hazard);
    padding: 14px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
    width: 100%;
  }
  .contact-form button:hover { background: var(--hazard-deep); border-color: var(--hazard-deep); }

  .contact-side .lead { font-size: 19px; }
  .contact-info {
    margin-top: 30px;
    display: grid;
    gap: 18px;
  }
  .contact-info .row {
    display: flex; gap: 16px; align-items: baseline;
    padding-bottom: 16px;
    border-bottom: 1px solid #d8d3cb;
  }
  .contact-info .k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    color: var(--hazard-deep);
    text-transform: uppercase;
    min-width: 90px;
  }
  .contact-info .v {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
  }
  .contact-info .v a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.15s;
  }
  .contact-info .v a:hover { color: var(--hazard); }

  /* === FOOTER === */
  footer {
    background: var(--black);
    color: var(--steel-light);
    padding: 50px 6vw 30px;
    font-size: 14px;
  }
  footer .row {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
    max-width: 1400px; margin: 0 auto;
  }
  footer .brand {
    font-family: 'Archivo Black', sans-serif;
    color: var(--paper);
    font-size: 18px;
    letter-spacing: 0.04em;
  }
  footer .footer-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 17px;
    color: var(--hazard);
    letter-spacing: 0.04em;
  }
  footer .legal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  footer .patent {
    color: var(--hazard);
  }

  /* === Photo blocks === */
  .spec-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 50px;
  }
  @media (max-width: 900px) {
    .spec-photos { grid-template-columns: 1fr; }
  }
  .spec-photo {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .spec-photo .img-wrap {
    background: #0d0d0d;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .spec-photo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .spec-photo-cap {
    padding: 20px 22px;
  }
  .spec-photo-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--hazard);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .spec-photo-desc {
    font-size: 14px;
    color: #c4bfb7;
    line-height: 1.5;
  }

  .how-photo {
    max-width: 520px;
    margin: 50px auto 60px;
    border: 1px solid #d8d3cb;
    overflow: hidden;
  }
  .how-photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  @media (max-width: 900px) {
    .how-photo { max-width: 100%; }
    .how-photo img { height: auto; }
  }

  .field-photo {
    margin-top: 28px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
  }
  .field-photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .field-photo-cap {
    background: #0d0d0d;
    padding: 12px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--steel-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* === IMAGE FRAMES (used in multiple sections) === */
  .img-frame {
    position: relative;
    border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    background: var(--paper-warm);
  }
  .img-frame img {
    width: 100%;
    height: auto;
    display: block;
  }
  .img-frame .img-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--hazard);
    color: var(--black);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.2em;
    padding: 5px 10px;
    z-index: 2;
  }
  .img-frame.dark { border-color: #2a2a2a; background: #0a0a0a; }

  /* === scroll reveals === */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.show { opacity: 1; transform: translateY(0); }

  /* Backfill section responsive */
  @media (max-width: 900px) {
    .backfill > .container > div {
      grid-template-columns: 1fr !important;
      gap: 40px !important;
    }
    .backfill > .container > div > div:first-child > div:last-child {
      grid-template-columns: 1fr !important;
    }
  }
