/* Hadcode — shared styles for all pages */

:root {
  color-scheme: dark;
  --bg: #08080A;
  --surface: #0E0E12;
  --surface-2: #0C0C10;
  --raised: #101014;
  --chip: #1A1A20;
  --ink: #F4F4F5;
  --muted: #A8A8B0;
  --faint: #8C8C94;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --tint: rgba(255, 255, 255, 0.03);
  --tint-2: rgba(255, 255, 255, 0.06);
  --grid: rgba(255, 255, 255, 0.045);
  --accent: #00D68A;
  --accent-text: #00D68A;
  --accent-soft: rgba(0, 214, 138, 0.12);
  --on-accent: #08080A;
  --solid: #F4F4F5;
  --on-solid: #08080A;
  --glass: rgba(8, 8, 10, 0.78);
  --glass-2: rgba(14, 14, 18, 0.75);
  --glow: rgba(0, 214, 138, 0.07);
  --star: #FFC24B;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  --logo-filter: none;
  --particle-rgb: 244,244,245;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --font-display: 'Archivo', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F4EF;
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --raised: #FFFFFF;
  --chip: #ECEBE5;
  --ink: #0C0C10;
  --muted: #4B4B55;
  --faint: #6B6B75;
  --line: rgba(12, 12, 16, 0.1);
  --line-soft: rgba(12, 12, 16, 0.07);
  --line-strong: rgba(12, 12, 16, 0.16);
  --tint: rgba(12, 12, 16, 0.025);
  --tint-2: rgba(12, 12, 16, 0.05);
  --grid: rgba(12, 12, 16, 0.055);
  --accent: #00C27C;
  --accent-text: #00804F;
  --accent-soft: rgba(0, 194, 124, 0.12);
  --solid: #0C0C10;
  --on-solid: #F5F4EF;
  --glass: rgba(245, 244, 239, 0.82);
  --glass-2: rgba(255, 255, 255, 0.8);
  --glow: rgba(0, 194, 124, 0.1);
  --star: #E39500;
  --shadow: 0 30px 60px -34px rgba(20, 20, 30, 0.28);
  --logo-filter: invert(1);
  --particle-rgb: 24,24,30;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent-text); }
img { max-width: 100%; height: auto; }
img.logo { filter: var(--logo-filter); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; margin: 0; }
p { margin: 0; text-wrap: pretty; }
/* Highlighted words in headings: same font, accent colour */
.hl { color: var(--accent-text); }
.accent { color: var(--accent-text); }
.muted { color: var(--muted); }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.section { position: relative; padding: clamp(70px, 10vh, 130px) 0; border-top: 1px solid var(--line); overflow-x: clip; }

