/* ============================================================
   PINOY 49 — Design System
   White / serious / accent red #D21E33
   Type: Archivo (display) + Hanken Grotesk (body)
   ============================================================ */

:root {
  --red: #D21E33;
  --red-600: #B5172A;
  --red-050: #FBEAEC;

  --ink: #161418;          /* near-black, warm */
  --ink-2: #2C2A2E;
  --muted: #6A6670;
  --muted-2: #908C97;
  --line: #E6E3DF;
  --line-2: #EFEDEA;

  --paper: #FFFFFF;
  --paper-2: #F6F5F2;      /* warm off-white section */
  --paper-3: #F0EEEA;

  --container: 1240px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22,20,24,.04), 0 1px 1px rgba(22,20,24,.03);
  --shadow: 0 18px 40px -22px rgba(22,20,24,.28);
  --shadow-lg: 0 40px 80px -40px rgba(22,20,24,.45);

  --fs-display: clamp(2.6rem, 6vw, 5.2rem);
  --fs-h1: clamp(2.1rem, 4.4vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.6rem);
  --fs-h3: clamp(1.18rem, 1.6vw, 1.4rem);
  --fs-lead: clamp(1.06rem, 1.5vw, 1.28rem);

  --ff-display: "Archivo", system-ui, sans-serif;
  --ff-body: "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 128px); }
.section-pad-sm { padding-block: clamp(48px, 6vw, 88px); }

