/* =========================================================
   Planetiware — design tokens
   ========================================================= */
:root {
  /* Canvas */
  --ink: #0a1628;           /* deep navy */
  --ink-2: #0f1d35;         /* slightly lighter surface on dark */
  --ink-3: #16284a;         /* card on dark */
  --line-dark: #1e2e4a;     /* hairline on dark */

  /* Light side */
  --paper: #f7f8fa;
  --paper-2: #ffffff;
  --line: #e3e7ee;
  --line-2: #eef1f6;

  /* Text */
  --fg: #0a1628;
  --fg-2: #475569;
  --fg-mute: #64748b;
  --fg-light: #f8fafc;
  --fg-light-2: #cbd5e1;
  --fg-light-mute: #94a3b8;

  /* Accent */
  --blue: #3b82f6;
  --blue-2: #60a5fa;
  --blue-dim: #1d4ed8;
  --blue-soft: #dbeafe;

  /* Type */
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   Layout helpers
   ========================================================= */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

.dark {
  background: var(--ink);
  color: var(--fg-light);
}
.dark .muted { color: var(--fg-light-mute); }
.muted { color: var(--fg-mute); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.dark .eyebrow { color: var(--blue-2); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 1.8vw, 28px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }
p  { line-height: 1.55; margin: 0; text-wrap: pretty; }

/* =========================================================
   Top nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--fg-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--fg-light-2);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--fg-light); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--fg-light); background: rgba(255,255,255,0.08); }
.nav-cta { margin-left: 8px; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}
.logo-img {
  height: 22px;
  width: auto;
  display: block;
}
.logo-reg {
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
  margin-top: 2px;
  color: var(--fg-light-mute);
  font-weight: 400;
  letter-spacing: 0;
}
.footer .logo-img { height: 24px; }
.footer .logo-reg { font-size: 10px; margin-top: 3px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 1px 0 0 rgba(255,255,255,0.15) inset, 0 8px 24px -8px rgba(59,130,246,0.55);
}
.btn-primary:hover { background: #2563eb; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: var(--fg-light);
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: #2c4070; }
.btn-light-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--fg);
}
.btn-light-ghost:hover { background: white; border-color: #c9d2e0; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 13px; }
.btn-arrow svg { transition: transform .15s ease; }
.btn-arrow:hover svg { transform: translateX(2px); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: var(--fg-light);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  margin-top: 18px;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-2);
  position: relative;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-light-2);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  max-width: 540px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-light-mute);
}
.hero-meta-item .v {
  font-size: 15px;
  color: var(--fg-light);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.hero-card {
  position: absolute;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
}
.hero-card.top {
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-card.bottom {
  bottom: 20px;
  left: 20px;
  right: 20px;
}
.hero-card .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
}
.hero-card .label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-light-mute);
  letter-spacing: 0.04em;
}
.hero-card .val {
  font-size: 14px;
  color: var(--fg-light);
  font-weight: 500;
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}
.hero-card-row + .hero-card-row {
  border-top: 1px solid var(--line-dark);
}

/* Photo placeholder (striped) */
.photo-ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.025) 0 18px,
      rgba(255,255,255,0.06) 18px 36px),
    linear-gradient(160deg, #1a2a4a 0%, #0f1d35 100%);
  color: var(--fg-light-mute);
  border-radius: inherit;
}
.photo-ph.light {
  background:
    repeating-linear-gradient(135deg,
      rgba(10,22,40,0.03) 0 18px,
      rgba(10,22,40,0.07) 18px 36px),
    linear-gradient(160deg, #eef2f8 0%, #e3e9f3 100%);
  color: #64748b;
}
.photo-ph-label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: inherit;
  background: rgba(0,0,0,0.35);
  padding: 4px 8px;
  border-radius: 4px;
}
.photo-ph.light .photo-ph-label {
  background: rgba(255,255,255,0.75);
  color: #475569;
}

/* =========================================================
   Trust strip
   ========================================================= */
.trust {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  background: var(--paper-2);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  flex-shrink: 0;
}
.trust-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.trust-logo {
  height: 22px;
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: #94a3b8;
  gap: 8px;
}
.trust-logo svg { color: inherit; }

/* =========================================================
   Section heads
   ========================================================= */
section { padding: clamp(72px, 9vw, 120px) 0; }
section.tight { padding: clamp(56px, 7vw, 88px) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}
.section-head .lede {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 520px;
  justify-self: end;
}
.dark .section-head .lede { color: var(--fg-light-2); }

/* =========================================================
   How we work
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
@media (max-width: 980px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

.process-step {
  padding: 28px 28px 36px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  transition: background .2s ease;
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: rgba(255,255,255,0.02); }
.process-step.active { background: rgba(59,130,246,0.06); }
.process-step.active::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
}
.process-step .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-light-mute);
  margin-bottom: 18px;
  display: block;
}
.process-step.active .num { color: var(--blue-2); }
.process-step h4 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 14px;
  color: var(--fg-light-mute);
  line-height: 1.5;
}

.process-detail {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .process-detail { grid-template-columns: 1fr; gap: 32px; }
}
.process-detail-text h3 {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 500;
}
.process-detail-text p {
  color: var(--fg-light-2);
  font-size: 16px;
  margin-bottom: 24px;
}
.process-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-light-2);
}
.process-detail-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--blue-2);
}
.process-detail-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}

/* =========================================================
   Outcomes / stats
   ========================================================= */