/* Theme switch: smooth colour cross-fade (fallback when View Transitions are unavailable) */
html.theme-fade, html.theme-fade * { transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, fill 0.5s ease !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@keyframes hc-marquee { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
@keyframes hc-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes hc-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hc-drop { from { opacity: 0; transform: translateY(-14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.in { animation: hc-in 0.9s var(--ease) both; }

/* ---------- Eyebrow / section label ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--accent-text); padding-bottom: 20px;
}
.eyebrow .num { font-family: var(--font-mono); font-size: 11px; }
.eyebrow .draw { display: block; flex: 1; max-width: 120px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform 0.25s linear; }
.h2 { font-size: clamp(32px, 4.2vw, 60px); line-height: 1; }
.lead { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.6; color: var(--muted); max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  background: var(--raised); border: 1px solid var(--line-strong); color: var(--ink);
  transition: transform 0.25s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--light { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.btn--light:hover { color: var(--on-accent); }
.btn .arr { display: inline-flex; max-width: 0; opacity: 0; overflow: hidden; transition: max-width 0.35s var(--ease), opacity 0.3s ease; }
.btn .dot { display: inline-block; width: 5px; height: 5px; border-radius: 999px; background: currentColor; max-width: 5px; overflow: hidden; transition: max-width 0.35s var(--ease), opacity 0.3s ease; }
.btn:hover .arr { max-width: 22px; opacity: 1; }
.btn:hover .dot { max-width: 0; opacity: 0; }
.btn svg, .btn img { display: block; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-text); }
.link-arrow svg { transition: transform 0.4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background 0.4s ease, border-color 0.4s ease; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.progress { height: 2px; }
.progress > div { height: 2px; width: 0%; background: var(--accent); }
.header__bar { max-width: 1400px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 32px; width: auto; display: block; }
.header__right { position: relative; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; align-items: center; height: 52px; padding: 0 16px; border-radius: 999px;
  background: var(--glass-2); border: 1px solid var(--line-strong);
  font-size: 13px; font-weight: 600; color: var(--faint); backdrop-filter: blur(8px);
}
.lang a { color: var(--faint); padding: 0 4px; }
.lang a[aria-current="true"] { color: var(--ink); }
.lang a:hover { color: var(--accent-text); }
.theme-toggle {
  position: relative; width: 52px; height: 52px; flex: none; border-radius: 999px; cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--line-strong); color: var(--ink); backdrop-filter: blur(8px);
  display: grid; place-items: center; overflow: hidden;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent-text); }
.theme-toggle svg { grid-area: 1 / 1; transition: transform 0.6s var(--ease), opacity 0.4s ease; }
.theme-toggle .i-moon { transform: translateY(0) rotate(0); }
.theme-toggle .i-sun { transform: translateY(140%) rotate(-90deg); opacity: 0; }
[data-theme="light"] .theme-toggle .i-moon { transform: translateY(-140%) rotate(90deg); opacity: 0; }
[data-theme="light"] .theme-toggle .i-sun { transform: translateY(0) rotate(0); opacity: 1; }
.menu-toggle { background: var(--solid); border: none; color: var(--on-solid); }
.menu-toggle:hover { background: var(--accent); color: var(--on-accent); }
.menu-toggle .dots { display: inline-flex; gap: 3px; }
.menu-toggle .dots i { width: 3px; height: 3px; border-radius: 999px; background: currentColor; display: block; }
.menu-toggle[aria-expanded="true"] .dots { flex-direction: column; gap: 2px; }
.menu-toggle .label-close { display: none; }
.menu-toggle[aria-expanded="true"] .label-open { display: none; }
.menu-toggle[aria-expanded="true"] .label-close { display: inline; }

.menu {
  display: none; flex-direction: column; gap: 10px;
  position: absolute; top: calc(100% + 12px); right: 0;
  width: min(340px, 86vw); max-height: calc(100svh - 92px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 4px;
}
.menu.is-open { display: flex; animation: hc-drop 0.45s var(--ease) both; }
.menu__card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px 26px; box-shadow: var(--shadow); }
.menu nav { display: flex; flex-direction: column; gap: 14px; }
.menu nav a { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--faint); display: flex; align-items: center; justify-content: space-between; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--ink); }
.menu nav a[aria-current="page"]::after { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.menu__contact h3 { font-size: 22px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.menu__contact p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.menu__contact a.mail { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent-text); }
.menu__product {
  display: flex; align-items: center; gap: 14px; background: var(--solid); color: var(--on-solid);
  border-radius: 18px; padding: 16px 22px; font-weight: 600; font-size: 15px;
}
.menu__product:hover { background: var(--accent); color: var(--on-accent); }
.menu__product img { height: 24px; width: 24px; display: block; border-radius: 6px; }
.menu__product span { flex: 1; }
.menu__product small { font-weight: 500; opacity: 0.6; font-size: 13px; }

.brand-dot { flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--dot, var(--accent)); display: grid; place-items: center; }
.brand-dot::after { content: ''; width: 33%; height: 33%; border-radius: 999px; background: #F3EEE3; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 60% at 50% 50%, var(--glow) 0%, transparent 70%); }
.hero__top { position: relative; z-index: 2; pointer-events: none; width: 100%; max-width: 1400px; margin: 0 auto; padding: clamp(110px, 15vh, 170px) var(--gutter) 0; }
.hero__kicker { font-size: 14px; font-weight: 500; color: var(--muted); padding-bottom: clamp(18px, 3vh, 30px); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero__kicker span::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 999px; background: var(--accent); margin-right: 8px; vertical-align: middle; }
.hero h1 { font-size: clamp(36px, 5.2vw, 88px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 700; max-width: 14ch; }
.hero h1 .w { display: inline-block; animation: hc-in 1s var(--ease) both; }
.hero__bottom { position: relative; z-index: 2; pointer-events: none; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter) clamp(28px, 5vh, 52px); display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-end; justify-content: space-between; }
.hero__intro { pointer-events: auto; display: flex; flex-direction: column; gap: 22px; max-width: 470px; }
.hero__intro p { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--muted); }
.hero__rating { pointer-events: auto; display: flex; align-items: center; gap: 14px; background: var(--glass-2); border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; backdrop-filter: blur(10px); transition: border-color 0.3s ease, transform 0.4s var(--ease); }
.hero__rating:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.hero__rating .stars { color: var(--star); letter-spacing: 2px; font-size: 15px; }
.hero__rating strong { font-family: var(--font-display); font-size: 22px; }
.hero__rating small { display: block; color: var(--faint); font-size: 13px; line-height: 1.3; }

/* ---------- Services (accordion) ---------- */
.grid-bg { position: absolute; inset: -14%; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 64px 64px; opacity: 0.6; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent); }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 72px); align-items: start; }
.services__intro { position: sticky; top: 104px; }
.services__intro .lead { margin-top: 24px; max-width: 380px; font-size: 16px; }
.services__intro .link-arrow { margin-top: 26px; }
.acc-list { border-bottom: 1px solid var(--line-strong); }
.acc { border-top: 1px solid var(--line-strong); transition: background 0.4s ease; }
.acc:hover { background: var(--tint); }
.acc__head {
  all: unset; box-sizing: border-box; width: 100%; cursor: pointer;
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 28px); padding: clamp(22px, 3vh, 32px) clamp(6px, 1.2vw, 18px);
}
.acc__head:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.acc__num { font-family: var(--font-mono); font-size: 11px; color: var(--accent-text); flex: none; }
.acc__title { flex: 1; font-family: var(--font-display); font-size: clamp(22px, 2.5vw, 34px); line-height: 1.08; letter-spacing: -0.022em; font-weight: 600; }
.acc__title small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--faint); }
.acc__sign { flex: none; width: 13px; height: 13px; position: relative; display: block; }
.acc__sign::before, .acc__sign::after { content: ''; position: absolute; background: var(--ink); }
.acc__sign::before { left: 0; top: 6px; width: 13px; height: 1px; }
.acc__sign::after { left: 6px; top: 0; width: 1px; height: 13px; transition: transform 0.5s var(--ease), opacity 0.4s ease; }
.acc.is-open .acc__sign::after { transform: scaleY(0) rotate(90deg); opacity: 0; }
.acc__body { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.65s var(--ease), opacity 0.45s ease; }
.acc.is-open .acc__body { opacity: 1; }
.acc__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(20px, 3vw, 44px); padding: 0 clamp(6px, 1.2vw, 18px) clamp(28px, 4vh, 40px) clamp(38px, 4vw, 52px); }
.acc__inner p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 8px; margin-top: 16px; }
.tags span { font-size: 13px; font-weight: 500; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--tint); transition: border-color 0.3s ease, background 0.3s ease; }
.tags span:hover { border-color: var(--accent); background: var(--accent-soft); }

