/*
Theme Name: inphocal
Theme URI: https://inphocal.com
Author: BlueCT Site Factory
Description: Custom classic theme for inPhocal - immersive, cinema-dark deep-tech direction for high-speed laser coding & marking. Content lives in SCF fields.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: inphocal
*/

/* Concept: An immersive, cinema-dark deep-tech direction where full-bleed footage of the laser hitting real production lines carries the wow, and a single red focal-dot - the brand's laser point - marks every emphasized word, section and numeral like a beam finding its target. */

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  --color-dominant: #222A35;   /* deep charcoal-navy ground */
  --surface: #F5F5F5;          /* light section */
  --white: #FFFFFF;
  --ink: #222A35;              /* text on light */
  --ink-soft: #4a5462;         /* muted text on light (>=4.5:1 on #F5F5F5/#fff) */
  --ink-light: #FFFFFF;        /* text on dark */
  --ink-light-soft: #c4ccd6;   /* muted text on dark (>=4.5:1 on #222A35) */
  --accent: #B02122;           /* laser red - CTA fill, emphasis, focal dot */
  --accent-strong: #8f1a1b;    /* darker red for slide-fill hover / borders */
  --accent-bright: #E8494A;    /* brighter red for large emphasis text on DARK (>=3:1) */
  --accent-text: #B02122;      /* red small text on LIGHT only (6.3:1 on #F5F5F5) */
  --lime: #C7D12C;             /* micro-accent: scroll dot, unit ticks - never text */
  --line: #e2e4e8;             /* hairline on light */
  --line-dark: rgba(255,255,255,.16); /* hairline on dark */

  --btn-fill: #B02122;
  --btn-label: #FFFFFF;

  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;

  /* fluid type scale - modest mobile minimums */
  --step-0: clamp(1.0625rem, 1.01rem + 0.28vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.375rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.25vw, 2.4rem);
  --step-4: clamp(2.05rem, 1.7rem + 1.9vw, 3.1rem);
  --step-5: clamp(2.15rem, 1.55rem + 3vw, 4.25rem);

  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 7rem;

  --container: 1280px;
  --measure: 760px;
  --radius: 4px;
  --cut: 14px;                 /* bottom-right laser cut */
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
/* icons inline with text */
a > svg, button > svg, p svg, li > a svg, span > svg {
  display: inline-block; vertical-align: middle;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
p, li { overflow-wrap: anywhere; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; }

/* =========================================================
   FOCUS + A11Y
   ========================================================= */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: var(--accent); color: #fff; padding: .7rem 1.1rem; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 5vw, 2rem); }
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.surface-light { background: var(--surface); color: var(--ink); }
.surface-white { background: var(--white); color: var(--ink); }
.surface-dark, .bg-navy { background: var(--color-dominant); color: var(--ink-light); }
.surface-dark h1, .surface-dark h2, .surface-dark h3, .bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--ink-light); }

.prose--longform { max-width: var(--measure); margin-inline: auto; text-align: left; }
.prose--longform > * + * { margin-top: 1.1em; }
.prose--longform h2, .prose--longform h3 { margin-top: 1.6em; }
.prose--longform p { color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text);
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(176,33,34,.18); }
.surface-dark .eyebrow, .bg-navy .eyebrow, .hero .eyebrow { color: #fff; }

/* laser-marked word: red focal dot under the emphasized word */
.laser { position: relative; color: var(--accent-text); white-space: nowrap; }
.laser::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 70%, transparent 70%);
  border-radius: 2px;
}
/* on dark grounds: keep readable brightness + brighter red */
.surface-dark .laser, .bg-navy .laser, .hero .laser, .statement .laser { color: var(--accent-bright); }

.section-head { max-width: 62ch; }
.section-head--center { margin-inline: auto; text-align: center; }
h2.section-title { font-size: var(--step-4); margin-bottom: var(--space-3); }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); }
.surface-dark .section-head p, .bg-navy .section-head p { color: var(--ink-light-soft); }

