/* Palette seed: 3ШЕЙП УКРАЇНА → hue 89 */
:root {
  --accent: hsl(89, 85%, 58%);
  --accent-two: hsl(203, 82%, 56%);
  --accent-warm: hsl(32, 90%, 58%);
  --bg: hsl(309, 29%, 7%);
  --text: hsl(309, 20%, 96%);
  --panel: color-mix(in srgb, var(--bg) 72%, hsl(309, 22%, 18%));
  --muted: color-mix(in srgb, var(--text) 62%, transparent);
  --line: color-mix(in srgb, var(--text) 14%, transparent);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --max-w: 1200px;
  --gap: 24px;
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Syne", var(--font);
  --font-serif: "DM Serif Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.grid {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* ─── HEADER: editorial bar with accent rail ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  max-width: calc(var(--max-w) + 48px);
  margin: 0 auto;
  padding: 14px 24px;
  width: 100%;
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-two) 45%, var(--accent-warm) 100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.logo-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px 14px 4px 14px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 900;
  font-size: 1.15rem;
  transform: rotate(-6deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle {
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lang-toggle:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MAIN ─── */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
  width: 100%;
}

section {
  margin-bottom: 120px;
}

section:last-child {
  margin-bottom: 0;
}

/* ─── HERO: cinematic split with orbital visual ─── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
  margin-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: 0 0 0 120px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 50%),
    linear-gradient(225deg, color-mix(in srgb, var(--accent-two) 10%, transparent) 0%, transparent 45%);
}

.hero-bg-num {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(12rem, 28vw, 22rem);
  font-weight: 800;
  line-height: 1;
  color: color-mix(in srgb, var(--text) 3%, transparent);
  user-select: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.hero-orb--1 {
  width: 280px;
  height: 280px;
  top: 10%;
  left: 5%;
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  animation: float 8s ease-in-out infinite;
}

.hero-orb--2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 20%;
  background: color-mix(in srgb, var(--accent-two) 30%, transparent);
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -16px); }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-text {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
  border-left: 3px solid var(--accent);
  padding-left: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px 18px 4px 18px;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn.primary:hover {
  box-shadow: 0 12px 40px color-mix(in srgb, var(--accent) 50%, transparent);
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
  border-radius: 18px 4px 18px 4px;
}

.btn.secondary:hover {
  border-color: var(--accent-two);
  background: color-mix(in srgb, var(--accent-two) 8%, transparent);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  padding: 40px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line));
  border-radius: 50%;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-card-ring {
  position: absolute;
  inset: -20px;
  border: 1px dashed color-mix(in srgb, var(--accent-two) 40%, transparent);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.hero-card-ring--2 {
  inset: -40px;
  border-style: solid;
  border-color: color-mix(in srgb, var(--accent) 20%, transparent);
  animation-direction: reverse;
  animation-duration: 45s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-card-letter {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.hero-card-words {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-chips {
  display: flex;
  gap: 10px;
  list-style: none;
}

.hero-chips li {
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}

.hero-chips li:nth-child(1) { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.hero-chips li:nth-child(2) { color: var(--accent-two); border-color: color-mix(in srgb, var(--accent-two) 40%, var(--line)); }
.hero-chips li:nth-child(3) { color: var(--accent-warm); border-color: color-mix(in srgb, var(--accent-warm) 40%, var(--line)); }

/* ─── PROFILE: editorial band with serif quote ─── */
.profile {
  margin-left: calc(-1 * (100vw - min(100vw, var(--max-w))) / 2 - 24px);
  margin-right: calc(-1 * (100vw - min(100vw, var(--max-w))) / 2 - 24px);
  padding: 0 calc((100vw - min(100vw, var(--max-w))) / 2 + 24px);
}

.profile-band {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: color-mix(in srgb, var(--panel) 90%, var(--accent) 4%);
  border: 1px solid var(--line);
  border-radius: 2px 48px 2px 48px;
  overflow: hidden;
}

.profile-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 28px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 15%, var(--bg)), var(--bg));
  border-right: 1px solid var(--line);
}

.profile-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-start;
}

.profile-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.profile-body {
  padding: 48px 56px 48px 48px;
}

.profile-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--text);
}