.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: #F2F0EE; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.bg-ink .eyebrow { color: #FF8A98; }
.bg-ink .eyebrow::before { background: #FF8A98; }

.mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;
  font-size: .72rem;
  letter-spacing: .04em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 13px 16px 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  flex: none;
  transition: transform .18s ease;
}
.btn:hover .ico { transform: translate(2px,-2px); }
.btn .ico svg { width: 14px; height: 14px; }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-600); }
.btn-red .ico { background: #fff; color: var(--red); }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink .ico { background: var(--red); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost .ico { background: var(--ink); color: #fff; }
.btn-ghost:hover { border-color: var(--ink); }

.bg-ink .btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.bg-ink .btn-ghost .ico { background: #fff; color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--red);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 0;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand b { font-weight: 800; }
.brand .num { color: var(--red); margin-left: .14em; }
/* real logo image */
.brand-logo { height: 32px; width: auto; display: block; }
.footer-brand .brand-logo { height: 36px; }
@media (max-width: 720px) { .brand-logo { height: 28px; } }
@media (max-width: 400px) { .brand-logo { height: 24px; } }
.nav-links {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
  list-style: none; padding: 0; margin-block: 0;
}
.nav-links a {
  font-weight: 600; font-size: .94rem; color: var(--ink-2);
  position: relative; padding: 6px 0; white-space: nowrap;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--red);
}
.nav-right { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.lang { font-weight: 700; font-size: .82rem; letter-spacing: .08em; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(40px, 5vw, 72px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: var(--fs-display); }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; margin-top: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-media { position: relative; }

/* ---------- Image placeholder ---------- */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #ECEAE6 0 14px, #F4F2EF 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--muted-2);
  min-height: 220px;
}
.ph::after {
  content: attr(data-label);
  font-family: ui-monospace, Menlo, monospace;
  font-size: .72rem; letter-spacing: .03em;
  color: var(--muted);
  background: rgba(255,255,255,.82);
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line);
  max-width: 80%; text-align: center;
}
.ph.dark {
  background: repeating-linear-gradient(135deg, #1d1b20 0 14px, #232026 14px 28px);
  border-color: #2c2930;
}
.ph.dark::after { background: rgba(20,18,22,.7); color: #b8b3bd; border-color:#332f37; }
.ph.tall { min-height: 520px; }
.ph.media-hero { min-height: 540px; }

/* real photos inside placeholders — .ph stays as styled fallback */
.ph.has-img::after { display: none; }
.ph .photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============================================================
   TRUST / FACTS BAND
   ============================================================ */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.fact { padding: 30px 28px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .k {
  font-family: var(--ff-display); font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.02em;
  color: var(--ink); display: flex; align-items: baseline; gap: 4px;
}
.fact .k .u { color: var(--red); }
.fact .l { margin-top: 8px; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ============================================================
   PILLARS (3-up)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dcd8d3; }
.pillar .pid {
  font-family: var(--ff-display); font-weight: 800; color: var(--red);
  font-size: 1rem; letter-spacing: .02em;
}
.pillar h3 { font-size: var(--fs-h3); margin-top: 14px; }
.pillar p { color: var(--muted); margin-top: 12px; font-size: .98rem; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: var(--fs-h2); margin-top: 16px; }
.sec-head p { color: var(--muted); font-size: var(--fs-lead); margin-top: 16px; }
.sec-head.center .eyebrow { justify-content: center; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line-2);
}
.step .n {
  counter-increment: step;
  font-family: var(--ff-display); font-weight: 800; font-size: 1rem;
  color: var(--red); min-width: 34px;
}
.step .n::before { content: counter(step, decimal-leading-zero); }
.step .t { font-weight: 600; font-size: 1.02rem; }
.step .d { color: var(--muted); font-size: .92rem; margin-top: 3px; }

.note {
  margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--red);
  background: var(--paper-2); border-radius: 0 12px 12px 0; color: var(--muted);
  font-size: .94rem;
}
.note b { color: var(--ink); }

/* ============================================================
   FEATURE / SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.media-left { direction: rtl; }
.split.media-left > * { direction: ltr; }

.ul-check { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.ul-check li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 1rem; }
.ul-check li .tick {
  width: 24px; height: 24px; border-radius: 50%; background: var(--red-050); color: var(--red);
  display: grid; place-items: center; flex: none; margin-top: 1px;
}
.ul-check li .tick svg { width: 13px; height: 13px; }

/* ============================================================
   CARDS GRID (services / industries)
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); min-height: 180px; }
.card .card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .card-body h3 { font-size: 1.22rem; }
.card .card-body p { color: var(--muted); font-size: .95rem; }
.card .card-foot { margin-top: auto; padding-top: 8px; }

/* industries compact tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; background:#fff;
  display: flex; flex-direction: column; gap: 8px; transition: border-color .18s ease, background .18s ease;
}
.tile:hover { border-color: var(--red); background: var(--red-050); }
.tile .ti { font-family: var(--ff-display); font-weight: 800; color: var(--red); font-size: .95rem; }
.tile h4 { font-family: var(--ff-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.tile p { color: var(--muted); font-size: .9rem; }

/* logos strip */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-ph {
  height: 64px; border: 1px solid var(--line); border-radius: 12px; background:#fff;
  display: grid; place-items: center; color: var(--muted-2);
  font-family: var(--ff-display); font-weight: 800; font-size: .9rem; letter-spacing: .02em;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color:#fff; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: clamp(40px,5vw,68px); }
.cta-inner h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); color:#fff; }
.cta-inner p { color: rgba(255,255,255,.74); margin-top: 16px; font-size: var(--fs-lead); }
.cta-actions { display:flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band.red { background: var(--red); }

/* ghost button on dark CTA bands — default ink text was invisible on ink background */
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.cta-band .btn-ghost .ico { background: #fff; color: var(--ink); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background:#fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-050);
}
.field .file {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px;
  border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); cursor: pointer;
}
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); }
.form-aside {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.form-aside h3 { font-size: 1.2rem; }
.form-aside ul { padding-left: 18px; margin: 14px 0 0; color: var(--muted); display: grid; gap: 8px; font-size: .94rem; }

.form-layout { display: grid; grid-template-columns: 1.5fr .9fr; gap: 48px; align-items: start; }
@media (max-width: 980px) { .form-layout { grid-template-columns: 1fr; gap: 32px; } }

.dmw-box {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; background:#fff;
  font-size: .94rem; color: var(--muted);
}
.dmw-box h4 { font-family: var(--ff-display); font-size: 1.02rem; margin-bottom: 10px; }
.dmw-box ul { margin: 0; padding-left: 18px; display:grid; gap:6px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; background:#fff;
  display: flex; flex-direction: column; gap: 18px;
}
.quote .mark { font-family: var(--ff-display); font-weight: 800; color: var(--red); font-size: 2.4rem; line-height: .6; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.55; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-3); border:1px solid var(--line); flex:none; overflow: hidden; }
.quote .who .av img { width: 100%; height: 100%; object-fit: cover; }
.quote .who .nm { font-weight: 700; font-size: .98rem; }
.quote .who .role { color: var(--muted); font-size: .85rem; }

/* ============================================================
   PAGE HERO (interior)
   ============================================================ */
.page-hero { padding-top: clamp(48px,6vw,80px); padding-bottom: clamp(28px,3vw,40px); }
.crumb { color: var(--muted); font-size: .86rem; font-weight: 600; }
.crumb a:hover { color: var(--red); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 14px; }
.page-hero .page-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 64ch; margin-top: 20px; }

