/* ==========================================================================
   eethos 7 — production stylesheet
   Rebuilt from the Claude Design prototype (Eethos 7 Site.dc.html).
   Design tokens, spacing and type scale are preserved exactly.
   ========================================================================== */

:root {
  --bg: #0e0e11;
  --bg2: #14141a;
  --surface: #1b1b22;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4efe9;
  --muted: #9a938b;
  --accent: #ff6a3d;
  --accent2: #ffb648;

  --maxw: 1200px;
  --gutter: 28px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--accent); color: #0e0e11; }

.accent { color: var(--accent); }

/* Gradient text with a solid fallback underneath. */
.gradient-text {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text { color: transparent; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
  color: var(--bg);
}

.page {
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
}

/* --- Ambient glow ------------------------------------------------------- */

@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -18px); }
}

.glow {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 620px;
  background: radial-gradient(closest-side, rgba(255, 106, 61, 0.28), rgba(255, 106, 61, 0));
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: floaty 9s ease-in-out infinite;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(14, 14, 17, 0.72);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #0e0e11;
  font-size: 17px;
  flex-shrink: 0;
}
.brand-mark-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand-name-sm { font-size: 17px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links > a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}
.nav-links > a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--text);
  color: #0e0e11 !important;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent2); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* --- Layout primitives -------------------------------------------------- */

.section {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter) 40px;
}
.section-stats { padding-top: 0; }

.grid { display: grid; gap: 20px; list-style: none; margin: 0; padding: 0; }
.grid-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 30px; }

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.section-head-center {
  display: block;
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 46px);
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
}
.section-head-center .section-title { margin: 0 auto; max-width: 20ch; }

.section-aside {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 34ch;
  margin: 0;
}

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

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 130px var(--gutter) 96px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 34px;
  white-space: nowrap;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #37d67a;
  box-shadow: 0 0 10px #37d67a;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 auto;
  max-width: 15ch;
}

.hero-sub {
  max-width: 56ch;
  margin: 30px auto 0;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  color: var(--muted);
}

/* --- Buttons ------------------------------------------------------------ */

.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 42px;
}

.btn {
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 16.5px;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0e0e11 !important;
  font-weight: 700;
}
.btn-primary:hover { filter: brightness(1.06); }

.btn-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text) !important;
  font-weight: 600;
}
.btn-secondary:hover { border-color: var(--accent); }

.btn-dark {
  background: #0e0e11;
  color: #f4efe9 !important;
  font-weight: 700;
}

.btn-ghost {
  background: rgba(14, 14, 17, 0.12);
  border: 1px solid rgba(14, 14, 17, 0.25);
  color: #0e0e11 !important;
  font-weight: 600;
}
.btn-ghost:hover { background: rgba(14, 14, 17, 0.2); }

/* --- Stats -------------------------------------------------------------- */

.stat-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg2));
  border-radius: 20px;
  padding: 30px 26px;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 46px);
  letter-spacing: -0.02em;
  margin: 0;
}
.stat-star { font-size: 0.57em; }
.stat-label { color: var(--muted); font-size: 15px; margin: 6px 0 0; }

/* --- Cards -------------------------------------------------------------- */

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 24px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-card { padding: 30px; }

.card-dashed {
  border: 1px dashed var(--line);
  background: transparent;
  padding: 30px;
  justify-content: center;
  gap: 10px;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 106, 61, 0.22), rgba(255, 182, 72, 0.12));
  display: grid;
  place-items: center;
  font-size: 26px;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  margin: 8px 0 0;
}
.team-card .card-title, .card-dashed .card-title { font-size: 20px; margin: 0; }

.card-body {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  margin: 0;
}
.team-card .card-body, .card-dashed .card-body { font-size: 15px; line-height: 1.6; }

.avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #0e0e11;
}
.avatar-1 { background: linear-gradient(135deg, #ff6a3d, #ffb648); }
.avatar-2 { background: linear-gradient(135deg, #6a8dff, #48c6ff); }
.avatar-3 { background: linear-gradient(135deg, #37d67a, #a6ff6a); }
.avatar-4 { background: linear-gradient(135deg, #b06aff, #ff6ae0); }
.avatar-5 { background: linear-gradient(135deg, #ffb648, #ff6a3d); }

.role {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  margin: 3px 0 0;
}

/* --- Approach panel ----------------------------------------------------- */

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg2), var(--bg));
  border-radius: 28px;
  padding: 56px 48px;
}
.panel-title {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 46px;
  max-width: 20ch;
}

.steps { counter-reset: none; }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  margin: 0 0 14px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
}
.step-body {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* --- Contact CTA -------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 64px 48px;
  text-align: center;
  color: #0e0e11;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 16ch;
}
.cta-sub {
  font-size: 18px;
  line-height: 1.55;
  margin: 20px auto 0;
  max-width: 44ch;
  color: rgba(14, 14, 17, 0.78);
}

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

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { color: var(--muted); font-size: 14.5px; margin: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); font-size: 14.5px; }
.footer-links a:hover { color: var(--text); }

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

@media (max-width: 900px) {
  .grid-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .panel { padding: 44px 36px; }
  .hero { padding-top: 100px; padding-bottom: 72px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  /* Opaque on purpose: a translucent panel + backdrop-filter leaves the hero
     headline legible through the menu wherever backdrop-filter is unsupported
     or disabled. */
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--gutter) 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-links.is-open { display: flex; }
  .nav-links > a { padding: 13px 4px; font-size: 16px; }
  .nav-cta { text-align: center; margin-top: 10px; padding: 13px 20px; }

  .nav-inner { position: relative; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }

  .grid-stats,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .glow { display: none; }

  .hero { padding: 84px var(--gutter) 60px; }
  .badge { white-space: normal; text-align: left; }
  .section { padding: 60px var(--gutter) 30px; }
  .panel { padding: 34px 24px; }
  .panel-title { margin-bottom: 34px; }
  .cta { padding: 44px 24px; }
  .card { padding: 28px 24px; }

  .btn { padding: 14px 24px; font-size: 16px; }
  .btn-row { gap: 12px; }

  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* --- Motion preferences ------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .glow { animation: none; transform: translateX(-50%); }
  .btn:hover { transform: none; }
}
