/* ==========================================================================
   BAFED Engineering — stylesheet
   Concept: the engineering drawing. Petrol-ink plates on a fine drafting grid,
   P&ID-style tag bubbles, mono "title block" labels, copper as the signal colour.
   Fonts are self-hosted (no requests to Google = GDPR-friendly).
   ========================================================================== */

@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("../assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("../assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("../assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Brand: petrol ink + three service colours from the logo nodes */
  --ink: #0E2B36;          /* plates, headings */
  --ink-2: #15404F;
  --ink-3: #1D5466;
  --ink-deep: #0A2029;     /* footer */
  --cyan: #23A3B8;         /* Engineering (on dark) */
  --cyan-d: #136F7E;       /* Engineering (text on light) */
  --cyan-s: #E1F2F4;
  --green: #5BAA72;        /* Lean Six Sigma */
  --green-d: #2E7A48;
  --green-s: #E4F2E8;
  --copper: #E08A35;       /* STEM + calls to action */
  --copper-d: #A65A16;
  --copper-s: #FBEBDB;

  /* Neutrals, biased toward the petrol hue */
  --text: #34484F;
  --muted: #5F7379;
  --line: #D9E2E4;
  --paper: #F3F6F6;
  --white: #FFFFFF;
  --on-dark: #C5D5D8;
  --on-dark-muted: #8FA9B0;

  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 14px 34px -18px rgba(14,43,54,.35);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 104px);

  --grid-dark: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  --grid-light: linear-gradient(rgba(14,43,54,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,43,54,.045) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.24rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background-color: var(--paper); background-image: var(--grid-light); background-size: 24px 24px; }
.section--tight { padding-block: calc(var(--section) * .6); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Mono label — like a drawing title block */
.label {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-family: var(--f-mono); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-d);
}
.label::before { content: ""; width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }
.label--green { color: var(--green-d); }
.label--copper { color: var(--copper-d); }
.label--light { color: var(--cyan); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); line-height: 1.55; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: 14px 22px; border-radius: var(--r); border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--copper); color: var(--ink-deep); }
.btn--primary:hover { background: #EA9C4E; color: var(--ink-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--f-display); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 12px; border-radius: var(--r); font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.nav-links a:hover { background: var(--paper); }
.nav-links a[aria-current="page"] { color: var(--cyan-d); box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 0; }
.nav-links a.btn { margin-left: 10px; padding: 11px 18px; color: #fff; display: inline-flex; border-radius: var(--r); }
.nav-links a.btn:hover { background: var(--ink-3); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; background: #fff; padding: 10px var(--gutter) 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 13px 10px; font-size: 1.05rem; }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--cyan); padding-left: 14px; }
  .nav-links a.btn { margin: 12px 0 0; display: flex; padding: 15px; }
}

/* ==========================================================================
   Plates (dark sections) with drafting grid
   ========================================================================== */
.plate { position: relative; overflow: hidden; color: var(--on-dark); background-color: var(--ink); background-image: var(--grid-dark); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.plate h1, .plate h2, .plate h3, .plate h4 { color: #fff; }
.plate .lead { color: var(--on-dark); }
.plate .accent { color: var(--copper); }
.h-trio span { display: block; }
.h-trio .t-cyan { color: #fff; } .h-trio .t-green { color: #fff; } .h-trio .t-copper { color: #fff; }
.h-trio span::before { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; margin-right: .32em; vertical-align: .2em; }
.h-trio .t-cyan::before { background: var(--cyan); } .h-trio .t-green::before { background: var(--green); } .h-trio .t-copper::before { background: var(--copper); }
.plate::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(35,163,184,.22), transparent); pointer-events: none; }
.plate .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 5vw, 64px); padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid > * { min-width: 0; }
.hero .lead { max-width: 580px; }
.hero .btn-row { margin-top: 30px; }
.hero-art svg { width: 100%; height: auto; }
.breadcrumb { font-family: var(--f-mono); font-size: .8rem; margin-bottom: 18px; color: var(--on-dark-muted); letter-spacing: .04em; }
.breadcrumb a { color: var(--on-dark); text-decoration: none; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 520px; width: 100%; margin: 0 auto; } }

/* Title block strip (hero foot) */
.titleblock { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.12); }
.titleblock .container { display: flex; flex-wrap: wrap; }
.titleblock span { flex: 1 1 200px; padding: 14px 16px 14px 0; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; align-items: center; gap: 10px; }
.titleblock span + span { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.12); }
.titleblock b { color: #fff; font-weight: 500; }
.titleblock svg { width: 16px; height: 16px; color: var(--cyan); flex-shrink: 0; }
@media (max-width: 700px) { .titleblock span + span { border-left: 0; padding-left: 0; } .titleblock span { flex-basis: 100%; padding: 8px 0; } .titleblock .container { padding-block: 8px; } }

/* ==========================================================================
   Service icon tile: petrol plate with its own drafting grid, duotone icon
   ========================================================================== */
.sicon { --acc: var(--cyan); width: 56px; height: 56px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 8px 8px; background-position: -1px -1px;
  box-shadow: 0 8px 18px -10px rgba(14,43,54,.55), inset 0 -3px 0 var(--acc); transition: transform .25s ease; }
.sicon svg { width: 34px; height: 34px; }
.sicon .acc { fill: var(--acc); stroke: none; }
.sicon .acc-s { stroke: var(--acc); }
.sicon--green { --acc: var(--green); } .sicon--copper { --acc: var(--copper); }
.sicon--lg { width: 64px; height: 64px; border-radius: 14px; } .sicon--lg svg { width: 40px; height: 40px; }
.sicon--onplate { background-color: var(--ink-3); }
.card:hover .sicon, .srow:hover .sicon { transform: rotate(-4deg) scale(1.04); }

/* ==========================================================================
   Grids & cards
   ========================================================================== */
.grid { display: grid; gap: 22px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--cyan); box-shadow: var(--shadow); transform: translateY(-3px); }
.card p:last-child { margin-bottom: 0; }
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.card-head h3 { margin: 0; }
.card .desc { font-size: .97rem; color: var(--muted); }
.card .link-arrow { margin-top: 18px; }
.card--green:hover { border-color: var(--green); } .card--copper:hover { border-color: var(--copper); }
.service { display: flex; flex-direction: column; }
.service .link-arrow { margin-top: auto; padding-top: 18px; }

