:root {
  --background: #fbfcfe;
  --surface: #ffffff;
  --ink: #12213a;
  --muted: #526077;
  --accent: #2f6fca;
  --line: #dce3ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a,
.contact-links a {
  transition: color 140ms ease;
}

nav a:hover,
nav a:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--accent);
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  align-items: center;
  gap: clamp(54px, 9vw, 120px);
  padding: 88px 0 100px;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: clamp(3rem, 5.5vw, 5.25rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.hero-intro {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.portrait-frame {
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid #8fb2e3;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 33, 58, 0.09);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% 55%;
  border-radius: 3px;
}

.page-section {
  display: grid;
  grid-template-columns: minmax(130px, 0.3fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
  padding: 92px 0 96px;
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: 720px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-copy > p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.contact-links {
  display: flex;
  gap: 28px;
  margin-top: 30px;
}

.contact-links a {
  padding-bottom: 4px;
  color: var(--ink);
  font-weight: 650;
  border-bottom: 1px solid var(--accent);
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

@media (max-width: 780px) {
  main {
    width: min(100% - 36px, 1120px);
  }

  .site-header {
    min-height: 72px;
  }

  nav {
    gap: 18px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 64px 0 82px;
  }

  h1 {
    font-size: clamp(2.65rem, 11vw, 4.1rem);
  }

  .portrait-frame {
    width: min(76vw, 320px);
    justify-self: start;
  }

  .page-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 70px 0 74px;
  }
}

@media (max-width: 460px) {
  nav a:first-child {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }
}

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

  * {
    transition: none !important;
  }
}
