
:root {
  --ink: #101820;
  --ink-soft: #26323c;
  --steel: #65727e;
  --line: #dfe5e8;
  --paper: #f5f7f8;
  --white: #ffffff;
  --accent: #ff6a2f;
  --accent-dark: #d94716;
  --accent-soft: #fff0e8;
  --green: #0c7a68;
  --shadow: 0 18px 45px rgba(16, 24, 32, 0.11);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus { left: 16px; top: 16px; z-index: 9999; background: #fff; padding: 10px 14px; border-radius: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(223,229,232,.8); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 230px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink-soft); font-weight: 650; font-size: .96rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: var(--paper); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding-inline: 17px !important; box-shadow: 0 8px 22px rgba(255,106,47,.25); }
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-toggle { display: none; border: 0; background: var(--paper); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 22px; margin: 5px auto; background: var(--ink); }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 78% 18%, rgba(255,106,47,.18), transparent 28%), linear-gradient(135deg, #0c131a 0%, #17232d 62%, #0f171d 100%); color: #fff; }
.hero::after { 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: 48px 48px; mask-image: linear-gradient(to left, #000, transparent 78%); pointer-events: none; }
.hero-grid { min-height: 660px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; position: relative; z-index: 1; padding: 80px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-size: .78rem; font-weight: 800; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { line-height: 1.12; margin-top: 0; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5.4rem); max-width: 850px; margin-bottom: 24px; }
.hero-copy { font-size: clamp(1.05rem, 1.45vw, 1.28rem); max-width: 700px; color: #cbd3d9; margin-bottom: 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; padding: 14px 20px; font-weight: 800; border: 1px solid transparent; transition: .2s ease; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px rgba(255,106,47,.25); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-dark); }
.btn-secondary { border-color: rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.05); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26323c; }
.hero-visual { position: relative; min-height: 430px; }
.machine-card { position: absolute; inset: 34px 0 20px 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 34px; background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.02)); box-shadow: 0 28px 70px rgba(0,0,0,.28); overflow: hidden; }
.machine-card::before { content: ""; position: absolute; width: 150%; height: 5px; top: 49%; left: -25%; background: linear-gradient(90deg, transparent, var(--accent), #ffd7c4, var(--accent), transparent); transform: rotate(-17deg); box-shadow: 0 0 22px rgba(255,106,47,.95); }
.machine-grid { position: absolute; inset: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.machine-grid span { border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.035); }
.metric { position: absolute; padding: 14px 16px; border-radius: 15px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow); font-weight: 800; }
.metric small { display: block; font-size: .72rem; color: var(--steel); text-transform: uppercase; letter-spacing: .08em; }
.metric-1 { top: 4px; left: 0; }
.metric-2 { right: -10px; bottom: 0; }
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid { min-height: 96px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-weight: 750; }
.trust-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-weight: 900; }
.section { padding: 92px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
.section-head p { color: var(--steel); font-size: 1.08rem; }
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .2s ease; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-number { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 900; margin-bottom: 22px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { color: var(--steel); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 850; margin-top: 10px; color: var(--accent-dark); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; }
.visual-panel { min-height: 450px; border-radius: 30px; position: relative; overflow: hidden; background: linear-gradient(145deg, #1a2731, #0d151b); box-shadow: var(--shadow); }
.visual-panel .surface { position: absolute; inset: 60px; border-radius: 24px; background: linear-gradient(135deg, #1f272c 0 49.5%, #c6ced2 50.5% 100%); transform: rotate(-5deg); }
.visual-panel .surface::after { content: ""; position: absolute; height: 4px; left: -30px; right: -30px; top: 49%; background: var(--accent); box-shadow: 0 0 25px rgba(255,106,47,.95); transform: rotate(-15deg); }
.badge-floating { position: absolute; right: 26px; bottom: 26px; background: #fff; border-radius: 16px; padding: 15px 18px; box-shadow: var(--shadow); font-weight: 850; }
.check-list { padding: 0; list-style: none; margin: 25px 0 30px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 12px 0; }
.check-list li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #e5f4f0; color: var(--green); display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 2px; }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-item { padding: 26px 22px; border-top: 3px solid var(--accent); background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: 0 10px 28px rgba(16,24,32,.06); }
.process-item::before { counter-increment: step; content: "0" counter(step); display: block; color: var(--accent); font-size: .8rem; letter-spacing: .12em; font-weight: 900; margin-bottom: 14px; }
.process-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.process-item p { color: var(--steel); font-size: .95rem; margin-bottom: 0; }
.cta-band { padding: 54px 0; background: var(--ink); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-inner h2 { margin-bottom: 8px; font-size: clamp(1.9rem, 3vw, 3rem); }
.cta-inner p { color: #bac5cc; margin: 0; }
.page-hero { padding: 100px 0 70px; background: linear-gradient(135deg,#0d151b,#1a2833); color: #fff; }
.page-hero h1 { font-size: clamp(2.7rem,5vw,4.7rem); margin-bottom: 18px; }
.page-hero p { max-width: 760px; color: #c8d1d7; font-size: 1.15rem; }
.breadcrumbs { display: flex; gap: 8px; font-size: .88rem; color: #aebac2; margin-bottom: 22px; }
.breadcrumbs a { color: #fff; }
.service-detail { display: grid; grid-template-columns: .75fr 1.25fr; gap: 45px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.service-detail:last-child { border-bottom: 0; }
.service-detail h2 { font-size: 2rem; }
.pill { display: inline-block; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .8rem; font-weight: 850; margin-bottom: 14px; }
.app-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.app-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; background: #fff; }
.app-card h3 { font-size: 1.05rem; margin-bottom: 7px; }
.app-card p { color: var(--steel); font-size: .93rem; margin: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.blog-thumb { aspect-ratio: 16/9; background: radial-gradient(circle at 70% 28%, rgba(255,106,47,.75), transparent 18%), linear-gradient(135deg,#101820,#34434f); position: relative; }
.blog-thumb::after { content: ""; position: absolute; inset: 23%; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; transform: rotate(-8deg); }
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { color: var(--steel); font-size: .82rem; font-weight: 750; margin-bottom: 10px; }
.blog-card h2, .blog-card h3 { font-size: 1.35rem; }
.blog-card p { color: var(--steel); }
.blog-card .text-link { margin-top: auto; }
.article { width: min(calc(100% - 40px), 840px); margin: 0 auto; padding: 80px 0; }
.article h1 { font-size: clamp(2.6rem,5vw,4.4rem); }
.article h2 { margin-top: 44px; font-size: 2rem; }
.article h3 { margin-top: 28px; }
.article p, .article li { color: var(--ink-soft); font-size: 1.05rem; }
.article-intro { font-size: 1.25rem !important; color: var(--steel) !important; }
.article-callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 22px 24px; border-radius: 0 14px 14px 0; margin: 32px 0; }
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.contact-card { border-radius: var(--radius); padding: 30px; background: var(--ink); color: #fff; }
.contact-card p { color: #c4ced4; }
.contact-list { list-style: none; padding: 0; margin: 25px 0 0; }
.contact-list li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: 0 14px 36px rgba(16,24,32,.07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 750; font-size: .92rem; }
input, select, textarea { width: 100%; border: 1px solid #cfd7dc; border-radius: 11px; padding: 13px 14px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(255,106,47,.17); border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--steel); font-size: .84rem; }
.form-status { margin-top: 14px; font-weight: 750; min-height: 25px; }
.booking-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-bottom: 26px; }
.booking-option { border: 1px solid var(--line); border-radius: 14px; padding: 18px; cursor: pointer; }
.booking-option:hover { border-color: var(--accent); }
.site-footer { background: #0d141a; color: #fff; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.footer-brand img { width: 235px; opacity: .95; }
.footer-brand p { max-width: 460px; color: #aebbc3; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #7f909a; font-weight: 850; margin-bottom: 15px; }
.footer-links { display: grid; gap: 9px; color: #d4dce1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: #8fa0aa; font-size: .86rem; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 69px; flex-direction: column; align-items: stretch; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .hero-grid, .split, .form-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 70px 0 45px; }
  .hero-visual { min-height: 390px; }
  .cards-3, .blog-grid { grid-template-columns: 1fr 1fr; }
  .process, .app-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; padding: 22px 0; }
  .service-detail { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 190px; }
  .hero-grid { gap: 24px; }
  .hero-visual { min-height: 320px; }
  .machine-card { inset: 26px 0 10px 15px; }
  .machine-grid { inset: 28px; gap: 10px; }
  .metric { font-size: .83rem; }
  .cards-3, .blog-grid, .process, .app-grid, .booking-options, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .form-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

/* Focus markets */
.hero-markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 0; max-width: 780px; }
.hero-market { display: block; min-height: 104px; padding: 17px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(255,255,255,.055); transition: .2s ease; }
.hero-market:hover { transform: translateY(-3px); border-color: rgba(255,106,47,.78); background: rgba(255,255,255,.095); }
.hero-market strong { display: block; font-size: 1rem; margin-bottom: 5px; }
.hero-market span { display: block; color: #aebbc3; font-size: .84rem; line-height: 1.4; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.market-card { position: relative; display: flex; min-height: 390px; flex-direction: column; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .22s ease; }
.market-card::after { content: ""; position: absolute; right: -56px; bottom: -72px; width: 190px; height: 190px; border: 1px solid rgba(255,106,47,.23); border-radius: 42%; transform: rotate(24deg); }
.market-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.market-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 25px; border-radius: 17px; background: var(--ink); color: #fff; font-size: 1.5rem; font-weight: 900; }
.market-status { display: inline-flex; align-self: flex-start; margin-bottom: 16px; padding: 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: .74rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.market-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.market-card p { color: var(--steel); }
.market-card ul { padding-left: 19px; color: var(--ink-soft); }
.market-card .text-link { position: relative; z-index: 1; margin-top: auto; }
.positioning-band { padding: 38px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.positioning-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 58px; align-items: center; }
.positioning-grid h2 { margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.positioning-grid p { margin: 0; color: var(--steel); font-size: 1.06rem; }
.market-page-hero { position: relative; overflow: hidden; padding: 100px 0 78px; background: radial-gradient(circle at 82% 28%, rgba(255,106,47,.18), transparent 24%), linear-gradient(135deg,#0d151b,#1a2833); color: #fff; }
.market-page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 52px 52px; pointer-events: none; }
.market-page-hero .container { position: relative; z-index: 1; }
.market-page-hero h1 { font-size: clamp(2.8rem,5vw,4.8rem); margin-bottom: 20px; }
.market-page-hero p { max-width: 790px; color: #c8d1d7; font-size: 1.18rem; }
.market-label { display: inline-flex; margin: 0 0 18px; padding: 7px 11px; border-radius: 999px; background: rgba(255,106,47,.16); color: #ff9a70; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.market-intro { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.market-intro h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.market-intro-copy > p:first-child { font-size: 1.18rem; color: var(--ink-soft); }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use-card { min-height: 205px; padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.use-card h3 { margin-bottom: 8px; font-size: 1.13rem; }
.use-card p { margin-bottom: 0; color: var(--steel); font-size: .94rem; }
.tech-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tech-strip a { display: block; padding: 22px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; transition: .2s ease; }
.tech-strip a:hover { transform: translateY(-3px); background: var(--ink-soft); }
.tech-strip small { display: block; margin-bottom: 7px; color: #91a2ad; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tech-strip strong { font-size: 1.08rem; }
.scope-note { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--accent-soft); color: var(--ink-soft); }
@media (max-width: 980px) {
  .hero-markets, .market-grid, .use-grid, .tech-strip { grid-template-columns: 1fr 1fr; }
  .positioning-grid, .market-intro { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 680px) {
  .hero-markets, .market-grid, .use-grid, .tech-strip {
    grid-template-columns: 1fr;
  }

  .hero-market {
    min-height: auto;
  }

  .market-card {
    min-height: 340px;
  }

  .use-grid {
    gap: 10px;
  }

  .use-card {
    min-height: 0;
    padding: 14px 16px;
  }

  .use-card h3 {
    margin-bottom: 5px;
  }
}
/* Hero image */
.hero-visual {
  position: relative;
  min-height: clamp(420px, 48vw, 620px);
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(16, 24, 32, 0.05) 35%,
    rgba(16, 24, 32, 0.70) 100%
  );
}

.hero-visual .metric {
  position: absolute;
  z-index: 2;
}

@media (max-width: 760px) {
  .hero-visual {
    min-height: 380px;
    border-radius: 20px;
  }
}

/* Swipegalerij realisaties */
.gallery-launch-inline { display: flex; justify-content: center; margin-top: 32px; }
.gallery-launch-section { padding: 0 0 72px; }
.gallery-open { border: 0; }
.service-detail .gallery-open { margin-top: 8px; }
.gallery-open-body { overflow: hidden; }
.gallery-modal[hidden] { display: none; }
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(7, 12, 16, .82);
  opacity: 0;
  transition: opacity .18s ease;
}
.gallery-modal.is-open { opacity: 1; }
.gallery-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 1040px);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0,0,0,.36);
}
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.gallery-header small {
  display: block;
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gallery-header h2 { margin: 2px 0 0; font-size: clamp(1.35rem, 3vw, 2rem); }
.gallery-close,
.gallery-nav {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}
.gallery-close { font-size: 1.8rem; line-height: 1; }
.gallery-close:hover,
.gallery-nav:hover { background: var(--paper); }
.gallery-nav:disabled { cursor: default; opacity: .35; }
.gallery-track {
  display: flex;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  background: #090d10;
  touch-action: pan-x pan-y;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  min-height: 0;
  margin: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.gallery-slide img,
.gallery-slide video {
  align-self: center;
  justify-self: center;
  width: 100%;
  height: 100%;
  max-height: 66dvh;
  padding: 18px;
  object-fit: contain;
}
.gallery-slide video {
  background: #000;
}
.gallery-slide figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px 16px;
  background: #090d10;
  color: #fff;
}
.gallery-slide figcaption span {
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #d4dce1;
  font-size: .78rem;
  font-weight: 750;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.gallery-counter { min-width: 70px; text-align: center; font-weight: 850; }
.gallery-empty { align-self: center; width: 100%; padding: 54px 24px; color: #fff; text-align: center; }
@media (max-width: 680px) {
  .gallery-launch-section { padding-bottom: 54px; }
  .gallery-modal { padding: 0; }
  .gallery-dialog { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .gallery-header { padding: 14px 16px; }
  .gallery-slide img,
  .gallery-slide video { max-height: none; padding: 12px; }
  .gallery-controls { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-modal, .gallery-track { transition: none; scroll-behavior: auto; }
}



/* Homepage hero background carousel - preview v1 */
.hero-carousel {
  min-height: 660px;
  position: relative;
  overflow: hidden;
  background: #0c131a;
  color: #fff;
  isolation: isolate;
}
.hero-backgrounds,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-backgrounds {
  z-index: 0;
  overflow: hidden;
}
.hero-bg {
  opacity: 0;
  transform: scale(1.035);
  background-position: center;
  background-size: cover;
  filter: brightness(.78) contrast(.88) saturate(.78);
  transition: opacity 1.15s ease, transform 7s ease;
}
.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,13,18,.58) 0%, rgba(8,13,18,.42) 40%, rgba(8,13,18,.22) 70%, rgba(8,13,18,.28) 100%),
    linear-gradient(180deg, rgba(8,13,18,.05) 0%, rgba(8,13,18,.18) 100%);
}
.hero-carousel::after {
  z-index: 2;
  opacity: .32;
}
.hero-grid-overlay {
  position: relative;
  z-index: 3;
  grid-template-columns: minmax(0, 760px);
  min-height: 660px;
  align-items: center;
}
.hero-content {
  max-width: 760px;
}
.hero-carousel h1 {
  text-shadow: 0 3px 24px rgba(0,0,0,.30);
}
.hero-carousel .hero-copy {
  color: rgba(236,241,244,.90);
  max-width: 700px;
}
.hero-carousel-dots {
  display: flex;
  gap: 9px;
  margin-top: 26px;
}
.hero-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.hero-dot.is-active {
  width: 44px;
  background: var(--accent);
}
@media (max-width: 980px) {
  .hero-carousel,
  .hero-grid-overlay {
    min-height: 590px;
  }
  .hero-grid-overlay {
    padding: 68px 0 54px;
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8,13,18,.62) 0%, rgba(8,13,18,.42) 100%),
      linear-gradient(180deg, rgba(8,13,18,.08), rgba(8,13,18,.24));
  }
}
@media (max-width: 680px) {
  .hero-carousel,
  .hero-grid-overlay {
    min-height: 560px;
  }
  .hero-grid-overlay {
    padding: 50px 0 38px;
  }
  .hero-bg {
    background-position: 62% center;
    filter: brightness(.78) contrast(.82) saturate(.68);
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,13,18,.28) 0%, rgba(8,13,18,.36) 55%, rgba(8,13,18,.52) 100%);
  }
  .hero-carousel h1 {
    font-size: clamp(2.25rem, 10vw, 3.4rem);
    margin-bottom: 18px;
  }
  .hero-carousel .hero-copy {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero-carousel .actions {
    gap: 10px;
  }
  .hero-carousel .btn {
    width: 100%;
    padding: 12px 15px;
  }
  .hero-carousel-dots {
    justify-content: center;
    margin-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    transition: none;
    transform: none;
  }
}
