/* ============================================================
   Bruynseels Ltd — "Datasheet" reskin
   Same markup/classes as style.css. Only aesthetics differ:
   white surfaces, amber signage accent, hard grid lines,
   condensed display type, mono for chrome/labels.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
strong { font-weight: 600; }

:root {
  --ink:     #111111;
  --ink2:    #1d1d1d;
  --line:    #1a1a1a;
  /* two-colour highlight system:
     primary (blue) carries the chrome; emphasis (red) is used sparingly */
  --amber:   #0036bb;   /* primary fill (blue) */
  --amber2:  #002a96;   /* primary fill, darker (hover) */
  --red:     #e5162f;   /* emphasis */
  --red2:    #c01126;   /* emphasis, darker */
  --on-accent: #ffffff; /* text on a primary/emphasis fill */
  --muted:   #5a5a55;
  --paper:   #ffffff;
  --paper2:  #fafaf8;
  --border:  rgba(26,26,26,0.14);
  /* original markup uses inline color:var(--orange) on some links —
     map it to red so those accent links match the red action colour */
  --orange:  #e5162f;
  /* some original inline styles use color:var(--white) for text that was
     light-on-dark; on the white theme that text must be dark ink */
  --white:   #1a1a1a;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;
  --cond:    'IBM Plex Sans Condensed', sans-serif;
  --fs-hero: clamp(2.4rem, 6vw, 5rem);
  --fs-h2:   clamp(1.5rem, 3vw, 2.15rem);
  --fs-body: clamp(0.88rem, 1.2vw, 1rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  background: var(--paper);
  color: var(--ink2);
  line-height: 1.65;
  font-size: var(--fs-body);
  position: relative;
  font-feature-settings: "tnum" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 85px;
}
.logo { text-decoration: none; display: flex; align-items: center; }
/* "Logo and text" lockup — black wordmark + blue/red underline, already
   on-brand; wide horizontal aspect (~4:1) so sized by height */
.logo img { height: 62px; width: auto; display: block; }
@media (max-width: 480px) { .logo img { height: 44px; } }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--muted); text-decoration: none;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  background: var(--red); color: var(--on-accent) !important;
  padding: 8px 18px; border-radius: 0; font-weight: 600;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red2) !important; color: var(--on-accent) !important; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: all 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--paper); border-bottom: 2px solid var(--line);
  padding: 1.5rem 5vw;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--ink); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; padding: 0.6rem 0;
  border-bottom: 1px solid var(--border); letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-menu a:last-child { border-bottom: none; color: var(--orange); }

/* ── HERO ── */
#home {
  min-height: calc(100vh - 85px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6vh 5vw;
  background: transparent;
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--line);
}
.hero-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--on-accent);
  background: var(--amber); align-self: flex-start;
  padding: 5px 12px; margin-bottom: 1.5rem;
}
h1 {
  font-family: var(--cond);
  font-size: var(--fs-hero); font-weight: 700;
  line-height: 1.0; max-width: 900px;
  letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink);
  animation: fadeUp 0.6s ease both;
}
h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  margin-top: 1.5rem;
  max-width: 70ch; color: var(--muted);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(0.9rem, 1.2vw, 1rem); line-height: 1.75;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; animation: fadeUp 0.6s 0.2s ease both; }
.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--cond);
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 30px; border-radius: 0;
  transition: all 0.2s;
}
.btn-primary { background: var(--red); color: var(--on-accent); }
.btn-primary:hover { background: var(--red2); }
.btn-ghost { border: 2px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.hero-stats {
  display: flex; gap: 2.6rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 2px solid var(--line);
  animation: fadeUp 0.6s 0.3s ease both;
}
.stat-num {
  font-family: var(--cond);
  font-size: 2.8rem; font-weight: 700; color: var(--ink); line-height: 1;
}
.stat-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.76rem; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase; margin-top: 6px;
}
.stat-divider { display: none; }

/* ── SECTION SHARED ── */
section { padding: 5rem 5vw; }
section + section { border-top: 2px solid var(--line); }

.section-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.95rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--on-accent);
  background: var(--amber); display: inline-block;
  padding: 5px 12px; margin-bottom: 1rem;
}
h2 {
  font-family: var(--cond);
  font-size: var(--fs-h2); font-weight: 700;
  line-height: 1.1; max-width: 700px;
  margin-bottom: 1rem; text-transform: uppercase; color: var(--ink);
}

