:root {
    --white: #FFFFFF;
    --black: #000000;
    --green: #4A6741;
    --green-light: #6B8F62;
    --green-dim: rgba(74, 103, 65, 0.15);
    --gray-100: #F5F5F5;
    --gray-200: #E8E8E8;
    --gray-400: #9A9A9A;
    --gray-600: #555555;
    --border: 1px solid #000;
    --border-thin: 1px solid rgba(0,0,0,0.12);
    --grid: 8px;
    --font-body: 'Barlow', sans-serif;
    --font-display: 'Barlow Condensed', sans-serif;
  }

  html[lang="uk"],
  html[lang="ru"] {
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-display: 'Roboto Condensed', sans-serif;
  }

  html[lang="uk"] .nav-links a,
  html[lang="ru"] .nav-links a,
  html[lang="uk"] .nav-cta,
  html[lang="ru"] .nav-cta,
  html[lang="uk"] .lang-btn,
  html[lang="ru"] .lang-btn {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  html[lang="uk"] .hero-role,
  html[lang="ru"] .hero-role {
    letter-spacing: 0.22em;
  }

  html[lang="uk"] h1,
  html[lang="ru"] h1 {
    font-size: clamp(66px, 9vw, 136px);
    font-family: 'Barlow Condensed', sans-serif;
  }

  html[lang="uk"] h2,
  html[lang="ru"] h2 {
    font-size: clamp(38px, 4.8vw, 66px);
  }

  html[lang="uk"] .project-card-title,
  html[lang="ru"] .project-card-title {
    font-size: 30px;
    letter-spacing: -0.02em;
  }

  html[lang="uk"] .hero-name strong,
  html[lang="ru"] .hero-name strong {
    letter-spacing: 0.12em;
  }

  html[lang="uk"] .contact-headline,
  html[lang="ru"] .contact-headline {
    letter-spacing: -0.03em;
  }

  html[lang="uk"] .latin-font-body,
  html[lang="ru"] .latin-font-body {
    font-family: 'Barlow', sans-serif !important;
  }

  html[lang="uk"] .latin-font-display,
  html[lang="ru"] .latin-font-display {
    font-family: 'Barlow Condensed', sans-serif !important;
  }

  html.theme-switching body,
  html.theme-switching nav,
  html.theme-switching footer,
  html.theme-switching .grid-overlay,
  html.theme-switching .section-back-link,
  html.theme-switching .lang-switcher,
  html.theme-switching .theme-toggle,
  html.theme-switching .nav-cta,
  html.theme-switching .hero-terminal,
  html.theme-switching .record-sleeve,
  html.theme-switching .hero-link,
  html.theme-switching .section-divider,
  html.theme-switching .cap-card,
  html.theme-switching .cap-desc,
  html.theme-switching .tag,
  html.theme-switching .adv-block,
  html.theme-switching .project-card,
  html.theme-switching .project-preview,
  html.theme-switching .project-chip,
  html.theme-switching #advantages,
  html.theme-switching #faq,
  html.theme-switching .faq-item,
  html.theme-switching #experience,
  html.theme-switching .skill-chip,
  html.theme-switching .contact-form-shell,
  html.theme-switching .contact-form-note,
  html.theme-switching .contact-choice span,
  html.theme-switching .contact-field input,
  html.theme-switching .contact-field textarea,
  html.theme-switching .footer-status,
  html.theme-switching .cursor,
  html.theme-switching .cursor-ring {
    transition:
      background-color 0.42s ease,
      color 0.42s ease,
      border-color 0.42s ease,
      box-shadow 0.42s ease,
      opacity 0.42s ease,
      fill 0.42s ease,
      stroke 0.42s ease;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; cursor: none !important; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
    cursor: none;
  }

  /* CUSTOM CURSOR */
  .cursor {
    width: 10px; height: 10px;
    background: var(--black);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  }
  .cursor-ring {
    width: 32px; height: 32px;
    border: 1px solid var(--black);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.25s, height 0.25s, border-color 0.2s;
  }
  body:hover .cursor { opacity: 1; }

  /* GRID OVERLAY */
  .grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
    background-image:
      linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 64px 64px;
  }

  .section-back-link {
    position: fixed; right: 28px; bottom: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.84);
    backdrop-filter: blur(12px);
    color: var(--black); text-decoration: none;
    z-index: 1001;
    box-shadow: 0 10px 24px rgba(0,0,0,0.04);
    transition: border-color 0.24s ease, background 0.24s ease, color 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease;
  }
  .section-back-link:hover {
    border-color: var(--green);
    background: rgba(107, 143, 98, 0.12);
    color: var(--green);
    box-shadow: 0 14px 28px rgba(74, 103, 65, 0.12);
  }
  .section-back-link.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
  .section-back-link-icon, .section-back-link-text { display: inline-flex; align-items: center; }
  .section-back-link-icon {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700; line-height: 1;
    transition: transform 0.24s ease;
  }
  .section-back-link-text { display: none; }
  .section-back-link:hover .section-back-link-icon { transform: translateY(-1px); }

  /* NAV */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 64px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-thin);
  }
  .nav-logo {
    font-family: var(--font-display);
    font-weight: 700; font-size: 16px;
    letter-spacing: 0.08em; color: var(--black); text-decoration: none;
  }
  .nav-links { display: flex; gap: 40px; list-style: none; }
  .nav-links a {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--black); text-decoration: none;
    transition: color 0.2s; position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--green);
    transition: width 0.25s ease;
  }
  .nav-links a:hover { color: var(--green); }
  .nav-links a:hover::after { width: 100%; }
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .nav-cta {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    border: var(--border); background: none;
    color: var(--black); height: 42px; padding: 0 24px;
    display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; transition: background 0.2s, color 0.2s;
  }
  .nav-cta:hover { background: var(--green); color: var(--white); border-color: var(--green); }
  .lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
  }
  .lang-btn {
    border: 0;
    background: transparent;
    color: var(--gray-600);
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease;
  }
  .lang-btn:hover {
    color: var(--black);
    background: rgba(0,0,0,0.04);
  }
  .lang-btn.is-active {
    background: var(--green);
    color: var(--white);
  }
  .theme-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(10px);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
  }
  .theme-toggle:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-1px);
  }
  .theme-toggle-icon {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.24s ease, transform 0.24s ease;
  }
  .theme-toggle-icon svg {
    width: 18px;
    height: 18px;
  }
  .theme-toggle-moon svg {
    width: 16px;
    height: 16px;
    display: block;
    transform: none;
  }
  .theme-toggle-moon {
    opacity: 0;
    transform: scale(0.84);
  }
  html[data-theme="dark"] .theme-toggle-sun {
    opacity: 0;
    transform: scale(0.84);
  }
  html[data-theme="dark"] .theme-toggle-moon {
    opacity: 1;
    transform: scale(1);
  }

  html[data-theme="dark"] {
    --white: #0d0d10;
    --black: #f2f0eb;
    --green: #7ea36b;
    --green-light: #9bc387;
    --green-dim: rgba(126,163,107,0.18);
    --gray-100: #141419;
    --gray-200: #1b1c20;
    --gray-400: #9b9b9b;
    --gray-600: #b8b8b8;
    --border: 1px solid rgba(255,255,255,0.14);
    --border-thin: 1px solid rgba(255,255,255,0.1);
  }

  html[data-theme="dark"] body {
    background: #0d0d10;
    color: #f2f0eb;
  }

  html[data-theme="dark"] .grid-overlay {
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  }

  html[data-theme="dark"] nav,
  html[data-theme="dark"] footer {
    background: rgba(11,11,14,0.92);
  }

  html[data-theme="dark"] .lang-switcher,
  html[data-theme="dark"] .theme-toggle,
  html[data-theme="dark"] .section-back-link,
  html[data-theme="dark"] .hero-terminal,
  html[data-theme="dark"] .cap-desc,
  html[data-theme="dark"] .project-card,
  html[data-theme="dark"] .skill-chip,
  html[data-theme="dark"] .contact-form-shell,
  html[data-theme="dark"] .contact-form-note,
  html[data-theme="dark"] .contact-choice span,
  html[data-theme="dark"] .contact-field input,
  html[data-theme="dark"] .contact-field textarea,
  html[data-theme="dark"] .footer-status {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.12);
    color: var(--black);
  }

  html[data-theme="dark"] .lang-btn {
    color: var(--gray-600);
  }

  html[data-theme="dark"] .lang-btn:hover {
    color: var(--black);
    background: rgba(255,255,255,0.06);
  }

  html[data-theme="dark"] .section-divider,
  html[data-theme="dark"] .scroll-line {
    background: rgba(255,255,255,0.18);
  }

  html[data-theme="dark"] h1 em {
    -webkit-text-stroke: 2px var(--black);
  }

  html[data-theme="dark"] .record-sleeve {
    background: linear-gradient(135deg, rgba(126,163,107,0.18), rgba(255,255,255,0) 52%), linear-gradient(180deg, #17181c 0%, #101115 100%);
    color: var(--black);
    box-shadow: 18px 18px 0 rgba(255,255,255,0.04);
  }

  html[data-theme="dark"] .record-sleeve-glow {
    border-color: rgba(255,255,255,0.12);
  }

  html[data-theme="dark"] .record-sleeve-lines {
    background-image: repeating-linear-gradient(135deg, transparent 0, transparent 14px, rgba(255,255,255,0.04) 14px, rgba(255,255,255,0.04) 15px);
  }

  html[data-theme="dark"] .record-hint-ring {
    border-color: rgba(255,255,255,0.34);
    background: rgba(20,20,24,0.7);
  }

  html[data-theme="dark"] .record-hint-dot,
  html[data-theme="dark"] .hero-terminal-caret {
    background: var(--black);
  }

  html[data-theme="dark"] .preview-crm {
    background: #1b1d22;
  }

  html[data-theme="dark"] .preview-mobile {
    background: #181a20;
  }

  html[data-theme="dark"] .preview-dash {
    background: #1d1f25;
  }

  html[data-theme="dark"] .preview-mobile::before {
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  }

  html[data-theme="dark"] .project-card {
    background: #15171c;
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
  }

  html[data-theme="dark"] .project-card-title,
  html[data-theme="dark"] .project-card-desc,
  html[data-theme="dark"] .project-mark,
  html[data-theme="dark"] .crm-stat-val,
  html[data-theme="dark"] .dash-stat-n {
    color: var(--black);
  }

  html[data-theme="dark"] .project-card-desc,
  html[data-theme="dark"] .project-mark {
    color: rgba(242,240,235,0.7);
  }

  html[data-theme="dark"] .crm-topbar,
  html[data-theme="dark"] .dash-topbar {
    background: #111217;
    border-bottom-color: rgba(255,255,255,0.08);
  }

  html[data-theme="dark"] .crm-topbar-title,
  html[data-theme="dark"] .dash-topbar-title {
    color: rgba(255,255,255,0.44);
  }

  html[data-theme="dark"] .crm-sidebar,
  html[data-theme="dark"] .dash-nav {
    background: #121318;
  }

  html[data-theme="dark"] .crm-stat-card,
  html[data-theme="dark"] .crm-pipe-col,
  html[data-theme="dark"] .dash-stat,
  html[data-theme="dark"] .dash-chart-card,
  html[data-theme="dark"] .dash-side-card {
    background: #101217;
    border-color: rgba(255,255,255,0.06);
  }

  html[data-theme="dark"] .crm-stat-label,
  html[data-theme="dark"] .crm-pipe-head,
  html[data-theme="dark"] .dash-stat-l,
  html[data-theme="dark"] .dash-chart-head,
  html[data-theme="dark"] .dash-side-label {
    color: rgba(242,240,235,0.42);
  }

  html[data-theme="dark"] .crm-pipe-item {
    background: rgba(255,255,255,0.04);
    border-left-color: rgba(255,255,255,0.08);
  }

  html[data-theme="dark"] .dash-layout {
    border-top: 1px solid rgba(255,255,255,0.04);
  }

  html[data-theme="dark"] .preview-ai {
    background: #101115;
  }

  html[data-theme="dark"] .preview-bot {
    background: #11130f;
  }

  html[data-theme="dark"] .phone-frame {
    background: #f7f4ee;
    border-color: rgba(0,0,0,0.16);
  }

  html[data-theme="dark"] .phone-status,
  html[data-theme="dark"] .phone-bottom-nav {
    background: rgba(240,236,229,0.96);
  }

  html[data-theme="dark"] #experience {
    background: #121317;
  }

  html[data-theme="dark"] #advantages,
  html[data-theme="dark"] #faq {
    background: #16181d;
    color: #ffffff;
  }

  html[data-theme="dark"] #advantages h2,
  html[data-theme="dark"] #advantages .adv-title,
  html[data-theme="dark"] #advantages .adv-desc,
  html[data-theme="dark"] #faq h2,
  html[data-theme="dark"] #faq .faq-question,
  html[data-theme="dark"] #faq .faq-answer p {
    color: #ffffff;
  }

  html[data-theme="dark"] .faq-item {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.12);
  }

  html[data-theme="dark"] .faq-item.is-open {
    border-color: rgba(107,143,98,0.78);
    background: rgba(107,143,98,0.08);
    box-shadow: inset 0 0 0 1px rgba(107,143,98,0.2);
  }

  html[data-theme="dark"] .project-chip,
  html[data-theme="dark"] .tag {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.14);
    color: #d7d7d7;
  }

  /* SECTIONS */
  section { position: relative; z-index: 1; }
  .section-label {
    font-family: var(--font-display);
    font-size: 11px; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--green);
    display: flex; align-items: center; gap: 12px;
  }
  .section-label::before {
    content: ''; display: block;
    width: 32px; height: 1px; background: var(--green);
  }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr;
    padding: 0 64px; padding-top: 96px;
    align-items: center; overflow: hidden;
  }
  .hero-inner {
    display: grid; grid-template-columns: 1fr 320px;
    gap: 0; align-items: end; padding-bottom: 96px;
  }
  .hero-left { padding-top: 64px; }
  .hero-role {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 500;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--green); margin-bottom: 40px;
    display: flex; align-items: center; gap: 16px;
    opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-role-dot { width: 6px; height: 6px; background: var(--green); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
  h1 {
    font-family: var(--font-display);
    font-size: clamp(72px, 10vw, 148px);
    font-weight: 700; line-height: 0.9;
    letter-spacing: -0.02em; text-transform: uppercase;
    margin-bottom: 56px;
    opacity: 0; animation: fadeUp 0.9s 0.35s forwards;
  }
  h1 em { font-style: italic; font-weight: 300; color: transparent; -webkit-text-stroke: 2px var(--black); }
  .hero-name {
    display: block; margin-top: 22px;
    font-family: var(--font-body);
    font-size: clamp(18px, 1.7vw, 26px);
    line-height: 1.2; letter-spacing: 0.08em;
    color: var(--gray-600); -webkit-text-stroke: 0;
    font-style: italic; font-weight: 300; text-transform: none;
  }
  .hero-name strong {
    color: var(--green); font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase; font-style: normal;
  }
  .hero-terminal {
    display: flex; align-items: center; gap: 10px;
    min-height: 66px; max-width: 620px;
    padding: 16px 18px; margin-bottom: 56px;
    border: var(--border); background: rgba(245,245,245,0.72);
    font-family: var(--font-display);
    font-size: 18px; letter-spacing: 0.04em; text-transform: none;
    opacity: 0; animation: fadeUp 0.9s 0.5s forwards;
  }
  .hero-terminal-prompt { flex: 0 0 auto; color: var(--green); font-weight: 700; }
  .hero-terminal-text { min-height: 1.2em; color: var(--black); }
  .hero-terminal-caret { width: 12px; height: 24px; background: var(--black); animation: blink 0.9s steps(1) infinite; }
  .hero-actions {
    display: flex; gap: 16px; align-items: center;
    opacity: 0; animation: fadeUp 0.9s 0.65s forwards;
  }
  .btn-primary {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    background: var(--black); color: var(--white);
    padding: 18px 40px; border: none;
    text-decoration: none; display: inline-block;
    transition: background 0.2s, color 0.2s;
    position: relative; overflow: hidden;
  }
  .btn-primary::after {
    content: ''; position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--green); transition: left 0.3s ease; z-index: -1;
  }
  .btn-primary:hover { background: var(--green); }
  .btn-arrow { display: inline-block; margin-left: 10px; transition: transform 0.28s ease; }
  .btn-primary:hover .btn-arrow { transform: translateX(8px); animation: arrow-nudge 0.7s ease-in-out infinite alternate; }
  .btn-outline {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    background: transparent; color: var(--black);
    padding: 17px 40px; border: var(--border);
    text-decoration: none; display: inline-block;
    transition: background 0.2s, color 0.2s;
  }
  .btn-outline:hover { background: var(--green); color: var(--white); border-color: var(--green); }

  /* HERO GEOMETRIC FRAMES */
  .hero-frames { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
  .frame { position: absolute; border: 1px solid rgba(0,0,0,0.07); }
  .frame-1 { width: 420px; height: 420px; top: 15%; right: 20%; animation: rotate-slow 40s linear infinite; }
  .frame-2 { width: 260px; height: 260px; top: 25%; right: 23%; border-color: rgba(74,103,65,0.15); animation: rotate-slow 28s linear infinite reverse; }
  .frame-3 { width: 600px; height: 600px; bottom: -100px; right: -60px; border-color: rgba(0,0,0,0.04); }
  .frame-4 { width: 120px; height: 120px; top: 18%; right: 35%; border-color: rgba(74,103,65,0.2); animation: float 6s ease-in-out infinite; }
  @keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(6deg); } }

  /* HERO RIGHT PANEL */
  .hero-right {
    border-left: var(--border-thin); padding-left: 40px; padding-bottom: 8px;
    display: flex; flex-direction: column; align-items: center;
    opacity: 0; animation: fadeIn 1s 0.8s forwards;
  }
  .record-showcase {
    position: relative; width: 300px; height: 252px;
    margin-bottom: 26px; margin-left: auto; margin-right: auto;
    left: -12px; overflow: visible;
  }
  .record-sleeve {
    position: relative; z-index: 2; margin-left: auto;
    width: 208px; height: 208px; border: var(--border);
    background: linear-gradient(135deg, rgba(74,103,65,0.18), rgba(255,255,255,0) 52%), linear-gradient(180deg, #fbfbfb 0%, #ededed 100%);
    box-shadow: 18px 18px 0 rgba(0,0,0,0.05);
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
    padding: 24px; appearance: none; cursor: pointer; font: inherit;
    color: var(--black); text-align: left;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
  }
  .record-sleeve:hover { transform: translateY(-4px); box-shadow: 22px 22px 0 rgba(0,0,0,0.07); }
  .record-sleeve:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
  .record-sleeve-glow { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.7); pointer-events: none; }
  .record-sleeve-lines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, transparent 0, transparent 14px, rgba(0,0,0,0.045) 14px, rgba(0,0,0,0.045) 15px);
    opacity: 0.6; pointer-events: none;
  }
  .record-sleeve-title, .record-sleeve-subtitle, .record-sleeve-kicker {
    position: relative; z-index: 1;
    font-family: var(--font-display); text-transform: uppercase;
  }
  .record-sleeve-kicker { font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: var(--green); }
  .record-sleeve-title { font-size: 29px; font-weight: 700; line-height: 0.96; letter-spacing: 0.04em; max-width: 148px; text-align: left; }
  html[lang="uk"] .record-sleeve-title,
  html[lang="ru"] .record-sleeve-title { font-size: 27px; }
  .record-sleeve-subtitle { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.14); width: 100%; text-align: left; }
  .record-disc {
    position: absolute; top: 18px; left: 2px;
    width: 170px; height: 170px;
    transform: translateX(85px);
    transition: transform 0.72s cubic-bezier(0.22,1,0.36,1);
    will-change: transform;
  }
  .record-disc-face, .record-disc-grooves, .record-disc-label, .record-disc-sheen {
    position: absolute; inset: 0; border-radius: 50%;
  }
  .record-disc-face {
    background: radial-gradient(circle at 50% 50%, #0b0b0b 0 18px, #d7c29a 18px 34px, #111111 34px 42px, #050505 42px 100%);
    border: 1px solid rgba(0,0,0,0.52);
    box-shadow: 0 18px 34px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(255,255,255,0.03);
    animation: record-spin 7.4s linear infinite paused; will-change: transform;
  }
  .record-disc-grooves {
    inset: 22px; border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 0 0 9px rgba(255,255,255,0.03), 0 0 0 18px rgba(255,255,255,0.028), 0 0 0 27px rgba(255,255,255,0.022), 0 0 0 36px rgba(255,255,255,0.018), 0 0 0 45px rgba(255,255,255,0.014);
  }
  .record-disc-label {
    inset: 54px;
    background: radial-gradient(circle at center, #f7f3e8 0 6px, #4A6741 6px 24px, #efe2bf 24px 100%);
    border: 1px solid rgba(0,0,0,0.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
  }
  .record-disc-sheen {
    background: linear-gradient(120deg, transparent 0 30%, rgba(255,255,255,0.14) 44%, transparent 58%), radial-gradient(circle at 28% 24%, rgba(255,255,255,0.08), transparent 28%);
    mix-blend-mode: screen; opacity: 0.75;
  }
  .record-showcase.is-open .record-disc { transform: translateX(12px); }
  .record-showcase.is-open .record-disc-face { animation-play-state: running; }
  .record-hint-cursor {
    position: absolute; right: 26px; bottom: 18px;
    width: 38px; height: 38px; pointer-events: none;
    animation: hint-tap 2.6s ease-in-out infinite; z-index: 3;
  }
  .record-hint-ring, .record-hint-dot { position: absolute; inset: 0; border-radius: 50%; }
  .record-hint-ring { border: 1px solid rgba(0,0,0,0.55); background: rgba(255,255,255,0.58); backdrop-filter: blur(6px); }
  .record-hint-dot { inset: 11px; background: var(--black); }
  .record-showcase.is-open .record-hint-cursor { opacity: 0; transition: opacity 0.2s ease; }
  @keyframes record-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @keyframes hint-tap {
    0%,100% { transform: translate(0,0) scale(1); }
    20% { transform: translate(-12px,-10px) scale(1); }
    34% { transform: translate(-12px,-10px) scale(0.9); }
    42% { transform: translate(-12px,-10px) scale(1); }
    58% { transform: translate(0,0) scale(1); }
  }
  .hero-stat { padding: 28px 0; border-bottom: var(--border-thin); width: 100%; }
  .hero-stat:first-child { border-top: var(--border-thin); }
  .hero-link {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none; color: var(--black);
    transition: padding-left 0.24s ease, color 0.24s ease, background 0.24s ease;
  }
  .hero-link:hover { color: var(--green); padding-left: 10px; background: rgba(74,103,65,0.04); }
  .hero-link-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: var(--green); }
  .hero-link-label { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

  /* SCROLL INDICATOR */
  .scroll-indicator {
    position: absolute; bottom: 40px; left: 64px;
    display: flex; align-items: center; gap: 16px;
    opacity: 0; animation: fadeIn 1s 1.2s forwards;
  }
  .scroll-line { width: 1px; height: 48px; background: var(--black); animation: extend 2s ease-in-out infinite; transform-origin: top; }
  @keyframes extend { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.3; } }
  .scroll-text { font-family: var(--font-display); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray-400); writing-mode: vertical-lr; }

  /* DIVIDER */
  .section-divider { height: 1px; background: var(--black); margin: 0 64px; }

  /* SECTION HEADER */
  .section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 80px; }
  .section-heading-inline { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .section-heading-inline h2 { margin-top: 0; }
  .section-num {
    font-family: var(--font-display); font-size: 120px; font-weight: 700;
    line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,0.08);
    letter-spacing: -0.04em; pointer-events: none; user-select: none;
  }
  h2 { font-family: var(--font-display); font-size: clamp(40px,5vw,72px); font-weight: 700; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.01em; }

  /* ── CAPABILITIES ── */
  #capabilities { padding: 120px 64px; }
  .capabilities-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: var(--border); border-left: var(--border); }
  .cap-card { border-right: var(--border); border-bottom: var(--border); padding: 52px 40px 56px; position: relative; overflow: hidden; transition: background 0.3s, border-color 0.3s; }
  .cap-card::after { content: none; }
  .cap-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.4s ease; }
  .cap-card:hover { background: var(--gray-100); }
  .cap-card:hover::before { width: 100%; }
  .cap-icon { width: 48px; height: 48px; margin-bottom: 32px; position: relative; transition: transform 0.28s ease, filter 0.28s ease, opacity 0.28s ease; }
  .cap-index { font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--green); margin-bottom: 20px; display: block; position: relative; z-index: 1; }
  .cap-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 16px; }
  .cap-desc { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: stretch; margin-top: 18px; padding: 12px 14px 12px 12px; border: 1px solid rgba(0,0,0,0.12); background: linear-gradient(180deg, rgba(245,245,245,0.85), rgba(255,255,255,0.9)); }
  .cap-code-lines { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: flex-start; padding-top: 2px; border-right: 1px solid rgba(0,0,0,0.08); color: var(--green); font-family: var(--font-display); font-size: 8px; font-weight: 700; letter-spacing: 0.04em; }
  .cap-code-text { font-family: var(--font-display); font-size: 15px; font-weight: 400; color: var(--gray-600); line-height: 1.7; }
  .cap-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
  .tag { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid rgba(0,0,0,0.15); padding: 5px 12px; color: var(--gray-600); transition: border-color 0.2s, color 0.2s; }
  .cap-card:hover .tag { border-color: var(--green); color: var(--green); }
  .cap-card:hover .cap-desc { border-color: rgba(74,103,65,0.34); }
  .cap-card:hover .cap-icon { transform: translateY(-2px); filter: brightness(1.15) saturate(1.1); }
  html[data-theme="dark"] .cap-icon .icon-svg * {
    stroke: rgba(242,240,235,0.82) !important;
  }
  html[data-theme="dark"] .cap-icon .icon-svg circle[fill],
  html[data-theme="dark"] .cap-icon .icon-svg rect[fill] {
    fill: rgba(126,163,107,0.92) !important;
  }
  html[data-theme="dark"] .cap-card:hover .cap-icon .icon-svg * {
    stroke: rgba(255,255,255,0.96) !important;
  }

  /* ── ADVANTAGES ── */
  #advantages { padding: 120px 64px; background: var(--black); color: var(--white); }
  #advantages .section-label { color: var(--green-light); }
  #advantages .section-label::before { background: var(--green-light); }
  #advantages h2 { color: var(--white); }
  .adv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid rgba(255,255,255,0.1); border-left: 1px solid rgba(255,255,255,0.1); margin-top: 80px; }
  .adv-block { border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 56px 48px; position: relative; overflow: hidden; background: rgba(255,255,255,0.015); transition: border-color 0.28s ease, background 0.28s ease, transform 0.28s ease; }
  .adv-block::before { content: ''; position: absolute; inset: 0; border: 1px solid transparent; pointer-events: none; transition: border-color 0.28s ease; }
  .adv-block::after { content: attr(data-num); position: absolute; top: 50%; right: 32px; display: flex; align-items: center; font-family: var(--font-display); font-size: 182px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.18); opacity: 0.82; line-height: 0.8; pointer-events: none; letter-spacing: -0.02em; transform: translateY(-50%); }
  .adv-block:hover { background: rgba(255,255,255,0.03); border-color: rgba(107,143,98,0.3); transform: translateY(-4px); }
  .adv-block:hover::before { border-color: rgba(107,143,98,0.75); }
  .adv-block:hover::after { -webkit-text-stroke: 1px rgba(107,143,98,0.34); opacity: 1; }
  .adv-num { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--green-light); margin-bottom: 22px; display: inline-block; position: relative; z-index: 1; }
  .adv-num::after { content: none; }
  .adv-block:hover .adv-num { color: #d7ebd1; }
  .adv-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 20px; color: var(--white); max-width: 68%; position: relative; z-index: 1; }
  .adv-desc { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 72%; position: relative; z-index: 1; }

  /* ── PROJECTS ── */
  #projects { padding: 120px 64px; }

  .projects-request {
    font-family: var(--font-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    border: var(--border); padding: 14px 28px;
    text-decoration: none; color: var(--black);
    transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
  }
  .projects-request:hover { background: var(--green); color: var(--white); border-color: var(--green); }

  .projects-grid {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 20px;
  }

  .project-card {
    border: var(--border);
    background: var(--white);
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
    position: relative;
  }
  .project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(74,103,65,0.55);
    box-shadow: 0 20px 48px rgba(0,0,0,0.09);
  }
  .project-card-wide { grid-column: span 2; }

  .project-preview {
    height: 248px;
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-thin);
    flex-shrink: 0;
  }

  /* ── CRM PREVIEW ── */
  .preview-crm { background: #F7F7F5; }
  .crm-topbar { position: absolute; top: 0; left: 0; right: 0; height: 40px; background: var(--black); display: flex; align-items: center; padding: 0 20px; gap: 8px; }
  .crm-topbar-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); }
  .crm-topbar-dot:first-child { background: #4A6741; }
  .crm-topbar-title { margin-left: 10px; font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
  .crm-sidebar { position: absolute; top: 40px; left: 0; width: 68px; bottom: 0; background: #111; display: flex; flex-direction: column; align-items: center; padding: 18px 0; gap: 16px; }
  .crm-nav-item { width: 32px; height: 32px; border-radius: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; transition: background 0.24s; }
  .crm-nav-item.active { background: rgba(74,103,65,0.55); border-color: rgba(74,103,65,0.8); }
  .crm-nav-icon { width: 14px; height: 2px; background: rgba(255,255,255,0.4); position: relative; }
  .crm-nav-icon::before, .crm-nav-icon::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: inherit; }
  .crm-nav-icon::before { top: -5px; }
  .crm-nav-icon::after { top: 5px; width: 60%; }
  .crm-main { position: absolute; top: 40px; left: 68px; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
  .crm-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .crm-stat-card { background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: 4px; padding: 10px 12px; position: relative; overflow: hidden; transition: transform 0.28s ease; }
  .crm-stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--green); }
  .project-card:hover .crm-stat-card { transform: translateY(-1px); }
  .crm-stat-label { font-family: var(--font-display); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 4px; }
  .crm-stat-val { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--black); }
  .crm-stat-delta { font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: 0.1em; color: var(--green); }
  .crm-pipeline { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; flex: 1; }
  .crm-pipe-col { background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: 4px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
  .crm-pipe-head { font-family: var(--font-display); font-size: 7px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 2px; }
  .crm-pipe-item { height: 18px; border-radius: 2px; background: var(--gray-100); border-left: 2px solid rgba(0,0,0,0.1); }
  .crm-pipe-item:nth-child(2) { border-left-color: var(--green); }
  .crm-pipe-item:nth-child(3) { border-left-color: rgba(74,103,65,0.4); width: 80%; }

  /* ── MOBILE PREVIEW ── */
  .preview-mobile {
    background: #EEECEA;
    display: flex; align-items: flex-end; justify-content: center;
    position: relative; overflow: hidden;
  }
  .preview-mobile::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
  }
  .phone-wrap { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; z-index: 1; padding-top: 20px; padding-bottom: 0; }
  .phone-frame {
    position: relative; border-radius: 10px 10px 0 0;
    border: 1.5px solid rgba(0,0,0,0.13); border-bottom: none;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.07), inset 0 0 0 1px rgba(255,255,255,0.8);
    overflow: hidden;
    transition: transform 0.38s cubic-bezier(0.34,1.4,0.64,1);
    flex-shrink: 0; display: flex; flex-direction: column;
  }
  .phone-frame-main { width: 90px; height: 200px; z-index: 2; margin: 0 -4px; transform: translateY(10px); }
  .phone-frame-sec  { width: 76px; height: 178px; z-index: 1; opacity: 0.9; transform: translateY(18px); }
  .phone-frame-back { width: 64px; height: 156px; z-index: 0; opacity: 0.65; transform: translateY(24px); }
  .project-card:hover .phone-frame-main { transform: translateY(0); }
  .project-card:hover .phone-frame-sec  { transform: translateY(8px); }
  .project-card:hover .phone-frame-back { transform: translateY(14px); }

  .phone-status { height: 14px; background: rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; gap: 4px; flex-shrink: 0; }
  .phone-status-bar { height: 3px; width: 16px; border-radius: 999px; background: rgba(0,0,0,0.1); }
  .phone-status-bar:nth-child(1) { width: 10px; }
  .phone-header { padding: 8px 10px 4px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
  .phone-header-title { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0,0,0,0.5); }
  .phone-header-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 5px rgba(74,103,65,0.5); }
  .phone-body { padding: 4px 8px 8px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
  .phone-avatar-block { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, rgba(74,103,65,0.25), rgba(74,103,65,0.06)); border: 1px solid rgba(74,103,65,0.2); align-self: center; margin-bottom: 2px; flex-shrink: 0; }
  .phone-card { border-radius: 6px; border: 1px solid rgba(0,0,0,0.07); background: linear-gradient(135deg, rgba(74,103,65,0.09) 0%, rgba(255,255,255,0) 100%); padding: 7px 9px; display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
  .phone-card-line { height: 4px; border-radius: 999px; background: rgba(0,0,0,0.1); }
  .phone-card-line.green { background: rgba(74,103,65,0.4); width: 60%; }
  .phone-card-line.short { width: 40%; }
  .phone-list { display: flex; flex-direction: column; gap: 5px; padding: 2px 0; flex: 1; }
  .phone-list-row { height: 4px; border-radius: 999px; background: rgba(0,0,0,0.07); }
  .phone-list-row:nth-child(1) { width: 78%; }
  .phone-list-row:nth-child(2) { width: 58%; }
  .phone-list-row:nth-child(3) { width: 68%; }
  .phone-bottom-nav { flex-shrink: 0; height: 26px; background: rgba(255,255,255,0.95); border-top: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-around; margin-top: auto; }
  .phone-nav-icon { width: 14px; height: 2px; border-radius: 999px; background: rgba(0,0,0,0.12); position: relative; }
  .phone-nav-icon.active { background: var(--green); }
  .phone-nav-icon::before { content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 2px; height: 2px; border-radius: 50%; background: inherit; }

  /* ── AI PREVIEW ── */
  .preview-ai { background: #0A0A0A; position: relative; overflow: hidden; }
  .preview-ai::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(255,255,255,0.015) 3px, rgba(255,255,255,0.015) 4px); z-index: 0; pointer-events: none; }
  .ai-window { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 0; z-index: 1; }
  .ai-topbar { height: 34px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; padding: 0 16px; gap: 8px; flex-shrink: 0; }
  .ai-topbar-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.12); }
  .ai-topbar-dot:nth-child(1) { background: rgba(74,103,65,0.7); }
  .ai-topbar-label { margin-left: 8px; font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.28); }
  .ai-topbar-status { margin-left: auto; font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(107,143,98,0.8); display: flex; align-items: center; gap: 5px; }
  .ai-topbar-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px rgba(74,103,65,0.8); animation: aipulse 2s infinite; }
  @keyframes aipulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
  .ai-body { flex: 1; display: flex; overflow: hidden; }
  .ai-sidebar { width: 56px; border-right: 1px solid rgba(255,255,255,0.05); background: rgba(0,0,0,0.3); display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 10px; flex-shrink: 0; }
  .ai-sidebar-item { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
  .ai-sidebar-item.active { background: rgba(74,103,65,0.3); border-color: rgba(74,103,65,0.5); }
  .ai-sidebar-icon { width: 12px; height: 2px; border-radius: 1px; background: rgba(255,255,255,0.2); position: relative; }
  .ai-sidebar-icon::before, .ai-sidebar-icon::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: inherit; }
  .ai-sidebar-icon::before { top: -4px; width: 70%; }
  .ai-sidebar-icon::after  { top:  4px; width: 85%; }
  .ai-sidebar-item.active .ai-sidebar-icon { background: rgba(107,143,98,0.9); }
  .ai-chat { flex: 1; display: flex; flex-direction: column; padding: 14px 14px 10px; gap: 10px; overflow: hidden; }
  .ai-context-row { display: flex; gap: 6px; flex-wrap: wrap; }
  .ai-pill { padding: 3px 9px; border: 1px solid rgba(74,103,65,0.35); background: rgba(74,103,65,0.12); border-radius: 999px; font-family: var(--font-display); font-size: 8px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(107,143,98,0.9); }
  .ai-msg { display: flex; flex-direction: column; gap: 4px; }
  .ai-msg-label { font-family: var(--font-display); font-size: 7px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.22); }
  .ai-msg.assistant .ai-msg-label { color: rgba(107,143,98,0.7); }
  .ai-bubble { padding: 8px 11px; border-radius: 4px; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.04em; line-height: 1.6; }
  .ai-msg.user .ai-bubble { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); color: rgba(255,255,255,0.6); align-self: flex-end; max-width: 85%; }
  .ai-msg.assistant .ai-bubble { background: rgba(74,103,65,0.15); border: 1px solid rgba(74,103,65,0.3); color: rgba(255,255,255,0.82); max-width: 100%; }
  .ai-cursor { display: inline-block; width: 6px; height: 10px; background: rgba(107,143,98,0.8); border-radius: 1px; margin-left: 3px; vertical-align: middle; animation: blink-cur 0.85s steps(1) infinite; }
  @keyframes blink-cur { 0%,49%{opacity:1} 50%,100%{opacity:0} }
  .ai-input-bar { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); border-radius: 4px; }
  .ai-input-text { flex: 1; font-family: var(--font-display); font-size: 9px; letter-spacing: 0.08em; color: rgba(255,255,255,0.2); }
  .ai-input-send { width: 20px; height: 20px; background: rgba(74,103,65,0.5); border-radius: 3px; display: flex; align-items: center; justify-content: center; }
  .ai-input-send-icon { width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid rgba(255,255,255,0.8); margin-left: 2px; }

  /* ── DASHBOARD PREVIEW ── */
  .preview-dash { background: #F2F1EF; position: relative; }
  .dash-chrome { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .dash-topbar { height: 34px; background: var(--white); border-bottom: 1px solid rgba(0,0,0,0.07); display: flex; align-items: center; padding: 0 14px; gap: 8px; flex-shrink: 0; }
  .dash-topbar-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.1); }
  .dash-topbar-dot:nth-child(1) { background: var(--green); }
  .dash-topbar-title { margin-left: 8px; font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(0,0,0,0.3); }
  .dash-topbar-badge { margin-left: auto; padding: 3px 9px; border: 1px solid rgba(74,103,65,0.25); background: rgba(74,103,65,0.08); border-radius: 999px; font-family: var(--font-display); font-size: 7px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
  .dash-layout { flex: 1; display: grid; grid-template-columns: 52px 1fr; overflow: hidden; }
  .dash-nav { background: var(--black); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 8px; }
  .dash-nav-item { width: 26px; height: 26px; border-radius: 4px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.05); }
  .dash-nav-item.active { background: rgba(74,103,65,0.5); border-color: rgba(74,103,65,0.7); }
  .dash-main { padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
  .dash-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
  .dash-stat { background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: 3px; padding: 7px 9px; position: relative; overflow: hidden; }
  .dash-stat::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
  .project-card:hover .dash-stat::before { transform: scaleX(1); }
  .dash-stat-n { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--black); line-height: 1; }
  .dash-stat-l { font-family: var(--font-display); font-size: 6px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-400); margin-top: 2px; }
  .dash-stat-d { font-family: var(--font-display); font-size: 7px; font-weight: 600; color: var(--green); }
  .dash-bottom { flex: 1; display: grid; grid-template-columns: 1fr 80px; gap: 6px; overflow: hidden; }
  .dash-chart-card { background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: 3px; padding: 8px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
  .dash-chart-head { font-family: var(--font-display); font-size: 7px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); }
  .dash-bars { display: flex; align-items: flex-end; gap: 4px; flex: 1; padding-top: 2px; }
  .dash-b { flex: 1; border-radius: 2px 2px 0 0; background: rgba(74,103,65,0.18); transition: height 0.4s ease, background 0.3s ease; }
  .dash-b.hi { background: var(--green); }
  .dash-b:nth-child(1){height:38%} .dash-b:nth-child(2){height:56%}
  .dash-b:nth-child(3){height:72%} .dash-b:nth-child(4){height:48%}
  .dash-b:nth-child(5){height:88%} .dash-b:nth-child(6){height:66%}
  .dash-b:nth-child(7){height:80%}
  .project-card:hover .dash-b:nth-child(5) { height: 100%; }
  .project-card:hover .dash-b:nth-child(3) { height: 92%; }
  .dash-side { display: flex; flex-direction: column; gap: 6px; }
  .dash-side-card { flex: 1; background: var(--white); border: 1px solid rgba(0,0,0,0.07); border-radius: 3px; padding: 7px; display: flex; flex-direction: column; gap: 5px; }
  .dash-side-label { font-family: var(--font-display); font-size: 6px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-400); }
  .dash-pbar { height: 3px; background: rgba(0,0,0,0.06); border-radius: 999px; overflow: hidden; }
  .dash-pbar-fill { height: 100%; background: var(--green); border-radius: 999px; }

  /* ── BOT PREVIEW ── */
  .preview-bot { background: #0D0D0D; position: relative; overflow: hidden; }
  .preview-bot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(74,103,65,0.12) 0%, transparent 65%); pointer-events: none; }
  .bot-shell { position: absolute; inset: 0; display: flex; flex-direction: column; z-index: 1; }
  .bot-topbar { height: 40px; background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; padding: 0 16px; gap: 10px; flex-shrink: 0; }
  .bot-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #4A6741 0%, #2a3d26 100%); border: 1px solid rgba(107,143,98,0.5); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .bot-avatar svg { width: 12px; height: 12px; fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 1.5; }
  .bot-info { display: flex; flex-direction: column; gap: 1px; }
  .bot-name { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); line-height: 1; }
  .bot-online { font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: 0.12em; color: var(--green-light); display: flex; align-items: center; gap: 4px; line-height: 1; }
  .bot-online-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--green); animation: bpulse 2s infinite; }
  @keyframes bpulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
  .bot-topbar-actions { margin-left: auto; display: flex; gap: 6px; }
  .bot-action-btn { width: 22px; height: 22px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.04); }
  .bot-messages { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
  .bmsg { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
  .bmsg.out { flex-direction: row-reverse; }
  .bmsg-avatar { width: 20px; height: 20px; border-radius: 50%; background: rgba(74,103,65,0.3); border: 1px solid rgba(74,103,65,0.4); flex-shrink: 0; }
  .bmsg-bubble { padding: 8px 12px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.03em; line-height: 1.55; max-width: 78%; }
  .bmsg.in  .bmsg-bubble { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); border-radius: 10px 10px 10px 2px; }
  .bmsg.out .bmsg-bubble { background: rgba(74,103,65,0.28); border: 1px solid rgba(74,103,65,0.4); color: rgba(255,255,255,0.9); border-radius: 10px 10px 2px 10px; }
  .bmsg-time { font-family: var(--font-display); font-size: 7px; letter-spacing: 0.08em; color: rgba(255,255,255,0.18); flex-shrink: 0; margin-bottom: 3px; align-self: flex-end; }
  .bot-chips { display: flex; gap: 5px; padding: 0 14px 8px; overflow: hidden; }
  .bot-chip { padding: 4px 10px; border: 1px solid rgba(74,103,65,0.3); background: rgba(74,103,65,0.1); border-radius: 999px; font-family: var(--font-display); font-size: 8px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(107,143,98,0.85); white-space: nowrap; }
  .bot-input { height: 38px; margin: 0 10px 10px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); border-radius: 6px; display: flex; align-items: center; padding: 0 12px; gap: 8px; flex-shrink: 0; }
  .bot-input-text { flex: 1; font-family: var(--font-display); font-size: 9px; letter-spacing: 0.06em; color: rgba(255,255,255,0.18); }
  .bot-input-send { width: 22px; height: 22px; border-radius: 4px; background: rgba(74,103,65,0.45); border: 1px solid rgba(74,103,65,0.55); display: flex; align-items: center; justify-content: center; }
  .bot-send-arr { width: 0; height: 0; border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-left: 6px solid rgba(255,255,255,0.8); margin-left: 1px; }
  .typing-wrap { display: flex; align-items: center; gap: 3px; padding: 7px 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px 10px 10px 2px; width: fit-content; }
  .tdot { width: 4px; height: 4px; border-radius: 50%; background: rgba(107,143,98,0.7); animation: tbounce 1.1s ease-in-out infinite; }
  .tdot:nth-child(2) { animation-delay: 0.18s; }
  .tdot:nth-child(3) { animation-delay: 0.36s; }
  @keyframes tbounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-4px)} }

  /* CARD BODY */
  .project-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
  .project-card-topline { display: flex; align-items: center; justify-content: space-between; }
  .project-kind, .project-mark { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
  .project-kind { color: var(--green); }
  .project-mark { color: rgba(0,0,0,0.28); }
  .project-card-title { font-family: var(--font-body); font-size: 32px; font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; color: var(--black); }
  .project-card-desc { font-size: 15px; font-weight: 300; color: var(--gray-600); line-height: 1.7; max-width: 92%; }
  .project-stack { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
  .project-chip { font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 12px; border: 1px solid rgba(0,0,0,0.1); color: var(--gray-600); background: rgba(255,255,255,0.55); transition: border-color 0.24s, color 0.24s, transform 0.24s; }
  .project-card:hover .project-chip { border-color: rgba(74,103,65,0.35); color: var(--green); transform: translateY(-1px); }

  /* ── EXPERIENCE ── */
  #experience { padding: 120px 64px; background: var(--gray-100); border-top: var(--border); border-bottom: var(--border); }
  .exp-layout { display: grid; grid-template-columns: 320px 1fr; gap: 96px; }
  .exp-sidebar h3 { font-family: var(--font-display); font-size: 48px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 32px; }
  .exp-sidebar p { font-size: 14px; font-weight: 300; color: var(--gray-600); line-height: 1.75; margin-bottom: 40px; }
  .exp-skills { display: flex; flex-wrap: wrap; gap: 8px; }
  .skill-chip { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; background: var(--white); border: var(--border); padding: 8px 16px; color: var(--black); }
  .timeline { display: flex; flex-direction: column; gap: 0; }
  .timeline-item { display: grid; grid-template-columns: 160px 1fr; gap: 40px; padding: 40px 0; border-top: var(--border-thin); position: relative; }
  .timeline-item::before { content: ''; position: absolute; top: 40px; left: 152px; width: 8px; height: 8px; border: 1px solid var(--green); background: var(--white); transform: rotate(45deg); }
  .timeline-date { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--gray-400); letter-spacing: 0.08em; padding-top: 4px; }
  .timeline-role { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 4px; }
  .timeline-company { font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--green); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
  .timeline-desc { font-size: 14px; font-weight: 300; color: var(--gray-600); line-height: 1.7; }
  .timeline-link { color: var(--black); text-decoration: none; border-bottom: 1px dashed rgba(0,0,0,0.3); transition: color 0.24s ease, border-color 0.24s ease; }
  .timeline-link:hover { color: var(--green); border-color: var(--green); }

  /* ── FAQ ── */
  #faq { padding: 120px 64px; background: var(--black); color: var(--white); border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .faq-shell { max-width: 980px; margin: 0 auto; }
  .faq-header { justify-content: center; margin-bottom: 56px; }
  #faq h2 { color: var(--white); text-align: center; font-size: clamp(44px,6vw,82px); letter-spacing: -0.03em; }
  .faq-list { display: flex; flex-direction: column; gap: 14px; }
  .faq-item { border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.02); transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease; }
  .faq-item.is-open { border-color: rgba(107,143,98,0.78); background: rgba(107,143,98,0.08); box-shadow: inset 0 0 0 1px rgba(107,143,98,0.2); }
  .faq-item:hover { transform: translateY(-2px); border-color: rgba(107,143,98,0.45); }
  .faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; background: transparent; border: 0; color: var(--white); text-align: left; font-family: var(--font-body); font-size: 26px; font-weight: 700; line-height: 1.2; }
  .faq-toggle { flex: 0 0 auto; font-family: var(--font-display); font-size: 32px; color: var(--green-light); transition: transform 0.32s ease, color 0.28s ease; }
  .faq-item.is-open .faq-toggle { transform: rotate(45deg); color: #d7ebd1; }
  .faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.36s ease, opacity 0.24s ease; }
  .faq-answer p { padding: 0 32px 28px; margin: 0; font-size: 16px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.72); max-width: 760px; }
  .faq-item.is-open .faq-answer { opacity: 1; }

  /* ── CONTACT ── */
  #contact { padding: 160px 64px; position: relative; overflow: hidden; }
  .contact-bg-text { position: absolute; bottom: -40px; left: -20px; font-family: var(--font-display); font-size: 300px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,0.04); line-height: 1; pointer-events: none; text-transform: uppercase; letter-spacing: -0.04em; user-select: none; }
  .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; position: relative; z-index: 1; }
  .contact-left .section-label { margin-bottom: 40px; }
  .contact-headline { font-family: var(--font-display); font-size: clamp(56px,7vw,112px); font-weight: 700; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.02em; margin-bottom: 48px; }
  .contact-headline-split { text-transform: none; line-height: 0.92; letter-spacing: -0.05em; max-width: 760px; }
  .contact-intro { font-size: 16px; font-weight: 300; color: var(--gray-600); line-height: 1.8; margin-top: -10px; margin-bottom: 34px; max-width: 520px; }
  .contact-email-hero { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-body); font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--black); text-decoration: none; padding: 0 0 18px; border-bottom: var(--border-thin); transition: color 0.24s ease; }
  .contact-email-hero:hover { color: var(--green); }
  .contact-email-icon { display: inline-flex; color: inherit; }
  .contact-links-list { margin-top: 28px; max-width: 560px; }
  .contact-row-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: var(--border-thin); text-decoration: none; color: var(--gray-600); transition: color 0.24s ease, padding-left 0.24s ease; }
  .contact-row-link:hover { color: var(--black); padding-left: 10px; }
  .contact-row-left { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-body); font-size: 16px; font-weight: 500; }
  .contact-row-icon, .contact-row-arrow { display: inline-flex; color: var(--gray-400); transition: color 0.24s ease, transform 0.24s ease; }
  .contact-row-link:hover .contact-row-icon, .contact-row-link:hover .contact-row-arrow { color: var(--green); transform: translateX(4px); }
  .contact-right { padding-left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .contact-form-shell { width: min(100%,660px); border: var(--border); background: radial-gradient(circle at top right, rgba(107,143,98,0.12), transparent 30%), linear-gradient(180deg, rgba(255,255,255,0.96), rgba(246,246,246,0.98)), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px); background-size: auto, auto, 42px 42px, 42px 42px; padding: 24px; box-shadow: 0 18px 42px rgba(0,0,0,0.06); }
  .contact-form-copy { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
  .contact-form-copy-main { max-width: 430px; }
  .contact-form-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 7px 11px; border: 1px solid rgba(74,103,65,0.2); border-radius: 999px; background: rgba(107,143,98,0.08); font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
  .contact-form-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .contact-form-title { font-family: var(--font-body); font-size: 31px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; color: var(--black); margin-bottom: 10px; }
  .contact-form-text { font-size: 14px; font-weight: 300; line-height: 1.65; color: var(--gray-600); }
  .contact-form-note { flex: 0 0 136px; padding: 10px 12px; border: 1px solid rgba(0,0,0,0.08); background: rgba(255,255,255,0.74); font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; color: var(--gray-600); }
  .contact-form-panel { display: flex; flex-direction: column; gap: 14px; }
  .contact-choice-group { display: flex; flex-direction: column; gap: 8px; }
  .contact-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .contact-choice-grid-compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contact-choice { position: relative; cursor: pointer; }
  .contact-choice input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
  .contact-choice span { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border: 1px solid rgba(0,0,0,0.1); background: rgba(255,255,255,0.74); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-600); transition: border-color 0.24s ease, background 0.24s ease, color 0.24s ease, transform 0.24s ease; }
  .contact-choice:hover span { border-color: rgba(74,103,65,0.34); color: var(--black); transform: translateY(-1px); }
  .contact-choice input:checked + span { border-color: var(--green); background: rgba(107,143,98,0.12); color: var(--green); }
  .contact-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .contact-field { display: flex; flex-direction: column; gap: 6px; }
  .contact-field-label { font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
  .contact-field input, .contact-field textarea { width: 100%; border: var(--border); background: rgba(255,255,255,0.78); padding: 15px 16px; font-family: var(--font-body); font-size: 15px; color: var(--black); outline: none; transition: border-color 0.24s ease, box-shadow 0.24s ease; }
  .contact-field input::placeholder, .contact-field textarea::placeholder { color: #8c8c8c; }
  .contact-field input:focus, .contact-field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(74,103,65,0.08); }
  .contact-field-message textarea { min-height: 110px; resize: vertical; }
  .contact-submit { margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 22px; border: 0; background: var(--black); color: var(--white); font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; transition: background 0.24s ease, transform 0.24s ease; }
  .contact-submit:hover { background: var(--green); transform: translateY(-1px); }
  .contact-submit-arrow { display: inline-flex; transition: transform 0.24s ease; }
  .contact-submit:hover .contact-submit-arrow { transform: translateX(4px); }

  /* FOOTER */
  footer { border-top: var(--border); padding: 28px 64px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(248,248,248,0.98)); }
  .footer-copy { font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-400); }
  .footer-links { display: flex; gap: 32px; list-style: none; }
  .footer-links a { font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); text-decoration: none; transition: color 0.2s, transform 0.2s; }
  .footer-links a:hover { color: var(--black); transform: translateY(-1px); }
  .footer-link-button { padding: 0; border: 0; background: transparent; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); cursor: pointer; transition: color 0.2s, transform 0.2s; }
  .footer-link-button:hover { color: var(--black); transform: translateY(-1px); }
  .footer-status { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-600); padding: 10px 14px; border: 1px solid rgba(0,0,0,0.08); border-radius: 999px; background: rgba(255,255,255,0.6); }
  .status-dot { width: 6px; height: 6px; background: var(--green); animation: pulse 2s infinite; }

  /* PRIVACY MODAL */
  body.privacy-modal-open { overflow: hidden; }
  body.privacy-modal-open .section-back-link { opacity: 0; pointer-events: none; }
  .privacy-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-start; justify-content: center; padding: 86px 32px 32px; opacity: 0; pointer-events: none; transition: opacity 0.24s ease; }
  .privacy-modal.is-open { opacity: 1; pointer-events: auto; }
  .privacy-modal-backdrop { position: absolute; inset: 0; background: rgba(9,10,9,0.68); }
  .privacy-modal-dialog { position: relative; z-index: 1; width: min(100%, 860px); max-height: min(calc(100vh - 118px), 820px); display: flex; flex-direction: column; overflow: hidden; border: var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,244,241,0.98)), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; box-shadow: 0 32px 90px rgba(0,0,0,0.16); }
  .privacy-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 28px 30px 22px; border-bottom: var(--border-thin); }
  .privacy-modal-header-copy { max-width: 700px; }
  .privacy-modal-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 7px 11px; border: 1px solid rgba(74,103,65,0.2); border-radius: 999px; background: rgba(107,143,98,0.08); font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
  .privacy-modal-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .privacy-modal-title { margin: 0; font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; }
  .privacy-modal-updated { margin: 12px 0 0; font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-600); }
  .privacy-modal-close { flex: 0 0 auto; width: 48px; height: 48px; border: var(--border); background: rgba(255,255,255,0.82); color: var(--black); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease; }
  .privacy-modal-close:hover { background: var(--green); color: var(--white); transform: translateY(-1px); }
  .privacy-modal-close span { font-size: 28px; line-height: 1; transform: rotate(45deg); }
  .privacy-modal-body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 26px 30px 64px; }
  .privacy-modal-body { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.28) transparent; }
  .privacy-modal-body::-webkit-scrollbar { width: 10px; }
  .privacy-modal-body::-webkit-scrollbar-track { background: transparent; }
  .privacy-modal-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.22); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
  .privacy-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.34); border: 2px solid transparent; background-clip: padding-box; }
  .privacy-modal-intro { margin: 0 0 26px; max-width: 760px; font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--gray-600); }
  .privacy-modal-section { padding: 18px 0 20px; border-top: var(--border-thin); }
  .privacy-modal-section:first-of-type { border-top: 0; padding-top: 0; }
  .privacy-modal-section-title { margin: 0 0 10px; font-family: var(--font-body); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
  .privacy-modal-section-body { margin: 0; max-width: 780px; font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--gray-600); }
  .privacy-modal-section-contact { margin-top: 8px; }
  .privacy-modal-section-body,
  .privacy-modal-intro {
    overflow-wrap: anywhere;
    word-break: normal;
  }
  html[data-theme="dark"] .privacy-modal-backdrop { background: rgba(4,6,5,0.82); }
  html[data-theme="dark"] .privacy-modal-dialog { border-color: rgba(242,240,235,0.14); background: linear-gradient(180deg, rgba(20,24,21,0.98), rgba(12,15,13,0.98)), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px); box-shadow: 0 36px 100px rgba(0,0,0,0.42); }
  html[data-theme="dark"] .privacy-modal-header { border-bottom-color: rgba(242,240,235,0.1); }
  html[data-theme="dark"] .privacy-modal-title,
  html[data-theme="dark"] .privacy-modal-section-title,
  html[data-theme="dark"] .privacy-modal-header h2,
  html[data-theme="dark"] .privacy-modal-body h3,
  html[data-theme="dark"] #privacyModalTitle,
  html[data-theme="dark"] #privacyModal .privacy-modal-section-title,
  html[data-theme="dark"] #privacyModal h2,
  html[data-theme="dark"] #privacyModal h3 { color: #f2f0eb !important; }
  html[data-theme="dark"] .privacy-modal-updated { color: rgba(242,240,235,0.62); }
  html[data-theme="dark"] .privacy-modal-badge { border-color: rgba(107,143,98,0.32); background: rgba(107,143,98,0.16); color: #d7ebd1; }
  html[data-theme="dark"] .privacy-modal-close { border-color: rgba(242,240,235,0.16); background: rgba(255,255,255,0.04); color: var(--white); }
  html[data-theme="dark"] .privacy-modal-close:hover { background: var(--green); color: var(--white); }
  html[data-theme="dark"] .privacy-modal-intro,
  html[data-theme="dark"] .privacy-modal-section-body { color: rgba(242,240,235,0.76); }
  html[data-theme="dark"] .privacy-modal-section { border-top-color: rgba(242,240,235,0.1); }
  html[data-theme="dark"] .privacy-modal-body { scrollbar-color: rgba(242,240,235,0.22) transparent; }
  html[data-theme="dark"] .privacy-modal-body::-webkit-scrollbar-track { background: transparent; }
  html[data-theme="dark"] .privacy-modal-body::-webkit-scrollbar-thumb { background: rgba(242,240,235,0.18); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
  html[data-theme="dark"] .privacy-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(242,240,235,0.3); border: 2px solid transparent; background-clip: padding-box; }

  /* ANIMATIONS */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
  @keyframes arrow-nudge { from { transform: translateX(4px); } to { transform: translateX(10px); } }

  .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .icon-svg { display: block; }

  /* ── RESPONSIVE ── */
  @media (max-width: 1280px) {
    nav,
    #hero,
    #capabilities,
    #advantages,
    #projects,
    #experience,
    #faq,
    #contact,
    footer {
      padding-left: 40px;
      padding-right: 40px;
    }

    .section-divider {
      margin-left: 40px;
      margin-right: 40px;
    }

    .hero-inner { grid-template-columns: minmax(0, 1fr) 290px; }
    .hero-right { padding-left: 28px; }
    .record-showcase { left: -6px; width: 284px; }

    .cap-card { padding: 42px 28px 46px; }
    .adv-block { padding: 46px 34px; }
    .adv-title, .adv-desc { max-width: 78%; }
    .adv-block::after { font-size: 150px; right: 20px; }

    .projects-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; }
    .project-card-title { font-size: 28px; }

    .exp-layout { grid-template-columns: 280px 1fr; gap: 64px; }
    .contact-inner { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 56px; }
    .contact-form-shell { width: 100%; }
  }

  @media (max-width: 1120px) {
    .nav-links { gap: 22px; }
    .hero-inner { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; }
    .hero-left { padding-top: 40px; }
    .hero-terminal { max-width: 560px; margin-bottom: 42px; }
    .hero-actions { flex-wrap: wrap; }
    .hero-right { align-self: start; }
    .hero-link-label { font-size: 20px; }

    .capabilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .adv-title, .adv-desc { max-width: 72%; }

    .project-preview { height: 220px; }
    .project-card-body { padding: 22px 22px 24px; }

    .timeline-item { grid-template-columns: 140px 1fr; gap: 28px; }
    .timeline-item::before { left: 132px; }

    .contact-bg-text { font-size: 230px; left: -10px; }
  }

  @media (max-width: 1024px) {
    .nav-cta {
      display: none;
    }

    .nav-links {
      display: none;
    }

    .hero-inner {
      position: relative;
      grid-template-columns: 1fr;
      gap: 18px;
      padding-bottom: 48px;
    }

    .hero-left {
      padding-top: 20px;
      padding-right: 236px;
    }

    .hero-right {
      border-left: 0;
      padding: 0;
      margin-top: 18px;
      max-width: 300px;
      width: 100%;
      margin-left: auto;
      align-items: stretch;
    }

    .record-showcase {
      position: absolute;
      top: 76px;
      right: 0;
      left: auto;
      width: 214px;
      height: 182px;
      margin: 0;
    }

    .record-sleeve {
      width: 158px;
      height: 158px;
      padding: 18px;
      box-shadow: 14px 14px 0 rgba(0,0,0,0.05);
    }

    .record-sleeve-title {
      font-size: 22px;
      max-width: 108px;
    }
    html[lang="uk"] .record-sleeve-title,
    html[lang="ru"] .record-sleeve-title {
      font-size: 19px;
      max-width: 122px;
    }

    .record-sleeve-subtitle {
      font-size: 9px;
    }

    .record-disc {
      width: 126px;
      height: 126px;
      top: 12px;
      left: 0;
      transform: translateX(62px);
    }

    .record-showcase.is-open .record-disc {
      transform: translateX(14px);
    }

    .record-hint-cursor {
      width: 32px;
      height: 32px;
      right: 8px;
      bottom: 10px;
    }

    .hero-stat:first-child {
      border-top: var(--border-thin);
    }

    .scroll-indicator {
      display: none;
    }
  }

  @media (max-width: 860px) {
    .nav-actions { margin-left: auto; }

    #hero,
    #capabilities,
    #advantages,
    #projects,
    #experience,
    #faq,
    #contact,
    footer {
      padding-left: 28px;
      padding-right: 28px;
    }

    #capabilities,
    #advantages,
    #projects,
    #experience,
    #faq {
      padding-top: 88px;
      padding-bottom: 88px;
    }

    #contact {
      padding-top: 104px;
      padding-bottom: 88px;
    }

    .section-divider {
      margin-left: 28px;
      margin-right: 28px;
    }

    #hero { padding-top: 96px; }
    .hero-inner { grid-template-columns: 1fr; gap: 22px; padding-bottom: 56px; }
    .hero-left {
      padding-top: 24px;
      padding-right: 198px;
    }
    .hero-right {
      border-left: 0;
      padding: 0;
      max-width: 300px;
      width: 100%;
      margin-left: auto;
    }
    .record-showcase {
      margin: 0;
      top: 32px;
      right: 0;
      left: auto;
    }
    .scroll-indicator { display: none; }

    .section-header { margin-bottom: 42px; }
    .section-heading-inline { gap: 16px; }

    .capabilities-grid,
    .adv-grid,
    .projects-grid { grid-template-columns: 1fr; }

    .project-card-wide { grid-column: span 1; }
    .cap-card,
    .adv-block { padding: 36px 24px 40px; }
    .adv-title, .adv-desc { max-width: 64%; }
    .adv-block::after { font-size: 132px; right: 16px; }

    .projects-grid { gap: 16px; }
    .project-preview { height: 236px; }

    .exp-layout,
    .contact-inner { grid-template-columns: 1fr; gap: 42px; }
    .exp-sidebar { max-width: 620px; }
    .timeline-item {
      grid-template-columns: 1fr;
      gap: 18px;
      padding: 30px 0 34px;
    }
    .timeline-item::before { display: none; }

    .contact-bg-text {
      font-size: 170px;
      bottom: -18px;
    }
    .contact-headline-split { max-width: 520px; }
    .contact-form-copy { flex-direction: column; }
    .contact-form-note {
      width: 100%;
      flex-basis: auto;
    }

    .privacy-modal { padding: 82px 18px 18px; }
    .privacy-modal-header { padding: 22px 20px 18px; gap: 18px; }
    .privacy-modal-body { padding: 22px 20px 56px; }
    .privacy-modal-title { font-size: 34px; }
    .privacy-modal-section-title { font-size: 21px; }
    .privacy-modal-section-body,
    .privacy-modal-intro { font-size: 14px; }
  }

  @media (max-width: 980px) {
    nav {
      flex-wrap: wrap;
      gap: 14px 18px;
    }

    .nav-links {
      order: 3;
      width: 100%;
      justify-content: center;
      gap: 22px;
      flex-wrap: wrap;
    }

    .nav-actions {
      margin-left: auto;
    }

    .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 72px; }
    .hero-right { border-left: 0; padding-left: 0; max-width: 360px; width: 100%; }
    .section-heading-inline { align-items: flex-start; gap: 18px; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .project-card-wide { grid-column: span 2; }
    .exp-layout { grid-template-columns: 1fr; gap: 48px; }
    .timeline-item { grid-template-columns: 1fr; gap: 22px; padding-bottom: 48px; }
    .faq-shell { max-width: 100%; }
    .contact-inner { grid-template-columns: 1fr; gap: 56px; }
    .contact-right { padding-left: 0; align-items: stretch; }
    .contact-form-copy { flex-direction: column; }
    .contact-form-note { flex-basis: auto; width: 100%; }
  }

  @media (max-width: 640px) {
    .section-back-link { display: none; }
    .nav-actions { gap: 8px; }
    .lang-switcher { padding: 3px; }
    .lang-btn { min-width: 34px; height: 30px; padding: 0 8px; font-size: 10px; }
    #hero { padding-left: 24px; padding-right: 24px; padding-top: 88px; }
    nav { padding-left: 24px; padding-right: 24px; }
    #capabilities,
    #advantages,
    #projects,
    #experience,
    #faq {
      padding-top: 72px;
      padding-bottom: 72px;
    }
    #contact {
      padding-top: 84px;
      padding-bottom: 72px;
    }
    .section-header { margin-bottom: 34px; }
    .hero-role { margin-bottom: 28px; gap: 12px; letter-spacing: 0.22em; max-width: 100%; }
    h1 { margin-bottom: 36px; font-size: clamp(48px, 8vw, 72px); }
    .hero-left { padding-right: 0; padding-top: 20px; }
    .hero-right {
      padding-top: 0;
      margin-top: 28px;
      max-width: 100%;
      border-left: 0;
      align-items: flex-start;
    }
    .record-showcase {
      width: 100%;
      max-width: 280px;
      height: auto;
      position: static;
      top: auto;
      right: auto;
      left: auto;
      margin-bottom: 24px;
      margin-left: 0;
      margin-right: 0;
    }
    .record-sleeve {
      width: 100%;
      max-width: 180px;
      height: auto;
      padding: 18px;
      box-shadow: 12px 12px 0 rgba(0,0,0,0.05);
      margin-left: auto;
      margin-right: auto;
    }
    .record-sleeve-kicker { display: none; }
    .record-sleeve-title { font-size: 18px; max-width: 100%; }
    .record-sleeve-subtitle { display: block; font-size: 10px; padding-top: 12px; }
    .record-disc {
      width: 100%;
      max-width: 130px;
      height: 130px;
      top: 16px;
      left: 0;
      transform: translateX(65px);
    }
    .record-showcase.is-open .record-disc { transform: translateX(12px); }
    .record-hint-cursor { right: 20px; bottom: 12px; width: 24px; height: 24px; }
    .hero-terminal { font-size: 14px; min-height: 66px; padding: 14px 16px; max-width: 100%; }
    .hero-actions { width: 100%; flex-direction: column; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }
    .hero-link-label { font-size: 18px; }
    .hero-stat { padding: 20px 0; }
    .section-heading-inline { flex-direction: column; align-items: flex-start; gap: 14px; }
    .cap-card::after { content: none; }
    .cap-card, .adv-block { padding: 32px 20px 36px; }
    .cap-desc { grid-template-columns: 18px 1fr; gap: 8px; padding: 12px; }
    .cap-code-lines { font-size: 7px; letter-spacing: 0.03em; }
    .cap-title { font-size: 20px; }
    .capabilities-grid { grid-template-columns: 1fr; }
    #advantages,
    #faq { padding-left: 24px; padding-right: 24px; }
    .adv-grid { grid-template-columns: 1fr; }
    .adv-block { padding: 32px 20px 36px; position: relative; }
    .adv-block::after { font-size: 100px; right: 12px; top: 50%; opacity: 0.08; }
    .adv-num { font-size: 13px; margin-bottom: 16px; }
    .adv-title, .adv-desc { max-width: 100%; }
    .adv-title { font-size: 22px; margin-bottom: 14px; }
    .adv-desc { font-size: 14px; line-height: 1.7; }
    #projects { padding-left: 24px; padding-right: 24px; }
    #experience { padding-left: 24px; padding-right: 24px; }
    .projects-grid { grid-template-columns: 1fr; gap: 16px; }
    .project-card-wide { grid-column: span 1; }
    .project-preview { height: 220px; }
    .project-card-body { padding: 20px; }
    .project-card-title { font-size: 28px; }
    .project-card-desc { max-width: 100%; font-size: 14px; }
    .projects-request { padding: 12px 20px; font-size: 11px; }
    .project-stack { gap: 6px; }
    .project-chip { padding: 7px 10px; font-size: 9px; }
    .timeline-role { font-size: 18px; }
    .timeline-date, .timeline-company { font-size: 11px; }
    .faq-question { padding: 22px 20px; font-size: 20px; }
    .faq-answer p { padding-left: 20px; padding-right: 20px; font-size: 14px; padding-bottom: 22px; }
    .faq-header { margin-bottom: 38px; }
    .contact-headline-split { font-size: 48px; }
    .contact-email-hero { font-size: 18px; flex-wrap: wrap; }
    .contact-row-left { font-size: 15px; }
    .contact-form-shell { width: 100%; padding: 20px; }
    .contact-form-title { font-size: 26px; }
    .contact-choice-grid, .contact-choice-grid-compact, .contact-fields-row { grid-template-columns: 1fr; }
    .privacy-modal { padding: 74px 12px 12px; align-items: stretch; }
    .privacy-modal-dialog { width: 100%; max-height: calc(100vh - 86px); }
    .privacy-modal-header { padding: 18px 16px 16px; }
    .privacy-modal-body { padding: 18px 16px 52px; }
    .privacy-modal-close { width: 42px; height: 42px; }
    .privacy-modal-badge,
    .privacy-modal-updated { font-size: 10px; }
    .privacy-modal-section-title { font-size: 18px; }
    .privacy-modal-section-body,
    .privacy-modal-intro { font-size: 13px; line-height: 1.7; }
    footer { flex-direction: column; gap: 14px; text-align: center; }
  }
  /* ── MOBILE FIXES ── */

/* Логотип менший на телефонах < 425px */
@media (max-width: 375px) {
  .nav-logo {
    font-size: 16px;
    letter-spacing: 0.05em;
  }
}
@media (max-width: 320px) {
  .nav-logo {
    font-size: 10px;
    letter-spacing: 0.05em;
  }
}

/* Кнопка теми — висота як у lang-switcher */
.theme-toggle {
  height: 42px; /* вже є, але явно фіксуємо */
}
.lang-switcher {
  height: 42px;
  align-items: center;
}

/* Прибираємо пластинку повністю на мобільних */
@media (max-width: 700px) {
  .record-showcase {
    display: none !important;
  }
  .hero-left {
    padding-right: 0 !important;
  }
}

/* Advantages: фіксуємо падінги і картки на телефонах */
@media (max-width: 600px) {
   #advantages > div {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
@media (hover: none) {
  .cursor,
  .cursor-ring {
    display: none !important;
  }

  *, *::before, *::after {
    cursor: auto !important;
  }
}
