:root {
  color-scheme: only light;
  --navy: #031b36;
  --navy-soft: #122944;
  --gold: #a97832;
  --gold-light: #c9a66b;
  --paper: #fbfaf7;
  --hero: #f8f3ee;
  --page: #ece9e4;
  --line: #d9d1c5;
  --muted: #4c5562;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 32px;
  background: var(--page);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

button, a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

.site-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #cfc8be;
  box-shadow: 0 18px 55px rgba(3, 27, 54, .08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .78fr) minmax(360px, 512px) minmax(320px, .95fr);
  min-height: 650px;
  background: var(--hero);
  border-bottom: 1px solid var(--line);
}

.language-switcher {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-soft);
  font-size: 13px;
  letter-spacing: .08em;
}

.language-switcher button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

.language-switcher button:focus-visible,
.contact-item:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.brand-block {
  align-self: start;
  display: flex;
  justify-content: center;
  padding: 64px 18px 24px;
}

.brand-logo {
  display: block;
  width: min(250px, 100%);
  height: auto;
  object-fit: contain;
}

.portrait-block {
  position: relative;
  align-self: end;
  width: 100%;
  max-width: 512px;
  margin: 0;
  background: transparent;
  aspect-ratio: 1024 / 1376;
  overflow: hidden;
}

.portrait-block picture,
.portrait-block img {
  display: block;
  width: 100%;
  height: 100%;
}

.portrait-block img {
  object-fit: contain;
  object-position: center bottom;
}

.ai-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(3, 27, 54, .86);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.35;
}

.hero-copy {
  align-self: center;
  padding: 100px 48px 56px 36px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 76px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.035em;
}

.gold-rule {
  width: 54px;
  height: 2px;
  margin: 26px 0 12px;
  background: var(--gold);
}

.hero-role {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
}

.hero-tagline {
  max-width: 38ch;
  margin: 0;
  color: #27384b;
  font-size: 15px;
  line-height: 1.65;
}

.content-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
}

.section-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 24px;
  border-right: 1px solid var(--line);
}

.section-icon > svg {
  width: 64px;
  height: 64px;
  padding: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.section-content {
  min-width: 0;
  padding: 30px 42px 34px;
}

.section-content h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.section-content p {
  max-width: 1000px;
  margin: 0 0 12px;
  color: #263547;
}

.section-content p:last-child { margin-bottom: 0; }

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 6px 58px;
  margin: 0;
  padding-left: 20px;
  color: #203247;
}

.expertise-list li::marker,
.track-list li::marker { color: var(--navy); }

.track-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 52px;
}

.track-stat strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 400;
  line-height: .92;
}

.track-stat span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
}

.track-list {
  align-self: center;
  margin: 0;
  padding-left: 20px;
  color: #203247;
}

.track-list li + li { margin-top: 7px; }

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 44px;
  color: #263547;
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.contact-item:hover { color: var(--gold); }

.contact-item > svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 62px;
  padding: 15px 24px calc(15px + env(safe-area-inset-bottom));
  border-bottom: 10px solid var(--navy);
  color: #5b6169;
  font-size: 13px;
}

.site-footer a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 3px;
}

@media (min-width: 1200px) {
  .portrait-block picture {
    transform: translateY(110px);
  }
}

@media (max-width: 1199px) {
  body { padding: 20px; }

  .hero {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    grid-template-rows: auto minmax(520px, auto);
    min-height: 0;
  }

  .brand-block {
    grid-column: 1 / -1;
    padding: 30px 20px 24px;
  }

  .brand-logo { width: min(220px, 45vw); }

  .portrait-block {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    max-width: none;
    aspect-ratio: auto;
  }

  .hero-copy {
    grid-column: 2;
    grid-row: 2;
    padding: 56px 44px;
  }

  .hero-copy h1 { font-size: clamp(52px, 7vw, 72px); }

  .content-row { grid-template-columns: 120px 1fr; }
  .section-icon { padding-inline: 20px; }
  .section-content { padding-inline: 34px; }
}

@media (max-width: 767px) {
  body { padding: 0; }

  .site-shell {
    width: 100%;
    border-width: 0;
    box-shadow: none;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .language-switcher {
    position: relative;
    top: auto;
    right: auto;
    justify-content: center;
    margin-top: -10px;
    padding-bottom: 16px;
  }

  .brand-block { padding: 18px 16px 12px; }
  .brand-logo { width: min(230px, 66vw); }

  .portrait-block {
    width: 100%;
    max-width: 512px;
    margin: 0 auto;
    aspect-ratio: 1024 / 1376;
  }

  .portrait-block img {
    object-position: center bottom;
  }

  .ai-label {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    white-space: normal;
  }

  .hero-copy { padding: 22px 18px 28px; }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 54px);
    line-height: .98;
  }

  .gold-rule { margin: 14px 0 8px; }
  .hero-role { margin-bottom: 8px; font-size: 20px; }
  .hero-tagline { max-width: none; font-size: 14px; line-height: 1.5; }

  .content-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .section-icon {
    padding: 20px 7px;
  }

  .section-icon > svg {
    width: 42px;
    height: 42px;
    padding: 8px;
  }

  .section-content {
    padding: 18px 14px 22px;
  }

  .section-content h2 {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .section-content p,
  .expertise-list,
  .track-list,
  .contact-grid {
    font-size: 13px;
    line-height: 1.48;
  }

  .expertise-list { grid-template-columns: 1fr; gap: 4px; }

  .track-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .track-stat strong { font-size: 52px; }
  .track-stat span { font-size: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 8px; }
  .contact-item { gap: 10px; min-height: 44px; }

  .site-footer {
    min-height: 70px;
    padding-inline: 16px;
    text-align: center;
  }
}

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