/* =========================================================
   Transformed 2 Succeed LLC — Design System
   Palette & type derived from the Bemnat (bemnat.com) brand
   ========================================================= */

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

:root {
  /* Navy — primary dark surface */
  --navy-950: #0C1220;
  --navy-900: #0f1117;
  --navy-800: #162034;
  --navy-700: #1E2D3D;
  --navy-600: #374B5E;

  /* Slate — text on dark */
  --slate-200: #c9d1d9;
  --slate-400: #9aa4b2;

  /* Ivory / cream — light surfaces */
  --ivory-50: #F7F5F0;
  --ivory-100: #F7EDE6;
  --cream-200: #FEF1E4;
  --tan-300: #E2C7B6;
  --tan-400: #E0DAD0;

  /* Orange — accent / CTA */
  --orange-400: #FF9A52;
  --orange-500: #F47B20;
  --orange-600: #D9661A;
  --brown-700: #9A4A28;
  --brown-800: #8A4B2A;

  --white: #ffffff;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1340px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 111%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ivory-50);
  color: var(--navy-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-950);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orange-500);
  display: inline-block;
}

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

section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 56px 0; } }

/* Dark section variants — different depths of darkness used as contrast bands between white sections */
.section-dark { background: var(--navy-950); color: var(--slate-200); }
.section-dark-alt { background: var(--navy-800); color: var(--slate-200); }
.section-dark-warm { background: linear-gradient(135deg, var(--brown-800), var(--navy-900)); color: var(--slate-200); }

.section-dark h2, .section-dark h3,
.section-dark-alt h2, .section-dark-alt h3,
.section-dark-warm h2, .section-dark-warm h3 { color: var(--white); }
.section-dark p, .section-dark-alt p, .section-dark-warm p { color: var(--slate-200); }

.section-alt { background: var(--ivory-100); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--orange-500);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-600); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--orange-400); color: var(--orange-400); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-950);
}
.btn-outline-dark:hover { border-color: var(--orange-500); color: var(--orange-600); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  color: var(--white);
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-size: 1.02rem; font-weight: 700; }
.logo-text span { font-size: 0.66rem; color: var(--slate-400); letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--slate-200);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-400); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.lang-switch select {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--white, #fff);
  border: 1px solid var(--tan-400);
  border-radius: var(--radius-sm);
  padding: 6px 26px 6px 10px;
  max-width: 120px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%231E2D3D' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 7px;
}
.lang-switch select:hover { border-color: var(--navy-600); }
.lang-switch select:focus { outline: 2px solid var(--orange-400); outline-offset: 1px; }

.section-dark .lang-switch select,
.section-dark-alt .lang-switch select {
  color: var(--slate-200);
  background-color: var(--navy-800);
  border-color: var(--navy-700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23E2E8F0' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 100%);
    height: calc(100dvh - 100%);
    z-index: 60;
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 32px 24px;
    gap: 4px;
    overflow-y: auto;
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
    transform: translateY(-110%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 18% -15%, rgba(244,123,32,0.14), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(154,74,40,0.10), transparent 55%),
    var(--white);
  color: var(--navy-950);
  padding: 110px 0 96px;
  border-bottom: 1px solid var(--tan-400);
}
.hero-inner { max-width: 760px; }
.hero p.lead { font-size: 1.15rem; color: var(--navy-700); max-width: 600px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--tan-400);
}
.hero-stats .stat strong { display:block; font-family: var(--font-display); font-size: 2rem; color: var(--orange-600); }
.hero-stats .stat span { font-size: 0.82rem; color: var(--navy-600); }
@media (max-width: 640px) { .hero-stats { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 15% -20%, rgba(244,123,32,0.13), transparent 60%),
    var(--white);
  color: var(--navy-950);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--tan-400);
}
.page-hero .lead { color: var(--navy-700); max-width: 640px; font-size: 1.05rem; }

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--tan-400);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(12,18,32,0.35); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--cream-200);
  color: var(--orange-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 20px;
}

.card-dark {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  color: var(--slate-200);
}
.card-dark h2, .card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark .card-icon { background: rgba(244,123,32,0.14); color: var(--orange-400); }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--brown-700);
  margin-bottom: 14px;
}
.card-dark .tag { background: rgba(244,123,32,0.14); color: var(--orange-400); }

/* ---------- Section headers ---------- */
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ---------- Founder / bio block ---------- */
.founder {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } }

.founder-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--navy-700);
}
.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.credentials-list { list-style: none; padding: 0; margin: 24px 0; }
.credentials-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--tan-400);
  font-size: 0.95rem;
}
.credentials-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange-500);
  font-family: var(--font-mono);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
  border-radius: 20px;
  margin: 0 24px;
}
.cta-band h2, .cta-band h3 { color: var(--white); }
.cta-band .lead { color: var(--slate-200); max-width: 560px; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Timeline / steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--tan-400);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--orange-500);
  font-size: 0.85rem;
  min-width: 34px;
}

/* ---------- Forms ---------- */
.form { max-width: 620px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy-800); }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--tan-400);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy-950);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--orange-500);
}
.form-field { margin-bottom: 18px; }
.form-status { margin: -6px 0 18px; font-size: 0.9rem; min-height: 1.2em; }
.form-status-success { color: #1a7f4b; }
.form-status-error { color: #c0392b; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--cream-200); color: var(--orange-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.9rem; flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--orange-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-soon {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--navy-700);
  color: var(--orange-400);
  padding: 4px 10px;
  border-radius: 999px;
  position: absolute;
  top: 24px;
  right: 24px;
}
