/* ==========================================================================
   WebVoken — style.css  (base, layout, components — desktop first)
   Breakpoint overrides live in responsive.css, motion in animations.css.

   TYPOGRAPHY: headings use "Mont" (brand font). Until the licensed Mont
   files are added (see assets/fonts/README.txt) Montserrat is used as the
   stand-in. Body copy uses Source Sans Pro (served as its current
   Google Fonts release, "Source Sans 3"). Change fonts ONLY in :root below.
   ========================================================================== */

:root {
  /* brand palette (WebVoken Brand Guide) */
  --navy: #011750;      /* Catalina Blue */
  --ecru: #F2F0DE;      /* Ecru White   */
  --blue: #3D6299;      /* San Marino   */
  --white: #FFFFFF;

  /* derived tints — built only from the palette */
  --navy-line: rgba(1, 23, 80, .14);
  --ecru-line: rgba(242, 240, 222, .16);
  --ecru-soft: rgba(242, 240, 222, .78);
  --navy-soft: rgba(1, 23, 80, .74);

  /* typography system */
  --font-head: "Mont", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Source Sans Pro", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 6px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --section-y: clamp(72px, 9vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--ecru);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { overflow-x: clip; }
[hidden] { display: none !important; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.section--navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible { outline-color: var(--ecru); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
.h-xl { font-size: clamp(2.5rem, 6.2vw, 5.4rem); letter-spacing: -.035em; font-weight: 800; line-height: 1.02; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -.03em; }
.h-md { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.h-sm { font-size: 1.15rem; letter-spacing: -.01em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.6; }
.muted { color: var(--navy-soft); }
.section--navy .muted, .hero .muted, .page-hero .muted { color: var(--ecru-soft); }
.accent { color: var(--blue); }
.section--navy .accent, .hero .accent, .page-hero .accent, .cta-band .accent { color: var(--ecru); font-style: normal; box-shadow: inset 0 -.14em 0 var(--blue); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ecru); color: var(--navy); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; max-width: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--ecru); }

/* ---------- buttons ---------- */
.btn { --b-bg: var(--navy); --b-fg: var(--ecru); --b-hover: var(--blue); position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 1em 1.7em; border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bg); transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b-hover); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--ecru { --b-bg: var(--ecru); --b-fg: var(--navy); --b-hover: var(--white); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; --b-hover: var(--ecru); border-color: currentColor; }
.btn--ghost:hover { color: var(--navy); border-color: var(--ecru); }
.section--ecru .btn--ghost:hover, .section--white .btn--ghost:hover { color: var(--ecru); border-color: var(--navy); }
.section--ecru .btn--ghost, .section--white .btn--ghost { --b-hover: var(--navy); }
.btn--sm { padding: .78em 1.25em; font-size: .78rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: 4px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: .85em; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; color: var(--ecru); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.site-header.is-solid { --header-h: 70px; background: rgba(1, 23, 80, .97); box-shadow: 0 10px 34px rgba(1, 23, 80, .28); }
@supports (backdrop-filter: blur(10px)) { .site-header.is-solid { background: rgba(1, 23, 80, .92); backdrop-filter: blur(12px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.is-solid .brand img { height: 44px; }
.main-nav { height: 100%; margin-left: auto; }
.nav-list { display: flex; align-items: stretch; height: 100%; gap: 2px; }
.nav-item { display: flex; align-items: stretch; }
.nav-item.has-mega { position: static; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: calc(50% - 20px); height: 2px; background: var(--ecru); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-item:hover > .nav-link::after, .nav-link.is-active::after, .nav-item.is-active > .nav-link::after, .nav-item.is-open > .nav-link::after { transform: scaleX(1); }
.nav-caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-item.is-open .nav-caret, .nav-item:hover .nav-caret { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); color: var(--ecru); border-top: 1px solid var(--ecru-line); box-shadow: 0 30px 50px rgba(1, 23, 80, .35); opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.nav-item.is-open > .mega, .nav-item:hover > .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding-block: 38px 44px; }
.mega-intro img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.mega-intro p { font-size: .98rem; color: var(--ecru-soft); margin-bottom: 14px; }
.mega-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 28px; align-content: start; }
.mega-links a { display: flex; gap: 16px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.mega-links a:hover, .mega-links a:focus-visible { background: rgba(242, 240, 222, .08); transform: translateX(4px); }
.mega-links strong { display: block; font-family: var(--font-head); font-size: .98rem; font-weight: 700; letter-spacing: -.01em; }
.mega-links small { display: block; font-size: .92rem; line-height: 1.4; color: var(--ecru-soft); margin-top: 2px; }
.mega-ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--blue); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ecru); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ecru); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(1, 23, 80, .6); opacity: 0; transition: opacity .35s var(--ease); }
.drawer-overlay.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(420px, 100%); background: var(--navy); color: var(--ecru); display: flex; flex-direction: column; padding: 18px 24px 24px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ecru); display: grid; place-items: center; }
.drawer-list > li { border-bottom: 1px solid var(--ecru-line); }
.drawer-link, .drawer-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 17px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; text-align: left; }
.drawer-toggle .ic { transition: transform .3s var(--ease); }
.drawer-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.drawer-sub { display: none; }
.drawer-sub.is-open { display: block; padding-bottom: 12px; animation: drawerSub .4s var(--ease); }
.drawer-sub a { display: block; padding: 9px 0 9px 14px; color: var(--ecru-soft); border-left: 2px solid var(--blue); margin-bottom: 4px; }
.drawer-sub a:hover, .drawer-sub a[aria-current="page"] { color: var(--ecru); }
.drawer-contact { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
@keyframes drawerSub { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* floating call button */
.float-contact { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); border: 2px solid var(--ecru); box-shadow: 0 10px 28px rgba(1, 23, 80, .38); transition: transform .35s var(--ease), background-color .3s; }
.float-btn .ic { width: 26px; height: 26px; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); background: var(--navy); }
.float-wa { background: var(--navy); }