/* =========================================================
   BUTTONS (cut-corner + slide-fill)
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem; line-height: 1; white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .25s var(--ease), color .25s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn > * { position: relative; z-index: 2; }
.btn svg { position: relative; z-index: 2; }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--btn-fill); color: var(--btn-label); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: var(--accent-strong);
  transform: translateX(-101%); transition: transform .32s var(--ease);
}
.btn--primary:hover::before { transform: translateX(0); }

.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--outline:hover { color: #fff; }
.btn--outline::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--ink); transform: translateX(-101%); transition: transform .32s var(--ease); }
.btn--outline:hover::before { transform: translateX(0); }

/* on-dark ghost/outline: white border + white label; flips to red fill */
.surface-dark .btn--outline, .bg-navy .btn--outline, .hero .btn--outline {
  color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7);
}
.surface-dark .btn--outline::before, .bg-navy .btn--outline::before, .hero .btn--outline::before { background: var(--accent); }
.surface-dark .btn--outline:hover, .bg-navy .btn--outline:hover, .hero .btn--outline:hover { color: #fff; }

.btn--ghost { background: transparent; color: inherit; padding-inline: .4rem; }
.btn--ghost .arrow { transition: transform .25s var(--ease); }
.btn--ghost:hover .arrow { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* =========================================================
   HEADER + NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(34,42,53,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark); color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.brand img { height: clamp(30px, 4vw, 42px); width: auto; max-width: 190px; object-fit: contain; }
.brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; color: #fff; }
.brand .wordmark .dot { color: var(--accent-bright); }
.brand .slogan { font-size: .68rem; letter-spacing: .04em; color: var(--ink-light-soft); text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu > li { position: relative; }
.nav-menu a { font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: #fff; white-space: nowrap; position: relative; padding: .4rem 0; }
.nav-menu > li > a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-menu > li > a:hover::after, .nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }

/* dropdown */
.has-flyout { position: relative; }
.flyout-toggle { display: inline-flex; align-items: center; gap: .3rem; }
.submenu-wrap { position: absolute; left: 0; top: 100%; padding-top: 12px; display: none; }
.has-flyout.is-open > .submenu-wrap { display: block; }
.submenu { background: #fff; color: var(--ink); min-width: 240px; padding: .5rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.submenu a { color: var(--ink); display: block; padding: .6rem .8rem; border-radius: 3px; }
.submenu a:hover { background: var(--surface); color: var(--accent-text); }

.header-cta { display: inline-flex; }
.nav-toggle, .drawer-close { display: none; }

/* mobile drawer */
.nav-overlay { position: fixed; inset: 0; background: rgba(10,14,20,.6); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); z-index: 850; }
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; color: #fff; z-index: 1001; position: relative;
  }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px);
    height: 100dvh; background: var(--color-dominant); color: #fff;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 1rem) 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateX(100%); transition: transform .34s var(--ease);
    overflow-y: auto; overscroll-behavior: contain; z-index: 860;
    border-left: 1px solid var(--line-dark);
  }
  body.nav-open .primary-nav { transform: translateX(0); }
  body.nav-open .site-header { z-index: 1000; }
  .drawer-close {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 1rem; right: 1.2rem; width: 44px; height: 44px; color: #fff;
  }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-menu > li { border-bottom: 1px solid var(--line-dark); }
  .nav-menu .nav-menu a, .primary-nav .nav-menu a { display: block; padding: 1rem 0; font-size: 1.1rem; }
  .nav-menu > li > a::after { display: none; }
  .submenu-wrap { position: static; padding-top: 0; display: none; }
  .has-flyout.is-open > .submenu-wrap { display: block; }
  .submenu { box-shadow: none; background: transparent; clip-path: none; padding: 0 0 .5rem .8rem; }
  .submenu a { color: var(--ink-light-soft); padding: .6rem 0; }
  .header-cta { margin-top: 1.5rem; }
  .header-cta .btn { width: 100%; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* =========================================================
   HERO (image-led scrim)
   ========================================================= */
.hero { position: relative; color: #fff; background: var(--color-dominant); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(20,25,33,.55) 0%, rgba(20,25,33,.35) 40%, rgba(20,25,33,.82) 100%),
  linear-gradient(90deg, rgba(20,25,33,.8) 0%, rgba(20,25,33,.15) 70%); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(4.5rem, 12vh, 9rem); min-height: 74vh; display: flex; flex-direction: column; justify-content: center; }
.hero--compact .hero__inner { min-height: 52vh; padding-block: clamp(3.5rem, 9vh, 6rem); }
.hero__inner { max-width: 62ch; }
.hero h1 { font-size: var(--step-5); margin-bottom: var(--space-4); }
.hero__sub { font-size: var(--step-1); color: var(--ink-light-soft); max-width: 52ch; margin-bottom: var(--space-5); }
.hero .btn-row { margin-bottom: var(--space-4); }
.hero__meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; font-size: .95rem; color: var(--ink-light-soft); }
.hero__promise { display: inline-flex; align-items: center; gap: .5rem; }
.hero__promise svg { color: var(--lime); }
.area-chip { display: inline-flex; align-items: flex-start; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); padding: .5rem .85rem; white-space: normal; }
.area-chip svg { flex: none; margin-top: 2px; }