.specs { margin: 0; display: flex; flex-direction: column; }
.specs > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--faint); margin: 0; }
.specs dd { font-size: 14px; font-weight: 500; color: var(--ink); margin: 0; text-align: right; }
.specs dd.accent { color: var(--accent-text); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-right: 1px solid var(--line); }
.stat { padding: clamp(24px, 3.4vh, 36px) clamp(18px, 2vw, 30px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.stat > b { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); line-height: 0.9; letter-spacing: -0.04em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat > b .unit { font-size: 0.6em; letter-spacing: -0.02em; margin-left: 0.08em; }
.stat > b .star { color: var(--star); font-size: 0.45em; vertical-align: 0.75em; margin-left: 0.12em; }
.stat > span { font-size: 14px; color: var(--faint); line-height: 1.5; }

/* ---------- Work cards ---------- */
.section-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; padding-bottom: clamp(34px, 5vh, 60px); }
.section-head .side { font-size: 15px; color: var(--faint); line-height: 1.7; max-width: 380px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.work-card { display: block; color: var(--ink); }
.work-card:hover { color: var(--ink); }
.work-card__media { position: relative; border-radius: 22px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 16 / 10; transition: border-color 0.4s ease, box-shadow 0.5s ease; }
.work-card:hover .work-card__media { border-color: var(--accent); box-shadow: var(--shadow); }
.work-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 0.8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(8,8,10,0.78); backdrop-filter: blur(8px); color: #F4F4F5; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.work-card__badge i { width: 6px; height: 6px; border-radius: 999px; background: #00D68A; animation: hc-blink 2.4s ease-in-out infinite; }
.work-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 4px 0; }
.work-card__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.015em; }
.work-card__title .arrow { color: var(--accent-text); display: inline-flex; transition: transform 0.4s var(--ease); }
.work-card:hover .arrow { transform: translateX(5px); }
.work-card__sub { padding-top: 6px; font-size: 14px; color: var(--faint); }
.work-card__year { font-size: 13px; color: var(--faint); white-space: nowrap; }

