/* ==========================================================================
   sra.run() — home page styles
   ========================================================================== */

/* ========== Tokens ==========
   Design system: 4px base grid + modular type scale.
   All spacing/sizing snaps to multiples of 4 for visual rhythm.
   ============================ */
:root {
  /* Colour */
  --bg: #f6f5f1;
  --bg-soft: #ebeae3;
  --bg-card: #ffffff;
  --text: #0a0a0a;
  --text-muted: #6b6b6b;
  --accent: #ff5a1f;
  --accent-hover: #ff7344;
  --border: #e2e0d8;
  --border-strong: #d3d1c8;

  /* Frame */
  --frame-max: 1320px;
  --frame-border: rgba(10, 10, 10, 0.12);
  --frame-border-dark: rgba(0, 0, 0, 0.22);
  --frame-pad-x: max(clamp(20px, 3vw, 36px), calc((100vw - var(--frame-max)) / 2 + 28px));

  /* Typography family */
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", "Menlo", "Consolas", monospace;

  /* Spacing scale (4px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px;
  --space-32: 128px;

  /* Type scale (modular major-third, snapped to 4px grid) */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 40px;
  --text-4xl: 48px;
  --text-5xl: 64px;
  --text-6xl: 80px;
  --text-7xl: 96px;
  --text-8xl: 128px;

  /* Line-heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Component heights (4px grid) */
  --h-btn-sm: 32px;
  --h-btn: 48px;
  --h-btn-lg: 56px;

  /* Border radii */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ========== Reset ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ========== Frame (centered grid rails) ========== */
main > section,
.footer {
  position: relative;
  border-bottom: 1px dashed var(--frame-border);
}
main > section[id] { scroll-margin-top: 90px; }
main > section::before,
.footer::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: max(0px, calc(50% - var(--frame-max) / 2));
  right: max(0px, calc(50% - var(--frame-max) / 2));
  border-left: 1px dashed var(--frame-border);
  border-right: 1px dashed var(--frame-border);
  pointer-events: none;
  z-index: 1;
}
main > section::after,
.footer::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: max(0px, calc(50% - var(--frame-max) / 2));
  right: max(0px, calc(50% - var(--frame-max) / 2));
  background-image:
    repeating-linear-gradient(to bottom, var(--frame-border) 0, var(--frame-border) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border) 0, var(--frame-border) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border) 0, var(--frame-border) 4px, transparent 4px, transparent 8px);
  background-size: 1px 100%;
  background-position: 25% 0, 50% 0, 75% 0;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}
.band::after {
  background-image:
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px);
}
main > section > *,
.footer > * { position: relative; z-index: 2; }
.band::before {
  border-left-color: var(--frame-border-dark);
  border-right-color: var(--frame-border-dark);
}
.band { border-bottom-color: var(--frame-border-dark); }

/* ========== Section markers ========== */
.marker {
  position: sticky;
  top: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--frame-pad-x);
  margin: 0 calc(-1 * var(--frame-pad-x));
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  z-index: 10;
}
.marker__label { white-space: nowrap; }
.marker__count {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.marker__count strong { color: var(--accent); font-weight: 500; }
.marker__sep { color: rgba(10, 10, 10, 0.32); font-weight: 400; margin: 0 2px; }

.section-tagline {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  padding: 14px 0 22px;
  border-bottom: 1px dashed var(--border);
  margin-bottom: 24px;
}
.contact .marker { border-bottom-color: var(--frame-border-dark); color: rgba(10, 10, 10, 0.62); }
.contact .marker__count strong { color: #0a0a0a; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn--primary,
.btn--accent {
  display: inline-flex;
  align-items: stretch;
  height: 50px;
  padding: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0a0a0a;
  position: relative;
}
.btn__label {
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  flex: 1 1 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
  color: #0a0a0a;
  transition: color 0.2s ease;
}
.btn__char-scramble {
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.45);
}
.nav__links a .btn__char-scramble,
.footer__col a .btn__char-scramble {
  color: var(--accent);
  text-shadow: 0 0 4px rgba(255, 90, 31, 0.4);
}
.scramble-char { color: var(--accent); }
.brief__bot .scramble-char {
  color: var(--accent);
  text-shadow: 0 0 6px rgba(255, 90, 31, 0.55);
  font-weight: 500;
}
.btn__plus {
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  flex: 0 0 50px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease), color 0.2s var(--ease);
}
.btn__plus--right { margin-left: 3px; }
.btn--primary:hover .btn__plus--right,
.btn--accent:hover .btn__plus--right,
.nav__cta:hover .btn__plus--right {
  transform: rotate(90deg);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn--ghost .btn__char-scramble { color: var(--accent); text-shadow: 0 0 4px rgba(255, 90, 31, 0.4); }

/* ========== Nav ========== */
.nav {
  position: fixed;
  top: 0;
  left: max(0px, calc(50% - var(--frame-max) / 2));
  right: max(0px, calc(50% - var(--frame-max) / 2));
  z-index: 50;
  height: 72px;
  background: var(--bg);
  color: #0a0a0a;
  display: flex;
  align-items: stretch;
  padding-left: clamp(20px, 3vw, 40px);
  border-left: 1px dashed var(--frame-border);
  border-right: 1px dashed var(--frame-border);
  border-bottom: 1px dashed var(--frame-border);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.02em;
  color: #0a0a0a;
  line-height: 1;
}
.nav__logo-bracket { color: var(--accent); }
.nav__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  font-size: 15px;
}
.nav__links a {
  color: rgba(10, 10, 10, 0.72);
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav__links a:hover { color: var(--accent); }
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 3px;
}
.nav__cta {
  display: inline-flex;
  align-items: stretch;
  height: 50px;
  margin-right: clamp(16px, 2.5vw, 36px);
  background: transparent;
  color: #0a0a0a;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
}
.nav__cta .btn__label { padding: 0 clamp(20px, 3vw, 28px); }

