@font-face {
  font-family: "Anuphan";
  src: url("fonts/anuphan-thai-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Anuphan";
  src: url("fonts/anuphan-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Brand colours sampled from the company profile (Oct 2026):
   orange #db6506, navy #070842 / #101276, cream panel #fcf2eb */
:root {
  --ink: #070842;
  --ink-soft: #4b4e78;
  --paper: #ffffff;
  --white: #ffffff;
  --cream: #fcf2eb;
  --mist: #e6e4ee;
  --brand: #db6506;
  --brand-deep: #b55104;
  --brand-soft: #f7d9c0;
  --navy: #070842;
  --navy-2: #101276;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Anuphan", "Leelawadee UI", "Thonburi", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; padding: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { border-bottom: 1px solid var(--mist); background: var(--white); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; text-decoration: none; }
.wordmark .logo { display: block; height: 52px; width: auto; }
.wordmark .wm { color: var(--ink); }
.wordmark .wm span { color: var(--brand); }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); flex-wrap: wrap; font-size: 0.95rem; }
.nav a { text-decoration: none; padding: 6px 0; font-weight: 500; }
.nav a:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 5px; }
.langs { display: inline-flex; gap: 8px; }
.nav .lang { border: 1px solid var(--ink); padding: 4px 12px; border-radius: 999px; }
.nav .lang:hover { background: var(--ink); color: var(--white); text-decoration: none; }

/* Shared */
.eyebrow { color: var(--brand); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.tagline { margin-top: 10px; color: var(--brand-deep); font-weight: 600; font-size: 1.15rem; }
.btn { display: inline-block; background: var(--brand); color: var(--white); text-decoration: none; padding: 13px 26px; border-radius: 4px; font-weight: 600; }
.btn:hover { background: var(--brand-deep); }
.note { margin-top: 14px; font-size: 0.95rem; color: var(--ink-soft); max-width: 40em; }
.num { display: block; font-size: 2.4rem; line-height: 1; font-weight: 300; color: var(--brand); margin-bottom: 12px; }
h3.sub { margin-top: 32px; font-size: 1.2rem; line-height: 1.45; font-weight: 650; }

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 80px); }
.hero h1 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 7vw, 4.8rem);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.02em;
  max-width: 14em;
  text-wrap: balance;
}
.hero-lead { margin-top: 24px; max-width: 36em; font-size: 1.15rem; color: var(--ink-soft); }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.tel { font-weight: 600; text-underline-offset: 5px; }
.hero-img { display: block; width: 100%; margin-top: clamp(36px, 6vw, 64px); border-radius: 8px 8px 0 0; aspect-ratio: 3 / 1; object-fit: cover; }
.motto { background: var(--brand); color: var(--white); font-weight: 600; font-size: 1.1rem; }
.motto .wrap { display: block; padding-top: 18px; padding-bottom: 18px; }

/* Sections */
.block { padding-top: clamp(64px, 9vw, 104px); padding-bottom: clamp(64px, 9vw, 104px); }
.block h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; max-width: 22em; }
.block h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--brand); margin-top: 14px; border-radius: 2px; }
.block-intro { margin-top: 18px; max-width: 40em; color: var(--ink-soft); }
.tint { background: var(--cream); border-top: 1px solid var(--brand-soft); border-bottom: 1px solid var(--brand-soft); }

/* Business scope cards */
.scope { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scope > li { background: var(--white); border: 1px solid var(--mist); border-top: 5px solid var(--brand); border-radius: 6px; overflow: hidden; }
.scope > li > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scope-body { padding: 24px 26px 28px; }
.scope-body h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 650; }
.scope-body p { margin-top: 10px; color: var(--ink-soft); font-size: 1rem; }
.points { list-style: none; margin-top: 14px; padding: 0; }
.points li { position: relative; padding-left: 26px; font-weight: 600; line-height: 1.55; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 7px; border-left: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(-45deg) translateY(-2px); }