@media (max-width: 599px) {
  .hero__inner { text-align: left; min-height: 62vh; }
  .hero .btn-row .btn { width: 100%; justify-content: center; }
  .area-chip { width: 100%; }
}

/* =========================================================
   STATEMENT BAND (type-led dark)
   ========================================================= */
.statement { background: var(--color-dominant); color: #fff; }
.statement__big { font-family: var(--font-display); font-weight: 800; font-size: var(--step-5); line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch; }
.statement__sub { margin-top: var(--space-4); color: var(--ink-light-soft); font-size: var(--step-1); max-width: 56ch; }

/* =========================================================
   PROOF LOGOS
   ========================================================= */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); margin-top: var(--space-5); }
.logos img { height: clamp(34px, 5vw, 52px); width: auto; filter: grayscale(1); opacity: .72; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.logos img:hover { filter: grayscale(0); opacity: 1; }
.proof-stat { text-align: center; font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); max-width: 34ch; margin-inline: auto; }
.proof-stat .laser { white-space: normal; }

/* =========================================================
   NUMBERED DIFFERENTIATORS
   ========================================================= */
.num-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: var(--space-6); align-items: stretch; }
.num-card { position: relative; background: var(--white); padding: 2rem 1.75rem; border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.surface-light .num-card { background: #fff; }
.num-card__idx { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--ink); line-height: 1; display: inline-flex; align-items: baseline; gap: .25rem; margin-bottom: var(--space-3); }
.num-card__idx .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); align-self: flex-end; margin-bottom: .35rem; }
.num-card h3 { font-size: var(--step-2); margin-bottom: .6rem; }
.num-card p { color: var(--ink-soft); }

/* =========================================================
   IMAGE BAND (full-bleed cut)
   ========================================================= */
.imageband { position: relative; color: #fff; background: var(--color-dominant); overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 100%); }
.imageband__media { position: absolute; inset: 0; z-index: 0; }
.imageband__media img { width: 100%; height: 100%; object-fit: cover; }
.imageband__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,25,33,.9) 0%, rgba(20,25,33,.55) 60%, rgba(20,25,33,.25) 100%); }
.imageband__inner { position: relative; z-index: 2; padding-block: clamp(5rem, 12vw, 8rem); max-width: 56ch; }
.imageband h2 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.imageband p { color: var(--ink-light-soft); font-size: var(--step-1); margin-bottom: var(--space-4); }