/* ---------- sections ---------- */
main { display: block; }
.section { position: relative; overflow-x: clip; padding-block: var(--section-y); }
.section--ecru { background: var(--ecru); color: var(--navy); }
.section--white { background: var(--white); color: var(--navy); }
.section--navy { background: var(--navy); color: var(--ecru); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--ecru); background: var(--navy); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(30px, 6vw, 90px)), 0 100%); padding-block: calc(var(--header-h) + 56px) clamp(110px, 12vw, 170px); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(1, 23, 80, .97) 12%, rgba(1, 23, 80, .84) 48%, rgba(1, 23, 80, .42) 100%), linear-gradient(0deg, rgba(1, 23, 80, .75), transparent 40%); }
.hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 820px; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero .lead { max-width: 620px; color: var(--ecru-soft); margin-bottom: 2rem; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 2.4rem; }
.hero-pillars li { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--ecru-line); border-radius: 999px; background: rgba(1, 23, 80, .35); }
.hero-pillars .ic { color: var(--ecru); width: 1.1em; height: 1.1em; }
.hero-tagline { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(60px, 9vw, 120px); writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .38em; text-transform: uppercase; color: var(--ecru-soft); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--ecru); overflow: hidden; padding-block: calc(var(--header-h) + clamp(36px, 5vw, 72px)) clamp(70px, 9vw, 130px); clip-path: polygon(0 0, 100% 0, 100% calc(100% - clamp(24px, 4vw, 60px)), 0 100%); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.8vw, 4.1rem); letter-spacing: -.03em; }
.page-hero .lead { color: var(--ecru-soft); max-width: 580px; margin-bottom: 1.8rem; }
.page-hero-img { position: relative; aspect-ratio: 4 / 4.2; max-height: 560px; border-radius: var(--radius); overflow: hidden; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 14%); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.page-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero-grid { grid-template-columns: 1fr; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.crumbs { margin-bottom: 1.6rem; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; letter-spacing: .02em; color: var(--ecru-soft); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .55; }
.crumbs a { border-bottom: 1px solid transparent; }
.crumbs a:hover { border-color: currentColor; }
.crumbs [aria-current] { color: var(--ecru); font-weight: 600; }

/* ---------- intro collage ---------- */
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.collage { position: relative; padding: 0 0 70px 0; }
.collage-main { aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; clip-path: polygon(0 0, 86% 0, 100% 12%, 100% 100%, 0 100%); }
.collage-main img, .collage-small img { width: 100%; height: 100%; object-fit: cover; }
.collage-small { position: absolute; right: -28px; bottom: 0; width: 52%; aspect-ratio: 1 / .85; border: 8px solid var(--ecru); border-radius: var(--radius); overflow: hidden; }
.badge-since { position: absolute; left: -18px; top: 44px; z-index: 2; background: var(--navy); color: var(--ecru); padding: 18px 22px; border-radius: var(--radius); font-family: var(--font-head); line-height: 1.1; box-shadow: 0 18px 40px rgba(1, 23, 80, .28); }
.badge-since b { display: block; font-size: 2rem; letter-spacing: -.03em; }
.badge-since span { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ecru-soft); }
.feature-lines { margin-top: 1.8rem; display: grid; gap: 0; }
.feature-lines li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; padding: 20px 0; border-top: 1px solid var(--navy-line); }
.feature-lines li:last-child { border-bottom: 1px solid var(--navy-line); }
.feature-lines .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--ecru); display: grid; place-items: center; }
.feature-lines h3 { font-size: 1.1rem; margin: 0 0 .15em; }
.feature-lines p { margin: 0; font-size: 1rem; color: var(--navy-soft); }