.chain { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 6px; counter-reset: none; }
.chain li { background: var(--white); border: 1px solid var(--brand-soft); color: var(--ink); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.chain li:not(:last-child)::after { content: "→"; color: var(--brand); margin-left: 12px; font-weight: 700; }
.tint .chain li { background: var(--white); }

.split { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: 4fr 8fr; gap: 20px clamp(24px, 5vw, 64px); align-items: start; }
.split h3 { font-size: 1.2rem; line-height: 1.45; font-weight: 650; }
.spec { border-top: 1px solid var(--mist); }
.spec div { display: grid; grid-template-columns: 5fr 7fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mist); }
.spec dt { color: var(--ink-soft); }
.spec dd { font-weight: 600; }
.tint .spec, .tint .spec div { border-color: var(--brand-soft); }

/* Cycle chart */
.cycle { margin: clamp(36px, 6vw, 64px) 0 0; }
.cycle-scroll { overflow-x: auto; }
.cycle svg { display: block; width: 100%; min-width: 720px; height: auto; }
.cycle .axis { stroke: var(--brand-soft); stroke-width: 1; }
.cycle .atm { stroke: var(--ink-soft); stroke-width: 1; stroke-dasharray: 3 6; }
.cycle .band { fill: var(--brand); opacity: 0.12; }
.cycle .curve { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.6s ease-out 0.2s forwards; }
.cycle text { font-family: inherit; font-size: 14px; fill: var(--ink-soft); }
.cycle text.strong { fill: var(--ink); font-weight: 600; }
.cycle .tick { stroke: var(--ink-soft); stroke-width: 1; }
.cycle figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); max-width: 60em; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cycle .curve { animation: none; stroke-dashoffset: 0; }
}

/* Process steps */
.cols { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.cols li { padding: 24px 28px 0 0; }
.cols li + li { padding-left: 28px; border-left: 1px solid var(--brand-soft); }
.cols h3 { font-size: 1.2rem; line-height: 1.45; font-weight: 650; }
.cols p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; line-height: 1; font-weight: 300; color: var(--brand); margin-bottom: 18px; }

/* EOG system flow */
.flow { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 6fr 6fr; gap: 32px clamp(24px, 5vw, 64px); align-items: start; }
.flow h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.3; font-weight: 700; }
.stages { list-style: none; padding: 0; margin-top: 28px; counter-reset: stage; }
.stages li { counter-increment: stage; position: relative; padding: 0 0 22px 56px; }
.stages li::before { content: counter(stage); position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.stages li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: 0; width: 2px; background: var(--brand-soft); }
.stages h4 { font-size: 1.05rem; font-weight: 650; line-height: 1.45; }
.stages p { margin-top: 4px; color: var(--ink-soft); font-size: 0.98rem; }
.flow-fig { margin: 0; background: var(--white); border: 1px solid var(--brand-soft); border-radius: 8px; padding: 18px; }
.flow-fig img { display: block; width: 100%; }

/* Why SIS */
.why-head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px clamp(24px, 5vw, 64px); align-items: center; }
.why-head img { width: 100%; border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }
.why-grid { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-grid li { background: var(--white); border: 1px solid var(--mist); border-left: 5px solid var(--brand); border-radius: 6px; padding: 22px 26px; }
.why-grid h3 { font-size: 1.1rem; line-height: 1.45; font-weight: 650; }
.why-grid p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }

/* About (navy) */
.about { background: var(--navy); color: var(--white); }
.about .block h2::after { background: var(--brand); }
.about-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 32px clamp(32px, 6vw, 88px); align-items: start; }
.about p { margin-top: 18px; color: #d3d4ea; max-width: 34em; }
.about-img { display: block; width: 100%; border-radius: 8px; }
.facts { margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.facts dt { color: #a7a9d3; font-size: 0.95rem; }
.facts dd { font-weight: 600; }
.goals { list-style: none; padding: 0; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.goals li { position: relative; padding-left: 22px; font-weight: 500; }
.goals li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.certs-h { margin-top: clamp(44px, 6vw, 72px); font-size: 0.95rem; font-weight: 600; color: #a7a9d3; letter-spacing: 0.06em; text-transform: uppercase; }
.certs { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.certs li { border: 1px solid rgba(255, 255, 255, 0.4); border-top: 4px solid var(--brand); border-radius: 4px; padding: 18px 20px; }
.certs strong { display: block; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.01em; }
.certs span { display: block; margin-top: 4px; color: #d3d4ea; font-size: 0.95rem; line-height: 1.5; }

/* Company policy */
.pillars { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillars > li { border-radius: 6px; padding: 26px 26px 28px; background: var(--brand); color: var(--white); }
.pillars > li:nth-child(2) { background: var(--white); color: var(--ink); border: 1px solid var(--brand); }
.pillars .num { color: inherit; font-weight: 600; }
.pillars h3 { font-size: 1.15rem; line-height: 1.4; font-weight: 650; padding-bottom: 12px; border-bottom: 2px solid rgba(255, 255, 255, 0.5); }
.pillars > li:nth-child(2) h3 { border-color: var(--brand); }
.pillars ul { list-style: none; margin-top: 14px; padding: 0; font-size: 0.98rem; }
.pillars ul li { background: none; border: 0; padding: 4px 0 4px 18px; position: relative; color: inherit; }
.pillars ul li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.quality { margin-top: 28px; background: var(--navy); color: var(--white); border-radius: 6px; display: grid; grid-template-columns: 5fr 7fr; gap: 0 clamp(24px, 4vw, 48px); align-items: center; overflow: hidden; }
.quality img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.quality div { padding: 28px clamp(24px, 4vw, 48px) 32px 0; }
.quality h3 { font-size: 1.6rem; font-weight: 700; line-height: 1.3; }
.quality h3::after { content: ""; display: block; width: 44px; height: 3px; background: var(--brand); margin-top: 10px; }
.quality p { margin-top: 14px; color: #d3d4ea; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.timeline li { position: relative; padding: 22px 18px 0 0; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.timeline li:last-child::before { background: var(--ink); }
.timeline time { display: block; font-size: 1.5rem; font-weight: 650; line-height: 1.2; }
.timeline span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; }

/* Environment / biofilter */
.env-grid { margin-top: 36px; display: grid; grid-template-columns: 6fr 6fr; gap: 24px clamp(24px, 5vw, 64px); align-items: center; }
.env-grid img { width: 100%; border-radius: 8px; }
.env-grid h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.35; font-weight: 700; color: var(--brand-deep); }
.how { list-style: none; padding: 0; counter-reset: how; margin-bottom: 20px; }
.how li { counter-increment: how; position: relative; padding: 0 0 12px 40px; color: var(--ink-soft); }
.how li::before { content: counter(how); position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand-deep); font-size: 0.85rem; font-weight: 700; display: grid; place-items: center; }
.commits { list-style: none; padding: 0; margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.commits li { background: var(--cream); border: 1px solid var(--brand-soft); border-radius: 6px; padding: 20px 24px; }
.commits h4 { font-size: 1.05rem; font-weight: 650; color: var(--navy-2); }
.commits p { margin-top: 6px; color: var(--ink-soft); font-size: 0.98rem; }

/* Video + gallery */
.video { margin-top: 32px; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 8px; overflow: hidden; }
.video iframe, .video video { display: block; width: 100%; height: 100%; border: 0; }
.video-soon { width: 100%; height: 100%; background-size: cover; background-position: center; display: grid; place-items: center; position: relative; }
.video-soon::before { content: ""; position: absolute; inset: 0; background: rgba(7, 8, 66, 0.55); }
.video-soon span { position: relative; display: inline-flex; align-items: center; gap: 14px; color: var(--white); font-weight: 600; font-size: 1.15rem; background: rgba(7, 8, 66, 0.6); border: 1px solid rgba(255, 255, 255, 0.5); padding: 12px 22px 12px 16px; border-radius: 999px; }
.video-soon span::before { content: ""; width: 0; height: 0; border-left: 16px solid var(--brand); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.gallery { margin-top: clamp(44px, 6vw, 72px); }
.gallery h3 { font-size: 1.2rem; line-height: 1.45; font-weight: 650; }
.gallery ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--mist); }
.gallery figcaption { margin-top: 8px; font-size: 0.9rem; line-height: 1.5; color: var(--ink-soft); }

/* Contact */
.contact-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 32px; }
.contact-grid h3 { font-size: 1.2rem; font-weight: 650; line-height: 1.45; }
.contact-grid address { margin-top: 10px; font-style: normal; color: var(--ink-soft); font-size: 1rem; }
.contact-grid .line { margin-top: 10px; }
.contact-grid .line a { font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-grid .map { display: inline-block; margin-top: 12px; font-size: 0.95rem; font-weight: 600; color: var(--brand-deep); text-underline-offset: 5px; }

.foot { background: var(--navy); color: #a7a9d3; font-size: 0.85rem; }
.foot .wrap { padding-top: 22px; padding-bottom: 28px; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); margin-left: 6px; }
  .timeline li { padding: 0 0 26px 24px; display: grid; grid-template-columns: 4.2em 1fr; gap: 12px; align-items: baseline; }
  .timeline li::before { top: 9px; left: -7px; }
  .timeline time { font-size: 1.2rem; }
  .timeline span { margin-top: 0; }
  .flow, .why-head, .env-grid, .about-grid, .pillars { grid-template-columns: 1fr; }
  .why-head img { max-width: 520px; }
  .quality { grid-template-columns: 1fr; }
  .quality div { padding: 24px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { position: static; }
  .cols { grid-template-columns: 1fr; }
  .cols li, .cols li + li { padding: 24px 0; border-left: 0; }
  .cols li + li { border-top: 1px solid var(--brand-soft); }
  .scope, .why-grid, .commits, .split, .certs, .goals { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .facts div { grid-template-columns: 7em 1fr; }
  .gallery ul { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-img { aspect-ratio: 2 / 1; }
}

:lang(ja) .hero h1 { letter-spacing: 0; font-weight: 700; }
:lang(ja) body, html:lang(ja) body { line-height: 1.85; }

/* ── Motion, stats band, hover (progressive; see site.js) ── */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--brand); z-index: 20; pointer-events: none; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

.hero-fig { margin-top: clamp(36px, 6vw, 64px); border-radius: 8px 8px 0 0; overflow: hidden; aspect-ratio: 3 / 1; }
.hero-img { margin-top: 0; border-radius: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 62% 50%; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.motto { background: linear-gradient(110deg, var(--brand) 0%, #f08a2e 45%, var(--brand) 60%); background-size: 220% 100%; animation: sheen 7s linear infinite; }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 220% 0; } }

.stats-band { background: var(--white); border-bottom: 1px solid var(--mist); }
.stats { list-style: none; margin: 0 auto; padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 14px; text-align: center; }
.stats strong { display: block; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; font-weight: 700; color: var(--brand); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats .l { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.4; }

.scope > li, .why-grid > li, .commits > li, .pillars > li { transition: transform .35s ease, box-shadow .35s ease, opacity .7s ease; }
.scope > li:hover, .why-grid > li:hover, .commits > li:hover, .pillars > li:hover { transform: translateY(-6px); box-shadow: 0 18px 36px -18px rgba(7, 8, 66, 0.35); }
.btn { transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -12px rgba(219, 101, 6, 0.8); }
.wordmark .logo { transition: transform .4s ease; }
.wordmark:hover .logo { transform: rotate(-8deg) scale(1.08); }
.gallery figure { overflow: hidden; border-radius: 6px; }
.gallery img { transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.06); }

/* chart draws itself when scrolled into view (no JS: already drawn) */
.cycle .curve { animation: none; stroke-dashoffset: 0; }
.cycle.rv .curve { stroke-dashoffset: 2000; }
.cycle.rv.in .curve { animation: draw 2.4s ease-out .2s forwards; }

/* process chain pills light up in sequence */
.chain.in li { animation: glow 5.5s ease-in-out infinite; animation-delay: calc(var(--k, 0) * .9s); }
.chain li:nth-child(1) { --k: 0; } .chain li:nth-child(2) { --k: 1; } .chain li:nth-child(3) { --k: 2; } .chain li:nth-child(4) { --k: 3; } .chain li:nth-child(5) { --k: 4; }
@keyframes glow { 0%, 22%, 100% { background: var(--white); box-shadow: none; transform: none; } 8% { background: var(--brand-soft); box-shadow: 0 0 0 5px rgba(219, 101, 6, 0.16); transform: translateY(-2px); } }

/* dots and step numbers pop when revealed */
.timeline li.in::before, .stages li.in::before, .how li.in::before { animation: pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

@media (max-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-img, .motto, .chain.in li, .timeline li.in::before, .stages li.in::before, .how li.in::before, .cycle.rv .curve { animation: none; }
  .cycle.rv .curve { stroke-dashoffset: 0; }
}