/* Portfolio filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: clamp(28px, 4vh, 44px); }
.chip {
  height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--tint); color: var(--muted);
  font: 600 14px/1 var(--font-body); display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.25s ease;
}
.chip sup { font-size: 11px; opacity: 0.6; top: -0.4em; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip:active { transform: scale(0.96); }
.chip.is-active { background: var(--solid); border-color: var(--solid); color: var(--on-solid); }
.work-grid .work-card { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.work-grid .work-card.is-hiding { opacity: 0; transform: scale(0.96) translateY(10px); }
.work-grid .work-card.is-hidden { display: none; }

/* ---------- Reviews ---------- */
.reviews-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: end; padding-bottom: clamp(34px, 5vh, 56px); }
.score { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.score b { font-family: var(--font-display); font-size: clamp(56px, 7vw, 96px); line-height: 0.9; letter-spacing: -0.04em; }
.score .stars { color: var(--star); font-size: 20px; letter-spacing: 3px; }
.score small { display: block; color: var(--faint); font-size: 14px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.review { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 2.4vw, 30px); background: var(--surface-2); transition: border-color 0.4s ease, transform 0.5s var(--ease), box-shadow 0.5s ease; }
.review:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.review .stars { color: var(--star); font-size: 14px; letter-spacing: 2px; }
.review blockquote { margin: 14px 0 0; }
.review blockquote p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--ink); }
.review footer { display: flex; align-items: center; gap: 12px; padding-top: 20px; margin-top: auto; font-size: 14px; }
.review footer .avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--chip); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: var(--accent-text); text-transform: uppercase; flex: none; }
.review footer span { color: var(--faint); line-height: 1.4; }
.review footer strong { color: var(--ink); font-weight: 600; display: block; }

/* ---------- Process ---------- */
.proc-line { height: 1px; background: var(--line); position: relative; margin-bottom: clamp(4px, 1vh, 10px); }
.proc-line > div { position: absolute; left: 0; top: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; transition: transform 0.2s linear; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(22px, 3vw, 44px); padding-top: clamp(26px, 4vh, 40px); }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line-strong); }
.step::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 999px; background: var(--accent); transition: transform 0.5s var(--ease); }
.step:hover::before { transform: scale(1.8); }
.step__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--faint); padding-bottom: 14px; }
.step__meta .num { font-family: var(--font-mono); font-size: 11px; }
.step__meta .pill { font-size: 12px; font-weight: 600; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.step h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.018em; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--faint); }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(26px, 4.5vh, 50px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: hc-marquee 46s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(32px, 5vw, 72px); padding-right: clamp(32px, 5vw, 72px); font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.02em; color: var(--faint); white-space: nowrap; }
.marquee__group .hl { color: var(--ink); }
.marquee__group i { color: var(--accent); font-style: normal; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.about p + p { margin-top: 18px; }
.about .specs { margin-top: 30px; max-width: 520px; border-top: 1px solid var(--line-strong); }
.about .specs > div { padding: 12px 0; }
.pillars { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.pillar { border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 2.4vw, 28px); background: var(--surface-2); transition: border-color 0.4s ease, transform 0.5s var(--ease); }
.pillar:hover { border-color: var(--accent); transform: translateX(6px); }
.pillar h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.pillar p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* ---------- FAQ (height animated in site.js) ---------- */
.faq { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -0.015em;
  transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--accent-text); font-family: var(--font-body); font-weight: 400; font-size: 26px; line-height: 1; transition: transform 0.5s var(--ease); }