/* ---------- category panels ---------- */
.cat-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.cat-panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 600px; border-radius: var(--radius); overflow: hidden; color: var(--ecru); isolation: isolate; }
.cat-panel:nth-child(2) { margin-top: 44px; }
.cat-panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1, 23, 80, .96) 22%, rgba(1, 23, 80, .55) 65%, rgba(1, 23, 80, .2)); transition: background-color .5s; }
.cat-panel:hover > img { transform: scale(1.07); }
.cat-panel-body { padding: 30px 30px 32px; }
.cat-num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .24em; color: var(--ecru-soft); margin-bottom: 14px; }
.cat-panel h3 { font-size: 1.7rem; color: var(--white); }
.cat-panel p { font-size: 1rem; color: var(--ecru-soft); }
.cat-panel ul { margin: 14px 0 22px; display: grid; gap: 2px; }
.cat-panel li a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--ecru-line); font-size: .98rem; transition: padding .3s var(--ease), color .3s; }
.cat-panel li a .ic { width: 1em; height: 1em; opacity: 0; transform: translateX(-6px); transition: .3s var(--ease); }
.cat-panel li a:hover { padding-left: 8px; color: var(--white); }
.cat-panel li a:hover .ic { opacity: 1; transform: none; }

/* ---------- automation (hover preview list) ---------- */
.auto-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.auto-list { margin-top: 2rem; border-top: 1px solid var(--ecru-line); }
.auto-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--ecru-line); transition: background-color .3s var(--ease), padding .35s var(--ease); }
.auto-row:hover, .auto-row.is-active { background: rgba(242, 240, 222, .06); padding-left: 20px; }
.auto-row .n { font-family: var(--font-head); font-weight: 800; font-size: .86rem; letter-spacing: .14em; color: var(--blue); }
.auto-row strong { display: block; font-family: var(--font-head); font-size: 1.28rem; letter-spacing: -.02em; }
.auto-row small { display: block; color: var(--ecru-soft); font-size: .98rem; }
.auto-row .ic { transition: transform .3s var(--ease); }
.auto-row:hover .ic { transform: translateX(6px); }
.auto-shots { position: sticky; top: 110px; aspect-ratio: 4 / 4.8; border-radius: var(--radius); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%); }
.auto-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.auto-shots img.is-active { opacity: 1; transform: none; }

