/* =========================================================
   blueMan — stylesheet
   ========================================================= */

:root{
  --orange: #ff8900;
  --orange-dark: #e07800;
  --ink: #15171b;
  --ink-soft: #4c505a;
  --ink-faint: #767b86;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --border: #e6e7eb;
  --dark-1: #202226;
  --dark-2: #2c2e33;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(21,23,27,.25);
  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* NOTE on horizontal-overflow history: earlier revisions of this file gave
   body a non-visible overflow-x (with or without overflow-x on html too)
   to stop the .main-nav dropdown's closed-state transform from making the
   page scrollable sideways. Both variants were confirmed, via a real
   screen recording, to break the sticky header on real Android/Blink
   touch-scrolling (Brave + Samsung Internet) even though neither ever
   reproduced that breakage in any emulated or desktop testing available
   here: giving body a non-visible overflow makes it a scroll container,
   which changes how position:sticky resolves specifically for real
   touch-driven mobile scrolling.
   The actual, root-cause fix is on .main-nav itself (see below): it no
   longer uses a transform that renders outside its own resting footprint,
   so nothing on the page can cause horizontal overflow any more, and body
   is deliberately left at its default overflow (visible) rather than
   reintroducing that scroll-container side effect defensively. */

body{
  margin:0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img{ max-width:100%; display:block; }

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

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--orange); color:#fff; padding:12px 18px;
  z-index:1000; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

h1,h2,h3{ font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1{ font-size: clamp(2.4rem, 5vw, 4rem); }
h2{ font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3{ font-size: 1.15rem; margin-bottom:.4em; }
p{ margin:0 0 1em; }

.eyebrow{
  display:inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 14px;
}
.eyebrow-light{ color: var(--orange); }

.text-accent{ color: var(--orange); }

.lead{ font-size: 1.1rem; color: var(--ink-soft); max-width: 620px; }
.lead-light{ font-size: 1.1rem; color: #c7c9cf; max-width: 560px; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  text-decoration:none;
  border: 1.5px solid transparent;
  cursor:pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255,137,0,.55);
}
.btn-primary:hover{ background: var(--orange-dark); transform: translateY(-2px); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover{ border-color: var(--ink); transform: translateY(-2px); }
.btn-sm{ padding: 10px 20px; font-size: .88rem; }
.btn-block{ width:100%; }

/* ---------- scroll progress line ----------
   Purely decorative (Svenn's idea): a thin line under the header that grows
   from left to right as you scroll down the page. No function, just motion. */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  z-index: 1000;
  pointer-events: none;
}

/* ---------- header ---------- */
.site-header{
  position: sticky; top:0; z-index: 500;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .32s var(--ease);
}
.site-header.scrolled{
  border-color: var(--border);
  box-shadow: 0 6px 24px -18px rgba(0,0,0,.4);
}
/* Slides out of view while scrolling down, back in while scrolling up (or when
   the mouse reaches the top edge of the window). The header stays position:
   sticky and in the normal flow; only a transform moves it, so no overflow
   property is touched anywhere (see the note near the top of this file). */
.site-header.is-hidden{
  transform: translateY(-100%);
  box-shadow: none;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap: 24px;
  padding: 12px 28px;
  position: relative;
}
.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand-logo{ height: 56px; width:auto; }

/* The nav is always the hamburger dropdown (not just on narrow screens): with
   only .brand and .header-actions left in .header-inner, the logo sits at a
   fixed left edge and the right-hand cluster at a fixed right edge on every
   page, so the NL and EN headers line up exactly even though their button/nav
   text is a different length.
   .main-nav is a compact card, not a full-width sheet: only "right" is set
   (no "left"), so it shrink-to-fits to its widest link. .header-inner is the
   positioned ancestor and itself carries the header's own padding, so
   right:0 lands the card flush with the padding edge, i.e. flush with the
   hamburger button's right edge, at any breakpoint or header height, without
   a hardcoded pixel offset. Opens with a scale-up-from-the-top-right-corner
   + fade (see the comment on the transform rule below for why this replaced
   an earlier slide-in-from-the-right translateX animation). */
.main-nav{
  display:flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  position: absolute;
  top: calc(100% + 8px); right:0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px -16px rgba(21,23,27,.28);
  padding: 8px;
  /* Closed state uses scale, anchored at the top-right corner, NOT
     translateX. A translateX-based "slide in from off-screen" requires
     the box to actually render past the viewport's right edge while
     closed, which made the page horizontally scrollable on real mobile
     touch-scroll (confirmed on Android/Blink: Brave + Samsung Internet)
     even after body{overflow-x:hidden} was added — that fix also broke
     the sticky header on those same real devices (it never reproduced in
     any emulated/desktop testing here), because giving body a non-visible
     overflow turns it into a scroll container, which changes how
     position:sticky resolves on real touch-driven mobile scrolling.
     Scaling down from transform-origin:top right stays entirely within
     the box's own resting footprint, so it can never overflow the page,
     which lets body's overflow stay at the default (no scroll-container
     side effects, sticky header works normally everywhere). */
  transform-origin: top right;
  transform: scale(.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  max-height: 80vh;
  max-width: calc(100vw - 40px);
  overflow-y: auto;
}
.main-nav.is-open{ opacity:1; transform: scale(1); pointer-events:auto; }
.main-nav a{
  color: var(--ink-soft);
  text-decoration:none;
  text-align: left;
  white-space: nowrap;
  font-weight: 500;
  font-size: .96rem;
  padding: 11px 14px;
  border-radius: 8px;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.main-nav a:hover{ color: var(--ink); background: var(--bg-alt); }

.header-actions{ display:flex; align-items:center; gap:16px; }
.header-phone{
  display:flex; align-items:center; gap:8px;
  color: var(--ink); text-decoration:none; font-weight:600; font-size:.92rem;
}
.header-phone svg{ width:18px; height:18px; color: var(--orange); }

/* Language toggle, iOS style: the whole pill is one link to the other language
   (so any part of it can be clicked). The white knob sits behind the flag of
   the current language; on click it slides over to the other flag first, and
   only then does the page change (see main.js). Flags are always NL left, EN
   right, on both language versions. */
.lang-toggle{
  --lt-h: 36px;
  --lt-pad: 3px;
  --lt-knob: 30px;
  --lt-shift: 34px;           /* distance the knob travels: width - 2*pad - knob */
  position: relative;
  display:block;
  flex-shrink:0;
  width: 70px; height: var(--lt-h);
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-sizing: border-box;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s var(--ease);
}
.lang-toggle:hover{ border-color: #cfd1d7; }
.lang-toggle:focus-visible{ outline: 2px solid var(--orange); outline-offset: 2px; }
.lang-knob{
  position:absolute;
  top: calc(var(--lt-pad) - 1px); left: calc(var(--lt-pad) - 1px);
  width: var(--lt-knob); height: var(--lt-knob);
  border-radius: 50%;
  background:#fff;
  box-shadow: 0 2px 6px rgba(21,23,27,.22), 0 0 0 .5px rgba(21,23,27,.06);
  transition: transform .28s cubic-bezier(.3,.9,.3,1);
}
.lang-toggle[data-current="en"] .lang-knob{ transform: translateX(var(--lt-shift)); }
.lang-toggle.is-switching[data-current="nl"] .lang-knob{ transform: translateX(var(--lt-shift)); }
.lang-toggle.is-switching[data-current="en"] .lang-knob{ transform: translateX(0); }

.lang-flag{
  position:absolute;
  top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  display:block;
  opacity: .5;
  filter: grayscale(.35);
  transition: opacity .28s var(--ease), filter .28s var(--ease);
}
.lang-flag-nl{ left: 6px; }
.lang-flag-en{ right: 6px; }
.lang-toggle[data-current="nl"] .lang-flag-nl,
.lang-toggle[data-current="en"] .lang-flag-en{ opacity:1; filter:none; }
.lang-toggle.is-switching[data-current="nl"] .lang-flag-nl{ opacity:.5; filter: grayscale(.35); }
.lang-toggle.is-switching[data-current="nl"] .lang-flag-en{ opacity:1; filter:none; }
.lang-toggle.is-switching[data-current="en"] .lang-flag-en{ opacity:.5; filter: grayscale(.35); }
.lang-toggle.is-switching[data-current="en"] .lang-flag-nl{ opacity:1; filter:none; }

.nav-toggle{
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  width: 40px; height: 40px; border-radius:8px;
  flex-shrink:0;
  border:1px solid var(--border); background:#fff; cursor:pointer;
}
.nav-toggle span{
  display:block; width:18px; height:2px; margin:0 auto; background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 130px 0 110px;
  background: var(--bg-alt);
}
.hero-glow{
  position:absolute; inset:-20% -10% auto -10%;
  height: 640px;
  background: radial-gradient(600px 400px at 30% 20%, rgba(255,137,0,.16), transparent 70%),
              radial-gradient(500px 380px at 80% 10%, rgba(21,23,27,.08), transparent 70%);
  pointer-events:none;
}
.hero-inner{ position:relative; max-width: 800px; }
.hero-lead{ font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top: 12px; }

/* ---------- generic section ---------- */
.section{ padding: 110px 0; }
.section-dark{
  background: linear-gradient(160deg, var(--dark-1), var(--dark-2));
  color: #f2f3f5;
}
.section-dark h2, .section-dark h3{ color:#fff; }
.section-head{ max-width: 680px; margin-bottom: 56px; }
.h2-light{ color:#fff; }

/* ---------- about ---------- */
.about{ position:relative; overflow:hidden; }
.about > .container{ position:relative; z-index:1; }
/* Option B from the mockups: a large, tilted, very faint logo watermark,
   like a big livery decal seen at an angle. Sits behind the content (z-index
   0, .container above it at z-index 1). Clipped by .about's overflow:hidden
   on narrow screens rather than shrunk, since it's an abstract texture, not
   something that needs to stay fully in frame. */
.about-watermark{
  position:absolute;
  top:50%; left:50%;
  height: 480px; width:auto;
  transform: translate(-50%,-50%) rotate(-6deg);
  opacity:.05;
  z-index:0;
  pointer-events:none;
}
@media (max-width: 760px){
  .about-watermark{ height: 280px; }
}
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items:start;
}
.stat-row{
  list-style:none; margin: 28px 0 0; padding:0;
  display:flex; gap: 36px; flex-wrap:wrap;
}
.stat-row li{ display:flex; flex-direction:column; }
.stat-row strong{ font-size:1.6rem; font-weight:800; color:#fff; }
.stat-row span{ font-size:.85rem; color:#9a9ea8; margin-top:2px; }

.own-work{
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.own-work p{ margin:0; font-size:.92rem; color:#a7abb4; }
.own-work strong{ color:#e5e7eb; }
.own-work a{ color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.own-work a:hover{ color:#fff; }

/* ---------- services pillars ---------- */
.pillar-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card{
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.pillar-icon{
  width: 48px; height:48px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 12px;
  background: rgba(255,137,0,.12);
  color: var(--orange-dark);
  margin-bottom: 20px;
}
.pillar-icon svg{ width:24px; height:24px; }
.pillar-card p{ color: var(--ink-soft); margin:0; font-size:.96rem; }

/* ---------- expertise grid ---------- */
.expertise-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow:hidden;
}
.expertise-card{
  background: linear-gradient(160deg, var(--dark-1), var(--dark-2));
  padding: 34px 26px;
  transition: background .25s var(--ease);
}
.expertise-card:hover{ background: #34363c; }
.expertise-card-cta{
  display:block;
  text-decoration:none;
  background: linear-gradient(160deg, rgba(255,137,0,.16), rgba(255,137,0,.05));
}
.expertise-card-cta:hover{ background: linear-gradient(160deg, rgba(255,137,0,.26), rgba(255,137,0,.08)); }
.expertise-card-cta h3{ color: var(--orange); }
.expertise-card-cta .expertise-icon{ background: rgba(255,137,0,.22); }
.expertise-icon{
  width: 42px; height:42px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: rgba(255,137,0,.14);
  color: var(--orange);
  margin-bottom: 18px;
}
.expertise-icon svg{ width:22px; height:22px; }
.expertise-card p{ color:#a7abb4; font-size:.92rem; margin:0; }

/* ---------- contact ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items:start;
}
.contact-methods{
  list-style:none; margin: 32px 0 0; padding:0;
  display:flex; flex-direction:column; gap: 14px;
}
.contact-methods a{
  display:flex; align-items:center; gap:16px;
  text-decoration:none; color: var(--ink);
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.contact-methods a:hover{
  border-color: var(--orange);
  background: rgba(255,137,0,.05);
  transform: translateX(4px);
}
.contact-icon{
  width: 42px; height:42px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  background: rgba(255,137,0,.12);
  color: var(--orange-dark);
}
.contact-icon svg{ width:20px; height:20px; }
.contact-methods strong{ font-size:.85rem; color: var(--ink-faint); font-weight:600; }

.contact-form{
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-field{ margin-bottom: 20px; }
.form-field label{
  display:block; font-size:.86rem; font-weight:600; color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea{
  width:100%;
  font: inherit;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background:#fff;
  resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus{
  outline:none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,137,0,.15);
}
.form-actions{ display:flex; flex-direction:column; gap: 12px; }
.btn-whatsapp{
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37,211,102,.5);
}
.btn-whatsapp:hover{ background: #1fb959; transform: translateY(-2px); }

.form-note{ margin: 14px 0 0; font-size:.88rem; min-height: 1.2em; color: var(--ink-soft); }
.form-note.is-success{ color:#1a7d3a; }
.form-note.is-error{ color:#c23b3b; }

/* ---------- footer ---------- */
.site-footer{
  background: linear-gradient(160deg, #34363c, #26282c);
  color: #babdc4;
  padding: 56px 0 0;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand{ display:flex; flex-direction:column; gap:14px; }
.footer-logo{ height: 46px; opacity:1; }
.footer-tagline{ margin:0; font-size:.85rem; color:#9a9ea8; }

.footer-nav{ display:flex; flex-direction:column; gap:10px; }
.footer-nav a{ color:#babdc4; text-decoration:none; font-size:.92rem; }
.footer-nav a:hover{ color:#fff; }

.legal-info-title{
  margin:0 0 12px;
  font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#8b8f98;
}
.legal-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.legal-list li{
  display:flex; align-items:center;
  font-size:.86rem;
}
.legal-label{
  color:#7d818a; width:44px; flex-shrink:0; font-weight:600; font-size:.78rem;
  text-transform:uppercase; letter-spacing:.03em;
  margin-right:10px;
}
.legal-value{
  color:#d5d7db; font-variant-numeric: tabular-nums; letter-spacing:.01em;
  word-break: break-all;
  margin-right:.4em;
}
.copy-btn{
  display:flex; align-items:center; justify-content:center;
  width: 28px; height:28px; flex-shrink:0;
  border-radius: 7px;
  border: none;
  background: transparent;
  color:#9a9ea8;
  cursor:pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.copy-btn svg{ width:14px; height:14px; }
.copy-btn:hover{ color:#fff; background: rgba(255,137,0,.12); }
.copy-btn:active{ transform: scale(.9); }
.copy-btn.is-copied{ color: var(--orange); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0 24px;
}
.footer-copy{ margin:0; font-size:.82rem; color:#7d818a; text-align:center; }
.site-version{ display:inline-block; margin-left:10px; padding:2px 8px; border-radius:999px; background:rgba(255,255,255,.08);
  font-size:.75rem; color:rgba(255,255,255,.55); font-variant-numeric:tabular-nums; white-space:nowrap; }

.copy-toast{
  position: fixed;
  left: 50%; bottom: 26px;
  transform: translate(-50%, 12px);
  background: var(--ink);
  color:#fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size:.86rem;
  font-weight:500;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 600;
}
.copy-toast.is-visible{ opacity:1; transform: translate(-50%, 0); }

/* ---------- floating quick actions ---------- */
.quick-actions{
  position: fixed;
  right: 22px; bottom: 22px;
  display:flex; flex-direction:column; gap: 10px;
  z-index: 400;
  opacity:0; pointer-events:none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.quick-actions.is-visible{ opacity:1; pointer-events:auto; transform:none; }
.quick-btn{
  width: 46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px -8px rgba(255,137,0,.6);
  cursor:pointer;
  transition: transform .2s var(--ease), background .2s var(--ease);
  text-decoration:none;
}
.quick-btn:hover{ transform: translateY(-3px); background: var(--orange-dark); }
.quick-btn svg{ width:20px; height:20px; }
#toTop{ background: var(--dark-1); }
#toTop:hover{ background:#000; }

/* ---------- scroll reveal ---------- */
.reveal{
  opacity:0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .split, .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
  .pillar-grid{ grid-template-columns: 1fr 1fr; }
  .expertise-grid{ grid-template-columns: 1fr 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .legal-info{ grid-column: 1 / -1; }
}

/* The nav is now always a dropdown (see .main-nav / .nav-toggle above), so
   .header-inner only ever holds .brand and .header-actions. This breakpoint
   just compacts that right-hand cluster (phone number) once
   the header-actions row starts feeling tight, checked across the full width
   range down to 320px. */
@media (max-width: 800px){
  .header-inner{ padding: 10px 20px; }
  .brand-logo{ height: 42px; }
  .header-actions{ gap:10px; }
  .header-phone span{ display:none; }
}

@media (max-width: 380px){
  .header-phone{ display:none; }
}

@media (max-width: 760px){
  /* padding-left/right only (not the shorthand): .header-inner is also a
     .container, and a shorthand "padding: 0 20px" here was zeroing out its
     own top/bottom padding, pinning the logo flush against the very top of
     the browser with no breathing room at all. */
  .container{ padding-left: 20px; padding-right: 20px; }
  .header-inner{ padding-top: 2px; }
  .hero{ padding: 56px 0 76px; }
  .section{ padding: 76px 0; }
  .pillar-grid, .expertise-grid{ grid-template-columns: 1fr; }
  .contact-form{ padding: 26px; }
  .footer-top{ grid-template-columns: 1fr; gap: 28px; }
  .quick-actions{ right: 14px; bottom: 14px; gap: 8px; }
  .quick-btn{ width: 42px; height: 42px; }
  .quick-btn svg{ width:18px; height:18px; }
}

/* =========================================================
   Draw-in (blueprint + scan line). Pairs with the draw-in code in js/main.js.
   A section being drawn has .fx-sec and the custom property --scan: the height
   in px that has been drawn so far. All helper elements and classes are removed
   again when the section is done.
   ========================================================= */
:root{
  --fx-orange: #ff8900;
  --fx-glow: rgba(255,137,0,.85);
  --fx-night: #0a0f1c;
  --fx-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* no flash of the finished page before the script has taken over (set by a small script in the head, with a failsafe) */
html.fx-pre body{ visibility: hidden; }

/* while a section is drawn, the old fade-in per block steps aside */
html.fx-on .fx-sec .reveal{ opacity: 1; transform: none; transition: none; }

/* everything below the line is not there yet */
html.fx-on .fx-sec > *:not(.fx-veil):not(.fx-line){
  clip-path: inset(0 0 calc(100% - max(0px, calc(var(--scan, 0px) - var(--t, 0px)))) 0);
}

/* the scan line */
.fx-line{
  position: absolute; left: 0; right: 0; top: 0; height: 0;
  transform: translateY(var(--scan, 0px));
  z-index: 60; pointer-events: none; will-change: transform;
}
.fx-line::before{
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
  background: linear-gradient(90deg, transparent 0, var(--fx-orange) 6%, #ffd9a6 50%, var(--fx-orange) 94%, transparent 100%);
  box-shadow: 0 0 10px 1px var(--fx-glow), 0 0 34px 6px rgba(255,137,0,.45);
}
.fx-line::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 56px;
  background: linear-gradient(to top, rgba(255,137,0,.16), rgba(255,137,0,0));
}
.fx-line span{
  position: absolute; right: 14px; top: 7px;
  font: 600 10.5px/1 var(--fx-mono); letter-spacing: .08em;
  color: var(--fx-orange); text-shadow: 0 0 8px rgba(255,137,0,.7);
  white-space: nowrap; background: rgba(10,15,28,.78); padding: 4px 7px; border-radius: 3px;
}

/* the dark blueprint grid that is peeled away */
.fx-veil{
  position: absolute; inset: 0; z-index: 40; pointer-events: none; overflow: hidden;
  clip-path: inset(var(--scan, 0px) 0 0 0);
  background:
    linear-gradient(rgba(255,137,0,.10) 1px, transparent 1px) 0 0 / 100% 120px,
    linear-gradient(90deg, rgba(255,137,0,.10) 1px, transparent 1px) 0 0 / 120px 100%,
    linear-gradient(rgba(120,160,255,.06) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(120,160,255,.06) 1px, transparent 1px) 0 0 / 24px 100%,
    radial-gradient(900px 500px at 70% 0%, rgba(255,137,0,.10), transparent 70%),
    var(--fx-night);
}
.fx-label{
  position: absolute; left: 14px; bottom: 10px;
  font: 600 10.5px/1 var(--fx-mono); letter-spacing: .1em; color: rgba(255,137,0,.7);
}

/* outlines */
.fx-box{ position: absolute; pointer-events: none; }
.fx-box i{ position: absolute; background: var(--fx-orange); opacity: .95; }
.fx-box i.t, .fx-box i.b{ left: 0; width: 100%; height: 1px; transform: scaleX(0); transform-origin: left center; }
.fx-box i.t{ top: 0; }
.fx-box i.b{ bottom: 0; transform-origin: right center; }
.fx-box i.l, .fx-box i.r{ top: 0; height: 100%; width: 1px; transform: scaleY(0); transform-origin: center top; }
.fx-box i.l{ left: 0; transform-origin: center bottom; }
.fx-box i.r{ right: 0; }
.fx-box i.c{ width: 7px; height: 7px; background: none; border: 0 solid #ffd9a6; opacity: 0; }
.fx-box i.c1{ left: -4px;  top: -4px;    border-width: 1px 0 0 1px; }
.fx-box i.c2{ right: -4px; top: -4px;    border-width: 1px 1px 0 0; }
.fx-box i.c3{ right: -4px; bottom: -4px; border-width: 0 1px 1px 0; }
.fx-box i.c4{ left: -4px;  bottom: -4px; border-width: 0 0 1px 1px; }
.fx-box em{
  position: absolute; left: 0; top: -15px;
  font: normal 600 9.5px/1 var(--fx-mono); letter-spacing: .08em; color: rgba(255,137,0,.85);
  opacity: 0; white-space: nowrap;
}
.fx-box.draw i.t, .fx-box.draw i.b{ animation: fx-x .42s cubic-bezier(.3,.7,.2,1) var(--d, 0ms) forwards; }
.fx-box.draw i.l, .fx-box.draw i.r{ animation: fx-y .42s cubic-bezier(.3,.7,.2,1) calc(var(--d, 0ms) + 120ms) forwards; }
.fx-box.draw i.c{ animation: fx-pop .3s ease-out calc(var(--d, 0ms) + 380ms) forwards; }
.fx-box.draw em{ animation: fx-pop .3s ease-out calc(var(--d, 0ms) + 420ms) forwards; }
.fx-bar{ border: 1px solid rgba(255,137,0,.55); background: rgba(255,137,0,.06); transform: scaleX(0); transform-origin: left center; border-radius: 2px; }
.fx-bar.draw{ animation: fx-x .38s cubic-bezier(.3,.7,.2,1) var(--d, 0ms) forwards; }
@keyframes fx-x{ to{ transform: scaleX(1); } }
@keyframes fx-y{ to{ transform: scaleY(1); } }
@keyframes fx-pop{ from{ opacity: 0; } to{ opacity: 1; } }

@media (prefers-reduced-motion: reduce){
  .fx-line, .fx-veil{ display: none; }
}