.faq details.is-open summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--accent-text); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 4px 24px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: clamp(90px, 15vh, 180px) 0; border-top: 1px solid var(--line-soft); background: radial-gradient(80% 120% at 50% 0%, var(--surface) 0%, var(--bg) 70%); }
.contact__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.6; }
.contact__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(55% 70% at 50% 50%, color-mix(in srgb, var(--bg) 82%, transparent) 0%, transparent 75%); }
.contact .wrap { z-index: 2; pointer-events: none; text-align: center; }
.contact h2 { font-size: clamp(40px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.04em; font-weight: 800; }
.contact .btn-row { justify-content: center; padding-top: clamp(32px, 5vh, 52px); pointer-events: auto; }
.contact p.lead { margin: 22px auto 0; text-align: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: clamp(48px, 7vh, 80px) 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: clamp(24px, 3vw, 48px); padding-bottom: clamp(40px, 6vh, 72px); }
.footer__grid img { height: 30px; width: auto; display: block; opacity: 0.9; }
.footer__grid p { margin-top: 16px; color: var(--faint); line-height: 1.7; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col strong { font-weight: 600; padding-bottom: 4px; }
.footer__col a { color: var(--faint); transition: color 0.3s ease, transform 0.3s var(--ease); }
.footer__col a:hover { color: var(--ink); transform: translateX(4px); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--faint); }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: clamp(150px, 22vh, 230px) 0 clamp(50px, 8vh, 90px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(42px, 6.5vw, 104px); line-height: 0.96; letter-spacing: -0.04em; max-width: 14ch; }
.page-hero .lead { margin-top: 28px; }
.page-hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 20%, var(--glow) 0%, transparent 70%); }

/* ---------- Services page: bento overview ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 18px; min-height: 340px;
  border: 1px solid var(--line); border-radius: 26px; background: var(--surface-2); color: var(--ink);
  padding: clamp(22px, 2.4vw, 32px);
  transition: border-color 0.4s ease, transform 0.6s var(--ease), box-shadow 0.6s ease;
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.tile--4 { grid-column: span 4; }
.tile--3 { grid-column: span 3; }
.tile--2 { grid-column: span 2; }
.tile__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tile__num { font-family: var(--font-mono); font-size: 11px; color: var(--accent-text); }
.tile__go { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.5s var(--ease); }
.tile:hover .tile__go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }
.tile h3 { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.05; font-weight: 700; }
.tile p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.tile__visual { flex: 1; min-height: 130px; position: relative; display: flex; align-items: flex-end; }
.tile .tags { margin-top: 0; }
.tile--cta { background: var(--solid); color: var(--on-solid); border-color: var(--solid); justify-content: space-between; }
.tile--cta:hover { color: var(--on-solid); }
.tile--cta p { color: color-mix(in srgb, var(--on-solid) 70%, transparent); }
.tile--cta .tile__go { border-color: color-mix(in srgb, var(--on-solid) 30%, transparent); }

/* mini illustrations */
.mock { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 7px; height: 7px; border-radius: 999px; background: var(--line-strong); }
.mock__bar span { margin-left: 10px; font-size: 11px; color: var(--faint); background: var(--tint-2); border-radius: 999px; padding: 2px 10px; }
.mock__body { padding: 16px; display: grid; gap: 9px; }
.sk { height: 9px; border-radius: 999px; background: var(--tint-2); position: relative; overflow: hidden; }
.sk::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--tint-2), transparent); animation: hc-shimmer 2.6s ease-in-out infinite; }
.sk--h { height: 16px; width: 70%; background: var(--line-strong); }
.sk--btn { height: 22px; width: 96px; background: var(--accent); }
@keyframes hc-shimmer { to { transform: translateX(100%); } }
.mock__cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: center; }
.mock__img { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, var(--accent-soft), var(--tint-2)); animation: hc-float 6s ease-in-out infinite; }
@keyframes hc-float { 50% { transform: translateY(-6px); } }

