/* Bella Marketing — Landing page styles */

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

:root {
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Warm off-white base */
  --bg: oklch(0.98 0.008 70);
  --bg-2: oklch(0.96 0.010 70);
  --surface: oklch(0.995 0.004 70);
  --surface-2: oklch(0.94 0.012 70);

  --ink: oklch(0.22 0.012 60);
  --ink-2: oklch(0.34 0.010 60);
  --ink-3: oklch(0.52 0.010 60);
  --ink-4: oklch(0.72 0.008 60);

  --line: oklch(0.88 0.010 60);
  --line-2: oklch(0.82 0.012 60);

  --accent: #D9602B;
  --accent-soft: oklch(0.68 0.20 30 / 0.12);

  --maxw: 1200px;
  --pad-x: 32px;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
}

html[data-theme="dark"] {
  --bg: oklch(0.16 0.010 60);
  --bg-2: oklch(0.20 0.012 60);
  --surface: oklch(0.21 0.012 60);
  --surface-2: oklch(0.18 0.012 60);

  --ink: oklch(0.96 0.008 70);
  --ink-2: oklch(0.84 0.008 70);
  --ink-3: oklch(0.66 0.010 60);
  --ink-4: oklch(0.46 0.010 60);

  --line: oklch(0.30 0.012 60);
  --line-2: oklch(0.36 0.012 60);
}

html[data-grid="off"] .mesh-backdrop,
html[data-grid="off"] .hero-diagram rect[fill*="hd-grid"] { display: none; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 500; font-size: 14px; line-height: 1;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn.is-sent { background: oklch(0.65 0.15 150); }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(0px);
  transition: backdrop-filter .25s ease, background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in oklch, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav-logo { display: inline-flex; }
.wordmark-txt { font-family: var(--sans); font-size: 15px; }
.nav-links { display: flex; gap: 28px; justify-content: center; }
.nav-links a {
  font-size: 13.5px; color: var(--ink-2); font-weight: 450;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
}
.lang-switch button {
  background: transparent; border: 0; padding: 4px 2px;
  color: var(--ink-3); font: inherit;
}
.lang-switch button.is-active { color: var(--ink); }
.lang-sep { color: var(--ink-4); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.mesh-backdrop {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  color: var(--ink);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-3);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  margin-bottom: 32px;
}
.dot-live {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.7 0.18 150);
  box-shadow: 0 0 0 0 oklch(0.7 0.18 150 / 0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 oklch(0.7 0.18 150 / 0.5); }
  70%  { box-shadow: 0 0 0 8px oklch(0.7 0.18 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.7 0.18 150 / 0); }
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.accent-underline {
  position: relative;
  display: inline-block !important;
  padding-right: 4px;
}
.accent-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em;
  height: 0.07em; background: var(--accent);
  transform-origin: left;
  animation: drawIn 1.2s cubic-bezier(.22,.7,.2,1) .3s both;
}
@keyframes drawIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 40px;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
  text-wrap: pretty;
}
.hero-meta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--mono); font-size: 12px;
}
.meta-row { display: flex; justify-content: space-between; gap: 16px; }
.meta-k { color: var(--ink-4); letter-spacing: 0.06em; }
.meta-v { color: var(--ink-2); }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-diagram-wrap {
  position: relative;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  background: var(--surface);
  color: var(--ink);
  overflow: hidden;
}
.hero-diagram { width: 100%; height: auto; display: block; }

