@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

@view-transition { navigation: auto; }

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

/* ── Dark mode (default) ── */
:root {
  --bg:      #0a0a0a;
  --surface: #111111;
  --border:  #1e1e1e;
  --fg:      #e8e4de;
  --muted:   #999999;
  --dim:     #555555;
  --max:     1280px;
}

/* ── Light mode ── */
body.light {
  --bg:      #f5f3ef;
  --surface: #eceae5;
  --border:  #dddad4;
  --fg:      #111111;
  --muted:   #555555;
  --dim:     #aaaaaa;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

/* ── Layout ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Sticky Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.3s;
}

.site-nav.scrolled {
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* ── Nav right group ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ── Nav Theme Toggle ── */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-toggle-icon {
  display: flex;
  align-items: center;
  color: var(--dim);
  transition: color 0.3s;
}

body.light  .nav-toggle-icon.sun  { color: var(--fg);   }
body:not(.light) .nav-toggle-icon.moon { color: var(--muted); }

.nav-toggle-track {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--dim);
  position: relative;
  display: block;
  transition: border-color 0.3s;
}

body.light .nav-toggle-track { border-color: var(--muted); }

.nav-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.3s, background 0.3s;
  transform: translateX(14px);
}

body.light .nav-toggle-thumb {
  transform: translateX(0);
  background: var(--fg);
}

/* ── Home Hero ── */
.hero {
  padding: 100px 0 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  gap: 48px;
}

.hero-text {
  flex: 1;
  padding-bottom: 88px;
  min-width: 0;
}

.hero-photo {
  flex-shrink: 0;
  align-self: flex-end;
  line-height: 0;
}

.hero-photo img {
  height: 605px;
  width: auto;
  display: block;
  view-transition-name: leon-photo;
}

.hero-name {
  font-size: clamp(52px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero-tagline {
  margin-bottom: 36px;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-tagline br + em {
  display: block;
  margin-top: 10px;
}

.hero-tagline em {
  color: var(--fg);
  font-style: normal;
  font-weight: 500;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}

.hero-cta .cta-primary {
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
}

.hero-cta .cta-primary:hover { opacity: 0.8; }

.hero-cta .cta-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--dim);
}

.hero-cta .cta-secondary:hover {
  color: var(--fg);
  border-color: var(--fg);
}

/* ── Beyond the Job Title ── */
.beyond-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.beyond-item {
  display: flex;
  gap: 16px;
}

.beyond-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.beyond-text {}

.beyond-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 4px;
}

.beyond-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Work List ── */
.work-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.section-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 40px;
}

.case-list { list-style: none; }

.case-item { border-top: 1px solid var(--border); }
.case-item:last-child { border-bottom: 1px solid var(--border); }

.case-link {
  display: grid;
  grid-template-columns: 56px 1fr auto 32px;
  align-items: center;
  gap: 20px;
  padding: 32px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.case-link:hover { opacity: 0.6; }

.case-num {
  font-size: 28px;
  font-weight: 300;
  color: var(--dim);
  letter-spacing: -1px;
  line-height: 1;
}

.case-company {
  font-size: 22px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 4px;
}

.case-desc {
  font-size: 13px;
  color: var(--muted);
}

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 14px;
  border: 1px solid var(--dim);
  border-radius: 999px;
}

.case-arrow {
  font-size: 20px;
  color: var(--dim);
  transition: transform 0.2s, color 0.2s;
  text-align: right;
}

.case-link:hover .case-arrow {
  transform: translate(4px, -4px);
  color: var(--fg);
}

.case-thumb {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(15%) brightness(0.85);
  transition: filter 0.3s;
  border-radius: 2px;
  margin-bottom: 32px;
}

.case-item:hover .case-thumb {
  filter: grayscale(0%) brightness(0.95);
}

body.light .case-thumb {
  filter: grayscale(10%) brightness(1);
}