/* ---------- marketing split ---------- */
.mk-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.mk-sticky { position: sticky; top: 110px; }
.mk-image { margin-top: 2rem; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; }
.mk-image img { width: 100%; height: 100%; object-fit: cover; }
.mk-list { display: grid; gap: 0; }
.mk-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; padding: 28px 0; border-top: 1px solid var(--navy-line); transition: padding .35s var(--ease); }
.mk-item:last-child { border-bottom: 1px solid var(--navy-line); }
.mk-item:hover { padding-left: 14px; }
.mk-item .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--ecru); display: grid; place-items: center; transition: background-color .3s, transform .4s var(--ease); }
.mk-item:hover .ico { background: var(--blue); transform: rotate(-8deg); }
.mk-item h3 { font-size: 1.4rem; margin-bottom: .2em; }
.mk-item p { margin: 0; font-size: 1rem; color: var(--navy-soft); max-width: 480px; }
.mk-item .go { width: 44px; height: 44px; border: 2px solid var(--navy); border-radius: 50%; display: grid; place-items: center; transition: background-color .3s, color .3s; }
.mk-item:hover .go { background: var(--navy); color: var(--ecru); }

/* ---------- marquee ---------- */
.marquee-wrap { overflow: hidden; border-block: 1px solid var(--navy-line); background: var(--white); }
.marquee { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; align-items: center; gap: 0; flex: none; }
.marquee-track li { display: inline-flex; align-items: center; gap: 28px; padding: 26px 28px 26px 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 3.2vw, 2.6rem); letter-spacing: -.03em; white-space: nowrap; }
.marquee-track li::after { content: ""; width: 16px; height: 16px; background: var(--blue); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.platform-note { margin-top: 28px; max-width: 760px; color: var(--navy-soft); }

/* ---------- why choose ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.why-image { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%); }
.why-image img { width: 100%; height: 100%; object-fit: cover; }
.why-points { display: grid; gap: 28px; margin-top: 2rem; }
.why-points li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; }
.why-points .ico { width: 58px; height: 58px; display: grid; place-items: center; background: var(--blue); border-radius: var(--radius); color: var(--white); }
.why-points h3 { font-size: 1.2rem; margin-bottom: .2em; color: var(--white); }
.why-points p { margin: 0; color: var(--ecru-soft); font-size: 1.02rem; }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px); }
.process li { position: relative; counter-increment: step; }
.process li::before { content: counter(step, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 22px; border-radius: 50%; background: var(--navy); color: var(--ecru); font-family: var(--font-head); font-weight: 800; letter-spacing: .04em; outline: 8px solid var(--ecru); transition: background-color .3s, transform .4s var(--ease); }
.section--white .process li::before { outline-color: var(--white); }
.process li:hover::before { background: var(--blue); transform: scale(1.08); }
.process h3 { font-size: 1.2rem; }
.process p { font-size: 1rem; color: var(--navy-soft); margin: 0; }

/* ---------- industries mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 180px; gap: 16px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--ecru); isolation: isolate; display: flex; align-items: flex-end; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1, 23, 80, .9), rgba(1, 23, 80, .08) 70%); }
.tile:hover img { transform: scale(1.08); }
.tile span { padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.tile small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--ecru-soft); }
.m1 { grid-column: 1 / span 5; grid-row: 1 / span 2; } .m2 { grid-column: 6 / span 4; grid-row: 1; } .m3 { grid-column: 10 / span 3; grid-row: 1 / span 2; }
.m4 { grid-column: 6 / span 4; grid-row: 2; } .m5 { grid-column: 1 / -1; grid-row: 3; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-top: 1px solid var(--navy-line); }
.faq details:last-child { border-bottom: 1px solid var(--navy-line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 28px; height: 28px; padding: 5px; border: 2px solid var(--navy); border-radius: 50%; transition: transform .35s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--navy); color: var(--ecru); }
.faq .answer { padding: 0 48px 26px 0; color: var(--navy-soft); }
.faq .answer p:last-child { margin-bottom: 0; }
.section--navy .faq details, .section--navy .faq details:last-child { border-color: var(--ecru-line); }
.section--navy .faq summary .ic { border-color: var(--ecru); }
.section--navy .faq details[open] summary .ic { background: var(--ecru); color: var(--navy); }
.section--navy .faq .answer { color: var(--ecru-soft); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; color: var(--ecru); background: var(--navy); overflow: hidden; padding-block: clamp(80px, 11vw, 160px); clip-path: polygon(0 clamp(24px, 4vw, 60px), 100% 0, 100% 100%, 0 100%); margin-top: calc(clamp(24px, 4vw, 60px) * -1); }
.cta-band-bg { position: absolute; inset: 0; z-index: -2; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(1, 23, 80, .96) 25%, rgba(1, 23, 80, .8)); }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--ecru-soft); max-width: 560px; }
.cta-actions { display: grid; gap: 14px; }
.cta-actions .btn { justify-content: space-between; padding-block: 1.25em; font-size: .92rem; }
.cta-tag { margin-top: 1.6rem; font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ecru-soft); }

/* ---------- service pages ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.two-col--flip { grid-template-columns: .9fr 1.1fr; }
.two-col--flip > :first-child { order: 2; }
.photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo--notch { clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%, 0 88%); }
.photo--wide { aspect-ratio: 5 / 4; }
.prose p { max-width: 62ch; }
.problem-list { counter-reset: p; border-top: 1px solid var(--ecru-line); }
.problem-list li { counter-increment: p; display: grid; grid-template-columns: 70px 1fr 1.2fr; gap: 28px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--ecru-line); }
.problem-list li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; color: var(--blue); letter-spacing: .1em; }
.problem-list h3 { font-size: 1.3rem; margin: 0; color: var(--white); }
.problem-list p { margin: 0; color: var(--ecru-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--navy-line); border-left: 1px solid var(--navy-line); }
.feature { padding: 36px 32px 38px; border-right: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); transition: background-color .35s var(--ease), color .35s; }
.feature:hover { background: var(--navy); color: var(--ecru); }
.feature .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--ecru); margin-bottom: 22px; transition: background-color .35s; }
.feature:hover .ico { background: var(--blue); }
.feature h3 { font-size: 1.2rem; }
.feature p { margin: 0; font-size: 1.02rem; color: var(--navy-soft); transition: color .35s; }
.feature:hover p { color: var(--ecru-soft); }
.benefit-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.benefit { padding: 8px 30px 8px 0; margin-right: 30px; border-right: 1px solid var(--ecru-line); }
.benefit:last-child { border: 0; margin: 0; }
.benefit .ic { width: 38px; height: 38px; color: var(--ecru); margin-bottom: 20px; }
.benefit h3 { color: var(--white); font-size: 1.2rem; }
.benefit p { margin: 0; color: var(--ecru-soft); font-size: 1rem; }
.timeline { position: relative; display: grid; gap: 0; counter-reset: t; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 32px; top: 20px; bottom: 20px; width: 2px; background: var(--navy-line); }
.timeline li { position: relative; counter-increment: t; display: grid; grid-template-columns: 66px 1fr; gap: 28px; padding: 0 0 38px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: counter(t, decimal-leading-zero); z-index: 1; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--ecru); font-family: var(--font-head); font-weight: 800; outline: 8px solid var(--white); }
.section--ecru .timeline li::before { outline-color: var(--ecru); }
.timeline h3 { font-size: 1.3rem; margin: 6px 0 .25em; }
.timeline p { margin: 0; color: var(--navy-soft); max-width: 62ch; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { color: var(--navy); position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 28px; border: 1px solid var(--navy-line); border-radius: var(--radius); background: var(--white); transition: background-color .4s var(--ease), color .4s, transform .4s var(--ease); }
.related a:hover { background: var(--navy); color: var(--ecru); transform: translateY(-6px); }
.related small { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.related a:hover small { color: var(--ecru-soft); }
.related h3 { color: inherit; font-size: 1.4rem; margin: 10px 0 8px; }
.related p { font-size: 1rem; margin: 0; color: var(--navy-soft); }
.related a:hover p { color: var(--ecru-soft); }
.related .go { align-self: flex-end; width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; margin-top: 18px; }

/* service tiles (category pages) */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-tile { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(1, 23, 80, .18); }
.svc-tile .img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-tile .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-tile:hover .img img { transform: scale(1.07); }
.svc-tile .body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-tile h3 { font-size: 1.35rem; margin: 0; }
.svc-tile p { margin: 0; color: var(--navy-soft); font-size: 1rem; }
.svc-tile .link-arrow { margin-top: auto; align-self: flex-start; }
.svc-tile .tag { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 6px 12px; background: var(--navy); color: var(--ecru); border-radius: 999px; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

/* about + contact */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 30px 26px; border-radius: var(--radius); background: rgba(242, 240, 222, .06); border: 1px solid var(--ecru-line); }
.value .ic { width: 34px; height: 34px; margin-bottom: 18px; color: var(--ecru); }
.value h3 { color: var(--white); font-size: 1.2rem; }
.value p { margin: 0; color: var(--ecru-soft); font-size: 1rem; }
.contact-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-tiles--2 { grid-template-columns: repeat(2, 1fr); }
.contact-tile { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 38px 34px 34px; border-radius: var(--radius); background: var(--navy); color: var(--ecru); overflow: hidden; isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.contact-tile::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: var(--blue); opacity: .35; z-index: -1; transition: transform .6s var(--ease); }
.contact-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 50px rgba(1, 23, 80, .25); }
.contact-tile:hover::after { transform: scale(1.5); }
.contact-tile .ico { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--ecru); display: grid; place-items: center; margin-bottom: 14px; }
.contact-tile .ico .ic { width: 26px; height: 26px; }
.contact-tile small { font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ecru-soft); }
.contact-tile .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.15; overflow-wrap: anywhere; }
.contact-tile p { margin: 0; color: var(--ecru-soft); font-size: 1rem; }
.checklist { display: grid; gap: 14px; margin-top: 1.4rem; }
.checklist li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }
.checklist .ic { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--navy); color: var(--ecru); }
.section--navy .checklist .ic { background: var(--ecru); color: var(--navy); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.chip { padding: 10px 18px; border: 1.5px solid var(--navy); border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; transition: background-color .3s, color .3s; }
.chip:hover { background: var(--navy); color: var(--ecru); }
.section--navy .chip { border-color: var(--ecru); }
.section--navy .chip:hover { background: var(--ecru); color: var(--navy); }
.prose-doc { max-width: 780px; }
.prose-doc h2 { font-size: 1.55rem; margin-top: 2.2em; }
.prose-doc ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.prose-doc li { margin-bottom: .4em; }
.prose-doc a { border-bottom: 1.5px solid var(--blue); }
.prose-doc a:hover { color: var(--blue); }
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: var(--ecru); padding: 120px var(--gutter) 80px; }
.notfound .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 22vw, 16rem); line-height: .9; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--ecru); }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy); color: var(--ecru); padding-top: clamp(64px, 8vw, 110px); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 60px); padding-bottom: 56px; }
.footer-brand img { height: 66px; width: auto; margin-bottom: 18px; }
.footer-tag { font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .3em; margin-bottom: 14px; }
.footer-brand p { color: var(--ecru-soft); max-width: 340px; font-size: 1rem; }
.footer-contact { display: grid; gap: 10px; margin-top: 22px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer-contact a:hover { border-color: var(--ecru); }
.footer-h { font-family: var(--font-head); font-weight: 700; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ecru-soft); margin: 0 0 18px; }
.footer-h--gap { margin-top: 34px; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { display: inline-block; padding: 5px 0; font-size: 1.02rem; transition: transform .3s var(--ease), color .3s; }
.footer-col a:hover { transform: translateX(5px); color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 24px; border-top: 1px solid var(--ecru-line); font-size: .94rem; color: var(--ecru-soft); }
.footer-bottom p { margin: 0; }
.footer-word { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.4rem, 15.6vw, 15rem); letter-spacing: -.05em; line-height: .78; text-align: center; color: rgba(242, 240, 222, .07); white-space: nowrap; user-select: none; margin: 10px 0 -.1em; transform: translateY(18%); }

/* no-JS fallbacks: keep content visible and nav reachable */
.noscript-nav { background: var(--navy); color: var(--ecru); padding: 90px var(--gutter) 20px; font-size: .95rem; }
.noscript-nav a { margin-right: 14px; text-decoration: underline; }