.dash { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; width: 100%; }
.dash__kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg); }
.dash__kpi b { display: block; font-family: var(--font-display); font-size: 16px; }
.dash__kpi .sk { margin-top: 6px; height: 6px; }
.dash__chart { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 6px; height: 70px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--bg); }
.dash__chart i { flex: 1; height: 100%; border-radius: 4px 4px 2px 2px; background: var(--accent); opacity: 0.85; transform-origin: bottom; animation: hc-bar 3.2s var(--ease) infinite alternate; }
.dash__chart i:nth-child(odd) { background: var(--line-strong); }
@keyframes hc-bar { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

.chat { display: grid; gap: 10px; width: 100%; }
.chat__msg { max-width: 82%; border-radius: 16px; padding: 10px 14px; font-size: 13px; line-height: 1.45; }
.chat__msg--user { justify-self: end; background: var(--solid); color: var(--on-solid); border-bottom-right-radius: 4px; }
.chat__msg--ai { background: var(--bg); border: 1px solid var(--line); color: var(--muted); border-bottom-left-radius: 4px; }
.chat__msg--ai b { color: var(--accent-text); font-weight: 600; }
.chat__stack { display: grid; }
.chat__stack > * { grid-area: 1 / 1; }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 999px; background: var(--faint); animation: hc-typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes hc-typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__reveal { animation: hc-reveal 7s var(--ease) infinite; }
.chat__wait { animation: hc-wait 7s ease infinite; }
@keyframes hc-reveal { 0%, 30% { opacity: 0; transform: translateY(8px); } 38%, 92% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes hc-wait { 0%, 28% { opacity: 1; } 33%, 100% { opacity: 0; } }

.nodes { position: relative; width: 100%; height: 150px; }
.nodes svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nodes path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.nodes path.flow { stroke: var(--accent); stroke-dasharray: 6 10; animation: hc-flow 1.6s linear infinite; }
@keyframes hc-flow { to { stroke-dashoffset: -32; } }
.node { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); background: var(--bg); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.node--hub { background: var(--solid); color: var(--on-solid); border-color: var(--solid); padding: 7px 16px; }

.servers { display: grid; gap: 8px; width: 100%; }
.server { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--bg); font-size: 12px; color: var(--muted); }
.server b { color: var(--ink); font-weight: 600; flex: 1; }
.server i { width: 7px; height: 7px; border-radius: 999px; background: #00D68A; box-shadow: 0 0 0 0 rgba(0, 214, 138, 0.6); animation: hc-pulse 2.2s ease-out infinite; }
.server:nth-child(2) i { animation-delay: 0.7s; }
.server:nth-child(3) i { animation-delay: 1.4s; }
@keyframes hc-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 214, 138, 0.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(0, 214, 138, 0); } }

@media (prefers-reduced-motion: reduce) {
  .sk::after, .mock__img, .dash__chart i, .typing i, .chat__reveal, .chat__wait, .nodes path.flow, .server i { animation: none; }
  .chat__wait { opacity: 0; }
}

/* ---------- Services page: detail sections ---------- */
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: clamp(40px, 6vh, 70px); }
.included div { background: var(--bg); padding: 22px 24px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.included div::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 999px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A86B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc__intro { position: sticky; top: 110px; }
.svc__intro h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; }
.svc__intro .lead { margin-top: 22px; }
.svc__intro .btn-row { margin-top: 30px; }
.svc__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 11vw, 170px); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: 18px; display: block; }
.svc__block + .svc__block { margin-top: clamp(30px, 4vh, 44px); }
.svc__label { font-size: 13px; font-weight: 600; color: var(--faint); padding-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.deliver { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.deliver div { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--surface-2); font-size: 15px; font-weight: 500; display: flex; gap: 12px; transition: border-color 0.35s ease, transform 0.5s var(--ease); }
.deliver div:hover { border-color: var(--accent); transform: translateY(-3px); }
.deliver div::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 999px; background: var(--accent); }
.svc__example { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 18px; padding: 12px; background: var(--surface-2); transition: border-color 0.35s ease; }
.svc__example:hover { border-color: var(--accent); color: var(--ink); }
.svc__example img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; flex: none; }
.svc__example small { display: block; color: var(--faint); font-size: 13px; }
.svc__example strong { font-family: var(--font-display); font-size: 18px; }

