/* EtherwaveLabs-Pro — professional awareness face */
:root {
  --bg: #070b14;
  --bg-elevated: #0e1524;
  --surface: #121a2b;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e8eef8;
  --muted: #94a3b8;
  --accent: #3b9eff;
  --accent-strong: #1d7fe8;
  --accent-soft: rgba(59, 158, 255, 0.14);
  --danger: #f59e0b;
  --danger-bg: #1c1408;
  --ok: #34d399;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-h: 84px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #7bbcff;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Atmosphere */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(59, 158, 255, 0.22), transparent 55%),
    radial-gradient(700px 420px at 90% 10%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(180deg, #070b14 0%, #0a1220 45%, #070b14 100%);
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 11, 20, 0.9);
}

.site-header .inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
  line-height: 0;
}

.brand img {
  height: 52px;
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
}

.site-footer .brand img {
  height: 48px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: #6bb4ff;
  color: #000;
}

.site-header .btn-primary {
  color: #000;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

.site-header .btn-primary:hover {
  color: #000;
  background: #f3f4f6;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
}

.btn-danger {
  background: #b91c1c;
  color: #fff;
}

.btn-success {
  background: #059669;
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.85) contrast(1.05);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.55) 48%, rgba(7, 11, 20, 0.75) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.35) 0%, rgba(7, 11, 20, 0.92) 100%);
}

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

.hero-copy {
  max-width: 640px;
  animation: riseIn 0.9s ease both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  font-weight: 750;
}

.hero-brand span {
  color: var(--accent);
}

.hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  color: var(--text);
  max-width: 28ch;
}

.hero-lead {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: riseIn 1s ease 0.15s both;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pill {
  border: 1px solid var(--line);
  background: var(--accent-soft);
  color: #cfe7ff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

/* Careers */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2rem;
}

.roles {
  display: grid;
  gap: 1.1rem;
}

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.5rem;
  align-items: center;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.95), rgba(14, 21, 36, 0.9));
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.role:hover {
  border-color: rgba(59, 158, 255, 0.45);
  transform: translateY(-2px);
}

.role h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.role-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.65rem;
}

.role p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.role ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.role li {
  color: var(--muted);
  font-size: 0.88rem;
  padding-left: 1rem;
  position: relative;
}

.role li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.role-cta {
  align-self: start;
}

