/* ==========================================================
   Apeiron Freight Cargo Logistics — site styles
   Colors are taken from the Apeiron logo.
   ========================================================== */

:root {
  --ink: #000623;          /* logo outline */
  --blue-deep: #031BC6;    /* logo, left loop */
  --blue: #0E71F2;         /* logo, top of loop */
  --blue-mid: #046CCB;     /* logo, lower ribbon */
  --yellow: #E3E323;       /* logo, right loop */
  --yellow-soft: #F4F6A6;
  --paper: #FFFFFF;
  --mist: #EFF4FD;
  --line: #D6E0F2;
  --text: #1B2340;
  --text-soft: #4A5474;

  --ribbon: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue) 48%, var(--yellow) 100%);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Sora", "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-lg: 28px;
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
h1 { font-size: clamp(46px, 7.6vw, 104px); line-height: 1; letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.035em; }
h3 { font-size: clamp(22px, 2.1vw, 27px); line-height: 1.2; }

:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: clamp(19px, 1.6vw, 22px); color: var(--text-soft); max-width: 60ch; }
.kicker { font-weight: 600; color: var(--blue-deep); margin: 0 0 20px; font-size: 17px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: 56px; }
.section-head p { margin: 0; }
.ribbon { height: 6px; width: 120px; border-radius: 3px; background: var(--ribbon); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 17px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  will-change: transform;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #F0F03A; color: var(--ink); box-shadow: 0 12px 28px -12px rgba(3, 27, 198, .55); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-blue { background: var(--blue-deep); color: var(--paper); }
.btn-blue:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(0, 6, 35, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img { height: 42px; width: auto; }
.nav-list { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  position: relative; text-decoration: none; color: var(--text); font-weight: 600; font-size: 16px; padding: 8px 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--ribbon); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.header-cta { min-height: 46px; padding: 0 22px; font-size: 15px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--ink);
  background: transparent; padding: 0; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s, background-color .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 36px; }
.hero-contact { margin-top: 28px; font-size: 16px; color: var(--text-soft); }
.hero-contact a { font-weight: 700; }

.loop-stage { position: relative; perspective: 900px; }
.loop-figure { margin: 0; transition: transform .6s var(--ease); transform-style: preserve-3d; }
.loop-figure svg { width: 100%; height: auto; overflow: visible; }
.loop-ribbon { fill: none; stroke-width: 46; stroke-linecap: round; stroke-linejoin: round; }
.loop-draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.2s var(--ease) .25s forwards; }
.loop-gleam {
  fill: none; stroke: #fff; stroke-width: 10; stroke-linecap: round; opacity: .75;
  stroke-dasharray: 40 960; stroke-dashoffset: 0; animation: gleam 5.5s linear 2.4s infinite; visibility: hidden;
}
.loop-glyph { opacity: 0; animation: pop .7s var(--ease) forwards; }
.loop-glyph.plane { animation-delay: 1.4s; }
.loop-glyph.ship { animation-delay: 1.7s; }
.loop-caption { margin: 18px auto 0; max-width: 44ch; text-align: center; font-size: 15px; color: var(--text-soft); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes gleam { 0% { stroke-dashoffset: 0; visibility: visible; } 100% { stroke-dashoffset: -1000; visibility: visible; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Hero load sequence */
.load-seq > * { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; }
.load-seq > *:nth-child(1) { animation-delay: .05s; }
.load-seq > *:nth-child(2) { animation-delay: .18s; }
.load-seq > *:nth-child(3) { animation-delay: .31s; }
.load-seq > *:nth-child(4) { animation-delay: .44s; }
.load-seq > *:nth-child(5) { animation-delay: .57s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Journey (true sequence) ---------- */
.journey { background: var(--mist); }
.journey-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.journey-track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 4px; border-radius: 2px; background: var(--line);
}
.journey-track::after {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 4px; border-radius: 2px; background: var(--ribbon);
  transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease);
}
.journey-track.is-in::after { transform: scaleX(1); }
.journey-step { position: relative; counter-increment: step; }
.journey-step::before {
  content: counter(step); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--blue-deep); color: var(--blue-deep);
  font-weight: 800; font-size: 20px; margin-bottom: 22px; position: relative; z-index: 1;
}
.journey-step h3 { margin-bottom: 10px; }
.journey-step p { color: var(--text-soft); font-size: 17px; margin: 0; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.service-link {
  position: relative; display: grid; gap: 14px; align-content: start; padding: 36px 32px 40px 0;
  text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line);
}
.service-grid > li { list-style: none; }
.service-grid { padding: 0; margin: 0; }
.service-grid > li:not(:nth-child(3n + 1)) .service-link { padding-left: 32px; border-left: 1px solid var(--line); }
.service-link .icon { width: 44px; height: 44px; color: var(--blue-deep); transition: transform .4s var(--ease); }
.service-link h3 { transition: color .2s; }
.service-link p { margin: 0; color: var(--text-soft); font-size: 17px; }
.service-link .more { font-weight: 700; color: var(--blue-deep); font-size: 16px; }
.service-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--ribbon);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-grid > li:not(:nth-child(3n + 1)) .service-link::after { left: 32px; }
.service-link:hover::after, .service-link:focus-visible::after { transform: scaleX(1); }
.service-link:hover .icon { transform: translateY(-4px) rotate(-4deg); }
.service-link:hover h3 { color: var(--blue-deep); }

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.reason h3 { margin-bottom: 12px; }
.reason p { color: var(--text-soft); margin: 0; }
.reason { padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Principle band ---------- */
.principle { background: var(--blue-deep); color: #DDE5FF; position: relative; overflow: hidden; }
.principle h2 {
  color: var(--paper); font-size: clamp(48px, 9vw, 128px); line-height: .92; letter-spacing: -0.035em; max-width: 11ch;
}
.principle-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.principle p { font-size: 20px; margin: 0 0 28px; max-width: 42ch; }
.principle .loop-mini { position: absolute; right: -80px; top: -60px; width: 520px; opacity: .14; pointer-events: none; }
.principle .loop-mini path { fill: none; stroke: var(--yellow); stroke-width: 40; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--yellow); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { max-width: 16ch; }
.cta-inner p { margin: 12px 0 0; color: var(--ink); max-width: 48ch; }

/* ---------- Inner page header ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(42px, 6.6vw, 88px); max-width: 16ch; margin: 22px 0 24px; }
.page-head .lede { margin: 0; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split h2 { position: sticky; top: 120px; }
.prose p { font-size: 19px; }
.name-card { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; grid-template-columns: 220px minmax(0, 1fr); align-items: center; }
.name-card img { width: 220px; }
.name-card p { margin: 0; font-size: 19px; }
.name-card strong { color: var(--ink); }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mv article { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.mv .mission { background: var(--ink); color: #D7DDF2; }
.mv .mission h2 { color: var(--paper); }
.mv .vision { background: var(--yellow); color: var(--ink); }
.mv h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 20px; }
.mv ul { margin: 0; padding-left: 1.1em; display: grid; gap: 12px; }
.mv .vision p { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.25; margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 0; }
.values li { border-top: 4px solid var(--blue-deep); padding-top: 22px; }
.values li:nth-child(2) { border-color: var(--blue); }
.values li:nth-child(3) { border-color: var(--yellow); }
.values h3 { margin-bottom: 10px; }
.values p { margin: 0; color: var(--text-soft); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat strong { display: block; font-size: clamp(44px, 6vw, 80px); font-weight: 800; color: var(--blue-deep); line-height: 1; }

/* ---------- Services page ---------- */
.svc-detail { display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(20px, 4vw, 56px); padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-detail:first-of-type { border-top: 2px solid var(--ink); }
.svc-detail .icon { width: 64px; height: 64px; color: var(--blue-deep); }
.svc-detail h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.svc-detail p { color: var(--text-soft); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 12px; border-radius: 6px;
  background: var(--ribbon);
}
.note-box { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.note-box h3 { margin-bottom: 10px; }
.note-box p { margin: 0; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-nav { position: sticky; top: 110px; display: grid; gap: 6px; }
.faq-nav a { text-decoration: none; font-weight: 600; color: var(--text-soft); padding: 8px 14px; border-radius: 10px; }
.faq-nav a:hover { background: var(--mist); color: var(--ink); }
.faq-group { scroll-margin-top: 100px; margin-bottom: 64px; }
.faq-group h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 2px solid var(--ink); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-weight: 700; font-size: 20px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg); background-color: var(--yellow);
}
.faq-body { padding: 0 0 26px; color: var(--text-soft); max-width: 68ch; }
.faq-item[open] .faq-body { animation: rise .45s var(--ease); }
.faq-body ul, .faq-body ol { padding-left: 1.2em; display: grid; gap: 10px; margin: 0 0 1em; }
.faq-body strong { color: var(--ink); }

/* ---------- Tools ---------- */
.tool-group { margin-bottom: 64px; }
.tool-group h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 24px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.tool-card {
  display: grid; gap: 10px; padding: 28px; border-radius: var(--radius); border: 1.5px solid var(--line);
  text-decoration: none; color: var(--text); height: 100%;
  transition: border-color .25s, transform .35s var(--ease), box-shadow .35s;
}
.tool-card:hover { border-color: var(--blue-deep); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(3, 27, 198, .5); color: var(--text); }
.tool-card strong { font-size: 21px; color: var(--ink); }
.tool-card span { color: var(--text-soft); font-size: 16px; }
.tool-card .ext { font-weight: 700; color: var(--blue-deep); font-size: 15px; }
.disclaimer { font-size: 15px; color: var(--text-soft); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 28px; }
.contact-list .label { display: block; font-weight: 600; color: var(--text-soft); font-size: 15px; margin-bottom: 4px; }
.contact-list a, .contact-list address { font-style: normal; font-size: 21px; font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.4; }
.contact-list a:hover { color: var(--blue-deep); text-decoration: underline; }
.map-frame { border: 0; width: 100%; height: 320px; border-radius: var(--radius-lg); background: var(--mist); }
.quote-form { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); display: grid; gap: 20px; }
.quote-form h2 { font-size: clamp(28px, 3vw, 38px); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--paper);
  border: 1.5px solid #B9C6E0; border-radius: 12px; padding: 13px 16px; min-height: 52px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgba(3, 27, 198, .18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B42318; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--text-soft); margin: 0; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form-status.is-ok { color: #0B6B3A; }
.form-status.is-error { color: #B42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; }
.footer-grid img { width: 240px; margin-bottom: 20px; }
.footer-grid h2 { font-size: 17px; letter-spacing: 0; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--blue-deep); text-decoration: underline; }
.footer-grid address { font-style: normal; }
.footer-tag { font-weight: 700; color: var(--ink); font-size: 20px; margin: 0; }
.footer-bar { background: var(--ink); color: #AEB6D3; font-size: 15px; }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
.footer-bar::before { content: ""; display: block; height: 6px; background: var(--ribbon); }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Custom cursor ---------- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor summary, .has-cursor label, .has-cursor select { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%;
  opacity: 0; transition: opacity .25s;
}
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--blue-deep); }
.cursor-ring {
  width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 2px solid var(--blue-deep);
  transition: opacity .25s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s;
}
.cursor-visible .cursor-dot, .cursor-visible .cursor-ring { opacity: 1; }
.cursor-hover .cursor-ring {
  width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(227, 227, 35, .55); border-color: transparent;
  mix-blend-mode: multiply;
}
.cursor-hover .cursor-dot { background: var(--ink); }
.cursor-text .cursor-dot, .cursor-text .cursor-ring { opacity: 0; }
.cursor-down .cursor-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-list { gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid > li .service-link { padding-left: 0 !important; border-left: 0 !important; padding-right: 24px; }
  .service-grid > li:nth-child(even) .service-link { padding-left: 24px !important; border-left: 1px solid var(--line) !important; }
  .service-grid > li .service-link::after { left: 0 !important; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 84px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 28px; display: none;
  }
  .site-nav.is-open { display: block; animation: rise .35s var(--ease); }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { display: block; padding: 14px 0; font-size: 20px; }
  .header-cta { display: none; }
  .hero-grid, .principle-grid, .split, .contact-grid, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .loop-stage { max-width: 560px; margin: 0 auto; }
  .journey-track { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .journey-track::before, .journey-track::after { left: 27px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .journey-track::after { transform: scaleY(0); transform-origin: top; }
  .journey-track.is-in::after { transform: scaleY(1); }
  .journey-step { padding-left: 84px; }
  .journey-step::before { position: absolute; left: 0; top: -6px; margin: 0; }
  .reasons, .mv, .values, .note-box, .stats { grid-template-columns: minmax(0, 1fr); }
  .split h2, .faq-nav { position: static; }
  .faq-nav { display: flex; flex-wrap: wrap; }
  .svc-detail { grid-template-columns: minmax(0, 1fr); }
  .name-card { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .service-grid, .tool-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .service-grid > li .service-link { padding: 28px 0 !important; border-left: 0 !important; }
  .brand img { height: 34px; }
  .btn-row .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .loop-gleam { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Consecutive plain sections share one gap */
main > .section:not(.journey):not(.principle):not(.cta-band) + .section:not(.journey):not(.principle):not(.cta-band) { padding-top: 0; }

.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;
}
img { height: auto; }
.brand img { height: 42px; }
.service-grid > li { display: flex; }
.service-link { flex: 1; }
.principle h2 { max-width: 14ch; }
@media (max-width: 640px) { .brand img { height: 34px; } }

/* Display face for big numbers, cards and the vision statement */
.stat strong, .tool-card strong, .mv .vision p, .journey-step::before, .footer-tag { font-family: var(--font-display); }
.principle h2 { letter-spacing: -0.05em; }
.btn { letter-spacing: -0.01em; }

/* ==========================================================
   10th anniversary (2016–2026). Remove this block, the .anniv-bar,
   the hero .seal and the ANNIVERSARY sections when it's over.
   ========================================================== */
.anniv-bar { background: var(--yellow); color: var(--ink); font-size: 15px; text-align: center; }
.anniv-bar .wrap { padding-top: 10px; padding-bottom: 10px; }
.anniv-bar a { color: var(--ink); font-weight: 700; margin-left: 6px; }
.anniv-bar strong { margin-right: 4px; }

.seal {
  position: absolute; top: -30%; right: -2%; width: clamp(110px, 12vw, 150px); z-index: 2;
  filter: drop-shadow(0 14px 24px rgba(3, 27, 198, .25));
  opacity: 0; animation: seal-in .9s var(--ease) 1.9s forwards;
}
.seal text { font-family: var(--font-display); }
.seal-spin { transform-origin: 100px 100px; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes seal-in { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: none; } }

.anniv { background: var(--ink); color: #C9D2EE; overflow: hidden; }
.anniv h2 { color: var(--paper); margin-bottom: 22px; max-width: 16ch; }
.anniv .kicker { color: var(--yellow); }
.anniv p { font-size: 19px; max-width: 52ch; }
.anniv .btn { margin-top: 12px; }
.anniv-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ten { display: flex; align-items: center; justify-content: center; gap: 2%; }
.ten-one {
  font-family: var(--font-display); font-weight: 800; color: var(--paper);
  font-size: clamp(180px, 24vw, 330px); line-height: .8; letter-spacing: -0.06em;
}
.ten-zero { width: clamp(130px, 17vw, 230px); height: auto; }
.ten-zero ellipse { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease) .2s; }
.ten.is-in .ten-zero ellipse, html:not(.js) .ten-zero ellipse { stroke-dashoffset: 0; }

.milestones { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; position: relative; }
.milestones li { border-top: 4px solid var(--blue-deep); padding-top: 22px; }
.milestones li:last-child { border-color: var(--yellow); }
.milestones .year { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); color: var(--blue-deep); line-height: 1; margin-bottom: 14px; }
.milestones h3 { margin-bottom: 8px; }
.milestones p { margin: 0; color: var(--text-soft); }
.stat { font-weight: 600; color: var(--text-soft); }

@media (max-width: 900px) {
  .anniv-grid, .milestones { grid-template-columns: minmax(0, 1fr); }
  .seal { top: -34%; right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .seal { opacity: 1; }
  .ten-zero ellipse { stroke-dashoffset: 0; }
}
