/* Supersonic Advisors — stylesheet */

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

:root {
  --bg: #FAFAF8;
  --text: #111111;
  --muted: #6B6B6B;
  --border: #E0E0DC;
  --max-width: 680px;
  --section-padding: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ─── Nav ─────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

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

.nav-wordmark {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

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

/* ─── Sections ────────────────────────────────────────────── */

section {
  padding: var(--section-padding) 24px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ─── Section labels ──────────────────────────────────────── */

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}

/* ─── Hero ────────────────────────────────────────────────── */

#home {
  position: relative;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  background-image: url('hero.webp');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 10, 30, 0.55) 0%,
    rgba(0, 10, 30, 0.35) 60%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

#home .section-inner {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 540px;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #ffffff;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.75;
}

/* ─── Services ────────────────────────────────────────────── */

#services {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-item h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.service-item p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
}

.credibility {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ─── About ───────────────────────────────────────────────── */

#about {
  border-top: 1px solid var(--border);
}

.about-headline {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 36px;
}

.about-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.founder-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

@media (min-width: 1200px) {
  .founder-block {
    grid-template-columns: 220px 1fr;
  }
}

@media (min-width: 1440px) {
  .founder-block {
    grid-template-columns: 280px 1fr;
  }
}

.founder-photo-wrap {
  position: sticky;
  top: 80px;
}

.founder-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
}

.founder-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

/* ─── Work ────────────────────────────────────────────────── */

#work {
  border-top: 1px solid var(--border);
}

.work-headline {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 48px;
}

.engagement-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
}

.engagement-item h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.engagement-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.cases-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case-item {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  padding-left: 20px;
  border-left: 2px solid var(--border);
}

.testimonial {
  margin-top: 56px;
  padding: 32px 36px;
  border: 1px solid var(--border);
}

.testimonial p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial cite {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ─── Contact ─────────────────────────────────────────────── */

#contact {
  border-top: 1px solid var(--border);
}

.contact-headline {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s;
  resize: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--text);
}

.form-field textarea {
  height: 140px;
}

.form-submit {
  align-self: flex-start;
}

/* ─── Footer ──────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  font-size: 13px;
  color: var(--muted);
}

.footer-linkedin {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* ─── Mobile ──────────────────────────────────────────────── */

@media (max-width: 600px) {
  :root {
    --section-padding: 64px;
  }

  #home {
    padding-top: 72px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .founder-block {
    grid-template-columns: 1fr;
  }

  .founder-photo-wrap {
    position: static;
  }

  .founder-photo {
    aspect-ratio: 4 / 3;
    object-position: center 20%;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 13px;
  }
}
