:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --surface: #ffffff;
  --surface-soft: #f3f6fb;
  --text: #172033;
  --text-muted: #5d6678;
  --accent: #2f80ed;
  --accent-dark: #1c5fb8;
  --border: #dfe5ef;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

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

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
  min-height: 720px;
}

.hero h1,
.section-heading h2,
.split-section h2,
.about-section h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.lead {
  max-width: 680px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  color: #fff;
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--border);
  background: var(--surface);
}

.hero-image img,
.section-image,
.portrait,
.card {
  border-radius: var(--radius);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.split-section h2,
.about-section h2,
.contact-section h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.cards {
  display: grid;
  gap: 24px;
}

.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card h3,
.feature-grid h3 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.card p,
.feature-grid p,
.split-section p,
.about-section p,
.contact-section p {
  color: var(--text-muted);
}

.card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.alternate {
  background: linear-gradient(180deg, transparent 0, var(--surface-soft) 100%);
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max-width)) / 2));
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 900;
}

.section-image {
  margin-top: 28px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--border);
}

.portrait {
  width: 360px;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
  justify-self: end;
    box-shadow: var(--shadow);
}


.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-links img {
  width: 24px;
  height: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg);
  color: #fff;
  font-style: normal;
  box-shadow: var(--shadow);
}

.contact-card a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--bg-soft);
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header,
  .section-heading,
  .hero,
  .split-section,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .three-columns,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }
}

@media (max-width: 560px) {
  .main-nav {
    gap: 10px 14px;
  }

  .site-footer {
    flex-direction: column;
  }
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.brand .brand-logo {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand span {
  display: inline-block;
  white-space: nowrap;
}