/* Icon item list (each offering with its own icon) */
.items { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.items li { display: flex; align-items: center; gap: 12px; font-size: .97rem; color: var(--ink); font-weight: 500; }
.items .ico { width: 34px; height: 34px; border-radius: var(--r); display: grid; place-items: center; background: var(--cyan-s); color: var(--cyan-d); flex-shrink: 0; }
.items .ico svg { width: 18px; height: 18px; }
.items--green .ico { background: var(--green-s); color: var(--green-d); }
.items--copper .ico { background: var(--copper-s); color: var(--copper-d); }
.items--2 { grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
@media (max-width: 560px) { .items--2 { grid-template-columns: 1fr; } }
.plate .items li { color: #fff; }
.plate .items .ico { background: rgba(35,163,184,.15); color: var(--cyan); }

.icon { width: 48px; height: 48px; border-radius: var(--r); display: grid; place-items: center; background: var(--cyan-s); color: var(--cyan-d); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.icon--green { background: var(--green-s); color: var(--green-d); }
.icon--copper { background: var(--copper-s); color: var(--copper-d); }
.icon--ink { background: var(--ink); color: #fff; }

/* Service row (engineering page) */
.srow { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 90px; }
.srow:first-child { border-top: 0; padding-top: 0; }
.srow > * { min-width: 0; }
.srow .card-head { margin-bottom: 14px; gap: 18px; }
.srow h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0; }
.srow p { color: var(--muted); max-width: 46ch; margin: 0; }
@media (max-width: 860px) { .srow { grid-template-columns: 1fr; } }

/* Feature list (small icon + text) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h4 { margin: 3px 0 4px; }
.feature p { margin: 0; font-size: .95rem; color: var(--muted); }
.plate .feature p { color: var(--on-dark); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Steps — a real sequence */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 58px; }
.step .n { position: absolute; top: 0; left: 0; font-family: var(--f-mono); font-weight: 500; font-size: .85rem; color: var(--cyan-d); border: 1.5px solid var(--cyan-d); border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; background: #fff; }
.step::after { content: ""; position: absolute; top: 21px; left: 52px; right: -12px; border-top: 1.5px dashed var(--line); }
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 4px; }
.step p { font-size: .95rem; margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps--v { grid-template-columns: 1fr !important; gap: 18px; }
.steps--v .step { padding: 0 0 0 60px; min-height: 42px; }
.steps--v .step::after { display: none; }

/* Product (Workbench) */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.product > * { min-width: 0; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.status { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); border: 1px solid rgba(224,138,53,.45); padding: 6px 12px; border-radius: var(--r); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--light { color: var(--copper-d); border-color: rgba(166,90,22,.35); }

/* Timeline (workbench) */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.timeline > div { padding: 22px; border-left: 1px solid var(--line); }
.timeline > div:first-child { border-left: 0; }
.timeline .when { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.timeline h4 { margin: 6px 0 4px; }
.timeline p { margin: 0; font-size: .93rem; color: var(--muted); }
.timeline .now { background: var(--cyan-s); }
.timeline .now .when { color: var(--cyan-d); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } .timeline > div:nth-child(3) { border-left: 0; } .timeline > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; } .timeline > div { border-left: 0; } .timeline > div + div { border-top: 1px solid var(--line); } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.chips li svg { width: 18px; height: 18px; color: var(--cyan-d); }

/* Course cards (LSS) */
.course { display: flex; flex-direction: column; }
.course .belt { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.belt-swatch { width: 40px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.course .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.course .meta span { font-family: var(--f-mono); font-size: .74rem; padding: 4px 9px; border-radius: 4px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.course .for { font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.course .for strong { color: var(--ink); }
.course--featured { border: 2px solid var(--green); }
.course--featured .flag { position: absolute; top: -12px; right: 20px; background: var(--green-d); color: #fff; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.ticks { list-style: none; padding: 0; margin: 0 0 6px; }
.ticks li { position: relative; padding-left: 24px; margin: 7px 0; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 9px; border: 2px solid var(--green-d); transform: rotate(45deg); }

/* Levels table (STEM) */
.table-wrap { overflow-x: auto; }
.levels { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: .96rem; }
.levels th, .levels td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.levels thead th { background: var(--ink); color: #fff; font-family: var(--f-mono); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.levels tbody th { font-family: var(--f-display); color: var(--ink); width: 24%; }
@media (max-width: 640px) {
  .levels, .levels tbody, .levels tr, .levels th, .levels td { display: block; width: 100%; }
  .levels thead { display: none; }
  .levels tbody th { border: 0; padding-bottom: 2px; }
  .levels td { border: 0; padding-block: 2px 10px; }
  .levels tr { border-bottom: 1px solid var(--line); padding-block: 8px; }
  .levels td::before { content: attr(data-label); display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-family: var(--f-display); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 1.3rem; color: var(--cyan-d); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 18px; }
.faq details > div p { margin: 0; }

/* CTA */
.cta { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 60px); color: var(--on-dark); background-color: var(--ink); background-image: var(--grid-dark); background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; display: grid; grid-template-columns: 1.5fr auto; gap: 28px; align-items: center; border-left: 6px solid var(--copper); }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; max-width: 600px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

.note { border-left: 4px solid var(--copper); background: var(--copper-s); padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; font-size: .95rem; color: var(--ink); }
.note p { margin: 0; }
.facts { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.fact { padding: 22px 24px; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; }
.fact strong { display: block; font-family: var(--f-display); color: var(--ink); margin-bottom: 2px; }
.fact span { font-size: .94rem; color: var(--muted); }
.facts--row { grid-template-columns: repeat(3, 1fr); }
.facts--row .fact { border-top: 0; border-left: 1px solid var(--line); }
.facts--row .fact:first-child { border-left: 0; }
@media (max-width: 760px) { .facts--row { grid-template-columns: 1fr; } .facts--row .fact { border-left: 0; border-top: 1px solid var(--line); } .facts--row .fact:first-child { border-top: 0; } }

.logo-story { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.logo-story > * { min-width: 0; }
.legend { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.legend li { display: flex; gap: 12px; align-items: center; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
@media (max-width: 640px) { .logo-story { grid-template-columns: 1fr; } .logo-story img { width: 140px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-d); background: #fff; box-shadow: 0 0 0 3px rgba(35,163,184,.18); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E2B36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; margin: 4px 0 20px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: var(--r); margin-bottom: 20px; display: none; }
.alert.show { display: block; }
.alert--ok { background: var(--green-s); color: #1F5A34; border: 1px solid #BFDFC9; }
.alert--err { background: #FCEDEC; color: #8A1C1C; border: 1px solid #F3C4C1; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--f-display); color: var(--ink); }
.contact-list a { color: var(--text); text-decoration: none; }
.muted { color: var(--muted); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }

/* Footer */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); padding: clamp(52px, 7vw, 76px) 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer img.logo { height: 50px; width: auto; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-family: var(--f-mono); font-weight: 500; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; }

/* Motion: content is visible at rest; reveal adds only a small lift */
.reveal { transform: translateY(12px); transition: transform .6s ease; }
.reveal.in, .no-js .reveal { transform: none; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.float { animation: floaty 6s ease-in-out infinite; } .float-2 { animation: floaty 7s ease-in-out -2s infinite; } .float-3 { animation: floaty 8s ease-in-out -4s infinite; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { transform: none; transition: none; } * { animation: none !important; } }
.center { text-align: center; }

/* v9: digital-tools focus */
.card--feature { background-color: var(--ink); background-image: var(--grid-dark); background-size: 24px 24px; border-color: var(--ink); color: var(--on-dark); }
.card--feature h3 { color: #fff; } .card--feature .desc { color: var(--on-dark); } .card--feature .link-arrow { color: var(--copper); }
.minis { gap: 14px; }
.card.mini { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; padding: 20px; }
.card.mini strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.04rem; margin-bottom: 3px; }
.card.mini .desc { font-size: .92rem; color: var(--muted); display: block; line-height: 1.45; }
.card.mini .sicon { width: 48px; height: 48px; border-radius: 10px; } .card.mini .sicon svg { width: 28px; height: 28px; }
.compare-box { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare-box > div { padding: 24px; }
.compare-box > div + div { border-left: 1px solid var(--line); }
.compare-box .after { background: var(--cyan-s); }
.compare-box .when { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.compare-box .after .when { color: var(--cyan-d); }
.compare-box .after .ticks li::before { border-color: var(--cyan-d); }
.ticks--x li::before { content: "×"; border: 0; transform: none; top: 0; left: 3px; width: auto; height: auto; color: #B04A3A; font-weight: 600; }
@media (max-width: 560px) { .compare-box { grid-template-columns: 1fr; } .compare-box > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.card.ind h4 { margin-bottom: 6px; } .card.ind .icon { margin-bottom: 14px; }
.titleblock span { flex-basis: 150px; }