/* prose */
.prose { max-width: 72ch; }
.prose p + p { margin-top: 18px; }
.prose p { color: var(--ink-2); }
.prose h3 { font-size: var(--fs-h3); margin: 36px 0 12px; }
.prose .note { color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.contact-strip {
  background: var(--ink); color: rgba(255,255,255,.8);
  text-align: center; font-size: .94rem; padding: 18px 24px;
}
.contact-strip b { color: #fff; }
.site-footer { background: #0F0E11; color: rgba(255,255,255,.62); padding-block: 64px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; font-size: 1.5rem; }
.footer-brand p { margin-top: 16px; font-size: .92rem; max-width: 34ch; }
.footer-col h5 { font-family: var(--ff-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .94rem; color: rgba(255,255,255,.74); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .84rem; color: rgba(255,255,255,.5);
}
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: rgba(255,255,255,.7); transition: .18s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.socials svg { width: 16px; height: 16px; }

/* reveal — content ALWAYS visible (opacity:1); only a transform nudge animates, so a stalled transition never leaves anything blank */
.reveal { }
html.anim .reveal { opacity: 1; transform: translateY(16px); transition: transform .7s ease; }
html.anim .reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, html.anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .split, .cta-inner, .form-grid, .quotes { grid-template-columns: 1fr; gap: 32px; }
  .split.media-left { direction: ltr; }
  .pillars, .cards, .tiles { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(1), .fact:nth-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-media .ph.media-hero { min-height: 360px; }
  .cta-actions { align-items: stretch; }
}

/* nav collapses to hamburger below 1080px — the full menu doesn't fit on tablets */
@media (max-width: 1080px) {
  .nav { gap: 12px; }
  .nav-links, .nav-right .lang { display: none; }
  .nav-right { margin-left: auto; }
  .nav-right .btn { padding: 10px 12px 10px 16px; font-size: .88rem; gap: 8px; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 22px;
  }
  .nav-links.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line-2); }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .pillars, .cards, .tiles, .facts, .footer-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ★ POLISH — dramatic dark hero, image cards, motion
   ============================================================ */

/* ---- Dark cinematic hero ---- */
.hero-dark {
  position: relative;
  background: radial-gradient(120% 100% at 78% 12%, #2a1418 0%, #15121a 42%, #0d0c10 100%);
  color: #F4F1EE;
  overflow: clip;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: 0;
}
.hero-dark::before { /* fine grid texture */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero-dark .container { position: relative; z-index: 2; }

/* ---- hero background video ---- */
.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,12,16,.92) 0%, rgba(13,12,16,.6) 52%, rgba(13,12,16,.4) 100%),
    linear-gradient(180deg, rgba(13,12,16,.35) 0%, rgba(13,12,16,.8) 100%);
}
.hero-dark.has-video .hero-d-grid {
  grid-template-columns: 1fr;
  min-height: min(72vh, 760px);
  align-content: center;
}
.hero-dark.has-video .hero-d-copy { max-width: 780px; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-watermark {
  position: absolute; right: -2vw; top: 50%; transform: translateY(-54%);
  font-family: var(--ff-display); font-weight: 900; font-size: 44vw; line-height: .7;
  color: #fff; opacity: .025; letter-spacing: -.04em; z-index: 1; pointer-events: none;
  user-select: none;
}
.hero-d-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px;
  align-items: center; padding-block: clamp(26px, 4vw, 56px) clamp(34px, 4vw, 58px);
}
.hero-d-copy .eyebrow { color: #FF8A98; }
.hero-d-copy .eyebrow::before { background: #FF8A98; }
.hero-dark h1 {
  color: #fff; font-weight: 900;
  font-size: clamp(2.9rem, 6.6vw, 6rem); line-height: .96; letter-spacing: -.03em;
  margin-top: 22px;
}
.hero-dark h1 .accent {
  color: var(--red);
  background: linear-gradient(180deg, #ff4d63, #D21E33);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-dark .hero-lead { color: rgba(244,241,238,.7); max-width: 44ch; margin-top: 24px; }
.hero-dark .hero-cta { margin-top: 32px; }

/* layered media stack */
.media-stack { position: relative; min-height: 540px; }
.media-stack .m-main {
  position: absolute; inset: 0 0 0 8%;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.7);
}
.media-stack .m-float {
  position: absolute; left: -2%; bottom: 8%; width: 47%; min-height: 200px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 36px 60px -30px rgba(0,0,0,.75);
  border: 4px solid #15121a;
}
.media-stack .m-badge {
  position: absolute; right: 4%; top: 7%; z-index: 4;
  background: var(--red); color: #fff; border-radius: 16px; padding: 16px 18px;
  box-shadow: 0 24px 44px -22px rgba(210,30,51,.9);
  max-width: 200px;
}
.media-stack .m-badge .bk { font-family: var(--ff-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.media-stack .m-badge .bl { font-size: .8rem; opacity: .9; margin-top: 4px; font-weight: 600; }
.media-stack .ph { min-height: 100%; height: 100%; }

/* hero facts strip (on dark) */
.hero-facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 28px 40px;
}
.hero-facts .hf { padding-right: 26px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-facts .hf:last-child { border-right: 0; }
.hero-facts .hf .hk {
  font-family: var(--ff-display); font-weight: 800; color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 4px;
}
.hero-facts .hf .hk .u { color: var(--red); font-size: .62em; }
.hero-facts .hf .hl { color: rgba(244,241,238,.6); font-size: .86rem; margin-top: 7px; font-weight: 500; }

/* ---- tall image overlay cards (services) ---- */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; min-height: 480px; border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  isolation: isolate; background: #15121a; color: #fff;
}
.feature-card .ph {
  position: absolute; inset: 0; border-radius: 0; border: 0; z-index: 0;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.feature-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,12,16,.05) 0%, rgba(13,12,16,.35) 48%, rgba(13,12,16,.92) 100%);
}
.feature-card:hover .ph { transform: scale(1.06); }
.feature-card .fc-body { position: relative; z-index: 2; padding: 30px; }
.feature-card .fc-kicker {
  font-family: var(--ff-display); font-weight: 800; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: #FF8A98;
}
.feature-card h3 { color: #fff; font-size: 1.7rem; margin-top: 10px; }
.feature-card p { color: rgba(255,255,255,.74); font-size: .96rem; margin-top: 10px; max-width: 32ch; }
.feature-card .fc-go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 11px 14px 11px 20px; border-radius: var(--radius-pill); font-weight: 700; font-size: .94rem;
  transition: background .2s ease, transform .2s ease; white-space: nowrap;
}
.feature-card .fc-go .ico { width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.feature-card .fc-go .ico svg { width: 13px; height: 13px; }
.feature-card:hover .fc-go { background: #fff; color: var(--ink); transform: translateY(-2px); }
.feature-card:hover .fc-go .ico { background: var(--red); color: #fff; }

/* section label number */
.kick-num {
  font-family: var(--ff-display); font-weight: 900; color: var(--line);
  font-size: clamp(2.4rem,5vw,3.6rem); letter-spacing: -.03em; line-height: 1;
}

/* refined section heading scale on showcase */
.hl-xl { font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.025em; line-height: 1.02; }

/* hero entrance — opacity always 1; transform-only nudge (stall-safe) */
.fx-up { opacity: 1; }
html.anim .fx-up { transform: translateY(22px); transition: transform .85s cubic-bezier(.2,.7,.2,1); }
html.anim .fx-up.in { transform: none; }
html.anim .fx-up.d1 { transition-delay: .06s; } html.anim .fx-up.d2 { transition-delay: .14s; }
html.anim .fx-up.d3 { transition-delay: .24s; } html.anim .fx-up.d4 { transition-delay: .34s; }

/* marquee for industries ribbon */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); padding-block: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ribbon-track { display: flex; gap: 40px; width: max-content; animation: slide 32s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-track span { font-family: var(--ff-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 40px; }
.ribbon-track span::after { content: "●"; color: var(--red); font-size: .6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .fx-up, html.anim .fx-up { opacity: 1; transform: none; transition: none; }
  .ribbon-track { animation: none; }
  .feature-card:hover .ph { transform: none; }
}

@media (max-width: 980px) {
  .hero-d-grid { grid-template-columns: 1fr; gap: 8px; }
  .media-stack { min-height: 420px; margin-top: 8px; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .hero-facts .hf:nth-child(2) { border-right: 0; }
  .feature-cards { grid-template-columns: 1fr; }
  .feature-card { min-height: 420px; }
  .hero-watermark { font-size: 70vw; opacity: .03; }
}
@media (max-width: 720px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts .hf { padding-right: 14px; }
  .media-stack .m-main { inset: 0; }
  .media-stack .m-float { width: 52%; }
}

/* narrow screens: hyphenate long German compound words in headings */
@media (max-width: 480px) {
  h1, h2, h3, h4 { hyphens: auto; overflow-wrap: break-word; }
}

/* very narrow screens: compact nav CTA so the toggle stays on-screen */
@media (max-width: 400px) {
  .brand { font-size: 1.2rem; }
  .nav-right .btn { padding: 9px 14px; font-size: .82rem; }
  .nav-right .btn .ico { display: none; }
}