.role.is-featured {
  border-color: rgba(59, 158, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(59, 158, 255, 0.12), var(--shadow);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #04101f;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  margin-bottom: 0.55rem;
}

/* Recording */
.recording-shell {
  padding: calc(var(--header-h) + 2rem) 0 3.5rem;
}

.recorder-panel {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: rgba(14, 21, 36, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.recorder-status {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.recorder-status.is-error {
  color: #fca5a5;
}

.preview-frame {
  position: relative;
  background: #05080f;
  aspect-ratio: 16 / 10;
}

.preview-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05080f;
}

.scenario-warning-overlay {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(3px);
}

.scenario-warning-overlay.is-visible {
  display: flex;
}

.scenario-warning-card {
  width: min(520px, 100%);
  background: linear-gradient(180deg, #17120a, #120e09);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 12px;
  padding: 1.1rem 1.15rem 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: #f8fafc;
}

.warn-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #fbbf24;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
}

.scenario-warning-card p {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.scenario-warning-card code {
  display: block;
  background: #0b1220;
  color: #fbbf24;
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.45;
  word-break: break-all;
  cursor: pointer;
  margin: 0.35rem 0 0.55rem;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.scenario-warning-card code::after {
  content: "Click to copy";
  display: block;
  margin-top: 0.4rem;
  color: #94a3b8;
  font-size: 0.65rem;
  font-family: var(--font-body);
}

.scenario-warning-card code.is-copied {
  outline: 1px solid #34d399;
}

.scenario-warning-card code.is-copied::after {
  content: "Copied";
  color: #86efac;
}

.warn-note {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.recorder-timer {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
  font-size: 1.35rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recorder-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 1rem;
}

.recorder-hint {
  padding: 0 1rem 1.1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Modal */
.submit-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(3, 7, 18, 0.72);
}

.submit-modal.is-open {
  display: flex;
}

.submit-modal-card {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.submit-modal-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
}

.submit-modal-card .modal-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.submit-modal-card label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.submit-modal-card input {
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a1220;
  color: var(--text);
  font: inherit;
}

.submit-modal-card input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-error {
  display: none;
  margin: -0.55rem 0 0.75rem;
  color: #fca5a5;
  font-size: 0.78rem;
}

.field-error.is-visible {
  display: block;
}

.submit-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
}

.site-footer strong {
  color: var(--text);
}

.site-footer .brand {
  margin-bottom: 0.65rem;
}

/* Trust strip / stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: rgba(14, 21, 36, 0.75);
}

.stat-card h4 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-family: var(--font-display);
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 0.9rem;
  position: relative;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.about-profile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.about-profile img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.about-profile h4 {
  margin: 0;
  font-size: 0.98rem;
}

.about-profile p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.about-visual {
  position: relative;
}

.about-visual .main {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-visual .inset {
  position: absolute;
  width: 42%;
  right: -4%;
  bottom: -8%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.experience-chip {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04101f;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: var(--font-display);
  box-shadow: var(--shadow);
}

.experience-chip strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.experience-chip span {
  font-size: 0.78rem;
  font-weight: 600;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.service-card,
.work-card,
.story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 26, 43, 0.95), rgba(14, 21, 36, 0.88));
  padding: 1.2rem 1.25rem;
}

.service-card h3,
.work-card h3,
.story-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.service-card p,
.work-card p,
.story-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.tag {
  font-size: 0.72rem;
  color: #cfe7ff;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 158, 255, 0.25);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.tech-banner {
  margin-top: 1.5rem;
  border: 1px solid rgba(59, 158, 255, 0.25);
  background: rgba(59, 158, 255, 0.06);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.tech-banner strong {
  color: var(--accent);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.work-card {
  grid-column: span 2;
  padding: 0;
  overflow: hidden;
}

/* Center the last row when there are five cards (2 + 2 + 1 layout avoided) */
.work-grid .work-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / 4;
}

.work-grid .work-card:nth-child(5):last-child {
  grid-column: 4 / 6;
}

.work-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.work-card .body {
  padding: 1rem 1.1rem 1.15rem;
}

/* Tools — logo grid (separate from Partners) */
.section-tools {
  background: transparent;
}

.tools-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 0.75rem;
}

.tools-heading .section-title {
  margin: 0;
  flex: 0 1 auto;
}

.tools-heading-line {
  flex: 1 1 auto;
  height: 1px;
  min-width: 2.5rem;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.45), rgba(148, 163, 184, 0.08));
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 1.75rem;
}

.tool-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.tools-grid img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
}

/* Partner PNGs sit on white tiles so dark brand marks stay readable on navy */
.section-clients {
  background: transparent;
  border-block: none;
}

.section-clients .section-kicker {
  color: var(--accent);
}

.section-clients .section-title {
  color: var(--text);
}

.section-clients .section-lead {
  color: var(--muted);
}

.clients-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  margin-top: 1.75rem;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: #f4f7fb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.clients-strip img {
  max-height: 48px;
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  opacity: 1;
  filter: none;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.story-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
}

.story-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.story-card .role {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  display: block;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  transform: none;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: rgba(14, 21, 36, 0.85);
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 0.9fr 1.35fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.contact-form .optional {
  font-weight: 400;
  opacity: 0.75;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-status {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #fca5a5;
}

/* Mobile */
@media (max-width: 1100px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(7, 11, 20, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .split,
  .role,
  .footer-grid,
  .stats-row,
  .about-grid,
  .card-grid,
  .work-grid,
  .stories-grid,
  .contact-panel,
  .about-list,
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-grid .work-card:nth-child(4):nth-last-child(2),
  .work-grid .work-card:nth-child(5):last-child {
    grid-column: auto;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-heading {
    flex-wrap: wrap;
  }

  .tools-heading-line {
    width: 100%;
    flex-basis: 100%;
  }

  .clients-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-visual .inset {
    position: static;
    width: 70%;
    margin-top: 0.75rem;
  }

  .experience-chip {
    position: static;
    margin-top: 0.75rem;
    display: inline-block;
  }
}