/* ========== WhatsApp widget ========== */
.wa {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 60;
}
.wa__toggle {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.45), 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  position: relative;
  z-index: 2;
}
.wa__toggle:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(255, 90, 31, 0.55), 0 6px 14px rgba(0, 0, 0, 0.22);
}
.wa__toggle::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px dashed rgba(255, 90, 31, 0.75);
  z-index: -1;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa__toggle::after {
  content: "+";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
  background: var(--bg);
  border: 1px solid var(--accent);
  animation: wa-plus-blink 1.6s steps(2, start) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.95) rotate(0deg); opacity: 0.85; }
  70%  { transform: scale(1.45) rotate(45deg); opacity: 0; }
  100% { transform: scale(1.45) rotate(45deg); opacity: 0; }
}
@keyframes wa-plus-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0.3; }
}
.wa__card {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 300px;
  background: #efece4;
  border: 1px solid #e0c062;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
  transform-origin: bottom right;
  animation: wa-pop 0.22s var(--ease);
}
.wa__card[hidden] { display: none; }
@keyframes wa-pop {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wa__badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa__close {
  position: absolute;
  top: 12px; left: 12px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.5);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
  z-index: 2;
}
.wa__close:hover { color: #0a0a0a; background: rgba(0, 0, 0, 0.06); }
.wa__qr {
  width: 200px; height: 200px;
  margin: 8px 0 14px;
  background: #fff;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.wa__title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 18px;
  color: #0a0a0a;
  text-transform: lowercase;
}
.wa__sub {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.65);
  max-width: 28ch;
}
.wa__link {
  margin-top: 14px;
  font-size: 14px;
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s var(--ease);
}
.wa__link:hover { color: var(--accent); }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 110px var(--frame-pad-x) 140px;
  background: var(--bg);
  overflow: hidden;
}
.hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(60px, 9vh, 110px);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero__tags {
  display: inline-flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  font-size: 13px;
  max-width: 100%;
  transition: border-color 0.2s var(--ease);
}
.hero__tags:hover { border-color: var(--accent); }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  background: var(--bg-soft);
  border-right: 1px dashed var(--border-strong);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.hero__tag-mark {
  width: 9px; height: 9px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
.hero__tag-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s var(--ease);
}
.hero__tag-link:hover { color: var(--text); }
.hero__tag-arrow { transition: transform 0.2s var(--ease); }
.hero__tag-link:hover .hero__tag-arrow { transform: translateX(3px); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 14ch;
}
.hero__sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 50ch;
}
.hero__actions {
  margin-top: 32px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__btn { height: 52px; }
.hero__btn .btn__plus--right { width: 52px; flex-basis: 52px; }
.hero__locator {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.hero__locator-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex: 0 0 auto;
  position: relative;
}
.hero__locator-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(255, 90, 31, 0.4);
  animation: locator-pulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes locator-pulse {
  0%   { transform: scale(0.8); opacity: 0.6; }
  70%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}
.hero__locator strong {
  color: rgba(10, 10, 10, 0.88);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.hero__locator time { color: rgba(10, 10, 10, 0.78); font-variant-numeric: tabular-nums; }
.hero__locator-sep { opacity: 0.4; }

/* Hero editor visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}
.hero__blob--a {
  width: 360px; height: 360px;
  top: 4%; left: 4%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.18), transparent 70%);
  animation: hero-float-a 10s ease-in-out infinite;
}
.hero__blob--b {
  width: 280px; height: 280px;
  bottom: 4%; right: 2%;
  background: radial-gradient(circle, rgba(255, 170, 100, 0.14), transparent 70%);
  animation: hero-float-b 12s ease-in-out infinite;
}
.hero__blob--c {
  width: 200px; height: 200px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 220, 180, 0.16), transparent 70%);
  animation: hero-float-a 14s ease-in-out infinite reverse;
}
.hero__suggest {
  position: absolute;
  z-index: 2;
  bottom: 6%;
  right: -2%;
  width: clamp(180px, 18vw, 230px);
  padding: 14px 16px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 22px 48px -16px rgba(0, 0, 0, 0.18), 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: rotate(4deg);
  animation: hero-suggest-float 9s ease-in-out infinite;
}
.hero__suggest-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  margin-bottom: 8px;
}
.hero__suggest-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
.hero__suggest-body { font-size: 12px; line-height: 1.45; color: var(--text); margin-bottom: 10px; }
.hero__suggest-foot {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
@keyframes hero-suggest-float {
  0%, 100% { transform: rotate(4deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-10px); }
}
.hero__editor {
  position: relative;
  z-index: 1;
  width: clamp(300px, 34vw, 460px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 28px 60px -16px rgba(0, 0, 0, 0.2),
    0 10px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  animation: hero-editor-float 8s ease-in-out infinite;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.hero__editor:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow:
    0 36px 80px -16px rgba(255, 90, 31, 0.28),
    0 16px 32px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  animation-play-state: paused;
}
@keyframes hero-editor-float {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-12px); }
}
.hero__editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.hero__editor-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: transform 0.2s var(--ease);
}
.hero__editor-dot:nth-of-type(1) { background: #ff5f57; }
.hero__editor-dot:nth-of-type(2) { background: #febc2e; }
.hero__editor-dot:nth-of-type(3) { background: #28c840; }
.hero__editor:hover .hero__editor-dot { transform: scale(1.1); }
.hero__editor-tab {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  color: rgba(10, 10, 10, 0.5);
  margin-left: 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.hero__editor-tab:hover { color: var(--text); background: rgba(255, 90, 31, 0.06); }
.hero__editor-tab.is-active {
  color: var(--text);
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.hero__editor-pane { display: none; }
.hero__editor-pane.is-active { display: block; }
.hero__editor-spacer { flex: 1; }
.hero__editor-arrow {
  font-family: var(--font-sans);
  font-size: 16px;
  color: rgba(10, 10, 10, 0.4);
  padding: 4px 8px;
  border-radius: 4px;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.hero__editor-arrow:hover {
  color: var(--accent);
  background: rgba(255, 90, 31, 0.08);
  transform: translate(2px, -2px);
}
.hero__editor-body {
  padding: 14px 16px 14px 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(11px, 0.92vw, 13px);
  line-height: 1.2;
  color: var(--text);
  overflow-x: auto;
  background: linear-gradient(180deg, transparent, rgba(255, 90, 31, 0.018));
}
.hero__editor-body pre,
.hero__editor-body code {
  font-family: inherit;
  white-space: pre;
  margin: 0;
}
.hero__editor-line {
  display: block;
  padding: 0;
  transition: background 0.3s var(--ease);
}
.hero__editor-ln {
  display: inline-block;
  width: 30px;
  padding-right: 12px;
  text-align: right;
  color: rgba(10, 10, 10, 0.25);
  user-select: none;
}
.hero__editor-line.is-highlight {
  background: linear-gradient(90deg, rgba(255, 90, 31, 0.08), rgba(255, 90, 31, 0.03) 60%, transparent);
  box-shadow: inset 2px 0 0 var(--accent);
}
.hero__editor:hover .hero__editor-line.is-highlight {
  background: linear-gradient(90deg, rgba(255, 90, 31, 0.14), rgba(255, 90, 31, 0.06) 60%, transparent);
}
.hero__editor-cursor {
  color: var(--accent);
  margin-left: 2px;
  animation: hero-cursor-blink 1.1s steps(2, start) infinite;
}
@keyframes hero-cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}
.hero__editor-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.hero__editor-foot-spacer { flex: 1; }
.hero__editor-foot-meta {
  letter-spacing: 0.04em;
  padding: 2px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: rgba(10, 10, 10, 0.5);
}
.hero__editor-foot-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
  animation: panel-pulse 1.6s ease-in-out infinite;
}
@keyframes hero-float-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 14px); }
}
@keyframes hero-float-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(18px, -16px); }
}

/* ========== Brand band (ASCII contour) ========== */
.band {
  position: relative;
  background: linear-gradient(135deg, #ff7344 0%, #ff5a1f 50%, #e44a16 100%);
  height: clamp(220px, 18vw, 300px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.band__ascii {
  position: absolute;
  inset: 0;
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.9vw, 13px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.42);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  font-weight: 500;
  z-index: 1;
}
.band__star {
  position: relative;
  width: clamp(60px, 8vw, 96px);
  height: clamp(60px, 8vw, 96px);
  z-index: 2;
  filter:
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
  animation: band-star-pulse 5s ease-in-out infinite;
}
@keyframes band-star-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.1) rotate(45deg); }
}

/* ========== About ========== */
.about {
  background: var(--bg);
  padding: 32px var(--frame-pad-x) 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: stretch;
}
.about__intro { display: flex; flex-direction: column; padding-top: 4px; }
.about__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 56ch;
}
.about__copy strong { color: var(--text); font-weight: 400; }
.about__portrait {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(10, 10, 10, 0.04) 14px 15px),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  min-height: 540px;
  padding: 56px 24px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about__corner {
  position: absolute;
  width: 22px; height: 22px;
  border-color: rgba(10, 10, 10, 0.55);
  border-style: solid;
  border-width: 0;
}
.about__portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.1) contrast(1.05);
  z-index: 0;
}
.about__portrait::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}
.about__corner--tl { top: 12px; left: 12px; border-top-width: 1px; border-left-width: 1px; }
.about__corner--tr { top: 12px; right: 12px; border-top-width: 1px; border-right-width: 1px; }
.about__corner--bl { bottom: 12px; left: 12px; border-bottom-width: 1px; border-left-width: 1px; }
.about__corner--br { bottom: 12px; right: 12px; border-bottom-width: 1px; border-right-width: 1px; }
.about__stamp {
  position: absolute;
  top: 22px; right: 22px;
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 10px;
  background: rgba(246, 245, 241, 0.92);
}
.about__stamp span { margin: 0 4px; color: rgba(10, 10, 10, 0.4); }
.about__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px 26px;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.about__chip::after {
  content: "";
  position: absolute;
  top: 18px; right: 22px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.55;
}
.about__chip:hover { border-color: var(--accent); }
.about__chip:hover::after { opacity: 1; box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18); }
.about__chip-label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.about__chip-value {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* About chapters */
.about__chapters { position: relative; z-index: 2; }
.about__chapters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.about__chapters-tag::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
.about__chapters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.chapter {
  position: relative;
  padding: 36px 28px 28px;
  border-right: 1px solid var(--border);
}
.chapter:last-child { border-right: 0; }
.chapter__flag {
  position: absolute;
  top: 40px;
  right: 28px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(10, 10, 10, 0.4);
}
.chapter__years {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.chapter__arrow { font-size: 0.7em; color: var(--accent); font-weight: 500; }
.chapter__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}
.chapter__meta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  margin-bottom: 18px;
}
.chapter__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 34ch;
}

