/* Colordev studio — forest ink, chameleon iridescence, Hebrew first */
:root {
  --paper: #eef1ec;
  --paper-2: #e3e9e2;
  --white: #fbfcf8;
  --ink: #17211e;
  --ink-soft: #2c3a35;
  --mute: #5c6a65;
  --line: #c5cfc7;
  --teal: #0e8f7b;
  --teal-deep: #0a6b5c;
  --spark: #d46a1e;
  --iris: #6a4cc4;
  --rose: #c43d6a;
  --gold: #c99612;
  --hero: #101816;
  --hero-2: #1a2a26;
  --nav-h: 4.65rem;
  --max: 70rem;
  --display: "Rubik", "Assistant", system-ui, sans-serif;
  --body: "Assistant", "Rubik", system-ui, sans-serif;
  --radius: 0.35rem;
  --shadow: 0 18px 40px rgba(23, 33, 30, 0.12);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  background: var(--paper);
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 1.0625rem;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--teal-deep); text-underline-offset: 0.18em; }
a:hover { color: var(--teal); }

:focus-visible {
  outline: 2px solid var(--spark);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
}
.skip:focus { top: 0.75rem; }

/* Accessibility */
html[data-a11y-font="large"] { font-size: 18px; }
html[data-a11y-font="x-large"] { font-size: 20px; }
html[data-a11y-links="on"] a { text-decoration: underline; }
html[data-a11y-cursor="on"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%2317211e' stroke='%23fbfcf8' stroke-width='2'/%3E%3C/svg%3E") 16 16, auto !important;
}
html[data-a11y-contrast="on"] {
  --paper: #0d0d0d;
  --paper-2: #161616;
  --white: #111;
  --ink: #fafafa;
  --ink-soft: #eee;
  --mute: #d0d0d0;
  --line: #555;
  --teal: #5eead4;
  --teal-deep: #99f6e4;
  --hero: #000;
  --hero-2: #111;
}
html[data-a11y-contrast="on"] body { background: #0d0d0d; color: #fafafa; }
html[data-a11y-motion="on"],
html[data-a11y-motion="on"] *,
html[data-a11y-motion="on"] *::before,
html[data-a11y-motion="on"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

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

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.view { flex: 1; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.nav.is-solid,
.page-inner .nav {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.page-home .nav {
  position: fixed;
  width: 100%;
  background: linear-gradient(to bottom, rgba(16, 24, 22, 0.72), transparent);
  border-bottom-color: transparent;
}
.page-home .nav.is-solid {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom-color: var(--line);
}
.page-home .nav:not(.is-solid) .wordmark-color,
.page-home .nav:not(.is-solid) .nav-links a,
.page-home .nav:not(.is-solid) .nav-tools button,
.page-home .nav:not(.is-solid) .burger span {
  color: #f4f7f4;
}
.page-home .nav:not(.is-solid) .nav-links a:hover,
.page-home .nav:not(.is-solid) .nav-links a.active {
  color: #fff;
}
.page-home .nav:not(.is-solid) .burger { border-color: rgba(255,255,255,0.35); background: transparent; }
.page-home .nav:not(.is-solid) .burger span { background: #f4f7f4; }
.page-home .nav:not(.is-solid) .a11y-btn {
  color: #f4f7f4;
  border-color: rgba(255,255,255,0.28);
  background: transparent;
}

.nav-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  direction: ltr;
  unicode-bidi: isolate;
}
.brand:hover { text-decoration: none; opacity: 0.92; }
.brand img {
  height: 2.55rem;
  width: 2.55rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(14, 143, 123, 0.28));
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.wordmark-color { color: var(--ink); }
.wordmark-dev { color: var(--teal); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.2rem 0;
  position: relative;
}
.nav-links a:hover { color: var(--teal-deep); text-decoration: none; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.15rem;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--iris), var(--gold));
}

.nav-tools { display: flex; align-items: center; gap: 0.5rem; }
.a11y-btn, .burger {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
}
.a11y-btn { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.burger span { display: block; width: 1.15rem; height: 2px; background: var(--ink); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--hero);
  color: #f4f7f4;
  z-index: 79;
  padding: 1.5rem 1.5rem 2rem;
  overflow: auto;
}
.mobile-panel.open { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-panel a {
  color: #f4f7f4;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  line-height: 1.25;
}
.mobile-panel a:hover { color: #7ee0d0; }
.mobile-meta {
  margin-top: auto;
  padding-top: 2rem;
  color: #b7c4be;
  font-size: 0.95rem;
}
.mobile-meta a { font-size: 1rem; font-family: var(--body); font-weight: 600; color: #7ee0d0; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--hero);
  color: #f3f6f3;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 1.5rem) 0 3rem;
}
.hero-orb {
  position: absolute;
  width: min(38vw, 26rem);
  aspect-ratio: 1;
  inset-inline-start: -4%;
  bottom: 6%;
  border-radius: 50%;
  background: conic-gradient(from 80deg, #1ec8b8, #6a4cc4, #d4a017, #c43d6a, #1ec8b8);
  filter: blur(48px);
  opacity: 0.32;
  animation: orb-spin 28s linear infinite;
  pointer-events: none;
  z-index: -1;
}
.hero-orb-2 {
  inset-inline-start: auto;
  inset-inline-end: 18%;
  top: 18%;
  bottom: auto;
  width: min(22vw, 14rem);
  opacity: 0.2;
  animation-duration: 38s;
  animation-direction: reverse;
}
@keyframes orb-spin { to { transform: rotate(1turn); } }

.hero-grid {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 38rem; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #c9d6d0;
  margin-bottom: 1.1rem;
}
.live-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--spark);
  box-shadow: 0 0 0 0 rgba(212, 106, 30, 0.7);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 106, 30, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(212, 106, 30, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 106, 30, 0); }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.2vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 span {
  display: block;
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 0.15em;
  color: #dce7e2;
}
.hero-lead {
  margin-top: 1.35rem;
  max-width: 34rem;
  color: #c5d2cc;
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  align-items: center;
}
.hero-mascot {
  justify-self: center;
  position: relative;
}
.hero-mascot img {
  width: min(24rem, 76vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 38px rgba(0,0,0,0.42));
  animation: floaty 6.5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { background: var(--teal-deep); color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: inherit; }
.page-inner .btn-ghost,
.band .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
}
.page-inner .btn-ghost:hover { background: var(--paper-2); }

.strip {
  background: var(--ink);
  color: #d5e0db;
  overflow: hidden;
  border-top: 1px solid #2a3833;
  border-bottom: 1px solid #2a3833;
}
.strip-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: marquee 32s linear infinite;
  font-weight: 600;
}
.strip-track span { white-space: nowrap; }
.strip-track b { color: #7ee0d0; font-weight: 700; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section { padding: 4.5rem 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}
.section h2, .page-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.lede { color: var(--mute); max-width: 36rem; }

/* Values — broken grid, no icon circles */
.values {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value {
  background: var(--white);
  padding: 1.6rem 1.5rem 1.7rem;
  min-height: 10.5rem;
}
.value:nth-child(3) { background: var(--hero); color: #eef4f1; }
.value:nth-child(3) p { color: #b7c4be; }
.value strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.value p { color: var(--mute); font-size: 0.98rem; }

.services {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
}
.service {
  padding: 0;
  border-top: 3px solid var(--teal);
}
.service:nth-child(2) { border-top-color: var(--iris); }
.service:nth-child(3) { border-top-color: var(--spark); }
.service h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0.9rem 0 0.4rem;
}
.service p { color: var(--mute); font-size: 0.96rem; }
.service .tag {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* Work list */
.work-list { display: grid; gap: 0; }
.work {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem 1.4rem;
  align-items: start;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.work:hover { text-decoration: none; }
.work:hover h3 { color: var(--teal-deep); }
.tick {
  width: 0.42rem;
  height: 100%;
  min-height: 3.2rem;
  background: var(--teal);
  align-self: stretch;
}
.work:nth-child(2) .tick { background: var(--iris); }
.work:nth-child(3) .tick { background: var(--spark); }
.work:nth-child(4) .tick { background: var(--gold); }
.work:nth-child(5) .tick { background: var(--rose); }
.work:nth-child(6) .tick { background: var(--teal); }
.work:nth-child(7) .tick { background: var(--iris); }
.work:nth-child(8) .tick { background: var(--spark); }
.work h3 { font-family: var(--display); font-size: 1.18rem; font-weight: 700; }
.work p { color: var(--mute); font-size: 0.95rem; margin-top: 0.2rem; max-width: 42rem; }
.pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mute);
  white-space: nowrap;
  padding-top: 0.2rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.filter {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--mute);
}
.filter.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}
.quote {
  background: transparent;
  border: 0;
  padding: 0;
}
.quote p {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.quote footer {
  margin-top: 0.7rem;
  color: var(--teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.review-form {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.review-form textarea { grid-column: 1 / -1; min-height: 6.5rem; }
.review-form .btn { justify-self: start; }

.form-note { font-size: 0.92rem; color: var(--teal-deep); font-weight: 600; }
.form-note.err { color: #b42318; }
.muted { color: var(--mute); }

.field { display: flex; flex-direction: column; gap: 0.28rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.62rem 0.75rem;
  border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 143, 123, 0.18);
}

.band {
  background: var(--hero);
  color: #eef4f1;
  padding: 3.5rem 0;
}
.band p { color: #b7c4be; margin: 0.5rem 0 1.3rem; max-width: 34rem; }

.page-hero {
  padding: 2.6rem 0 1.5rem;
}
.page-kicker {
  color: var(--mute);
  margin-top: 0.45rem;
  max-width: 38rem;
}

/* Method timeline — a real sequence */
.timeline { position: relative; display: grid; gap: 2.2rem; }
.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.1rem;
}
.step-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step h3 { font-family: var(--display); font-size: 1.35rem; }
.step .sub { color: var(--spark); font-weight: 700; font-size: 0.92rem; margin: 0.2rem 0 0.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.chip {
  background: var(--paper-2);
  padding: 0.28rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.principle h3 { font-family: var(--display); font-size: 1.15rem; margin-bottom: 0.3rem; }
.principle p { color: var(--mute); font-size: 0.92rem; }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}
.about-visual {
  background: var(--hero);
  min-height: 22rem;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.about-visual img {
  width: min(18rem, 78%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.35));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem 3rem;
  align-items: start;
}
.contact-card { display: grid; gap: 0.85rem; }
.reach a, .reach p {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.reach a:hover { color: var(--teal-deep); }
.reach small { color: var(--mute); font-size: 0.82rem; font-weight: 600; }
.reach strong { font-family: var(--display); font-size: 1.15rem; }

.legal { max-width: 42rem; display: grid; gap: 1.1rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-inline-start: 1.2rem; display: grid; gap: 0.4rem; }

.film {
  background: #0a100e;
  line-height: 0;
}
.film video {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  min-height: 160px;
}

.footer {
  background: var(--ink);
  color: #c5d2cc;
  padding: 3rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer .brand { margin-bottom: 0.7rem; }
.footer .wordmark-color { color: #f4f7f4; }
.footer h3 {
  font-family: var(--display);
  color: #f4f7f4;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.footer ul { list-style: none; display: grid; gap: 0.4rem; }
.footer a { color: #c5d2cc; text-decoration: none; }
.footer a:hover { color: #7ee0d0; }
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #2a3833;
  font-size: 0.88rem;
  color: #8fa099;
}

/* Chat + floats */
.floats {
  position: fixed;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  align-items: flex-end;
  max-width: calc(100vw - 1.5rem);
}
.chat-toggle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  box-shadow: var(--shadow);
  font-weight: 700;
}
.chat-toggle img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}
.top-btn, .wa-btn {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.top-btn { background: var(--white); color: var(--ink); border: 1px solid var(--line); }
.wa-btn { background: #1f9e55; color: #fff; font-weight: 800; font-size: 0.72rem; }
.wa-btn:hover { color: #fff; }

.chat {
  width: min(22.5rem, calc(100vw - 1.6rem));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  max-height: min(32rem, 70vh);
}
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0.9rem;
  background: var(--hero);
  color: #f4f7f4;
  font-weight: 700;
}
.chat-head button {
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 1.2rem;
}
.chat-log {
  padding: 0.85rem;
  overflow: auto;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}
.bubble {
  max-width: 90%;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  line-height: 1.5;
}
.bubble.bot { background: var(--paper-2); justify-self: start; }
.bubble.me { background: var(--teal); color: #fff; justify-self: end; }
.chat-form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
}
.chat-form input {
  flex: 1;
  border: 1px solid var(--line);
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
}
.chat-form button {
  background: var(--teal);
  color: #fff;
  border: 0;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
  border-radius: var(--radius);
}

.a11y-panel {
  position: fixed;
  z-index: 100;
  inset-inline-end: 1rem;
  top: calc(var(--nav-h) + 0.6rem);
  width: min(20rem, calc(100vw - 1.5rem));
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.a11y-panel h2 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.a11y-panel p { color: var(--mute); font-size: 0.88rem; margin-bottom: 0.8rem; }
.a11y-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.7rem; }
.a11y-row button, .a11y-panel label {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius);
}
.a11y-row button.is-on, .a11y-panel label.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.a11y-panel label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; width: 100%; }
.a11y-reset {
  margin-top: 0.5rem;
  background: none;
  border: 0;
  color: var(--teal-deep);
  font-weight: 700;
  text-decoration: underline;
}

/* Auth / admin / client */
.auth {
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 3rem 1rem;
}
.auth-box {
  width: min(24rem, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.6rem;
  display: grid;
  gap: 0.8rem;
}
.auth-box h1 { font-family: var(--display); font-size: 1.6rem; }
.workbench {
  display: grid;
  grid-template-columns: 13.5rem 1fr;
  min-height: calc(100svh - var(--nav-h));
  background: var(--paper);
}
.side {
  background: var(--hero);
  color: #d5e0db;
  padding: 1.3rem 0.9rem;
}
.side a, .side button.link {
  display: block;
  width: 100%;
  text-align: start;
  background: none;
  border: 0;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  font-weight: 600;
  border-radius: var(--radius);
}
.side a:hover, .side a.active, .side button.link:hover { background: #24332e; color: #fff; }
.desk { padding: 1.4rem 1.2rem 2.5rem; overflow: auto; }
.desk h1 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 1rem; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.9rem;
}
.stat b { display: block; font-family: var(--display); font-size: 1.6rem; }
.stat span { color: var(--mute); font-size: 0.85rem; }
.table-wrap { overflow: auto; background: var(--white); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.65rem 0.7rem; text-align: start; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); font-weight: 700; }
.row-actions { display: flex; gap: 0.35rem; }
.row-actions button, .tiny {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.tiny.danger { color: #b42318; }
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 22, 0.55);
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal {
  width: min(36rem, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
}
.modal h2 { font-family: var(--display); }

.empty {
  padding: 1.2rem;
  color: var(--mute);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-mascot { order: -1; }
  .hero-mascot img { width: min(14rem, 58vw); }
  .hero { min-height: auto; padding-bottom: 2.5rem; align-items: start; }
  .services, .principles, .quotes { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .workbench { grid-template-columns: 1fr; }
  .side { display: flex; gap: 0.3rem; overflow: auto; }
  .side a, .side button.link { white-space: nowrap; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .review-form { grid-template-columns: 1fr; }
  .work { grid-template-columns: auto 1fr; }
  .pill { grid-column: 2; padding-top: 0; }
}

@media (max-width: 820px) {
  .chat-toggle span { display: none; }
  .chat-toggle { padding: 0.35rem; }
}
@media (max-width: 560px) {
  .nav-inner, .wrap, .hero-grid { width: min(var(--max), calc(100% - 1.25rem)); }
  .section { padding: 3.1rem 0; }
  .hero h1 { font-size: clamp(2.15rem, 12vw, 3.2rem); }
  .floats { inset-inline-end: 0.75rem; bottom: 0.75rem; }
  .step { grid-template-columns: 1fr; gap: 0.3rem; }
  .hero-actions { margin-top: 1.4rem; }
  .hero { padding-bottom: 5.5rem; }
}

.hidden { display: none !important; }
