/* ==========================================================================
   AICON International — The Endless Loop
   Design tokens and full site styles. Light theme is canonical; a night
   theme follows the same tokens via prefers-color-scheme.
   ========================================================================== */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-condensed-700.woff2') format('woff2'); }

:root {
  /* brand constants (identical in both themes) */
  --azure-brand: #036CB6;
  --royal: #004699;
  --navy: #003970;
  --night: #001845;
  --cyan: #3AAFE4;
  --green: #078F47;
  --purple: #9A5EB2;
  --forest: #002C27;
  --petrol: #00212D;
  --lara-glow: #61C4EA;

  /* theme tokens */
  --bg: #EFF3F7;
  --surface: #FFFFFF;
  --surface-2: #E9EDF2;
  --ink: #333A44;
  --ink-strong: #414042;
  --muted: #66707B;
  --faint: #8A94A0;
  --head-gray: #6D6E71;
  --accent: #036CB6;
  --line: #D9E0E7;
  --watermark: #DFE6EE;
  --dot: #C4D6E7;
  --nav-bg: rgba(239, 243, 247, 0.82);
  --shadow: 0 2px 10px rgba(0, 24, 69, 0.07);
  --shadow-hover: 0 16px 36px rgba(0, 24, 69, 0.16);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-micro: 0.28s;
  --t-reveal: 0.55s;

  /* type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08111F;
    --surface: #0E1A2C;
    --surface-2: #14233A;
    --ink: #D9E2EC;
    --ink-strong: #EDF2F8;
    --muted: #9FADBE;
    --faint: #75849A;
    --head-gray: #93A1B2;
    --accent: #4FABE4;
    --line: #223349;
    --watermark: #101F35;
    --dot: #1D3252;
    --nav-bg: rgba(8, 17, 31, 0.82);
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 16px 36px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
section { scroll-margin-top: 84px; }
h1, h2, h3 { text-wrap: balance; }
p { max-width: 66ch; }

/* ---------- shared type pieces ---------- */
.kicker {
  font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
}
.sec-head {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1;
  margin: 8px 0 0; color: var(--ink-strong);
}
.sec-head .blue { color: var(--accent); }
.rule {
  width: 46px; height: 3px; background: var(--accent); border: 0;
  margin: 18px 0 20px; transform-origin: left center;
}
.lede { color: var(--muted); font-size: 1.125rem; }
.on-dark .kicker { color: var(--cyan); }
.on-dark .sec-head { color: #FFFFFF; }
.on-dark .sec-head .blue { color: var(--cyan); }
.on-dark .rule { background: var(--cyan); }
.on-dark .lede, .on-dark p { color: rgba(255, 255, 255, 0.78); }
.hl { color: var(--accent); font-weight: 600; }
.on-dark .hl { color: var(--cyan); }

/* ---------- reveal engine ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.in .reveal, .reveal.in {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-rule { transform: scaleX(0); }
.in .reveal-rule, .reveal-rule.in {
  transform: scaleX(1);
  transition: transform 0.5s var(--ease);
  transition-delay: var(--d, 0.35s);
}

/* ==========================================================================
   01 · Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-micro) ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; gap: 30px;
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  height: 76px; transition: height var(--t-micro) ease;
}
.nav.scrolled .nav-inner { height: 60px; }
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 40px; width: auto; transition: height var(--t-micro) ease; }
.nav.scrolled .nav-logo img { height: 33px; }
.nav-logo .logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav-logo .logo-light { display: none; }
  :root:not([data-theme="light"]) .nav-logo .logo-dark { display: block; }
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-strong); text-decoration: none; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--t-micro) var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9375rem;
  background: var(--azure-brand); color: #fff; text-decoration: none;
  border: 0; border-radius: 8px; padding: 10px 24px; cursor: pointer;
  transition: filter var(--t-micro) ease, transform var(--t-micro) var(--ease);
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink-strong); margin: 5px 0; transition: transform var(--t-micro) ease, opacity var(--t-micro) ease; }
@media (max-width: 900px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line); padding: 12px 28px 20px;
    box-shadow: 0 18px 32px rgba(0, 24, 69, 0.12);
  }
  .nav.open .nav-links a { padding: 10px 0; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   02 · Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 150px 0 90px;
  min-height: 92vh;
  display: flex; align-items: center;
}
.hero > .wrap { width: 100%; }
.hero-text { max-width: 560px; }

/* full-height curved photo panel */
.hero-media {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(47vw, 780px);
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0, 70, 153, 0.14), rgba(0, 24, 69, 0.18)), url('../assets/img/hero-office.jpg');
  background-size: cover; background-position: 62% center;
  clip-path: url(#heroCurve);
}
.hero-keyline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-keyline path {
  fill: none; stroke: var(--azure-brand); stroke-width: 4;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
}
.loaded .hero-keyline path { animation: draw-line 1.5s var(--ease) 0.45s forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.hero-wm {
  position: absolute; right: -14%; bottom: 6%; width: 82%; pointer-events: none;
}
.hero-wm path {
  fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 7;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
}
.loaded .hero-wm path { animation: draw-line 1.9s var(--ease) 0.7s forwards; }
.hero-media { opacity: 0; transform: translateX(46px); }
.loaded .hero-media { animation: media-in 0.9s var(--ease) 0.1s forwards; }
@keyframes media-in { to { opacity: 1; transform: none; } }

.hero-statcard {
  position: absolute; left: -30px; bottom: 52px;
  display: flex; align-items: stretch;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 6px;
  box-shadow: 0 22px 48px rgba(0, 24, 69, 0.22);
}
.hstat { padding: 2px 24px; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: 0; }
.hstat b {
  font-family: var(--font-display); font-weight: 700; font-size: 1.875rem;
  color: var(--accent); display: block; line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.hstat small { font-size: 0.75rem; color: var(--muted); line-height: 1.3; display: block; max-width: 9em; }

@media (max-width: 980px) {
  .hero { min-height: 0; display: flex; flex-direction: column; padding-top: 120px; }
  .hero > .wrap { order: 1; }
  .hero-media {
    order: 2;
    position: relative; width: 100%; height: 340px;
    margin: 44px 0 30px; opacity: 1; transform: none;
  }
  .loaded .hero-media { animation: none; }
  .hero-photo { clip-path: none; }
  .hero-keyline { display: none; }
  .hero-statcard { left: 20px; bottom: -26px; padding: 12px 2px; }
  .hstat { padding: 2px 16px; }
  .hstat b { font-size: 1.5rem; }
}
@media (max-width: 560px) {
  .hero-statcard { left: 10px; right: 10px; justify-content: center; }
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(3.2rem, 7.2vw, 5.6rem); line-height: 0.95; letter-spacing: 0.005em;
  margin: 14px 0 0; color: var(--head-gray);
}
.hero h1 .blue { color: var(--accent); }
.hero-sub {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted);
  margin: 14px 0 0;
}
.hero-lede { margin-top: 18px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn-ghost {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.9375rem;
  color: var(--accent); text-decoration: none;
  border: 2px solid var(--accent); border-radius: 8px; padding: 8px 22px;
  transition: background var(--t-micro) ease, color var(--t-micro) ease;
}
.btn-ghost:hover { background: var(--azure-brand); border-color: var(--azure-brand); color: #fff; }

/* hero load sequence for text side */
.hero .seq { opacity: 0; transform: translateY(16px); }
.loaded .hero .seq { animation: seq-in 0.6s var(--ease) forwards; }
.loaded .hero .seq-1 { animation-delay: 1.1s; }
.loaded .hero .seq-2 { animation-delay: 1.25s; }
.loaded .hero .seq-3 { animation-delay: 1.4s; }
.loaded .hero .seq-4 { animation-delay: 1.55s; }
.loaded .hero .seq-5 { animation-delay: 1.7s; }
@keyframes seq-in { to { opacity: 1; transform: none; } }
.hero .rule { transform: scaleX(0); }
.loaded .hero .rule { animation: rule-in 0.45s var(--ease) 1.5s forwards; }
@keyframes rule-in { to { transform: scaleX(1); } }

/* division chips */
.chips { display: flex; flex-wrap: wrap; margin-top: 34px; }
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 20px 6px 0; margin: 6px 20px 0 0;
  border-right: 1px solid var(--line);
}
.chip:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.chip svg { width: 26px; height: 26px; stroke: var(--accent); flex: none; }
.chip b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.9375rem; color: var(--ink-strong); display: block; line-height: 1.25;
}
.chip small { display: block; color: var(--faint); letter-spacing: 0.12em; font-size: 0.71875rem; text-transform: uppercase; }
.loaded .hero .chip { opacity: 0; animation: seq-in 0.5s var(--ease) forwards; }
.loaded .hero .chip:nth-child(1) { animation-delay: 1.9s; }
.loaded .hero .chip:nth-child(2) { animation-delay: 1.98s; }
.loaded .hero .chip:nth-child(3) { animation-delay: 2.06s; }
.loaded .hero .chip:nth-child(4) { animation-delay: 2.14s; }
.loaded .hero .chip:nth-child(5) { animation-delay: 2.22s; }

/* ==========================================================================
   03 · Infinity story (night)
   ========================================================================== */
.story {
  position: relative; overflow: hidden;
  background: var(--night); color: #fff;
  padding: 96px 0 84px;
}
.story-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0, 24, 69, 0.72), rgba(0, 24, 69, 0.94)), url('../assets/img/night-city.jpg');
  background-size: cover; background-position: center bottom;
}
.story .wrap { position: relative; }
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; color: #fff;
}
.story blockquote .blue { color: var(--cyan); }
.story-loop { position: relative; }
.story-loop svg { width: 100%; height: auto; display: block; }
.story-loop .loop-line { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 3; }
.node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); }
.node::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--cyan); opacity: 0;
  animation: radar 3.2s ease-out infinite; animation-delay: var(--pd, 0s);
}
@keyframes radar {
  0% { transform: scale(0.4); opacity: 0.9; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { opacity: 0; }
}
.endless {
  display: flex; flex-wrap: wrap; margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 34px;
}
.endless .chip { border-right-color: rgba(255, 255, 255, 0.16); }
.endless .chip svg { stroke: var(--cyan); }
.endless .chip b { color: #fff; }
.endless .chip small { color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   04 · Balance & values
   ========================================================================== */
.values { position: relative; overflow: hidden; padding: 96px 0 90px; }
.values-watermark {
  position: absolute; left: -140px; top: 40px; width: 480px; opacity: 0.85; pointer-events: none;
}
.values-watermark path { fill: none; stroke: var(--watermark); stroke-width: 16; }
.values .wrap { position: relative; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 980px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.vcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px; box-shadow: var(--shadow);
  transition: transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.vcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.vcard .ic {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.vcard .ic svg { width: 26px; height: 26px; stroke: currentColor; }
.vcard h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1.1875rem; margin: 0 0 6px; color: var(--accent);
}
.vcard p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* ==========================================================================
   05 · Protect · Perform · Thrive (centerpiece)
   ========================================================================== */
.pillars {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #12478F, #0E2242);
  padding: 96px 0 90px;
}
.pillars::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 85% 10%, #000 0%, transparent 55%);
  mask-image: radial-gradient(circle at 85% 10%, #000 0%, transparent 55%);
}
.pillars .wrap { position: relative; }
.pillars-head { text-align: center; }
.pillars-head p { margin-left: auto; margin-right: auto; }
.pillars-head .rule { margin-left: auto; margin-right: auto; }
.ribbon-band { max-width: 760px; margin: 54px auto 0; }
.ribbon {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #036CB6, #078F47, #9A5EB2, #036CB6);
  background-size: 300% 100%;
  animation: flow 8s linear infinite;
}
@keyframes flow { to { background-position: -300% 0; } }
.pillar-nodes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: -46px; }
@media (max-width: 760px) { .pillar-nodes { grid-template-columns: 1fr; gap: 40px; margin-top: -30px; } }
.pnode { text-align: center; }
.pnode .ring {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto;
  border: 3px solid; background: rgba(4, 16, 42, 0.75);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.pnode .ring svg { width: 38px; height: 38px; }
.pnode:hover .ring { transform: translateY(-5px); }
.pnode.protect .ring { border-color: #2E93DE; box-shadow: 0 0 26px rgba(46, 147, 222, 0.35); }
.pnode.protect:hover .ring { box-shadow: 0 0 40px rgba(46, 147, 222, 0.65); }
.pnode.protect .ring svg { stroke: #6FBFF5; }
.pnode.perform .ring { border-color: #17A45B; box-shadow: 0 0 26px rgba(23, 164, 91, 0.35); }
.pnode.perform:hover .ring { box-shadow: 0 0 40px rgba(23, 164, 91, 0.65); }
.pnode.perform .ring svg { stroke: #5ED496; }
.pnode.thrive .ring { border-color: #A96EC4; box-shadow: 0 0 26px rgba(169, 110, 196, 0.35); }
.pnode.thrive:hover .ring { box-shadow: 0 0 40px rgba(169, 110, 196, 0.65); }
.pnode.thrive .ring svg { stroke: #CBA0DE; }
.pnode h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.625rem; letter-spacing: 0.06em; margin: 18px 0 2px; color: #fff;
}
.pnode .ptag {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.84375rem; display: block; margin-bottom: 10px;
}
.pnode.protect .ptag { color: #6FBFF5; }
.pnode.perform .ptag { color: #5ED496; }
.pnode.thrive .ptag { color: #CBA0DE; }
.pnode p { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.72); margin: 0 auto; max-width: 300px; }
.pnode ul {
  list-style: none; margin: 14px auto 0; padding: 0; max-width: 300px;
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.85);
}
.pnode li { padding: 3px 0; }
.pnode li::before { content: "· "; }
.pnode.protect li::before { color: #6FBFF5; }
.pnode.perform li::before { color: #5ED496; }
.pnode.thrive li::before { color: #CBA0DE; }

/* ==========================================================================
   06 · Solutions cards
   ========================================================================== */
.solutions { padding: 96px 0 90px; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 900px) { .sol-grid { grid-template-columns: 1fr; } }
.scard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.scard:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.scard .ic {
  width: 56px; height: 56px; border-radius: 14px; color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.scard .ic svg { width: 28px; height: 28px; stroke: #fff; }
.scard.si .ic { background: var(--azure-brand); }
.scard.ws .ic { background: var(--green); }
.scard.hb .ic { background: var(--purple); }
.scard h3 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 1.375rem; margin: 0 0 4px; color: var(--ink-strong);
}
.scard .srule { width: 28px; height: 2px; margin: 10px 0 14px; transition: width 0.35s var(--ease); }
.scard.si .srule { background: var(--azure-brand); }
.scard.ws .srule { background: var(--green); }
.scard.hb .srule { background: var(--purple); }
.scard:hover .srule { width: 84px; }
.scard ul { list-style: none; margin: 0; padding: 0; font-size: 0.9375rem; color: var(--muted); }
.scard li { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; }
.scard li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; transform: translateY(-1px); }
.scard.si li::before { background: var(--azure-brand); }
.scard.ws li::before { background: var(--green); }
.scard.hb li::before { background: var(--purple); }

/* ==========================================================================
   07 · Framery (forest scene)
   ========================================================================== */
.framery { background: var(--forest); color: #fff; padding: 96px 0 90px; position: relative; overflow: hidden; }
.framery .kicker { color: #8FD6A9; }
.framery .sec-head { color: #fff; }
.framery .sec-head .blue { color: #8FD6A9; }
.framery .rule { background: #8FD6A9; }
.framery p { color: rgba(255, 255, 255, 0.78); }
.brand-lockup {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.brand-lockup img { height: 30px; width: auto; }
.brand-lockup .sep { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.3); }
.brand-lockup .bname {
  font-family: var(--font-display); font-weight: 600; font-size: 1.375rem;
  letter-spacing: 0.02em; color: #fff; background: #123B31; border-radius: 8px; padding: 2px 14px;
}
.framery-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .framery-grid { grid-template-columns: 1fr; } }
.framery-media { position: relative; }
.framery-media .photo {
  border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.framery-media .models {
  position: absolute; right: -14px; bottom: -34px; width: 46%;
  border-radius: 14px; overflow: hidden; border: 4px solid var(--forest);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
@media (max-width: 900px) { .framery-media .models { bottom: -20px; } .framery-media { margin-bottom: 44px; } }
.framery .chips { margin-top: 30px; }
.framery .chip { border-right-color: rgba(255, 255, 255, 0.18); }
.framery .chip svg { stroke: #8FD6A9; }
.framery .chip b { color: #fff; }
.framery .chip small { color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   08 · LARA (petrol scene)
   ========================================================================== */
.lara {
  background: radial-gradient(circle at 22% 45%, rgba(97, 196, 234, 0.2), transparent 55%), var(--petrol);
  color: #fff; padding: 96px 0 90px; position: relative; overflow: hidden;
}
.lara .kicker, .lara .sec-head .blue { color: var(--lara-glow); }
.lara .sec-head { color: #fff; }
.lara .rule { background: var(--lara-glow); }
.lara p { color: rgba(255, 255, 255, 0.78); }
.lara-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .lara-grid { grid-template-columns: 1fr; } }
.lara-media { position: relative; }
.lara-media::before {
  content: ""; position: absolute; inset: 8% -6%;
  background: radial-gradient(closest-side, rgba(97, 196, 234, 0.35), transparent 70%);
  animation: breathe 5.5s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
.lara-media img { position: relative; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.lara-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; margin-top: 24px; }
@media (max-width: 560px) { .lara-feats { grid-template-columns: repeat(2, 1fr); } }
.lfeat { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.lfeat svg { width: 22px; height: 22px; stroke: var(--lara-glow); flex: none; }
.lfeat span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.85); line-height: 1.35; }
.store-badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.store-badges span {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.84375rem; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; padding: 7px 16px;
}

/* ==========================================================================
   09 · Products explorer
   ========================================================================== */
.products { padding: 96px 0 90px; }
.wordmark {
  font-weight: 600; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1;
  color: var(--head-gray); margin: 0;
}
.wordmark .blue { color: var(--accent); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; border-bottom: 2px solid var(--line); }
.tab {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.07em; font-size: 1.0625rem; color: var(--muted);
  background: none; border: 0; border-bottom: 3px solid transparent;
  padding: 10px 18px 12px; margin-bottom: -2px; cursor: pointer;
  transition: color var(--t-micro) ease, border-color var(--t-micro) ease;
}
.tab:hover { color: var(--ink-strong); }
.tab[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { margin-top: 36px; }
.tab-panel[hidden] { display: none; }
.tab-panel.showing { animation: panel-in 0.45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 20px; }
.pcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.pcard-img { height: 140px; border-radius: 13px 13px 0 0; overflow: hidden; position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-badge {
  width: 52px; height: 52px; border-radius: 50%; background: var(--azure-brand);
  display: flex; align-items: center; justify-content: center;
  margin: -26px auto 0; position: relative; border: 3px solid var(--surface);
  transition: transform var(--t-micro) var(--ease);
}
.pcard:hover .pcard-badge { transform: translateY(-4px); }
.pcard-badge svg { width: 24px; height: 24px; stroke: #fff; }
.pcard-body { padding: 10px 18px 22px; text-align: center; }
.pcard-body h4 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1.125rem; margin: 4px 0 0; color: var(--ink-strong); line-height: 1.2;
}
.prule { width: 28px; height: 2px; background: var(--accent); margin: 10px auto; transition: width 0.35s var(--ease); }
.pcard:hover .prule { width: 90px; }
.pcard-body p { font-size: 0.84375rem; color: var(--muted); margin: 0; }

.benefit-bar {
  background: var(--navy); border-radius: 14px; margin-top: 26px;
  display: flex; flex-wrap: wrap; padding: 20px 10px;
}
.bitem {
  flex: 1; min-width: 170px; display: flex; gap: 12px; align-items: center;
  padding: 8px 20px; border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.bitem:last-child { border-right: 0; }
@media (max-width: 760px) { .bitem { border-right: 0; min-width: 46%; } }
.bitem svg { width: 26px; height: 26px; stroke: #fff; opacity: 0.9; flex: none; }
.bitem b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.875rem; color: #fff; display: block; line-height: 1.3;
}
.bitem small { display: block; font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); line-height: 1.35; }

/* ==========================================================================
   10 · Services
   ========================================================================== */
.services { padding: 96px 0 90px; }
.services-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.services-media { position: relative; }
.services-media img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
}
.services-overlay {
  position: absolute; left: -18px; bottom: 26px; right: 22%;
  background: var(--navy); color: #fff; border-radius: 12px;
  border-left: 4px solid var(--cyan);
  padding: 18px 22px;
  box-shadow: 0 18px 44px rgba(0, 24, 69, 0.35);
}
.services-overlay b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1.1875rem; display: block; line-height: 1.3;
}
.services-overlay b .cy { color: var(--cyan); }
.svc-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
@media (max-width: 560px) { .svc-items { grid-template-columns: 1fr; } }
.svc {
  display: flex; gap: 14px; align-items: flex-start;
}
.svc .ic {
  width: 46px; height: 46px; border-radius: 50%; background: var(--azure-brand); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.svc .ic svg { width: 22px; height: 22px; stroke: #fff; }
.svc b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 1rem; color: var(--ink-strong); display: block;
}
.svc small { font-size: 0.84375rem; color: var(--muted); line-height: 1.5; display: block; }
.commit {
  display: flex; gap: 16px; align-items: center;
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: 16px 22px; margin-top: 30px;
}
.commit svg { width: 28px; height: 28px; stroke: #fff; flex: none; }
.commit .sep { width: 1px; height: 34px; background: rgba(255, 255, 255, 0.25); flex: none; }
.commit p { margin: 0; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); }
.commit p b { color: #fff; }

/* ==========================================================================
   11 · Industries
   ========================================================================== */
.industries { padding: 96px 0 90px; }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ind-grid { grid-template-columns: 1fr; } }
.itile {
  position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 4; cursor: default;
}
.itile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.itile::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(0, 70, 153, 0.55), rgba(0, 24, 69, 0.78));
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
}
.itile:hover img, .itile:focus-within img { transform: scale(1.06); }
.itile:hover::before, .itile:focus-within::before { opacity: 0.65; }
.itile-name {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1.125rem; color: #fff; line-height: 1.2;
  transition: opacity 0.3s ease;
}
.itile-list {
  position: absolute; inset: 0; z-index: 3; padding: 18px 16px;
  background: rgba(0, 24, 69, 0.88);
  transform: translateY(101%); transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.itile:hover .itile-list, .itile:focus-within .itile-list { transform: translateY(0); }
.itile-list b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1rem; color: var(--cyan); display: block; margin-bottom: 8px;
}
.itile-list ul { list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.88); }
.itile-list li { padding: 2px 0 2px 14px; position: relative; line-height: 1.4; }
.itile-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

/* ==========================================================================
   12 · Partners
   ========================================================================== */
.partners { padding: 96px 0 90px; }
.group-label {
  display: flex; align-items: center; gap: 18px; margin: 40px 0 20px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 1rem; color: var(--muted); text-align: center;
}
.group-label::before, .group-label::after { content: ""; flex: 1; height: 1px; background: var(--accent); opacity: 0.5; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.ltile {
  background: var(--surface-2); border-radius: 10px; height: 68px;
  display: flex; align-items: center; justify-content: center; padding: 0 12px;
  font-weight: 600; font-size: 1rem; color: var(--head-gray); letter-spacing: 0.02em;
  filter: grayscale(1); opacity: 0.85; text-align: center;
  transition: filter var(--t-micro) ease, opacity var(--t-micro) ease, color var(--t-micro) ease, transform var(--t-micro) var(--ease);
}
.ltile:hover { filter: none; opacity: 1; color: var(--accent); transform: translateY(-3px); }

/* ==========================================================================
   13 · Presence map
   ========================================================================== */
.presence { padding: 96px 0 90px; position: relative; overflow: hidden; }
.presence-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
@media (max-width: 940px) { .presence-grid { grid-template-columns: 1fr; } }
.map-holder { position: relative; }
.map-svg { width: 100%; height: auto; display: block; }
.pin {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  display: flex; align-items: center; gap: 7px; cursor: default;
}
.pin i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--azure-brand); flex: none; position: relative;
}
.pin i::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid var(--azure-brand); opacity: 0;
  animation: radar 3.4s ease-out infinite; animation-delay: var(--pd, 0s);
}
.pin span {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.78125rem; color: #fff;
  background: var(--navy); border-radius: 999px; padding: 3px 12px; white-space: nowrap;
}
.pin.office i { border-color: var(--cyan); }
.pin.office span { background: var(--azure-brand); }
.offices { display: grid; gap: 14px; margin-top: 30px; }
.ocard {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; box-shadow: var(--shadow);
  transition: transform var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease), border-color var(--t-micro) ease;
}
.ocard.lit { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.ocard .ic {
  width: 46px; height: 46px; border-radius: 50%; background: var(--azure-brand); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.ocard .ic svg { width: 22px; height: 22px; stroke: #fff; }
.ocard b {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1.0625rem; color: var(--ink-strong); display: block;
}
.ocard p { margin: 2px 0 0; font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.ocard a { text-decoration: none; font-weight: 600; }

/* ==========================================================================
   14 · Statement
   ========================================================================== */
.statement { position: relative; overflow: hidden; background: var(--royal); color: #fff; }
.statement-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 480px; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } }
.statement-copy {
  padding: 90px 48px 90px max(28px, calc((100vw - 1180px) / 2 + 28px));
  display: flex; flex-direction: column; justify-content: center; position: relative;
}
.statement-copy .wm { position: absolute; left: -60px; bottom: -40px; width: 300px; opacity: 0.14; }
.statement-copy .wm path { fill: none; stroke: #fff; stroke-width: 14; }
.statement blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; color: rgba(255, 255, 255, 0.94);
  position: relative;
}
.statement .payoff { font-weight: 700; display: block; margin-top: 18px; color: #fff; }
.statement-media { position: relative; min-height: 320px; }
.statement-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--royal) 0%, rgba(0, 70, 153, 0) 26%);
}

/* ==========================================================================
   15 · Footer
   ========================================================================== */
.footer { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.footer::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 340px; height: 240px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%);
}
.footer-tag {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 44px 0;
}
.footer-tag p {
  margin: 0 auto; text-align: center; max-width: 56ch;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}
.footer-tag .cy { color: var(--cyan); }
.footer-cols {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px;
  padding: 52px 0 40px; position: relative;
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }
.footer-cols img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-cols p, .footer-cols li { font-size: 0.875rem; color: rgba(255, 255, 255, 0.62); }
.footer h4 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.9375rem; color: #fff; margin: 0 0 12px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 3px 0; line-height: 1.55; }
.footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer .tel { color: var(--cyan); }
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8125rem; color: rgba(255, 255, 255, 0.45); position: relative;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-rule, .hero .seq, .hero .rule, .hero .chip,
  .hero-media, .hero-keyline path, .hero-wm path {
    opacity: 1 !important; transform: none !important;
    animation: none !important; transition: none !important;
    stroke-dashoffset: 0 !important;
  }
  .ribbon { animation: none; }
  .node::after, .pin i::after { animation: none; opacity: 0; }
  .lara-media::before { animation: none; }
  .tab-panel.showing { animation: none; }
  .pcard, .pcard:hover, .vcard:hover, .scard:hover, .ltile:hover { transform: none; }
  .itile img, .itile:hover img { transform: none; transition: none; }
  .itile-list { transition: none; }
}