/* ========== Skills ========== */
.skills {
  background: var(--bg);
  padding: 32px var(--frame-pad-x) 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skills__icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.skills__icon {
  aspect-ratio: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22%;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.skills__icon:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.skills__icon svg { width: 100%; height: 100%; }
.skills__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.skill-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.skill-card:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.skill-card:hover::before { transform: scaleX(1); }
.skill-card:hover .skill-card__title { color: var(--accent); }
.skill-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
}
.skill-card__arrow {
  font-size: 14px;
  color: rgba(10, 10, 10, 0.4);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}
.skill-card:hover .skill-card__arrow { transform: translate(2px, -2px); color: var(--accent); }
.skill-card__title {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}
.skill-card__tags {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.skills__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
  margin-top: 20px;
}
.skill-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  border-radius: 2px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.skill-pill:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ========== Proof ========== */
.proof {
  background: var(--bg);
  padding: 32px var(--frame-pad-x) 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.proof__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.proof__editor {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 540px;
}
.proof__editor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.proof__editor-bar > span { width: 11px; height: 11px; border-radius: 50%; }
.proof__editor-bar > span:nth-child(1) { background: #ff5f57; }
.proof__editor-bar > span:nth-child(2) { background: #febc2e; }
.proof__editor-bar > span:nth-child(3) { background: #28c840; }
.proof__editor-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.proof__editor-body {
  flex: 1;
  padding: 26px 28px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}
.proof__editor-body pre,
.proof__editor-body code { font-family: inherit; white-space: pre; margin: 0; }
.cm { color: rgba(10, 10, 10, 0.42); font-style: italic; }
.kw { color: #c2410c; }
.vr { color: #1f2937; }
.pr { color: #1d4ed8; }
.fn { color: #7c3aed; }
.st { color: #15803d; }
.nm { color: #b45309; }

.proof__panels {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 540px;
}
.proof__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proof__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
}
.proof__panel-status { display: inline-flex; align-items: center; gap: 7px; }
.proof__panel-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: panel-pulse 1.6s ease-in-out infinite;
}
@keyframes panel-pulse {
  0%, 100% { opacity: 0.55; box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
  50%      { opacity: 1; box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18); }
}
.proof__panel-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.proof__panel-delta {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.proof__panel-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: rgba(10, 10, 10, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.proof__chart { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.proof__chart svg { width: 100%; height: 100px; display: block; }
.proof__chart-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.4);
}
.proof__bars {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  height: 88px;
}
.proof__bars span { flex: 1; background: var(--accent); display: block; }
.proof__bars span:nth-child(1)  { height: 18%; opacity: 0.16; }
.proof__bars span:nth-child(2)  { height: 22%; opacity: 0.22; }
.proof__bars span:nth-child(3)  { height: 28%; opacity: 0.28; }
.proof__bars span:nth-child(4)  { height: 36%; opacity: 0.36; }
.proof__bars span:nth-child(5)  { height: 44%; opacity: 0.44; }
.proof__bars span:nth-child(6)  { height: 54%; opacity: 0.52; }
.proof__bars span:nth-child(7)  { height: 64%; opacity: 0.62; }
.proof__bars span:nth-child(8)  { height: 76%; opacity: 0.74; }
.proof__bars span:nth-child(9)  { height: 88%; opacity: 0.86; }
.proof__bars span:nth-child(10) { height: 100%; opacity: 1; }
.proof__icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.proof__icon {
  aspect-ratio: 1.4 / 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 4vw, 56px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.proof__icon svg { width: 38%; height: 38%; }
.proof__icon:hover { transform: translateY(-2px); }
.proof__icon--gbp  { color: #16a34a; }
.proof__icon--eur  { color: #2563eb; }
.proof__icon--usd  { color: #ff5a1f; }
.proof__icon--up   { color: #f59e0b; }
.proof__icon--card { color: #8b5cf6; }
.proof__icon--term { color: #0d9488; }
.proof__icon--gbp:hover  { background: rgba(22, 163, 74, 0.08);  border-color: rgba(22, 163, 74, 0.32); }
.proof__icon--eur:hover  { background: rgba(37, 99, 235, 0.08);  border-color: rgba(37, 99, 235, 0.32); }
.proof__icon--usd:hover  { background: rgba(255, 90, 31, 0.08);  border-color: rgba(255, 90, 31, 0.32); }
.proof__icon--up:hover   { background: rgba(245, 158, 11, 0.08); border-color: rgba(245, 158, 11, 0.32); }
.proof__icon--card:hover { background: rgba(139, 92, 246, 0.08); border-color: rgba(139, 92, 246, 0.32); }
.proof__icon--term:hover { background: rgba(13, 148, 136, 0.08); border-color: rgba(13, 148, 136, 0.32); }

/* ========== Work ========== */
.work {
  background: linear-gradient(135deg, #ff7344 0%, #ff5a1f 50%, #e44a16 100%);
  padding: 80px var(--frame-pad-x) 100px;
  border-bottom-color: var(--frame-border-dark);
}
.work::before {
  border-left-color: var(--frame-border-dark);
  border-right-color: var(--frame-border-dark);
}
.work::after {
  background-image:
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px);
}
.work .marker {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-top-color: rgba(0, 0, 0, 0.22);
  border-bottom-color: rgba(0, 0, 0, 0.22);
}
.work .marker__count strong { color: #fff; }
.work .marker__sep { color: rgba(255, 255, 255, 0.45); }
.work .section-tagline {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.22);
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.project {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  padding: 28px;
  color: var(--text);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.project:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.18);
}
.project--wide { grid-column: span 4; }
.project--narrow { grid-column: span 2; }
.project--1 {
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(10, 10, 10, 0.04) 18px 19px),
    var(--bg-card);
}
.project--2 {
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(10, 10, 10, 0.04) 18px 19px),
    var(--bg-soft);
}
.project--3 {
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(10, 10, 10, 0.04) 18px 19px),
    var(--bg-soft);
}
.project--4 {
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(10, 10, 10, 0.04) 18px 19px),
    var(--bg-card);
}
.project__num {
  position: absolute;
  top: 22px;
  left: 28px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(10, 10, 10, 0.45);
}
.project__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.project--narrow .project__bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.project__main { flex: 1; min-width: 0; }
.project__chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  margin-bottom: 10px;
}
.project__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.project--narrow .project__title { font-size: clamp(22px, 2vw, 28px); }
.project:hover .project__title { color: var(--accent); }
.project__tags {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  text-align: right;
  white-space: nowrap;
}
.project--narrow .project__tags {
  text-align: left;
  white-space: normal;
}

/* ========== Services (5-row list) ========== */
.services {
  background: linear-gradient(135deg, #ff7344 0%, #ff5a1f 50%, #e44a16 100%);
  padding: 32px var(--frame-pad-x) 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom-color: var(--frame-border-dark);
}
.services::before {
  border-left-color: var(--frame-border-dark);
  border-right-color: var(--frame-border-dark);
}
.services::after {
  background-image:
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px),
    repeating-linear-gradient(to bottom, var(--frame-border-dark) 0, var(--frame-border-dark) 4px, transparent 4px, transparent 8px);
}
.services .marker {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-top-color: rgba(0, 0, 0, 0.22);
  border-bottom-color: rgba(0, 0, 0, 0.22);
}
.services .marker__count strong { color: #fff; }
.services .marker__sep { color: rgba(255, 255, 255, 0.45); }
.services .section-tagline {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(0, 0, 0, 0.22);
}
.services .service { border-bottom-color: rgba(0, 0, 0, 0.22); }
.services .service:first-child { border-top-color: rgba(0, 0, 0, 0.22); }
.services .service:hover { background: rgba(0, 0, 0, 0.06); }
.services .service:hover .service__title { color: #0a0a0a; }
.services .service__num { color: rgba(255, 255, 255, 0.7); }
.services .service__title { color: #fff; }
.services .service__desc { color: rgba(255, 255, 255, 0.9); }
.services .service__price { color: rgba(255, 255, 255, 0.85); }
.services .service__price::before { background: #fff; opacity: 0.85; }
.services__list { display: flex; flex-direction: column; }
.service {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(160px, auto);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 28px 8px;
  border-bottom: 1px dashed var(--border);
  transition: background 0.2s var(--ease);
}
.service:first-child { border-top: 1px dashed var(--border); }
.service:hover { background: var(--bg-soft); }
.service:hover .service__title { color: var(--accent); }
.service:hover .service__price::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.3);
}
.service__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(10, 10, 10, 0.4);
}
.service__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.2s var(--ease);
}
.service__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}
.service__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  text-align: right;
  white-space: nowrap;
  position: relative;
  padding-left: 16px;
}
.service__price::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

/* ========== Process (5-step) ========== */
.process {
  background: var(--bg);
  padding: 32px var(--frame-pad-x) 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.step:hover { background: var(--bg-soft); border-color: var(--border-strong); }
.step__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.step__num::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 24px; height: 2px;
  background: var(--text);
  opacity: 0.85;
}
.step:hover .step__num::after { background: var(--accent); width: 36px; }
.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.step__desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* ========== Currently ========== */
.currently {
  background: var(--bg);
  padding: 32px var(--frame-pad-x) 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.currently__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.desk {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 28px 18px;
  display: flex;
  flex-direction: column;
}
.desk__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.desk__list { display: flex; flex-direction: column; }
.desk__row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}
.desk__row:last-child { border-bottom: 0; }
.desk__row:hover .desk__num,
.desk__row:hover .desk__name { color: var(--accent); }
.desk__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(10, 10, 10, 0.4);
  transition: color 0.2s var(--ease);
}
.desk__name { color: var(--text); transition: color 0.2s var(--ease); }
.desk__status {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.5);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.desk__row:first-child .desk__status { color: var(--accent); }
.desk__row:first-child .desk__status::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
.term {
  background: #0e0e0e;
  border: 1px solid #1f1f1f;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-mono);
  font-weight: 500;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #181818;
  border-bottom: 1px solid #222;
}
.term__bar > span { width: 11px; height: 11px; border-radius: 50%; background: #2a2a2a; }
.term__bar > span:nth-child(1) { background: #ff5f57; }
.term__bar > span:nth-child(2) { background: #febc2e; }
.term__bar > span:nth-child(3) { background: #28c840; }
.term__body {
  flex: 1;
  padding: 22px 24px;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.85;
  color: #e8e6df;
  white-space: pre-wrap;
  word-break: break-word;
}
.term__body .t-prompt  { color: var(--accent); }
.term__body .t-comment { color: #888; font-style: italic; }
.term__body .t-string  { color: #4ade80; }

/* ========== Praise (testimonials) ========== */
.praise { background: var(--bg); padding: 80px var(--frame-pad-x) 120px; }
.praise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.quote:hover { border-color: var(--accent); transform: translateY(-2px); }
.quote--accent {
  background: linear-gradient(180deg, #fff7f1 0%, #ffe6d6 100%);
  border-color: var(--accent);
}
.quote--wide { grid-column: span 2; }
.quote__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.quote--accent .quote__head { border-bottom-color: rgba(255, 90, 31, 0.18); }
.quote__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #c9c2b6 0%, #8a8378 100%);
}
.quote__avatar--a { background: linear-gradient(135deg, #ffd6c0 0%, #ff8c5a 100%); }
.quote__avatar--b { background: linear-gradient(135deg, #c0d6ff 0%, #5a8cff 100%); }
.quote__avatar--c { background: linear-gradient(135deg, #d6ffc0 0%, #5aff8c 100%); }
.quote__avatar--d { background: linear-gradient(135deg, #ffd6f0 0%, #ff5aaa 100%); }
.quote__avatar--e { background: linear-gradient(135deg, #f0e0c8 0%, #c9a87a 100%); }
.quote__avatar--f { background: linear-gradient(135deg, #d4d3cf 0%, #8a8a82 100%); }
.quote__who { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.quote__name { font-size: 14px; font-weight: 400; color: var(--text); line-height: 1.2; }
.quote__handle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.quote__icon {
  width: 18px; height: 18px;
  color: rgba(10, 10, 10, 0.35);
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.quote__icon svg { width: 100%; height: 100%; }
.quote__body {
  padding: 16px 20px 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}
.quote__date {
  padding: 0 20px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== Contact ========== */
.contact {
  background: var(--bg);
  padding: 32px var(--frame-pad-x) 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 11vw, 196px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin: 24px 0 64px;
}
.contact__title em { font-style: normal; color: var(--accent); }
.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.brief { display: flex; flex-direction: column; gap: 28px; }
.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brief__field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.brief__field--area { padding-bottom: 10px; }
.brief__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.brief__input {
  font: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 8px 0 12px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.brief__input:focus { border-bottom-color: var(--accent); }
.brief__input::placeholder { color: rgba(10, 10, 10, 0.32); }
.brief__input--area { min-height: 110px; resize: vertical; line-height: 1.55; }
.brief__count {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(10, 10, 10, 0.4);
  align-self: flex-end;
  margin-top: -4px;
}
.brief__chips { display: flex; flex-direction: column; gap: 12px; border: 0; padding: 0; }
.brief__chips legend {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  margin-bottom: 4px;
}
.brief__chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  background: transparent;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }
.brief__bot {
  border: 1px solid var(--border-strong);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.brief__bot:hover {
  border-color: var(--accent);
  background: rgba(255, 90, 31, 0.05);
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.12);
}
.brief__bot:has(input:checked) { border-color: var(--accent); }
@keyframes brief-bot-attention {
  0%, 100% { transform: scale(1); color: rgba(10, 10, 10, 0.45); }
  50% { transform: scale(1.12); color: var(--accent); }
}
.brief__check {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 18px;
  align-items: center;
  cursor: pointer;
}
.brief__check input { position: absolute; opacity: 0; pointer-events: none; }
.brief__check-box {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.45);
  transition: color 0.2s var(--ease);
  animation: brief-bot-attention 2.4s ease-in-out infinite;
}
.brief__check-box svg { width: 100%; height: 100%; }
.brief__check-mark { opacity: 0; transition: opacity 0.2s var(--ease); }
.brief__bot:hover .brief__check-box { color: var(--accent); animation: none; transform: scale(1.12); }
.brief__check input:checked + .brief__check-box { color: var(--accent); animation: none; transform: scale(1); }
.brief__check input:checked + .brief__check-box .brief__check-mark { opacity: 1; }
.brief__check-meta { display: flex; flex-direction: column; gap: 3px; }
.brief__check-meta strong { font-weight: 400; font-size: 14px; color: var(--text); }
.brief__check-meta span {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.brief__check-tag {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
  line-height: 1.25;
  border-left: 1px solid var(--border-strong);
  padding-left: 14px;
}
.brief__progress {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.brief__bar {
  height: 1px;
  background: var(--border-strong);
  position: relative;
  overflow: hidden;
}
.brief__bar-fill {
  display: block;
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.brief__submit { align-self: flex-start; }

.direct { display: flex; flex-direction: column; gap: 28px; }
.direct__label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  margin-bottom: 12px;
}
.direct__email {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 40px);
  letter-spacing: -0.02em;
  word-break: break-word;
  line-height: 1.05;
  display: inline-block;
  margin-top: -16px;
  transition: color 0.2s var(--ease);
}
.direct__email:hover { color: var(--accent); }
.direct__list {
  display: flex;
  flex-direction: column;
  border-top: 1px dashed var(--border);
}
.direct__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  gap: 16px;
}
.direct__row dt {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
}
.direct__row dd {
  font-size: 14px;
  text-align: right;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.direct__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18);
  animation: direct-pulse 2.6s ease-in-out infinite;
}
@keyframes direct-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0.04); }
}
.direct__elsewhere { display: flex; flex-direction: column; }
.direct__elsewhere .direct__label { margin-bottom: 14px; }
.direct__chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ========== Footer ========== */
.footer {
  position: relative;
  background: var(--bg-soft);
  padding: 64px var(--frame-pad-x) 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 32px clamp(24px, 4vw, 64px);
  padding: 24px 0 64px;
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__heading {
  position: relative;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
  margin-bottom: 10px;
}
.footer__heading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.7;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.16);
}
.footer__heading span { color: var(--accent); margin: 0 4px; }
.footer__lead {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.6;
}
.footer__col a {
  color: var(--text);
  font-size: 14px;
  transition: color 0.2s var(--ease);
  display: inline-block;
  align-self: flex-start;
  position: relative;
}
.footer__col a:hover { color: var(--accent); }
.footer__col a::before {
  content: "+";
  display: inline-block;
  width: 0;
  margin-right: 0;
  overflow: hidden;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
  vertical-align: baseline;
  transition: width 0.2s var(--ease), margin-right 0.2s var(--ease);
}
.footer__col a:hover::before { width: 12px; margin-right: 6px; }
.footer__cta { color: var(--accent) !important; font-weight: 500; }
.footer__cta span { display: inline-block; transition: transform 0.2s var(--ease); }
.footer__cta:hover span { transform: translateX(3px); }
.footer__player {
  max-width: 420px;
  margin: 0 0 32px;
  padding: 18px 18px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}
.footer__player-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  margin-bottom: 12px;
}
.footer__player-label span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.footer__player-label span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
  animation: locator-pulse 2s ease-out infinite;
}
.footer__player iframe {
  width: 100%;
  border: 0;
  display: block;
}
.footer__brand-band {
  position: relative;
  margin: 32px calc(-1 * var(--frame-pad-x)) 0;
  background: linear-gradient(135deg, #ff7344 0%, #ff5a1f 50%, #e44a16 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__ascii {
  position: absolute;
  inset: 0;
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.9vw, 13px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.42);
  white-space: pre;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  font-weight: 500;
  z-index: 1;
}
.footer__brand {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 28vw, 440px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-align: center;
  padding: 32px 0 16px;
  user-select: none;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.12);
}
.footer__bottom {
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.55);
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { font-size: 14px; gap: 22px; }
}
@media (max-width: 980px) {
  .skills__icons { grid-template-columns: repeat(3, 1fr); }
  .skills__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__layout { grid-template-columns: 1fr; }
  .proof__editor, .proof__panels { min-height: 0; }
  .proof__icons { grid-template-columns: repeat(3, 1fr); }
  .work__grid { grid-template-columns: 1fr 1fr; }
  .project--wide, .project--narrow { grid-column: span 1; }
  .service { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 20px; }
  .service__desc { grid-column: 2 / -1; margin-top: 4px; }
  .praise__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .skills__grid { grid-template-columns: 1fr; }
  .skills > * { width: 100%; max-width: 100%; }
  .skills__icons, .skills__grid { width: 100%; }
}
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { min-height: 340px; order: 2; width: 100%; }
  .hero__editor {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    animation: none;
    transform: none;
  }
  .hero__editor:hover { transform: translateY(-6px) scale(1.01); }
  .hero__title { max-width: none; }
  .hero__suggest { display: none; }
  .about__main { grid-template-columns: 1fr; }
  .about__portrait { min-height: 420px; }
  .about__title { margin-bottom: 28px; }
  .about__chapters-grid { grid-template-columns: 1fr; }
  .chapter { border-right: 0; border-bottom: 1px solid var(--border); }
  .chapter:last-child { border-bottom: 0; }
  .currently__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .direct__email { margin-top: 0; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (max-width: 768px) {
  .praise__grid { grid-template-columns: 1fr 1fr; }
  .quote--wide { grid-column: span 2; }
}
@media (max-width: 720px) {
  .band { height: clamp(220px, 32vw, 280px); }
  .band__ascii { font-size: 9px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { height: 64px; padding-left: 16px; }
  .nav__cta .btn__plus { width: 52px; flex-basis: 52px; font-size: 20px; }
  .nav__cta .btn__label { padding: 0 18px; }
  .about__chapters-head { flex-wrap: wrap; gap: 8px 16px; }
}
@media (max-width: 600px) {
  .skills__icons { grid-template-columns: repeat(2, 1fr); }
  .skills__grid { grid-template-columns: 1fr; }
  .proof__icons { grid-template-columns: repeat(2, 1fr); }
  .proof__editor-body { padding: 18px 16px; font-size: 11px; }
  .work__grid { grid-template-columns: 1fr; }
  .project { min-height: 300px; padding: 22px; }
  .project__num { top: 18px; left: 22px; }
  .project__tags { white-space: normal; text-align: left; align-self: stretch; }
  .project__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .services { padding: 28px var(--frame-pad-x) 48px; }
  .service {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
    align-items: start;
  }
  .service__num { font-size: 10px; letter-spacing: 0.18em; }
  .service__title { font-size: clamp(26px, 7vw, 34px); line-height: 1.08; margin-top: 2px; }
  .service__desc { grid-column: 1; margin-top: 0; font-size: 14px; line-height: 1.55; }
  .service__price { text-align: left; margin-top: 6px; padding-left: 14px; font-size: 10px; }
  .service__price::before { width: 5px; height: 5px; }
  .desk__row { grid-template-columns: 28px 1fr; row-gap: 4px; }
  .desk__status { grid-column: 2 / -1; font-size: 10px; }
  .praise__grid { grid-template-columns: 1fr; }
  .quote--wide { grid-column: auto; }
  .about__chips { grid-template-columns: 1fr; }
  .marker { font-size: 11px; padding: 12px 0; top: 64px; gap: 10px; flex-wrap: wrap; }
  .marker__label { white-space: normal; line-height: 1.3; flex: 1 1 auto; min-width: 0; }
  .marker__count { flex-shrink: 0; }
  .section-tagline { font-size: 11px; padding: 12px 0 18px; line-height: 1.45; }
  .about__chapters-head { font-size: 10px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__brand { font-size: clamp(80px, 32vw, 180px); }
}
@media (max-width: 540px) {
  :root { --frame-pad-x: clamp(18px, 5vw, 24px); }
  .nav { height: 60px; padding-left: var(--frame-pad-x); }
  .nav__logo { font-size: 16px; }
  .nav__cta { height: 44px; margin-right: var(--frame-pad-x); }
  .nav__cta .btn__label { padding: 0 14px; font-size: 11px; letter-spacing: 0.1em; }
  .nav__cta .btn__plus { width: 44px; flex-basis: 44px; font-size: 18px; }
  main > section[id] { scroll-margin-top: 76px; }
  .marker { top: 60px; font-size: 10px; padding: 10px 0; letter-spacing: 0.14em; }
  .hero { padding: 88px var(--frame-pad-x) 56px; }
  .hero__top { margin-bottom: 40px; }
  .hero__title { font-size: clamp(30px, 8.5vw, 52px); line-height: 1.05; }
  .hero__sub { font-size: 15px; margin-top: 16px; }
  .hero__actions { gap: 8px; }
  .hero__btn { height: 46px; }
  .hero__btn .btn__plus--right { width: 46px; flex-basis: 46px; }
  .hero__visual { min-height: 260px; }
  .hero__tags { width: 100%; flex-direction: column; align-items: stretch; }
  .hero__tag { border-right: 0; border-bottom: 1px solid var(--border-strong); }
  .hero__tag-link { padding: 8px 12px; }
  .hero__locator { font-size: 10px; letter-spacing: 0.08em; gap: 8px; }
  .work { padding: 56px var(--frame-pad-x) 64px; }
  .praise { padding: 48px var(--frame-pad-x) 64px; }
  .about__title { font-size: clamp(38px, 11vw, 60px); margin-bottom: 24px; }
  .contact__title { font-size: clamp(44px, 13vw, 72px); margin: 16px 0 36px; }
  .skill-card { min-height: 180px; padding: 18px 20px 20px; }
  .desk { padding: 22px 22px 14px; }
  .footer { padding: 48px var(--frame-pad-x) 0; }
  .footer__cols { padding: 16px 0 36px; gap: 22px; }
  .footer__brand { font-size: clamp(64px, 28vw, 140px); padding: 18px 0 8px; }
  .wa { right: 14px; bottom: 14px; }
  .wa__toggle { width: 50px; height: 50px; }
  .wa__card { width: calc(100vw - 28px); max-width: 280px; bottom: 64px; }
  .footer__heading::before { left: -10px; width: 5px; height: 5px; }
  .brief__row { grid-template-columns: 1fr; }
  .brief__check { grid-template-columns: 22px 1fr; }
  .brief__check-tag {
    grid-column: 2;
    border-left: 0;
    padding-left: 0;
    text-align: left;
    margin-top: 4px;
  }
}
@media (max-width: 480px) {
  .process__steps { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nav__logo { font-size: 14px; }
  .nav__cta .btn__label { padding: 0 10px; font-size: 10px; letter-spacing: 0.08em; }
  .nav__cta .btn__plus { width: 38px; flex-basis: 38px; font-size: 15px; }
  .hero__title { font-size: clamp(26px, 8.5vw, 40px); }
  .about__title { font-size: clamp(32px, 11vw, 48px); }
  .contact__title { font-size: clamp(36px, 14vw, 56px); }
  .section-tagline { font-size: 10px; letter-spacing: 0.12em; }
  .footer__heading::before { display: none; }
  .marker { font-size: 10px; gap: 8px; letter-spacing: 0.12em; }
  .marker__count { font-size: 10px; gap: 4px; }
  .marker__sep { margin: 0 1px; }
  .about__chapters-head { font-size: 10px; gap: 6px 12px; }
}
@media (max-width: 360px) {
  :root { --frame-pad-x: 16px; }
  .hero { padding: 80px 16px 48px; }
  .hero__title { font-size: clamp(24px, 9vw, 34px); line-height: 1.05; }
  .hero__sub { font-size: 14px; line-height: 1.5; }
  .about__title { font-size: clamp(28px, 11vw, 40px); }
  .about__copy { font-size: 14px; }
  .contact__title { font-size: clamp(32px, 14vw, 48px); }
  .footer__brand { font-size: clamp(56px, 30vw, 110px); }
  .skill-card { min-height: 160px; padding: 16px 18px 18px; }
  .step { padding: 22px 18px 24px; min-height: 200px; }
  .quote__head { padding: 12px 16px; gap: 10px; }
  .quote__avatar { width: 32px; height: 32px; }
  .quote__body { padding: 14px 16px 10px; font-size: 14px; }
  .quote__date { padding: 0 16px 14px; font-size: 12px; }
  .service { padding: 22px 0; }
  .service__title { font-size: clamp(22px, 8vw, 28px); }
  .desk { padding: 18px 18px 12px; }
  .desk__title { font-size: clamp(18px, 5.5vw, 22px); }
  .term__body { padding: 18px 18px; font-size: 12px; line-height: 1.7; }
  .footer__cols { padding: 12px 0 28px; gap: 18px; }
  .footer__col a { font-size: 13px; }
  .footer__lead { font-size: 13px; }
  .footer__bottom { font-size: 10px; padding: 16px 0 22px; }
  .wa { right: 10px; bottom: 10px; }
  .wa__toggle { width: 46px; height: 46px; }
  .wa__card { width: calc(100vw - 20px); max-width: 260px; bottom: 56px; padding: 20px 18px 18px; }
  .wa__qr { width: 150px; height: 150px; }
  .marker { font-size: 9px; padding: 9px 0; letter-spacing: 0.1em; gap: 6px; }
  .brief__bot { padding: 14px 16px; }
  .direct__email { font-size: clamp(20px, 7vw, 26px); }
}
@media (min-width: 820px) and (max-width: 1024px) {
  .hero__inner { gap: 48px; }
  .hero__title { font-size: clamp(40px, 5vw, 64px); }
  .about__main { gap: 36px; }
  .work__grid { grid-template-columns: repeat(4, 1fr); }
  .project--wide { grid-column: span 4; }
  .project--narrow { grid-column: span 2; }
  .praise__grid { grid-template-columns: repeat(2, 1fr); }
  .quote--wide { grid-column: span 2; }
}
@media (min-width: 1600px) {
  :root { --frame-max: 1480px; }
  .hero { padding: 130px var(--frame-pad-x) 160px; }
  .hero__title { font-size: clamp(48px, 5vw, 92px); }
  .about, .skills, .proof, .services, .process, .currently { padding: 56px var(--frame-pad-x) 72px; }
  .praise { padding: 96px var(--frame-pad-x) 140px; }
  .contact { padding: 56px var(--frame-pad-x) 96px; }
  .work { padding: 96px var(--frame-pad-x) 120px; }
  .footer { padding: 80px var(--frame-pad-x) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__editor, .hero__editor-cursor, .band__star,
  .wa__toggle::before, .wa__toggle::after,
  .direct__pulse, .hero__locator-dot::after, .proof__panel-dot,
  .btn__plus { animation: none; transition: none; }
}
@media print {
  .nav, .wa, .footer__player, .band { display: none; }
  .hero, .about, .skills, .proof, .work, .services, .process, .currently, .praise, .contact { padding: 24px 0; page-break-inside: avoid; }
  body { background: #fff; }
}