.profile-quote {
  border: none;
  margin: 0;
}

.profile-quote p {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 640px;
}

.profile-strip {
  display: flex;
  gap: 8px;
  margin-top: 36px;
}

.profile-strip span {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.profile-strip span:nth-child(1) { background: var(--accent); flex: 2; }
.profile-strip span:nth-child(3) { background: var(--accent-two); }
.profile-strip span:nth-child(5) { background: var(--accent-warm); }

/* ─── AREAS: asymmetric bento with variant cards ─── */
.areas-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.areas-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--text), color-mix(in srgb, var(--accent) 60%, var(--text)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.areas-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto auto;
  gap: 16px;
}

.area-card {
  padding: 28px 24px;
  position: relative;
  transition: transform 0.25s;
}

.area-card:hover {
  transform: translateY(-6px);
}

.area-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.area-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.area-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
}

.area-card--featured {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  padding: 36px 32px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, var(--panel)), var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 32px 8px 32px 8px;
}

.area-card--featured .area-num { color: var(--bg); background: var(--accent); display: inline-block; padding: 4px 10px; border-radius: 4px; }
.area-card--featured h3 { font-size: 1.25rem; }

.area-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  color: color-mix(in srgb, var(--accent) 70%, var(--text));
  opacity: 0.6;
}

.area-card--compact {
  grid-column: 4 / 7;
  grid-row: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px 24px 8px 24px;
}

.area-card--compact .area-num { color: var(--accent-two); }

.area-card--soft {
  background: color-mix(in srgb, var(--accent-two) 12%, var(--panel)) !important;
  border-color: color-mix(in srgb, var(--accent-two) 25%, var(--line)) !important;
}

.area-card--slant {
  grid-column: 4 / 5;
  grid-row: 2;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 0 0 24px 0;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 92% 100%, 0 100%);
}

.area-card--slant .area-num { color: var(--accent-warm); }

.area-card--outline {
  grid-column: 5 / 7;
  grid-row: 2;
  background: transparent;
  border: 1px dashed color-mix(in srgb, var(--accent-two) 50%, var(--line));
  border-radius: 50% 8px 50% 8px;
  padding: 20px 18px;
}

.area-card--outline .area-num { color: var(--accent-two); }

.area-card--wide {
  grid-column: 1 / 7;
  grid-row: 3;
  background: linear-gradient(90deg, var(--panel), color-mix(in srgb, var(--accent-warm) 10%, var(--panel)));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}

.area-wide-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 40px;
}

.area-card--wide .area-num {
  font-size: 3rem;
  color: color-mix(in srgb, var(--accent-warm) 50%, transparent);
  margin: 0;
  line-height: 1;
}

/* ─── PROCESS: vertical timeline track ─── */
.process {
  margin-left: calc(-1 * (100vw - min(100vw, var(--max-w))) / 2 - 24px);
  margin-right: calc(-1 * (100vw - min(100vw, var(--max-w))) / 2 - 24px);
  padding: 80px calc((100vw - min(100vw, var(--max-w))) / 2 + 24px);
  background:
    radial-gradient(ellipse at 0% 50%, color-mix(in srgb, var(--accent-two) 12%, transparent), transparent 55%),
    color-mix(in srgb, var(--bg) 92%, hsl(309, 22%, 12%));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

.process-head {
  margin-bottom: 56px;
}

.process-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

.process-track {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 0;
}

.process-track::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-two), var(--accent-warm));
  opacity: 0.5;
}

.step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  align-items: start;
  padding: 20px 0;
}

