:root {
  --orange: #F68B28;
  --tangerine: #F2911F;
  --plum: #5F0F40;
  --purple: #451C48;
  --blue: #262262;

  --bg: #fbf7ef;
  --bg-elevated: #ffffff;
  --bg-elevated-hover: #ffffff;
  --border: rgba(95, 15, 64, 0.10);
  --border-strong: rgba(95, 15, 64, 0.18);

  --text: #5F0F40;
  --text-muted: rgba(95, 15, 64, 0.72);
  --text-subtle: rgba(95, 15, 64, 0.50);

  --gradient-warm: linear-gradient(135deg, var(--orange), var(--tangerine));
  --gradient-cool: linear-gradient(135deg, var(--blue), var(--purple));
  --gradient-brand: linear-gradient(90deg, var(--orange), var(--plum));

  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow-soft: 0 6px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 10px 40px rgba(246, 139, 40, 0.18);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(246, 139, 40, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(95, 15, 64, 0.06), transparent 60%),
    linear-gradient(180deg, #fbf7ef 0%, #f5efe1 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(251, 247, 239, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 0;
  transition: transform 0.15s ease;
}

.nav-brand:hover {
  transform: translateY(-1px);
}

.nav-brand img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-brand--icon img {
  height: 38px;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-warm);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 48px rgba(246, 139, 40, 0.28);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 80px;
}

.hero-centered {
  text-align: center;
}

.hero.hero-centered h1 {
  margin: 0 auto 22px;
  max-width: 24ch;
  text-wrap: balance;
}

.hero.hero-centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

.hero.hero-centered .hero-ctas {
  justify-content: center;
}

.hero-logo {
  max-width: 520px;
  width: 100%;
  height: auto;
  margin: 0 auto 48px;
  display: block;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 18ch;
}

.hero h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tag {
  margin: 36px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ---------- Sections ---------- */

section {
  padding: 72px 0;
}

.section-head {
  max-width: 720px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
  margin: 0;
}

/* ---------- Feature grid ---------- */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  background: var(--bg-elevated-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15.5px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

/* ---------- Module flow ---------- */

.module-flow {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.module {
  flex: 1 1 180px;
  min-width: 180px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.module:hover {
  background: var(--bg-elevated-hover);
  transform: translateY(-2px);
}

.module-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-warm);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.module h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.module p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.module-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 20px;
  font-weight: 300;
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .module-arrow { display: none; }
}

/* ---------- Two-column prose ---------- */

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: 19px;
  margin: 28px 0 8px;
  color: var(--text);
}

.prose p, .prose li {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.prose ul {
  padding-left: 20px;
  margin: 10px 0 16px;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-member {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 0 14px;
  border: 2px solid var(--border-strong);
  background: var(--bg-elevated);
}

.team-photo-link {
  display: inline-block;
  border-radius: 50%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.team-photo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(95, 15, 64, 0.18);
}

.team-photo-link:hover .team-photo {
  border-color: var(--orange);
}

.team-member .role {
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-member .name {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
}

.team-member .bio {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 6px 0 0;
}

/* ---------- Job listing ---------- */

.job {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}

.job-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.job-head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.job-meta {
  color: var(--text-subtle);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.job-summary {
  color: var(--text-muted);
  margin: 0 0 18px;
}

.job details {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.job summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--orange);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.job summary::-webkit-details-marker { display: none; }

.job summary::after {
  content: "↓";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.job details[open] summary::after {
  transform: rotate(180deg);
}

.job details > *:not(summary) {
  margin-top: 16px;
}

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(600px 300px at 20% 50%, rgba(246, 139, 40, 0.22), transparent 60%),
    linear-gradient(135deg, var(--plum), var(--purple));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  color: #ffffff;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 28px 0 36px;
  color: var(--text-subtle);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }

/* ---------- Contact form ---------- */

.form-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  max-width: 640px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-row .hint {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-subtle);
  margin-left: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(246, 139, 40, 0.15);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-note {
  font-size: 13px;
  color: var(--text-subtle);
  margin-top: 18px;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: rgba(246, 139, 40, 0.12);
  border: 1px solid rgba(246, 139, 40, 0.35);
  color: var(--text);
}

.form-status.is-visible { display: block; }

/* ---------- Preview banner (remove on launch) ---------- */

.preview-banner {
  background: var(--gradient-warm);
  color: var(--text);
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .nav-inner { padding: 12px 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .cta-band { padding: 32px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
}

@media (max-width: 520px) {
  .nav-links .nav-cta { display: none; }
}
