:root {
  --bg: #fbf7f2;
  --dark: #0f172a;
  --dark-2: #111827;
  --text: #1f2937;
  --muted: #64748b;
  --white: #ffffff;
  --orange: #ea580c;
  --orange-soft: #fed7aa;
  --violet-soft: #ede9fe;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-padding {
  padding: 92px 0;
}

.site-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(251, 146, 60, 0.24), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(168, 85, 247, 0.18), transparent 30%),
    linear-gradient(120deg, #fff7ed, #fdf2f8 48%, #eef2ff);
}

.navbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--dark);
}

.brand__mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 0.86rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.btn--light {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 58px;
  padding: 80px 0 96px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 10px 16px;
  border: 1px solid #fdba74;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.08);
  backdrop-filter: blur(14px);
}

.hero h1,
.section-heading h2,
.topics h2,
.contact h2 {
  margin: 18px 0 0;
  color: var(--dark);
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.hero__lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: #475569;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__visual {
  position: relative;
  width: min(100%, 520px);
  justify-self: center;
}

.profile-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 10px solid var(--white);
  border-radius: 42px;
  background: linear-gradient(135deg, #e2e8f0, #fed7aa, #ede9fe);
  box-shadow: var(--shadow);
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.floating-card {
  position: absolute;
  z-index: 5;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.floating-card small {
  display: block;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  color: var(--dark);
  font-size: 1.22rem;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.floating-card--left {
  left: -48px;
  top: 58px;
}

.floating-card--right {
  right: -28px;
  bottom: 72px;
  background: var(--dark);
  color: var(--white);
}

.floating-card--right strong {
  color: var(--white);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.section-heading h2,
.topics h2,
.contact h2 {
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  line-height: 1.02;
}

.about__text {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
}

.about__text p {
  margin: 0;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.82;
}

.about__text p + p {
  margin-top: 22px;
}

.topics {
  background: var(--dark);
  color: var(--white);
}

.section-kicker--light {
  color: #fdba74;
}

.topics h2 {
  color: var(--white);
}

.topics__top {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: end;
}

.topics__top > p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.7;
}

.topics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.topic-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.11);
  backdrop-filter: blur(16px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.topic-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}

.topic-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  background: var(--white);
  color: var(--dark);
  font-size: 1.45rem;
}

.topic-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.topic-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.68;
}

.contact__box {
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 42px;
  background: linear-gradient(135deg, #ffedd5, #ffffff 48%, #ede9fe);
  box-shadow: var(--shadow);
}

.contact__box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 44px;
}

.contact__content p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact__links {
  display: grid;
  gap: 12px;
}

.contact__links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--dark);
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact__links a:hover {
  transform: translateY(-3px);
  background: var(--white);
}

.contact__links span {
  display: grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--dark);
  color: var(--white);
  font-weight: 950;
}

.site-footer {
  padding: 26px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  color: #64748b;
  font-size: 0.94rem;
}

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

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
  color: var(--dark);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-menu,
  .nav-cta {
    display: none;
  }

  .navbar.is-open {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .navbar.is-open .nav-menu {
    order: 3;
    display: grid;
    width: 100%;
    gap: 8px;
    padding: 12px 0 4px;
  }

  .navbar.is-open .nav-menu a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
  }

  .hero,
  .about__grid,
  .contact__box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .topics__top {
    align-items: start;
    flex-direction: column;
  }

  .topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-card--left {
    left: -10px;
  }

  .floating-card--right {
    right: -8px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-padding {
    padding: 68px 0;
  }

  .navbar {
    margin-top: 14px;
  }

  .brand__text {
    display: none;
  }

  .hero {
    gap: 38px;
    padding: 48px 0 68px;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .floating-card {
    display: none;
  }

  .profile-card,
  .contact__box {
    border-radius: 30px;
  }

  .about__text {
    padding: 26px;
    border-radius: 26px;
  }

  .topics__grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: auto;
  }

  .contact__links a {
    align-items: flex-start;
    word-break: break-word;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