.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
.outcome {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.outcome:last-child { border-right: none; }
.outcome .big {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.outcome .big sup {
  font-size: 0.4em;
  color: var(--blue);
  font-family: var(--mono);
}
.outcome .lbl {
  font-size: 14px;
  color: var(--fg-2);
}

/* =========================================================
   Service cards (Solutions teaser)
   ========================================================= */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

.sol-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: border-color .15s ease, transform .15s ease;
  position: relative;
  overflow: hidden;
}
.sol-card:hover {
  border-color: #c9d2e0;
  transform: translateY(-2px);
}
.sol-card .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sol-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}
.sol-card p {
  font-size: 14px;
  color: var(--fg-2);
  flex: 1;
  margin-bottom: 18px;
}
.sol-card .more {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--blue-dim);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
}

/* =========================================================
   Quote / case study
   ========================================================= */
.quote {
  background: var(--ink);
  color: var(--fg-light);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; gap: 32px; } }
.quote blockquote {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  font-weight: 400;
  color: var(--fg-light);
}
.quote-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quote-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 14px;
  color: white;
}
.quote-attr .who {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quote-attr .who .name { font-size: 14px; font-weight: 500; }
.quote-attr .who .role { font-size: 12px; color: var(--fg-light-mute); font-family: var(--mono); }
.quote-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) { .cta-band-inner { grid-template-columns: 1fr; gap: 24px; } }
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--fg-2); font-size: 17px; max-width: 460px; }
.cta-band .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-self: end;
}
@media (max-width: 800px) { .cta-band .actions { justify-self: start; } }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--fg-light-2);
  padding: 72px 0 36px;
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-light-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fg-light-2);
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--fg-light); }
.footer-brand p {
  font-size: 14px;
  color: var(--fg-light-mute);
  margin-top: 16px;
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--fg-light-mute);
  font-family: var(--mono);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .sys {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom .sys .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.16);
}

/* =========================================================
   Page header (for inner pages)
   ========================================================= */
.page-head {
  background: var(--ink);
  color: var(--fg-light);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
}
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 {
  font-size: clamp(40px, 5vw, 64px);
  max-width: 14ch;
  margin-bottom: 20px;
}
.page-head .lede {
  font-size: 18px;
  color: var(--fg-light-2);
  max-width: 540px;
}

/* =========================================================
   Solutions page (full)
   ========================================================= */
.sol-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .sol-detail { grid-template-columns: 1fr; gap: 24px; }
}
.sol-tabs {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.sol-tab {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg-2);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.sol-tab:hover { color: var(--ink); }
.sol-tab.active {
  color: var(--ink);
  border-left-color: var(--blue);
  font-weight: 500;
}
.sol-tab .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-mute);
  margin-right: 10px;
}
.sol-tab.active .num { color: var(--blue); }

.sol-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
}
.sol-panel h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.sol-panel .panel-sub {
  color: var(--fg-2);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 60ch;
}
.sol-panel .visual {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.sol-panel .includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 600px) { .sol-panel .includes { grid-template-columns: 1fr; } }
.sol-panel .includes li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-2);
}
.sol-panel .includes li strong {
  display: block;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2px;
}
.sol-panel .includes li svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   About page
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-grid h2 { margin-bottom: 20px; }
.about-grid p {
  color: var(--fg-2);
  font-size: 17px;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.about-stat {
  background: var(--paper-2);
  padding: 28px 24px;
}
.about-stat .v {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.about-stat .l {
  font-size: 13px;
  color: var(--fg-2);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.team-card .name { font-size: 16px; font-weight: 500; margin-bottom: 2px; }
.team-card .role { font-size: 13px; color: var(--fg-mute); font-family: var(--mono); }

/* Founder spotlight (default team layout) */
.founder-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  align-items: start;
  max-width: 760px;
  padding: 44px 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
}
.founder-mono {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.founder-info .founder-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.founder-info .founder-name {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.founder-info p {
  color: var(--fg-2);
  margin: 0;
  line-height: 1.55;
}
.team-tail {
  margin-top: 32px;
  max-width: 760px;
  font-size: 14px;
  color: var(--fg-mute);
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
@media (max-width: 700px) {
  .founder-block { grid-template-columns: 1fr; gap: 24px; padding: 32px 28px; }
  .founder-mono { width: 88px; height: 88px; font-size: 30px; }
}

/* Name list (no avatars) */
.team-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 700px) { .team-list { grid-template-columns: 1fr; } }
.team-list-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-list-row .name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.team-list-row .role {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  text-transform: uppercase;
}

/* Monogram avatar (grid) */
.team-monogram {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h3 { font-size: 24px; margin-bottom: 12px; }
.contact-info p {
  color: var(--fg-2);
  margin-bottom: 28px;
  font-size: 16px;
  max-width: 42ch;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-list .ic {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info-list .k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 4px;
}
.contact-info-list .v {
  font-size: 15px;
  color: var(--ink);
}

.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}
.field.err input,
.field.err select,
.field.err textarea {
  border-color: #ef4444;
}
.field-err {
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
  font-family: var(--mono);
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--fg-2);
  cursor: pointer;
  transition: all .15s ease;
  font-family: var(--sans);
}
.chip:hover { border-color: #c9d2e0; color: var(--ink); }
.chip.on {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.form-submit .hint {
  font-size: 12px;
  color: var(--fg-mute);
  font-family: var(--mono);
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .ok {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.form-success h3 { margin-bottom: 8px; font-size: 24px; }
.form-success p { color: var(--fg-2); max-width: 36ch; margin: 0 auto 24px; }

/* =========================================================
   Misc
   ========================================================= */
.kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--fg-light-mute);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade-in .35s ease both; }