/* =========================================================
   CARDS (applications / generic)
   ========================================================= */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: var(--space-6); align-items: stretch; }
.card { position: relative; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(34,42,53,.14); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__body h3 { font-size: var(--step-2); }
.card__body p { color: var(--ink-soft); flex: 1; }
.card__link { margin-top: .4rem; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600; color: var(--accent-text); }
.card__link .arrow { transition: transform .25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(4px); }
/* stretched-link clickable cards */
.card--link { position: relative; }
.card--link .stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* =========================================================
   TIMELINE (horizontal, scroll-snap)
   ========================================================= */
.timeline { margin-top: var(--space-6); position: relative; }
.timeline__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.25rem; scrollbar-width: thin; }
.timeline__track::-webkit-scrollbar { height: 6px; }
.timeline__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.milestone { scroll-snap-align: start; flex: 0 0 clamp(240px, 70vw, 320px); background: #fff; border: 1px solid var(--line); padding: 1.75rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.surface-dark .milestone, .bg-navy .milestone { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.milestone__year { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--accent-text); display: inline-flex; align-items: center; gap: .4rem; }
.surface-dark .milestone__year, .bg-navy .milestone__year { color: var(--accent-bright); }
.milestone__year::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.milestone h3 { font-size: var(--step-1); margin: .5rem 0; }
.milestone p { color: var(--ink-soft); }
.surface-dark .milestone p, .bg-navy .milestone p { color: var(--ink-light-soft); }
.slider-nav { display: flex; gap: .6rem; margin-top: var(--space-4); }
.slider-nav button { width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); transition: background .2s var(--ease), color .2s var(--ease); }
.slider-nav button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.surface-dark .slider-nav button, .bg-navy .slider-nav button { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: #fff; }

/* =========================================================
   FAQ (details)
   ========================================================= */
.faq { margin-top: var(--space-6); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; transition: transform .25s var(--ease); color: var(--accent); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 68ch; }
.surface-dark .faq details, .bg-navy .faq details { border-color: var(--line-dark); }
.surface-dark .faq details > div, .bg-navy .faq details > div { color: var(--ink-light-soft); }

/* =========================================================
   SPLIT (image + text)
   ========================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.split h2 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.split p { color: var(--ink-soft); }
.surface-dark .split p, .bg-navy .split p { color: var(--ink-light-soft); }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* generic content list */
.def-list { display: grid; gap: 1.25rem; margin-top: var(--space-5); }
.def-list li { display: flex; gap: .9rem; align-items: flex-start; }
.def-list svg { flex: none; color: var(--accent); margin-top: 3px; }
.def-list strong { font-family: var(--font-display); }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { background: var(--color-dominant); color: #fff; text-align: center; overflow: hidden; position: relative; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(176,33,34,.35), transparent 70%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; max-width: 60ch; margin-inline: auto; }
.cta-band h2 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.cta-band p { color: var(--ink-light-soft); font-size: var(--step-1); margin-bottom: var(--space-5); }
.cta-band .btn-row { justify-content: center; }
.cta-band .mail-link { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-family: var(--font-display); font-weight: 600; }
.cta-band .mail-link:hover { color: var(--accent-bright); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info li { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-info svg { flex: none; color: var(--accent); margin-top: 3px; }
.contact-info a { color: var(--ink); }
.contact-info a:hover { color: var(--accent-text); }
.form-promise { display: inline-flex; align-items: center; gap: .6rem; background: var(--surface); border-left: 0; padding: 1rem 1.25rem; margin-bottom: var(--space-4); font-family: var(--font-display); font-weight: 600;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.form-promise svg { color: var(--accent); flex: none; }
.form-placeholder { border: 1px dashed var(--line); padding: 2rem; color: var(--ink-soft); background: var(--surface); }

/* =========================================================
   FORMINATOR STYLING (ships unstyled otherwise)
   ========================================================= */
.forminator-custom-form input[type=text],
.forminator-custom-form input[type=email],
.forminator-custom-form input[type=tel],
.forminator-custom-form input[type=url],
.forminator-custom-form input[type=number],
.forminator-custom-form textarea,
.forminator-custom-form select {
  width: 100%; font-family: var(--font-body); font-size: var(--step-0);
  color: var(--ink); background: #fff; border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: .8rem 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.forminator-custom-form textarea { min-height: 140px; }
.forminator-custom-form input:focus,
.forminator-custom-form textarea:focus,
.forminator-custom-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,33,34,.18);
}
.forminator-custom-form label { font-family: var(--font-display); font-weight: 600; color: var(--ink); display: block; margin-bottom: .35rem; }
.forminator-custom-form .forminator-button,
.forminator-custom-form button[type=submit] {
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  background: var(--btn-fill); color: var(--btn-label); border: 0; cursor: pointer;
  padding: .95rem 1.8rem; line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.forminator-custom-form .forminator-button:hover,
.forminator-custom-form button[type=submit]:hover { transform: translateY(-2px); background: var(--accent-strong); }

/* =========================================================
   LIGHTBOX + PEEK SLIDER + TABS (primitives; unused-safe)
   ========================================================= */
.peek { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 1rem; padding-bottom: 1rem; }
.peek > * { scroll-snap-align: start; flex: 0 0 clamp(260px, 78vw, 360px); }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(10,14,20,.9); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #191f28; color: var(--ink-light-soft); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; width: auto; max-width: 200px; margin-bottom: var(--space-3); }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; }
.footer-brand .wordmark .dot { color: var(--accent-bright); }
.footer-brand p { margin-top: var(--space-2); max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--space-3); }
.site-footer a { color: var(--ink-light-soft); }
.site-footer a:hover { color: #fff; }
.footer-nav li { padding: .35rem 0; }
.footer-nap { font-style: normal; line-height: 1.9; }
.footer-socials { display: flex; gap: .8rem; margin-top: var(--space-3); }
.footer-socials a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); color: #fff; transition: background .2s var(--ease); }
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-cta .btn { margin-top: var(--space-2); }
.site-footer .btn--primary { color: var(--btn-label); }
.footer-bottom { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; }
.footer-regs { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }

/* =========================================================
   SCROLL SECTION DOTS (home signature)
   ========================================================= */
.scroll-dots { position: fixed; right: clamp(.6rem, 2vw, 1.4rem); top: 50%; transform: translateY(-50%); z-index: 500; display: flex; flex-direction: column; gap: .9rem; }
.scroll-dots::before { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1px; transform: translateX(-50%); background: linear-gradient(var(--lime), transparent); opacity: .5; }
.scroll-dots a { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(34,42,53,.35); position: relative; transition: transform .25s var(--ease); }
.scroll-dots a.is-active { border-color: var(--accent); background: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 4px rgba(176,33,34,.2); }
@media (max-width: 980px) { .scroll-dots { display: none; } }

/* =========================================================
   PAGE HEADER (light) + 404
   ========================================================= */
.page-prose { padding-block: clamp(3rem, 7vw, 5rem); }
.error-404 { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.error-404 h1 { font-size: var(--step-5); }
.error-404 p { color: var(--ink-soft); margin: var(--space-3) auto var(--space-5); max-width: 46ch; }

/* =========================================================
   REVEAL (progressive enhancement - gated behind .js)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .08s; }
.js .reveal-delay-2 { transition-delay: .16s; }
.js .reveal-delay-3 { transition-delay: .24s; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .btn:hover { transform: none; }
}

/* =========================================================
   UTILITIES
   ========================================================= */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.lead { font-size: var(--step-1); color: var(--ink-soft); }
.surface-dark .lead, .bg-navy .lead { color: var(--ink-light-soft); }
.stack > * + * { margin-top: var(--space-4); }
