/*
Theme Name: MK Master Modern
Theme URI: https://mk-master.ru/
Author: MK-MASTER
Description: Лёгкая современная тема-визитка для MK-MASTER.
Version: 2.0.0
Text Domain: mk-master-modern
*/

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #15202b;
  --muted: #5e6b78;
  --line: #dce2e8;
  --accent: #1769e0;
  --accent-dark: #0d4fae;
  --accent-soft: #e8f1ff;
  --dark: #101923;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(20, 32, 43, .08);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; border-radius: 12px; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(220,226,232,.85);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 22px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 10px; font-size: 16px; box-shadow: 0 8px 18px rgba(23,105,224,.25); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; padding: 10px 13px; color: #354250; text-decoration: none; font-size: 15px; font-weight: 650; border-radius: 10px; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--accent); background: var(--accent-soft); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 9px; border-radius: 10px; cursor: pointer; }
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 23px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s ease; }
.menu-toggle-lines { position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; }
.menu-toggle-lines::before { top: -7px; }
.menu-toggle-lines::after { top: 7px; }
.header-search { position: relative; }
.header-search summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; }
.header-search summary::-webkit-details-marker { display: none; }
.search-popover { position: absolute; right: 0; top: 50px; width: min(380px, calc(100vw - 40px)); padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.search-form { display: flex; gap: 8px; }
.search-field { min-width: 0; flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; }
.search-submit { border: 0; padding: 11px 16px; color: #fff; background: var(--accent); border-radius: 10px; cursor: pointer; }

.hero { padding: clamp(70px, 10vw, 132px) 0 84px; overflow: hidden; background: linear-gradient(145deg, #f9fbff 0%, #eef4fb 60%, #e7edf5 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); align-items: center; gap: clamp(40px, 7vw, 90px); }
.eyebrow { margin: 0 0 18px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 800; }
.hero h1 { max-width: 770px; margin: 0 0 24px; font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
.hero-lead { max-width: 660px; margin: 0 0 34px; color: var(--muted); font-size: clamp(19px, 2vw, 23px); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid var(--accent); border-radius: 12px; color: #fff; background: var(--accent); text-decoration: none; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(23,105,224,.2); }
.button .icon { width: 19px; height: 19px; margin-left: 7px; }
.button-secondary .icon { margin: 0 7px 0 0; }
.button-secondary { color: var(--ink); background: transparent; border-color: #b8c3ce; }
.button-secondary:hover { color: var(--ink); background: #fff; box-shadow: none; }
.hero-panel { position: relative; min-height: 410px; padding: 30px; color: var(--ink); background: rgba(255,255,255,.88); border: 1px solid #dfe7f0; border-radius: 28px; box-shadow: 0 24px 60px rgba(40,73,105,.11); }
.hero-panel::before { content: ""; position: absolute; inset: -25px -25px auto auto; width: 145px; height: 145px; border-radius: 50%; background: #dcecff; filter: blur(5px); opacity: .75; z-index: -1; }
.panel-label { color: #718095; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.panel-lines { margin-top: 56px; display: grid; gap: 18px; }
.panel-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel-line strong { font-size: 18px; }
.panel-line span { color: #9eafbf; font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #b9c8d6; font-size: 14px; }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.capability-item { display: flex; align-items: center; gap: 13px; min-height: 105px; padding: 18px; border: 1px solid #e1e8ef; border-radius: 16px; background: #f9fbfd; }
.capability-item:nth-child(2) { background: #f3f8ff; }
.capability-item:nth-child(3) { background: #f4faf7; }
.capability-item:nth-child(4) { background: #fff8f0; }
.capability-item strong, .capability-item span { display: block; }
.capability-item strong { margin-bottom: 2px; font-size: 16px; line-height: 1.2; }
.capability-item div > span { color: var(--muted); font-size: 12px; line-height: 1.3; }
.capability-panel .status { color: #657486; }
.icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 24px; height: 24px; vertical-align: middle; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.capability-item > .icon, .service-card > .icon { width: 46px; height: 46px; padding: 11px; color: var(--accent); background: var(--accent-soft); border-radius: 13px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4ed58a; box-shadow: 0 0 0 5px rgba(78,213,138,.12); }

.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-white { background: var(--surface); }
.section-dark { color: var(--ink); background: #eaf2ff; }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.04em; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.section-dark .section-heading p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 0 rgba(20,32,43,.02); }
.card-number { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.card h3 { margin: 38px 0 10px; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); }
.service-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #c9d7e6; box-shadow: var(--shadow); }
.service-card h3 { margin-top: 26px; }
.service-card > a { display: inline-flex; align-items: center; gap: 4px; margin-top: 24px; font-size: 14px; font-weight: 750; text-decoration: none; }
.service-card > a .icon { width: 17px; height: 17px; }
.project-card { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; border-radius: 22px; overflow: hidden; text-decoration: none; background: #172230; }
.project-card:nth-child(2) { background: #183b65; }
.project-card:nth-child(3) { background: #24453d; }
.project-card::before { content: ""; position: absolute; width: 210px; height: 210px; right: -60px; top: -70px; border-radius: 44px; border: 1px solid rgba(255,255,255,.18); transform: rotate(24deg); }
.project-card:hover { color: #fff; transform: translateY(-3px); }
.project-type { color: #b8c6d3; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.project-card h3 { position: relative; margin: 10px 0 8px; font-size: 26px; line-height: 1.15; }
.project-card p { position: relative; margin: 0; color: #c9d4dd; font-size: 15px; }
.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-top: 0; }
.process-item { counter-increment: step; padding: 26px 24px 0 0; }
.process-item::before { display: none; }
.step-icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 28px; color: var(--accent); background: #fff; border: 1px solid #cfe0f5; border-radius: 13px; font-size: 14px; font-weight: 800; box-shadow: 0 8px 20px rgba(23,105,224,.08); }
.process-item h3 { margin: 0 0 8px; font-size: 20px; }
.process-item p { margin: 0; color: var(--muted); font-size: 15px; }
.articles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { display: block; padding: 27px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); }
.article-card:hover { color: var(--ink); border-color: #aebfd0; box-shadow: var(--shadow); }
.article-meta { color: var(--muted); font-size: 13px; }
.article-card h3 { margin: 15px 0 8px; font-size: 24px; line-height: 1.25; }
.article-card p { margin: 0; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit-card { display: flex; gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.benefit-card > .icon { width: 48px; height: 48px; flex: 0 0 48px; padding: 11px; color: var(--accent); background: var(--accent-soft); border-radius: 14px; }
.benefit-card:nth-child(2) > .icon { color: #177a5b; background: #e5f6ef; }
.benefit-card:nth-child(3) > .icon { color: #7651c9; background: #f0ebff; }
.benefit-card:nth-child(4) > .icon { color: #b76217; background: #fff0df; }
.benefit-card h3 { margin: 1px 0 6px; font-size: 20px; line-height: 1.25; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 15px; }
.cta { padding: 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; border-radius: 26px; color: #fff; background: var(--accent); }
.cta h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 45px); line-height: 1.08; letter-spacing: -.04em; }
.cta p { margin: 0; color: #dbeaff; }
.cta .button { color: var(--accent); background: #fff; border-color: #fff; }
.cta-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; color: var(--accent); background: #fff; border-radius: 14px; }
.cta-icon .icon { width: 25px; height: 25px; }

.content-shell { padding: 68px 0 100px; }
.page-header { max-width: 820px; margin-bottom: 42px; }
.page-header h1 { margin: 0 0 12px; font-size: clamp(38px, 6vw, 64px); line-height: 1.07; letter-spacing: -.045em; }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.breadcrumbs a { color: inherit; }
.entry-content { max-width: 850px; padding: clamp(26px, 5vw, 54px); background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.entry-content-wide { max-width: none; }
.entry-content .cards { margin-block: 30px; }
.entry-content .project-card { color: #fff; }
.phone-large { display: inline-block; margin: 18px 0 8px; color: var(--ink); font-size: clamp(29px, 5vw, 48px); font-weight: 800; letter-spacing: -.04em; text-decoration: none; }
.projects-intro { max-width: 720px; }
.projects-intro > p:last-child { color: var(--muted); font-size: 20px; }
.project-list { display: grid; gap: 14px; }
.project-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 24px; min-height: 150px; padding: 26px 30px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.project-row:hover { color: var(--ink); transform: translateY(-2px); border-color: #b9cde2; box-shadow: var(--shadow); }
.project-icon { display: grid; place-items: center; width: 68px; height: 68px; color: var(--accent); border-radius: 18px; }
.project-icon .icon { width: 31px; height: 31px; }
.project-icon-blue { background: #e8f1ff; }
.project-icon-green { color: #167a5b; background: #e5f6ef; }
.project-icon-violet { color: #7651c9; background: #f0ebff; }
.project-icon-orange { color: #b76217; background: #fff0df; }
.project-copy { display: grid; gap: 5px; }
.project-copy strong { font-size: clamp(21px,3vw,28px); line-height: 1.15; letter-spacing: -.025em; }
.project-copy > span:last-child { color: var(--muted); }
.project-type { color: #6f7e8c; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.project-arrow { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); border: 1px solid #d8e2ec; border-radius: 50%; }
.project-arrow .icon { width: 21px; height: 21px; }
.project-badge { padding: 7px 11px; color: #667584; background: #f3f5f7; border-radius: 999px; font-size: 12px; font-weight: 700; }
.projects-note { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; margin-top: 34px; padding: 26px 30px; background: #edf4ff; border: 1px solid #d2e2f7; border-radius: 20px; }
.projects-note > span { display: grid; place-items: center; width: 48px; height: 48px; color: var(--accent); background: #fff; border-radius: 14px; }
.projects-note strong { font-size: 20px; }
.projects-note p { margin: 3px 0 0; color: var(--muted); }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { line-height: 1.2; letter-spacing: -.025em; }
.entry-content h2 { margin-top: 1.7em; font-size: 32px; }
.entry-content h3 { margin-top: 1.5em; font-size: 24px; }
.entry-content pre { max-width: 100%; overflow: auto; padding: 20px; color: #e7eef5; background: #111b25; border-radius: 12px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--line); }
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.listing-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.listing-card h2 { margin: 8px 0 10px; font-size: 25px; line-height: 1.2; }
.listing-card h2 a { color: var(--ink); text-decoration: none; }
.listing-card p { color: var(--muted); }
.pagination { margin-top: 38px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; text-decoration: none; }
.page-numbers.current { color: #fff; background: var(--accent); border-color: var(--accent); }

.site-footer { color: #b4c0cb; background: #0c141d; }
.footer-main { padding: 62px 0 44px; display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; }
.footer-brand { color: #fff; }
.footer-note { max-width: 430px; margin: 16px 0 0; }
.footer-title { margin: 0 0 14px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: 8px; }
.footer-links a { color: #b4c0cb; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; inset: 77px 0 auto; display: none; padding: 18px 20px 28px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20,32,43,.1); }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: 3px; }
  .site-nav a { padding: 13px; font-size: 17px; }
  .header-search { order: 2; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 350px; }
  .cards, .process { grid-template-columns: repeat(2, 1fr); }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; gap: 8px; }
  .site-nav { top: 69px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: clamp(39px, 13vw, 56px); }
  .hero-panel { min-height: 315px; padding: 24px; }
  .capability-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .capability-item { min-height: 88px; }
  .section { padding: 66px 0; }
  .cards, .articles, .listing-grid, .process, .benefit-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 270px; }
  .process-item::before { margin-bottom: 20px; }
  .cta { padding: 34px 26px; grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :first-child { grid-column: auto; }
  .entry-content { padding: 24px 20px; border-radius: 16px; }
  .entry-content .cards { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: auto 1fr; gap: 16px; padding: 20px; }
  .project-icon { width: 54px; height: 54px; border-radius: 15px; }
  .project-arrow, .project-badge { display: none; }
  .project-copy > span:last-child { grid-column: 1 / -1; }
  .projects-note { grid-template-columns: auto 1fr; padding: 22px; }
  .projects-note .button { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Digital Workshop 2.0 */
:root {
  --bg: #f7f5ef;
  --surface: #fffefa;
  --ink: #242b28;
  --muted: #667069;
  --line: #dedcd2;
  --accent: #326650;
  --accent-dark: #234c3b;
  --accent-soft: #e1ebe4;
  --sage: #dce8df;
  --sand: #efe4d1;
  --radius: 16px;
  --shadow: 0 12px 34px rgba(36, 43, 40, .07);
}

body { color: var(--ink); background: var(--bg); font-size: 18px; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid rgba(50, 102, 80, .42); outline-offset: 3px; }
.site-header { background: rgba(247, 245, 239, .95); border-color: var(--line); }
.brand { color: var(--ink); }
.brand-mark { color: #fff; background: var(--accent); box-shadow: none; }
.site-nav a { color: #49524d; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--accent); background: var(--accent-soft); }
.menu-toggle, .header-search summary { color: var(--ink); border-color: #d3d2c8; background: var(--surface); }
.menu-toggle:hover, .header-search summary:hover { color: var(--accent); border-color: #aabeb1; }
.search-popover { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }

.button { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: none; }
.button:hover { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.button-secondary { color: var(--accent-dark); background: transparent; border-color: #aebfb4; }
.button-secondary:hover { color: var(--accent-dark); background: var(--accent-soft); border-color: #91ab9a; }

.workshop-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 124px); border-bottom: 1px solid var(--line); }
.workshop-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); align-items: center; gap: clamp(44px, 7vw, 96px); }
.workshop-intro { max-width: 700px; }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.workshop-intro h1 { max-width: 760px; margin: 0; font-size: clamp(40px, 5vw, 60px); line-height: 1.03; letter-spacing: -.045em; }
.hero-lead { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 20px; line-height: 1.65; }
.workshop-intro .actions { margin-top: 34px; }

.workspace-visual { position: relative; padding: 10px; }
.workspace-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.visual-window, .visual-card { fill: var(--surface); stroke: #b8c9bd; stroke-width: 2; }
.visual-window { filter: drop-shadow(0 16px 22px rgba(36, 43, 40, .08)); }
.visual-bar { fill: var(--sage); }
.visual-bar-mask { fill: var(--sage); }
.visual-dot { fill: var(--accent); opacity: .55; }
.visual-sidebar { fill: var(--sand); }
.visual-line, .visual-small, .visual-wire, .visual-code { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.visual-line { stroke: #93a199; stroke-width: 8; }
.visual-small { stroke: #779083; stroke-width: 5; }
.visual-code { stroke: var(--accent); stroke-width: 6; }
.visual-wire { stroke: #9bb2a3; stroke-width: 2.5; stroke-dasharray: 5 8; }
.visual-card-browser { fill: #edf3ee; }
.visual-card-device { fill: #f5ead8; }
.visual-card-data { fill: #e8eee9; }
.visual-phone { fill: none; stroke: var(--accent); stroke-width: 3; }
.visual-node { fill: var(--accent); }
.visual-caption { display: block; margin: -2px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

.section { padding: clamp(72px, 8vw, 112px) 0; }
.workshop-heading { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(380px, 1.2fr); column-gap: 64px; max-width: 960px; }
.workshop-heading .section-kicker { grid-column: 1 / -1; }
.workshop-heading h2, .start-section h2, .faq-intro h2, .tool-strip h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.workshop-heading > p:last-child { margin: 5px 0 0; color: var(--muted); line-height: 1.65; }
.task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 7vw, 94px); margin-top: 54px; border-top: 1px solid var(--line); }
.task-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; min-height: 154px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.task-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--accent); background: var(--accent-soft); border-radius: 14px; }
.task-item:nth-child(4n+2) .task-icon, .task-item:nth-child(4n+3) .task-icon { background: var(--sand); }
.task-icon .icon { width: 25px; height: 25px; }
.task-item h3 { margin: 1px 0 8px; font-size: 22px; line-height: 1.2; }
.task-item p { margin: 0; color: var(--muted); line-height: 1.55; }

.tool-strip { padding: 62px 0; background: #e8eee8; border-block: 1px solid #d3ddd5; }
.tool-strip-inner { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(400px, 1.1fr); align-items: center; gap: clamp(42px, 8vw, 110px); }
.tool-strip h2 { font-size: clamp(30px, 3vw, 42px); }
.tool-strip p:last-child { max-width: 620px; margin: 16px 0 0; color: var(--muted); }
.tool-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-tags li { padding: 10px 15px; color: var(--accent-dark); background: rgba(255, 254, 250, .72); border: 1px solid #c8d5cc; border-radius: 999px; font-size: 15px; font-weight: 720; }

.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .62fr); align-items: center; gap: clamp(56px, 9vw, 126px); }
.start-steps { margin: 42px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.start-steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.start-steps li > span { color: var(--accent); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.start-steps strong { display: block; font-size: 21px; }
.start-steps p { margin: 6px 0 0; color: var(--muted); }
.start-note { padding: 34px; background: var(--sand); border: 1px solid #e1d2b9; border-radius: var(--radius); }
.start-note .icon { width: 32px; height: 32px; color: var(--accent); }
.start-note p { margin: 22px 0 0; font-size: 20px; line-height: 1.6; }

.faq-section { padding-top: 48px; }
.faq-grid { display: grid; grid-template-columns: minmax(250px, .7fr) minmax(440px, 1.3fr); gap: clamp(54px, 9vw, 130px); }
.faq-intro > p:last-child { max-width: 350px; margin: 20px 0 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 25px 0; font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; place-items: center; width: 31px; height: 31px; color: var(--accent); border: 1px solid #b8c9bd; border-radius: 50%; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 690px; margin: -6px 54px 25px 0; color: var(--muted); line-height: 1.6; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 82px; padding: 34px 38px; background: var(--sage); border: 1px solid #cad8ce; border-radius: var(--radius); }
.contact-band > div { display: grid; gap: 4px; }
.contact-label { color: var(--muted); font-size: 13px; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.contact-band > div a { color: var(--ink); font-size: clamp(28px, 4vw, 42px); font-weight: 790; line-height: 1.1; letter-spacing: -.03em; text-decoration: none; }

.content-shell { background: var(--bg); }
.page-heading h1, .entry-header h1 { font-size: clamp(38px, 5vw, 60px); }
.entry-content, .listing-card, .project-row { background: var(--surface); border-color: var(--line); box-shadow: none; }
.entry-content pre { background: var(--ink); }
.project-icon-blue, .project-icon-green, .project-icon-violet { color: var(--accent); background: var(--accent-soft); }
.project-icon-orange { color: #946630; background: var(--sand); }
a.project-row:hover { border-color: #afc1b5; box-shadow: var(--shadow); }
.project-arrow { color: var(--accent); border-color: #c9d5cd; }
.projects-note, .cta { color: var(--ink); background: var(--sage); border-color: #cad8ce; box-shadow: none; }
.projects-note > span { color: var(--accent); background: var(--surface); }
.site-footer { color: var(--muted); background: #f0eee7; border-top: 1px solid var(--line); }
.footer-brand, .footer-title { color: var(--ink); }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-color: var(--line); }

@media (max-width: 900px) {
  .site-nav { background: var(--bg); box-shadow: var(--shadow); }
  .workshop-hero-grid, .tool-strip-inner, .start-grid, .faq-grid { grid-template-columns: 1fr; }
  .workshop-hero-grid { gap: 44px; }
  .workspace-visual { width: min(590px, 100%); margin-inline: auto; }
  .workshop-heading { grid-template-columns: 1fr; }
  .workshop-heading .section-kicker { grid-column: auto; }
  .workshop-heading > p:last-child { margin-top: 18px; }
  .tool-strip-inner, .start-grid, .faq-grid { gap: 42px; }
  .tool-tags { max-width: 650px; }
  .faq-intro > p:last-child { max-width: 600px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .workshop-hero { padding: 58px 0 70px; }
  .workshop-intro h1 { font-size: 38px; }
  .hero-lead { margin-top: 20px; font-size: 17px; }
  .workshop-intro .actions { align-items: stretch; flex-direction: column; }
  .workshop-intro .button { justify-content: center; width: 100%; }
  .workspace-visual { padding: 0; }
  .visual-caption { margin-top: 4px; }
  .section { padding: 68px 0; }
  .workshop-heading h2, .start-section h2, .faq-intro h2, .tool-strip h2 { font-size: 34px; }
  .task-list { grid-template-columns: 1fr; margin-top: 36px; }
  .task-item { min-height: auto; padding: 23px 0; }
  .tool-strip { padding: 54px 0; }
  .tool-strip-inner { gap: 30px; }
  .tool-tags { gap: 8px; }
  .tool-tags li { padding: 8px 12px; font-size: 14px; }
  .start-note { padding: 27px 24px; }
  .start-note p { font-size: 18px; }
  .faq-section { padding-top: 28px; }
  .faq-list summary { padding: 22px 0; font-size: 18px; }
  .faq-list details p { margin-right: 0; }
  .contact-band { align-items: stretch; flex-direction: column; margin-top: 58px; padding: 28px 24px; }
  .contact-band .button { justify-content: center; }
  .contact-band > div a { font-size: 29px; }
}