/* ── Marquee ────────────────────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 56px; white-space: nowrap;
  animation: scroll 40s linear infinite;
  width: max-content;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
.marquee-item {
  font-family: var(--sans); font-size: 18px; font-weight: 500;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 24px;
  letter-spacing: -0.01em;
}
.marquee-glyph { color: var(--accent); font-size: 10px; }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section-tinted { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark {
  background: oklch(0.18 0.012 60);
  color: oklch(0.96 0.008 70);
  border-top: 1px solid oklch(0.30 0.012 60);
  border-bottom: 1px solid oklch(0.30 0.012 60);
}
.section-dark .eyebrow { color: oklch(0.66 0.010 60); }
.section-dark .section-title { color: oklch(0.98 0.008 70); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-3); text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--sans);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section-lead {
  font-size: 18px; color: var(--ink-2); line-height: 1.55;
  max-width: 60ch; margin: 0;
  text-wrap: pretty;
}

/* ── Capabilities ──────────────────────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cap-card {
  position: relative;
  padding: 40px;
  background: var(--bg);
  transition: background .2s ease;
}
.cap-card:hover { background: var(--surface); }
.cap-card:hover .cap-arrow { color: var(--accent); transform: translate(2px, -2px); }
.cap-num {
  font-family: var(--mono); font-size: 12px; color: var(--ink-4);
  letter-spacing: 0.06em; margin-bottom: 24px;
}
.cap-t {
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cap-d {
  font-size: 15px; color: var(--ink-2); line-height: 1.55; margin: 0;
  max-width: 48ch;
}
.cap-arrow {
  position: absolute; top: 40px; right: 40px;
  color: var(--ink-4); font-size: 18px;
  transition: color .2s, transform .2s;
}

/* ── Approach ─────────────────────────────────────────────────────────── */
.approach-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.approach-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: 32px 28px;
}
.stat-n {
  font-family: var(--sans); font-size: 44px; font-weight: 500;
  letter-spacing: -0.03em; color: var(--ink);
  margin-bottom: 8px;
}
.stat:nth-child(1) .stat-n { color: var(--accent); }
.stat-l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-3); }

/* ── Work ───────────────────────────────────────────────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s;
}
.work-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 12px 40px -16px oklch(0.2 0.01 60 / 0.18);
}
.work-frame {
  aspect-ratio: 16/10;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.work-preview { width: 100%; height: 100%; display: block; color: var(--ink); }
.work-meta { padding: 24px 28px 28px; }
.work-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  margin-bottom: 14px;
}
.work-tag.is-inhouse {
  background: var(--accent-soft); color: var(--accent);
}
.work-tag.is-client {
  background: color-mix(in oklch, var(--ink) 6%, transparent);
  color: var(--ink-2);
}
.work-t { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 6px; }
.work-d { font-size: 15px; color: var(--ink-2); margin: 0 0 16px; }
.work-k { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; }

/* ── Process ────────────────────────────────────────────────────────────── */
.process-list { list-style: none; padding: 0; margin: 0; }
.process-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-top: 1px solid oklch(0.30 0.012 60);
  position: relative;
}
.process-item:last-child { border-bottom: 1px solid oklch(0.30 0.012 60); }
.process-n {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
  color: oklch(0.66 0.010 60);
}
.process-t {
  font-size: clamp(24px, 2.4vw, 34px); font-weight: 500;
  letter-spacing: -0.02em; margin: 0 0 10px;
  color: oklch(0.98 0.008 70);
}
.process-d {
  font-size: 16px; color: oklch(0.78 0.010 60); margin: 0;
  max-width: 56ch;
}

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-meta {
  margin: 40px 0 0;
  display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact-meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; }
.contact-meta dt {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em;
  color: var(--ink-3); text-transform: uppercase;
}
.contact-meta dd { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.55; }
.contact-meta a { border-bottom: 1px solid var(--line-2); }
.contact-meta a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--ink-3); text-transform: uppercase;
}
.field input, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 40px;
  align-items: start;
}
.footer-tag { font-size: 14px; color: var(--ink-3); margin: 16px 0 0; max-width: 36ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 28px; }
.footer-links a {
  font-size: 13.5px; color: var(--ink-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-links a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.footer-copy { font-family: var(--mono); font-size: 11.5px; color: var(--ink-4); letter-spacing: 0.04em; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 0; }
  .cap-grid { grid-template-columns: 1fr; }
  .approach-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 60px 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .cap-card { padding: 32px 24px; }
  .cap-arrow { top: 32px; right: 24px; }
}