.step-node {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-item--1 .step-node { background: var(--accent); color: var(--bg); }
.step-item--2 .step-node { background: var(--accent-two); color: var(--bg); border-radius: 4px; }
.step-item--3 .step-node { background: transparent; border: 2px solid var(--accent-warm); color: var(--accent-warm); border-radius: 0; transform: rotate(45deg); }
.step-item--3 .step-node span { transform: rotate(-45deg); }
.step-item--4 .step-node { background: var(--panel); border: 2px solid var(--accent); color: var(--accent); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }

.step-card {
  padding: 28px 32px;
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}

.step-item--1 .step-card { background: color-mix(in srgb, var(--accent) 8%, var(--panel)); border-radius: 4px 24px 4px 24px; border-left: 4px solid var(--accent); }
.step-item--2 .step-card { background: var(--panel); border-radius: 24px 4px 24px 4px; border-right: 4px solid var(--accent-two); margin-left: 24px; }
.step-item--3 .step-card { background: transparent; border-style: dashed; border-radius: 0; }
.step-item--4 .step-card { background: linear-gradient(135deg, var(--panel), color-mix(in srgb, var(--accent) 6%, var(--panel))); border-radius: 16px; }

.step-item:hover .step-card {
  transform: translateX(8px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CONTACT: inverted shell with chip cards ─── */
.contact {
  margin-left: calc(-1 * (100vw - min(100vw, var(--max-w))) / 2 - 24px);
  margin-right: calc(-1 * (100vw - min(100vw, var(--max-w))) / 2 - 24px);
  padding: 0 calc((100vw - min(100vw, var(--max-w))) / 2 + 24px);
}

.contact-shell {
  background: linear-gradient(145deg, hsl(309, 25%, 11%), hsl(309, 30%, 6%));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line));
  border-radius: 48px 8px 48px 8px;
  padding: 56px 48px;
  box-shadow: 0 24px 80px color-mix(in srgb, var(--bg) 40%, transparent);
}

.contact-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  margin-top: 8px;
}

.contact-intro {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 520px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.contact-chip:hover {
  transform: translateX(6px);
}

.contact-chip--phone {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 4px 20px 4px 20px;
}

.contact-chip--email {
  background: color-mix(in srgb, var(--accent-two) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent-two) 30%, var(--line));
}

.contact-chip--address {
  background: color-mix(in srgb, var(--accent-warm) 8%, transparent);
  border-color: color-mix(in srgb, var(--accent-warm) 25%, var(--line));
  border-radius: 20px 4px 20px 4px;
}

.contact-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  flex-shrink: 0;
}

.contact-chip-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.contact-chip-body strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  background: color-mix(in srgb, var(--bg) 50%, transparent);
  border: 1px solid var(--line);
  border-radius: 8px 32px 8px 32px;
  overflow: hidden;
}

.form-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-two) 25%, transparent), transparent 70%);
  pointer-events: none;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.contact-form label span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER: minimal bar with accent ─── */
.footer {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), var(--accent-two), var(--accent-warm)) 1;
  background: color-mix(in srgb, var(--panel) 50%, var(--bg));
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.footer p {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
  text-align: center;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.footer-top:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ─── BREAKPOINTS ─── */
@media (max-width: 980px) {
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    padding: 16px;
    background: color-mix(in srgb, var(--panel) 98%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    z-index: 99;
  }

  body.menu-open .nav {
    display: flex;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .nav a:hover {
    border-left-color: var(--accent);
    border-bottom-color: transparent;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-bg-num {
    right: -10%;
    opacity: 0.5;
  }

  .profile-band {
    grid-template-columns: 1fr;
  }

  .profile-aside {
    flex-direction: row;
    align-items: center;
    padding: 24px 28px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .profile-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .profile-body {
    padding: 32px 28px;
  }

  .areas-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .area-card--featured,
  .area-card--compact,
  .area-card--slant,
  .area-card--outline,
  .area-card--wide {
    grid-column: auto;
    grid-row: auto;
    writing-mode: horizontal-tb;
  }

  .area-card--wide .area-num {
    font-size: 1.5rem;
  }

  .area-wide-inner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 24px;
  }

  .step-item--2 .step-card {
    margin-left: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    padding: 40px 28px;
  }
}

@media (max-width: 620px) {
  main {
    padding: 0 16px 64px;
  }

  section {
    margin-bottom: 80px;
  }

  .hero {
    padding: 40px 0 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .areas-bento {
    grid-template-columns: 1fr;
  }

  .areas-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .process {
    padding: 56px 16px;
  }

  .process-track::before {
    left: 23px;
  }

  .step-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .step-node {
    width: 48px;
    height: 48px;
    font-size: 0.7rem;
  }

  .step-card {
    padding: 20px;
  }

  .contact-shell {
    padding: 32px 20px;
    border-radius: 24px 8px 24px 8px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .footer p {
    order: 3;
    width: 100%;
  }
}
