:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f4f8;
  --ink: #0d1626;
  --text: #445268;
  --muted: #748196;
  --line: #dfe6ee;
  --line-strong: #cbd6e2;
  --blue: #1b6cff;
  --blue-dark: #0e4db6;
  --cyan: #19b8d6;
  --green: #2ea56f;
  --dark: #0e1728;
  --dark-2: #131f34;
  --shadow-sm: 0 10px 30px rgba(16, 35, 61, .06);
  --shadow-md: 0 24px 70px rgba(16, 35, 61, .11);
  --radius: 22px;
  --container: 1180px;
  --font: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img, svg { display: block; max-width: 100%; }
button { color: inherit; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; background: rgba(246, 248, 251, .86); backdrop-filter: blur(18px) saturate(150%); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.site-header.scrolled { border-color: rgba(203, 214, 226, .82); background: rgba(250, 252, 255, .94); box-shadow: 0 8px 30px rgba(16, 35, 61, .05); }
.header-inner { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { position: relative; width: 34px; height: 34px; display: inline-grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 3px; padding: 7px; border-radius: 10px; background: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.brand-mark i { display: block; border-radius: 2px 2px 1px 1px; background: linear-gradient(180deg, #6fd9ed, #5a8dff); }
.brand-mark i:nth-child(1) { height: 34%; }
.brand-mark i:nth-child(2) { height: 62%; }
.brand-mark i:nth-child(3) { height: 88%; }
.brand-copy strong { display: block; font-size: 17px; line-height: 1.1; letter-spacing: -.02em; }
.brand-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.1; }

.nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.nav > a, .modules-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: #344258; font-size: 14px; font-weight: 650; cursor: pointer; transition: color .18s ease, background .18s ease; }
.nav > a:hover, .nav > a:focus-visible, .modules-trigger:hover, .modules-trigger:focus-visible, .modules.open .modules-trigger { color: var(--ink); background: rgba(255,255,255,.72); outline: none; }
.modules { position: relative; }
.modules-trigger svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.modules.open .modules-trigger svg, .modules:focus-within .modules-trigger svg { transform: rotate(180deg); }
.modules-menu { position: absolute; top: calc(100% + 12px); left: 50%; width: 390px; transform: translate(-50%, 8px); padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.modules-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.modules:hover .modules-menu, .modules:focus-within .modules-menu, .modules.open .modules-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.modules-menu a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 13px; border-radius: 12px; transition: background .16s ease, transform .16s ease; }
.modules-menu a + a { margin-top: 4px; }
.modules-menu a:hover, .modules-menu a:focus-visible { background: var(--surface-soft); outline: none; transform: translateX(2px); }
.modules-menu strong { display: block; font-size: 14px; line-height: 1.25; }
.modules-menu small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.modules-menu b { color: var(--muted); font-size: 15px; font-weight: 600; }
.module-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; font-size: 14px; font-weight: 800; }
.module-icon-reports { background: #edf4ff; color: #1a63e8; }
.module-icon-wordstat { background: #ebfafc; color: #13869a; }


.header-quick { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.quick-module { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 12px; font-weight: 760; white-space: nowrap; box-shadow: 0 5px 18px rgba(16,35,61,.04); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.quick-module span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; font-size: 12px; font-weight: 850; }
.quick-reports span { background: #edf4ff; color: #1a63e8; }
.quick-wordstat span { background: #eaf9fb; color: #13869a; }
.quick-module:hover, .quick-module:focus-visible { transform: translateY(-1px); border-color: #b9c9d8; box-shadow: 0 10px 22px rgba(16,35,61,.08); outline: none; background: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 750; box-shadow: 0 5px 18px rgba(16, 35, 61, .04); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.header-cta:hover { transform: translateY(-1px); border-color: #b9c9d8; box-shadow: 0 10px 22px rgba(16, 35, 61, .08); }
.menu-btn { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 5px auto; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 10%, rgba(74, 155, 255, .11), transparent 27%), radial-gradient(circle at 68% 45%, rgba(25, 184, 214, .08), transparent 32%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #36516f; font-size: 13px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: #7e9bb8; }
.hero h1 { max-width: 820px; margin: 20px 0 24px; font-size: clamp(46px, 6.3vw, 82px); line-height: .98; letter-spacing: -.055em; font-weight: 780; }
.hero h1 span { display: block; color: #5b6b80; font-weight: 620; }
.lead { max-width: 760px; margin: 0; color: var(--text); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.68; letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 12px; font-size: 14px; font-weight: 760; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn-primary { color: #fff; background: var(--ink); box-shadow: 0 12px 28px rgba(13, 22, 38, .16); }
.btn-primary:hover { transform: translateY(-1px); background: #172338; box-shadow: 0 16px 34px rgba(13, 22, 38, .2); }
.btn-quiet { border: 1px solid var(--line-strong); background: rgba(255,255,255,.68); color: var(--ink); }
.btn-quiet:hover { background: #fff; border-color: #b9c6d4; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts div { min-width: 0; }
.hero-facts strong { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.hero-facts span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.hero-panel { position: relative; min-height: 530px; padding: 26px; overflow: hidden; border: 1px solid rgba(199, 211, 224, .9); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,248,252,.94)); box-shadow: 0 28px 80px rgba(26, 53, 86, .12); }
.hero-panel::after { content: ""; position: absolute; width: 270px; height: 270px; right: -90px; bottom: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(57, 140, 255, .16), rgba(57,140,255,0) 68%); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: #496176; font-size: 12px; font-weight: 720; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 165, 111, .10); }
.panel-label { color: var(--muted); font-size: 12px; font-weight: 650; }
.panel-name { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; margin-top: 48px; }

.profile-photo-wrap { position: relative; width: 92px; height: 112px; margin: 0; overflow: hidden; border-radius: 20px; background: linear-gradient(145deg,#e8eef6,#dce6f1); box-shadow: inset 0 0 0 1px rgba(22,42,67,.08); }
.profile-photo { position: relative; z-index: 2; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 25%; }
.photo-fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; background: var(--ink); font-size: 26px; font-weight: 760; letter-spacing: -.04em; }
.profile-photo.is-missing { display: none; }
.initials { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 20px; background: var(--ink); color: #fff; font-size: 26px; font-weight: 760; letter-spacing: -.04em; }
.panel-name strong { display: block; font-size: 28px; line-height: 1.04; letter-spacing: -.04em; }
.panel-name span { display: block; margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.panel-divider { height: 1px; margin: 38px 0 26px; background: var(--line); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.panel-grid span { display: block; color: var(--muted); font-size: 12px; }
.panel-grid strong { display: block; margin-top: 5px; font-size: 14px; line-height: 1.4; }
.signal { position: absolute; left: 26px; right: 26px; bottom: 24px; height: 70px; display: flex; align-items: end; gap: 7px; opacity: .82; }
.signal span { flex: 1; min-width: 5px; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(25,184,214,.85), rgba(27,108,255,.86)); }
.signal span:nth-child(1){height:21%}.signal span:nth-child(2){height:30%}.signal span:nth-child(3){height:42%}.signal span:nth-child(4){height:37%}.signal span:nth-child(5){height:54%}.signal span:nth-child(6){height:67%}.signal span:nth-child(7){height:59%}.signal span:nth-child(8){height:84%}

.manifesto { border-block: 1px solid var(--line); background: rgba(255,255,255,.56); }
.manifesto-grid { display: grid; grid-template-columns: 150px 1.2fr .8fr; gap: 38px; align-items: start; padding-block: 44px; }
.manifesto-title { color: var(--muted); font-size: 12px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.manifesto blockquote { margin: 0; max-width: 720px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; letter-spacing: -.025em; font-weight: 650; }
.manifesto p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.7; }

.section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 500px); gap: 64px; align-items: end; margin-bottom: 48px; }
.section-head h2 { max-width: 760px; margin: 10px 0 0; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.04; letter-spacing: -.045em; font-weight: 740; }
.section-head > p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.75; }
.kicker { color: #356184; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.kicker-dark { color: #88bfff; }
.kicker-light { color: #bfe8ff; }

.about-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 64px; align-items: start; }
.about-story { max-width: 680px; }
.about-story p { margin: 0 0 18px; color: var(--text); font-size: 17px; line-height: 1.82; }
.about-story .about-lead { color: var(--ink); font-size: 23px; line-height: 1.58; letter-spacing: -.02em; font-weight: 560; }
.quote-card { margin-top: 34px; padding: 24px 26px; border-left: 3px solid var(--blue); background: rgba(255,255,255,.72); }
.quote-card span { color: var(--muted); font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.quote-card strong { display: block; margin-top: 7px; font-size: 20px; line-height: 1.35; }
.quote-card p { margin: 7px 0 0; font-size: 14px; line-height: 1.6; }
.education { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.education-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.education-head span { font-size: 13px; font-weight: 760; }
.education-head b { color: var(--muted); font-size: 12px; font-weight: 650; }
.edu-list { padding: 8px 22px 10px; }
.edu-item { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.edu-item:last-child { border-bottom: 0; }
.edu-item time { color: #5b7490; font-size: 12px; font-weight: 760; }
.edu-item strong { display: block; font-size: 15px; line-height: 1.35; }
.edu-item p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.section-dark { position: relative; overflow: hidden; color: #fff; background: var(--dark); }
.section-dark::after { content: ""; position: absolute; right: -150px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(42,129,255,.18), transparent 68%); }
.section-head-dark { position: relative; z-index: 1; }
.section-head-dark > p { color: #9fb0c5; }
.experience-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.experience-card { min-height: 300px; padding: 26px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.015); transition: background .18s ease, transform .18s ease; }
.experience-card:hover { background: rgba(255,255,255,.04); }
.experience-card > span { color: #7faee8; font-size: 12px; font-weight: 720; }
.experience-card h3 { margin: 100px 0 12px; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; }
.experience-card p { margin: 0; color: #9fb0c5; font-size: 14px; line-height: 1.7; }

.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.service-card { min-height: 500px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; position: relative; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.service-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -100px; border-radius: 50%; opacity: .55; }
.service-reports::after { background: radial-gradient(circle, rgba(58,128,255,.18), transparent 68%); }
.service-wordstat::after { background: radial-gradient(circle, rgba(25,184,214,.20), transparent 68%); }
.service-card-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.service-symbol { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 820; }
.service-wordstat .service-symbol { background: #0f6e7e; }
.service-status { color: var(--muted); font-size: 12px; font-weight: 700; }
.service-main { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 74px; }
.service-name { color: var(--muted); font-size: 13px; font-weight: 760; }
.service-card h3 { max-width: 520px; margin: 8px 0 0; font-size: clamp(29px, 3vw, 40px); line-height: 1.08; letter-spacing: -.04em; }
.service-card p { max-width: 560px; margin: 0; color: var(--text); font-size: 15px; line-height: 1.72; }
.service-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 34px; border-top: 1px solid var(--line); }
.service-footer > a:first-child { color: #557086; font-size: 13px; font-weight: 720; }
.service-open { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; font-weight: 800; }

.blog { background: #fbfcfe; border-top: 1px solid var(--line); }
.blog-preview { display: grid; grid-template-columns: 70px 1fr auto; gap: 28px; align-items: center; min-height: 160px; padding: 28px 4px; border-top: 1px solid var(--line); }
.blog-preview:last-child { border-bottom: 1px solid var(--line); }
.blog-number { color: var(--muted); font-size: 12px; font-weight: 760; }
.blog-preview span { color: #5c7891; font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.blog-preview h3 { margin: 5px 0 4px; font-size: 25px; line-height: 1.26; letter-spacing: -.03em; }
.blog-preview p { margin: 0; color: var(--muted); font-size: 14px; }
.blog-arrow { color: #8ba0b5; font-size: 22px; }

.contact { padding: 30px 0 104px; background: #fbfcfe; }
.contact-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; padding: 46px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, #0e1728, #123a69 62%, #0c6d84); box-shadow: 0 30px 90px rgba(19, 51, 88, .18); }
.contact h2 { margin: 9px 0 10px; font-size: clamp(34px, 4vw, 50px); line-height: 1.06; letter-spacing: -.04em; }
.contact p { max-width: 700px; margin: 0; color: rgba(255,255,255,.74); font-size: 15px; line-height: 1.7; }
.contact-link { min-width: 260px; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.08); transition: background .18s ease, transform .18s ease; }
.contact-link:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }
.contact-link span { grid-column: 1; color: rgba(255,255,255,.65); font-size: 12px; }
.contact-link strong { grid-column: 1; font-size: 17px; }
.contact-link b { grid-column: 2; grid-row: 1 / span 2; font-size: 18px; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { min-height: 118px; display: grid; grid-template-columns: 1fr auto auto; gap: 40px; align-items: center; }
.footer-inner > div:first-child span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.footer-brand { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #536b82; font-size: 13px; font-weight: 650; }
.copyright { color: var(--muted); font-size: 12px; }

/* Service detail pages */
.service-page-hero { padding: 92px 0 72px; }
.service-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 72px; align-items: center; }
.back-link { display: inline-flex; margin-bottom: 28px; color: #5e7186; font-size: 13px; font-weight: 720; }
.service-page-hero h1 { max-width: 820px; margin: 15px 0 20px; font-size: clamp(46px, 5.8vw, 74px); line-height: 1; letter-spacing: -.05em; }
.service-page-hero .lead { max-width: 720px; }
.service-summary { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.service-summary-label { color: var(--muted); font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.service-summary h2 { margin: 8px 0 16px; font-size: 27px; line-height: 1.2; letter-spacing: -.03em; }
.clean-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.clean-list li { position: relative; padding-left: 18px; color: var(--text); font-size: 14px; line-height: 1.55; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-card { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.detail-card span { color: var(--muted); font-size: 12px; font-weight: 760; text-transform: uppercase; letter-spacing: .08em; }
.detail-card h3 { margin: 10px 0 12px; font-size: 25px; line-height: 1.2; letter-spacing: -.03em; }
.detail-card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.7; }
.narrow { width: min(calc(100% - 40px), 820px); }
.story { padding: 10px 0; }
.story h2 { margin: 10px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.04em; }
.story p { margin: 0; color: var(--text); font-size: 18px; line-height: 1.82; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid rgba(27,108,255,.26); outline-offset: 3px; }

@media (max-width: 1040px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; gap: 20px; }
  .nav, .header-quick { display: none; }
  .menu-btn { display: block; }
  .header-inner.open { position: relative; }
  .header-inner.open .nav { position: absolute; top: 78px; left: 0; right: 0; display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); }
  .header-inner.open .nav > a, .header-inner.open .modules-trigger { width: 100%; justify-content: space-between; padding-inline: 14px; }
  .header-inner.open .modules { width: 100%; }
  .header-inner.open .modules-menu { position: static; width: 100%; transform: none; margin-top: 6px; border: 0; border-radius: 12px; background: var(--surface-soft); box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; }
  .header-inner.open .modules.open .modules-menu { display: block; }
  .header-inner.open .header-quick { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; width: 100%; }
  .header-inner.open .quick-module { justify-content: center; }
  .header-inner.open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .header-inner.open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .hero-grid, .service-page-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { min-height: 470px; }
  .manifesto-grid { grid-template-columns: 130px 1fr; }
  .manifesto p { grid-column: 2; }
  .section-head, .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .about-story { max-width: none; }
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-links { grid-column: 1 / -1; grid-row: 2; padding-bottom: 24px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 70px; }
  .brand-copy small { display: none; }
  .header-inner.open .nav { top: 70px; }
  .hero { padding: 62px 0 54px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .lead { font-size: 17px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .hero-facts div { display: grid; grid-template-columns: 120px 1fr; align-items: baseline; gap: 12px; }
  .hero-panel { min-height: 450px; padding: 22px; border-radius: 22px; }
  .panel-name { grid-template-columns: 66px 1fr; margin-top: 56px; }
  .initials { width: 66px; height: 66px; border-radius: 18px; font-size: 23px; }
  .panel-name strong { font-size: 23px; }
  .panel-grid { grid-template-columns: 1fr; gap: 13px; }
  .signal { left: 22px; right: 22px; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 34px; }
  .manifesto p { grid-column: auto; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(34px, 10vw, 46px); }
  .about-story .about-lead { font-size: 21px; }
  .education-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .edu-item { grid-template-columns: 82px 1fr; gap: 14px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 230px; }
  .experience-card h3 { margin-top: 58px; }
  .service-card { min-height: 450px; padding: 22px; border-radius: 22px; }
  .service-main { margin-top: 54px; }
  .service-footer { flex-direction: column; align-items: flex-start; }
  .blog-preview { grid-template-columns: 42px 1fr; gap: 14px; }
  .blog-arrow { display: none; }
  .blog-preview h3 { font-size: 21px; }
  .contact { padding-bottom: 76px; }
  .contact-box { grid-template-columns: 1fr; gap: 28px; padding: 30px; border-radius: 22px; }
  .contact-link { min-width: 0; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .footer-links { grid-column: auto; grid-row: auto; padding-bottom: 0; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* === Mobile fix pack: 2026-09-22 === */
@media (max-width: 720px) {
  .hero-panel {
    min-height: auto;
    padding: 20px;
  }

  .panel-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .panel-name {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    margin-top: 28px;
  }

  .panel-name > div {
    min-width: 0;
  }

  .profile-photo-wrap {
    width: 132px;
    height: 160px;
    border-radius: 22px;
  }

  .panel-name strong {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.02;
    letter-spacing: -.04em;
  }

  .panel-name span {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.45;
  }

  .panel-divider {
    margin: 26px 0 18px;
  }

  .panel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .panel-grid strong {
    font-size: 16px;
    line-height: 1.45;
  }

  .signal {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 24px;
    height: 54px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    min-height: 68px;
    gap: 14px;
  }

  .header-inner.open .nav {
    top: 68px;
  }

  .header-inner.open .header-quick {
    grid-template-columns: 1fr;
  }

  .quick-module {
    width: 100%;
    justify-content: center;
  }

  .modules-menu {
    width: min(100vw - 32px, 360px);
  }

  .hero {
    padding: 48px 0 42px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-panel,
  .service-card,
  .contact-box,
  .education {
    border-radius: 20px;
  }

  .profile-photo-wrap {
    width: 118px;
    height: 144px;
  }

  .panel-name strong {
    font-size: 24px;
  }

  .panel-name span {
    font-size: 14px;
  }

  .signal {
    gap: 5px;
    height: 48px;
  }

  .hero-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .service-footer {
    gap: 12px;
  }
}

/* === Mobile header + menu fix pack: 2026-09-22 === */
@media (max-width: 860px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand menu"
      "quick quick";
    align-items: center;
    row-gap: 14px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
  }

  .menu-btn {
    grid-area: menu;
    justify-self: end;
  }

  .header-quick {
    grid-area: quick;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .header-quick::-webkit-scrollbar {
    height: 6px;
  }

  .header-quick::-webkit-scrollbar-thumb {
    background: rgba(69, 109, 177, 0.22);
    border-radius: 999px;
  }

  .quick-module {
    flex: 0 0 auto;
    min-width: 210px;
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 118px;
    z-index: 60;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 18px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(146, 165, 197, 0.24);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
  }

  .nav a,
  .nav .modules-toggle {
    font-size: 18px;
    line-height: 1.35;
  }

  .nav-group {
    width: 100%;
  }

  .modules-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100%;
    min-width: 0;
    margin-top: 12px;
    padding: 10px;
    border-radius: 18px;
    box-shadow: none;
    border: 1px solid rgba(146, 165, 197, 0.24);
    background: rgba(244, 248, 255, 0.9);
  }

  .modules-menu a {
    padding: 12px 14px;
    border-radius: 14px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 8px;
  }

  .header-inner {
    row-gap: 12px;
  }

  .brand {
    gap: 12px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 12px;
  }

  .header-quick {
    gap: 10px;
    padding-bottom: 4px;
  }

  .quick-module {
    min-width: 190px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .quick-module strong {
    font-size: 15px;
  }

  .quick-module span {
    font-size: 12px;
  }

  .nav {
    top: 108px;
    left: 12px;
    right: 12px;
    max-height: calc(100dvh - 122px);
    padding: 16px 16px 20px;
    border-radius: 24px;
  }
}

/* === Final mobile header cleanup === */
@media (max-width: 860px) {
  .header-quick {
    display: none !important;
  }

  .header-inner {
    grid-template-columns: 1fr auto !important;
    grid-template-areas: "brand menu" !important;
    row-gap: 0 !important;
    min-height: 70px;
  }

  .brand {
    grid-area: brand;
  }

  .menu-btn {
    grid-area: menu;
  }

  .header-inner.open .nav,
  .nav {
    top: 70px !important;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 0 !important;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-inner.open .nav,
  .nav {
    top: 64px !important;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .hero h1 span {
    margin-top: 8px;
    font-size: .72em;
    line-height: 1.13;
  }
}
EOF\

cat >> /var/www/irekos/styles.css <<'EOF'

/* === Final mobile header cleanup === */
@media (max-width: 860px) {
  .header-quick {
    display: none !important;
  }

  .header-inner {
    grid-template-columns: 1fr auto !important;
    grid-template-areas: "brand menu" !important;
    row-gap: 0 !important;
    min-height: 70px;
  }

  .brand {
    grid-area: brand;
  }

  .menu-btn {
    grid-area: menu;
  }

  .header-inner.open .nav,
  .nav {
    top: 70px !important;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 0 !important;
  }

  .header-inner {
    min-height: 64px;
  }

  .header-inner.open .nav,
  .nav {
    top: 64px !important;
  }

  .hero {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 44px);
    line-height: 1.02;
  }

  .hero h1 span {
    margin-top: 8px;
    font-size: .72em;
    line-height: 1.13;
  }
}

/* Wordstat Bulk */

.module-icon-bulk {
  background: #fff5d8;
  color: #8b6700;
}

.service-bulk::after {
  background:
    radial-gradient(
      circle,
      rgba(255, 196, 0, .20),
      transparent 68%
    );
}

.service-bulk .service-symbol {
  background: #8b6700;
}

@media (min-width: 1041px) {
  .service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card h3 {
    font-size: clamp(26px, 2.4vw, 36px);
  }
}