/* ── SERVICES ── */
.services-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  align-items: start; margin-top: 3rem; margin-bottom: 1rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
}
.service-card {
  background: var(--paper);
  padding: 1.6rem 1.4rem;
  border: 2px solid var(--line);
  margin: 0 -2px -2px 0;
  transition: background 0.2s;
}
.service-card:hover { background: var(--paper2); }
.service-card h3 {
  font-family: var(--cond);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: 0.02em; text-transform: uppercase;
  margin-bottom: 0.5rem; color: var(--ink);
}
.service-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card ul li { color: var(--muted); font-size: 0.98rem; line-height: 1.6; padding: 0.2rem 0; }
.service-card ul li::before { content: '— '; color: var(--amber2); }

/* ── INDUSTRIES ── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 0;
  margin-top: 2rem;
}
.industry-card {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  border: 2px solid var(--line);
  margin: 0 -2px -2px 0;
  background: var(--paper);
  transition: background 0.2s;
}
.industry-card:hover { background: var(--paper2); }
.industry-card h3 {
  font-family: var(--cond);
  font-size: 2rem; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 0.3rem;
}
.industry-card p { font-size: 1rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ── ABOUT ── */
.About-grid { display: flex; flex-direction: column; gap: 2rem; max-width: 80%; }
.About-grid a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.About-grid a:hover { color: var(--orange); }
.About-grid ul { padding-left: 1.4rem; }
.About-grid ul li { color: var(--ink2); margin-bottom: 0.3rem; line-height: 1.6; }
.About-grid h3 {
  font-family: var(--cond);
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink); margin-top: 0.5rem; margin-bottom: 0.3rem;
}

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; max-width: 360px; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; }
.contact-tag {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange);
  padding-top: 3px; min-width: 56px;
}
.contact-val { color: var(--ink); font-size: 1rem; }
.contact-val a { color: var(--ink); text-decoration: none; }
.contact-val a:hover { color: var(--orange); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea, select {
  width: 100%;
  background: var(--paper);
  border: 2px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 0.95rem;
  border-radius: 0; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: #9a9a92; }
input:focus, textarea:focus, select:focus { border-color: var(--amber2); box-shadow: inset 0 0 0 1px var(--amber2); }
textarea { min-height: 110px; resize: vertical; }
select option { background: var(--paper); }
.form-submit { align-self: flex-start; }

/* ── FOOTER ── */
footer {
  padding: 2rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  border-top: 2px solid var(--line);
}
footer p { font-family: 'IBM Plex Sans', sans-serif; color: var(--muted); font-size: 0.76rem; }
footer a { font-family: 'IBM Plex Sans', sans-serif; color: var(--muted); text-decoration: none; font-size: 0.76rem; }
footer a:hover { color: var(--ink); }

/* ── PAGE TITLE (inner pages) ── */
.page-title { font-size: clamp(1.8rem, 4vw, 3rem); animation: none; margin-bottom: 1rem; }
.back-link {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; margin-bottom: 1.5rem;
}
.back-link:hover { color: var(--ink); }

/* ── SPEC TABLE ── */
.spec-table { width: 100%; border-collapse: collapse; margin: 0.5rem 0; }
.spec-table td {
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--line);
  color: var(--ink2); font-size: 0.98rem; line-height: 1.5;
}
.spec-table td:first-child {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.01em;
  color: var(--ink); white-space: nowrap; width: 30%;
  background: var(--paper2);
}

/* ── CTA BLOCK ── */
.cta-block {
  margin-top: 1rem; padding: 2rem;
  border: 2px solid var(--line);
  border-left: 6px solid var(--red);
  background: var(--paper2);
}
.cta-block p { font-family: 'IBM Plex Sans', sans-serif; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .services-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }

  .spec-table td:first-child { white-space: normal; width: auto; }
  .spec-table td { padding: 0.5rem 0.6rem; word-break: break-word; }

  img, figure, table { max-width: 100%; }
  body { overflow-x: hidden; }

  .About-grid { max-width: 100%; }
}

/* ── SCROLL FADE-IN ── */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