/* ── Contact Section ── */
.contact-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.contact-intro {
  font-size: 15px;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-links-col {}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.contact-row:first-child { border-top: 1px solid var(--border); }
.contact-row:hover { opacity: 0.6; }

.contact-row-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-row-value {
  font-size: 13px;
  color: var(--muted);
}

/* Email form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
}

.form-input,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 300;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--muted);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--dim);
}

.form-textarea { height: 100px; }

.form-submit {
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 13px 28px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.form-submit:hover { opacity: 0.8; }

/* ── Footer ── */
footer {
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer span, footer a {
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.5px;
  text-decoration: none;
}

/* ══════════════════════════════════════
   CASE STUDY PAGES
══════════════════════════════════════ */

.cs-back {
  padding: 24px 0 0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.cs-back:hover { color: var(--fg); }

.cs-hero {
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border);
}

.cs-index {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}

.cs-title {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

.cs-subtitle {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.cs-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.cs-meta-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 6px;
}

.cs-meta-value {
  font-size: 13px;
  color: var(--muted);
}

.cs-body { padding: 72px 0; }

.cs-section { margin-bottom: 72px; }

.cs-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.cs-section-num {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -3px;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
}

body.light .cs-section-num { color: var(--dim); opacity: 0.3; }

.cs-section-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.cs-h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 300;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.cs-p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 600px;
}

.cs-p + .cs-p { margin-top: 16px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.problem-card {
  background: var(--bg);
  padding: 28px 24px;
}

.problem-num {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.problem-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 10px;
  line-height: 1.4;
}

.problem-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.problem-who {
  margin-top: 12px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.5px;
}

.research-list { list-style: none; margin-top: 24px; }

.research-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.research-item:first-child { border-top: 1px solid var(--border); }

.research-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  flex-shrink: 0;
  margin-top: 8px;
}

.research-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.execution-step {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.execution-step:last-child { border-bottom: none; padding-bottom: 0; }

.step-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}

.step-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 580px;
}

.cs-img {
  width: 100%;
  display: block;
  border-radius: 8px;
  margin: 28px 0;
  border: 1px solid var(--border);
  cursor: zoom-in;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.metric {
  background: var(--bg);
  padding: 32px 24px;
}

.metric-value {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--fg);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.quote-block {
  border-left: 1px solid var(--border);
  padding: 4px 24px;
  margin: 28px 0;
}

.quote-text {
  font-size: 15px;
  color: var(--fg);
  font-weight: 300;
  line-height: 1.7;
  font-style: italic;
}

.quote-attr {
  margin-top: 10px;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.5px;
}

/* ── Case Study Next/Prev ── */
.cs-nav-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  margin-top: 80px;
  border-radius: 8px;
  overflow: hidden;
}

.cs-nav-link {
  background: var(--bg);
  padding: 36px 40px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s;
}

.cs-nav-link:hover { background: var(--surface); }

.cs-nav-link.next { text-align: right; align-items: flex-end; }

.cs-nav-direction {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dim);
}

.cs-nav-name {
  font-size: 20px;
  font-weight: 300;
  color: var(--fg);
}

.cs-nav-desc {
  font-size: 12px;
  color: var(--muted);
}

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}

body.light .lightbox-overlay {
  background: rgba(240,237,232,0.95);
}

body.light .lightbox-close {
  color: #999;
}

body.light .lightbox-close:hover {
  color: #111;
}

.lightbox-overlay.open { display: flex; }

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #888;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.lightbox-close:hover { color: #fff; }

/* ── Chat Widget ── */
#chat-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 400;
}

.chat-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.chat-btn:hover,
.chat-btn.active { transform: scale(1.1); }

.chat-panel {
  position: absolute;
  bottom: 56px;
  right: 0;
  width: 320px;
  height: 480px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(10px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s, opacity 0.2s;
}

.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.chat-hname {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
}

.chat-hsub {
  font-size: 11px;
  color: var(--dim);
  margin-top: 1px;
}

.chat-close {
  background: none;
  border: none;
  color: var(--dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px;
  transition: color 0.2s;
  font-family: inherit;
}

.chat-close:hover { color: var(--fg); }

.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

.chat-msgs::-webkit-scrollbar { width: 3px; }
.chat-msgs::-webkit-scrollbar-track { background: transparent; }
.chat-msgs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-bubble {
  max-width: 88%;
  font-size: 13px;
  line-height: 1.6;
  padding: 9px 13px;
  border-radius: 12px;
}

.chat-bubble.bot {
  background: var(--surface);
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.chat-bubble.user {
  background: var(--fg);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.chat-typing {
  display: flex;
  gap: 5px;
  padding: 11px 14px;
  background: var(--surface);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
  width: 50px;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dim);
  animation: chat-dot 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%            { opacity: 1;   transform: translateY(-4px); }
}

.chat-foot { flex-shrink: 0; }

.chat-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 14px;
}

.chat-opt {
  font-size: 12px;
  padding: 7px 15px;
  border: 1px solid var(--dim);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: color 0.2s, border-color 0.2s;
}

.chat-opt:hover {
  color: var(--fg);
  border-color: var(--fg);
}

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--border);
}

.chat-input-field {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 13px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-field:focus { border-color: var(--muted); }
.chat-input-field::placeholder { color: var(--dim); }

.chat-send-btn {
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.chat-send-btn:hover { opacity: 0.8; }

.chat-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
}

.chat-form input,
.chat-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.chat-form input:focus,
.chat-form textarea:focus { border-color: var(--muted); }

.chat-form input::placeholder,
.chat-form textarea::placeholder { color: var(--dim); }

.chat-form textarea { height: 60px; }

.chat-form-send {
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.chat-form-send:hover { opacity: 0.8; }

.chat-form-cal {
  background: transparent;
  color: var(--muted);
  border: none;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.3px;
  cursor: pointer;
  padding: 4px 0;
  text-align: center;
  transition: color 0.2s;
}

.chat-form-cal:hover { color: var(--fg); }

/* ── Mobile ── */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-photo { display: none; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .beyond-grid { grid-template-columns: 1fr; }
  .case-link { grid-template-columns: 40px 1fr 24px; }
  .case-tags { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .cs-meta { gap: 24px; }
  .problem-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .theme-toggle { bottom: 20px; right: 20px; }
}
