:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --text: #15191f;
  --muted: #626a73;
  --line: #d8d6cf;
  --dark: #0b0f14;
  --dark-soft: #121820;
  --dark-text: #edf0f2;
  --accent: #a9752b;
  --accent-soft: #eee4d4;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(10, 15, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  background: white;
  color: black;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 20, 0.94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.brand-name {
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #dfe4e8;
  text-decoration: none;
  font-size: 0.88rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: white;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 78% 20%, rgba(169, 117, 43, 0.18), transparent 27%),
    linear-gradient(135deg, #090d12 0%, #111821 55%, #0b0f14 100%);
  color: var(--dark-text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 72px;
  align-items: end;
}

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

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
  font-weight: 760;
}

.hero h1 span {
  color: #c89348;
}

.lead {
  max-width: 780px;
  margin: 34px 0 0;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.45;
  color: #f2f4f5;
}

.hero-detail {
  max-width: 760px;
  margin: 24px 0 0;
  color: #aeb8c1;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
}

.button.primary {
  background: #f3f1eb;
  color: #11161c;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
}

.hero-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.metric {
  display: grid;
  gap: 2px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  font-size: 1.22rem;
  color: white;
}

.metric span {
  color: #9eabb5;
  font-size: 0.88rem;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 58px;
}

.section-heading.compact {
  margin-bottom: 42px;
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 760;
}

.section-heading > p:last-child {
  max-width: 750px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.card-number {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card h3,
.education-item h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.card p,
.education-item p,
.prose p,
.contact-card p {
  color: var(--muted);
}

.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}

.section-dark .prose p {
  color: #aeb8c1;
}

.split,
.contact-grid,
.apiculture-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 86px;
  align-items: start;
}

.prose {
  max-width: 690px;
}

.prose p {
  margin: 0 0 22px;
  font-size: 1.09rem;
}

.education {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.education-item {
  padding: 32px;
  border-top: 2px solid var(--text);
  background: rgba(255, 255, 255, 0.35);
}

.education-type {
  margin-top: 0;
  color: var(--accent) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-accent {
  background: var(--accent-soft);
}

.statement {
  max-width: 980px;
}

blockquote {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 620;
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  width: fit-content;
  font-weight: 760;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 28px 0;
  background: #070a0e;
  color: #8f9aa3;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.86rem;
}

.footer-wrap p {
  margin: 0;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .apiculture-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-card {
    max-width: 540px;
  }

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

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

  .hero {
    padding: 80px 0 64px;
  }

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

  .section {
    padding: 78px 0;
  }

  .cards,
  .education {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 34px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}


/* Language selector */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #dfe4e8;
  font-size: 0.88rem;
  white-space: nowrap;
}

.language-switch .active {
  color: #ffffff;
  font-weight: 700;
}

.language-switch a {
  color: #c9d1d8;
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: #ffffff;
}

@media (max-width: 960px) {
  .nav-wrap {
    gap: 16px;
  }

  .language-switch {
    margin-left: auto;
  }
}