/* ---------- Case pages ---------- */
.case-hero { padding: clamp(140px, 20vh, 210px) 0 clamp(40px, 6vh, 70px); position: relative; overflow: hidden; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--faint); margin-bottom: 28px; }
.back:hover { color: var(--accent-text); }
.case__logo { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; font-size: 14px; color: var(--faint); }
.case__logo img { width: 36px; height: 36px; border-radius: 10px; display: block; }
.case__logo .brand-dot { width: 36px; height: 36px; }
.case-hero h1 { font-size: clamp(40px, 5.8vw, 92px); line-height: 0.98; letter-spacing: -0.04em; max-width: 16ch; }
.case-hero .lead { margin-top: 24px; max-width: 640px; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0; margin: clamp(34px, 5vh, 54px) 0 0; border-top: 1px solid var(--line-strong); }
.case-meta div { padding: 16px 18px 0 0; }
.case-meta dt { font-size: 13px; color: var(--faint); }
.case-meta dd { margin: 4px 0 0; font-weight: 600; }
.case-meta dd a { color: var(--accent-text); }
.case-shot { display: block; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.case-shot img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease); }
.case-shot:hover img { transform: scale(1.02); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); }
.story + .story { margin-top: clamp(50px, 8vh, 90px); }
.story .lead { max-width: 680px; }
.checks { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.checks li { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--surface-2); font-weight: 500; display: flex; gap: 12px; transition: border-color 0.35s ease; }
.checks li:hover { border-color: var(--accent); }
.checks li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 999px; background: var(--accent); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
.next-case { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 3vw, 36px); background: var(--surface-2); transition: border-color 0.4s ease; }
.next-case:hover { border-color: var(--accent); color: var(--ink); }
.next-case small { display: block; font-size: 13px; color: var(--faint); padding-bottom: 8px; }
.next-case strong { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 52px); letter-spacing: -0.03em; display: flex; align-items: center; gap: 14px; }
.next-case strong svg { flex: none; box-sizing: content-box; width: 22px; height: 22px; padding: 13px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent-text); transition: transform 0.5s var(--ease), background 0.3s ease, border-color 0.3s ease, color 0.3s ease; }
.next-case:hover strong svg { transform: translateX(8px); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.next-case img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 16px; border: 1px solid var(--line); }
@media (max-width: 640px) { .next-case { grid-template-columns: 1fr; } }

.cta-card { margin-top: clamp(60px, 9vh, 110px); border: 1px dashed var(--line-strong); border-radius: 26px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; transition: border-color 0.4s ease; }
.cta-card:hover { border-color: var(--accent); }
.cta-card h2 { font-size: clamp(26px, 3vw, 42px); line-height: 1.05; }
.cta-card p { margin-top: 10px; color: var(--muted); max-width: 520px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .tile--4, .tile--3 { grid-column: span 6; }
  .tile--2 { grid-column: span 3; }
}
@media (max-width: 680px) {
  .tile--2 { grid-column: span 6; }
  .tile { min-height: 0; }
}
@media (max-width: 640px) {
  .header__bar { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .header__logo img { height: 26px; }
  .header__actions { gap: 6px; }
  .header .btn, .lang, .theme-toggle { height: 44px; }
  .theme-toggle { width: 44px; }
  .header .btn { padding: 0 16px; font-size: 14px; }
  .lang { padding: 0 8px; }
  .header__talk { display: none; }
  /* Menu spans the full width between the gutters; it is anchored to the right edge of the button group */
  .menu { top: calc(100% + 10px); width: calc(100vw - 2 * var(--gutter)); max-height: calc(100svh - 84px); }
  .services__intro, .svc__intro { position: static; }
  .acc__inner { padding-left: clamp(6px, 1.2vw, 18px); }
}

/* Mobile: dim the particle mark behind the hero copy so the text stays readable */
@media (max-width: 760px) {
  .hero__bg { opacity: 0.32; }
  .hero__glow { background: linear-gradient(to bottom, transparent 0%, var(--bg) 18%, transparent 46%, var(--bg) 100%); opacity: 0.55; }
}

/* Mobile: services become a swipeable, auto-rotating carousel */
.acc-dots { display: none; }
@media (max-width: 760px) {
  .acc-list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter); scroll-padding: 0 var(--gutter);
    border-bottom: 0; overscroll-behavior-x: contain;
  }
  .acc-list::-webkit-scrollbar { display: none; }
  .acc {
    flex: 0 0 86%; scroll-snap-align: start; border: 1px solid var(--line-strong); border-radius: 20px;
    background: var(--surface); display: flex; flex-direction: column;
  }
  .acc:hover { background: var(--surface); }
  .acc__head { cursor: default; padding: 22px 20px 14px; }
  .acc__sign { display: none; }
  .acc__title { font-size: 23px; }
  .acc__body, .acc.is-open .acc__body { max-height: none !important; opacity: 1; overflow: visible; }
  .acc__inner { padding: 0 20px 22px; gap: 18px; }
  .acc__inner p { font-size: 15px; }
  .acc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .acc-dots button { all: unset; cursor: pointer; width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); transition: width 0.4s var(--ease), background 0.3s ease; }
  .acc-dots button[aria-current="true"] { width: 24px; background: var(--accent); }
  .acc-dots button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
}
