:root {
  color-scheme: light;
  --page: #ffffff;
  --ink: #0b0d10;
  --muted: #555c69;
  --accent: #e22658;
  --accent-hover: #ac1640;
  --line: #e8e9ec;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 280px;
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.skip-link {
  position: absolute;
  z-index: 10;
  top: -6rem;
  left: 1.5rem;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.page { display: flex; min-height: 100vh; min-height: 100svh; flex-direction: column; }
.site-header, .site-footer { width: 100%; padding-inline: clamp(1.5rem, 5vw, 4.5rem); }
.site-header { padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }
.brand {
  display: inline-block;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 760;
  letter-spacing: -.05em;
  line-height: 1;
  text-decoration: none;
}

.main {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(3.75rem, 9vh, 7rem) clamp(1.5rem, 5vw, 4.5rem);
}
.hero { width: 100%; max-width: 820px; margin: 0 auto; }
.hero__copy { min-width: 0; }
.hero h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.9rem, 5.15vw, 4.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.hero__role {
  margin: .7rem 0 0;
  font-size: clamp(1.45rem, 2.65vw, 2.15rem);
  font-weight: 420;
  line-height: 1.32;
  letter-spacing: -.028em;
}
.hero__details { margin-top: clamp(2.5rem, 6vh, 4rem); }
.hero__tagline {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 675;
  line-height: 1.4;
  color: #343b49;
  letter-spacing: -.015em;
}
.hero__status {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.7;
}
.hero__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 2.1rem;
  margin-top: 2rem;
}
.hero__links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  color: var(--accent);
  font-size: 1.07rem;
  font-weight: 525;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: color .15s ease;
}
.hero__links a:hover { color: var(--accent-hover); }

/* Portrait layout: image on the right, stacked above text on narrow screens. */
.hero--with-portrait { max-width: 1160px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero--with-portrait h1 { font-size: clamp(2.6rem, 4.1vw, 4.15rem); }
.hero__portrait { margin: 0; }
.hero__portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.site-footer small { font-size: inherit; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .hero--with-portrait { display: flex; flex-direction: column; align-items: stretch; max-width: 680px; gap: 1.75rem; }
  .hero--with-portrait .hero__portrait { order: -1; width: min(100%, 280px); margin-inline: 0; }
  .hero--with-portrait h1 { font-size: clamp(2.6rem, 6.5vw, 3.75rem); }
}
@media (max-width: 540px) {
  .main { align-items: flex-start; padding-top: 1.5rem; padding-bottom: 3rem; }
  .hero h1, .hero--with-portrait h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); letter-spacing: -.06em; }
  .hero--with-portrait .hero__portrait { width: min(45vw, 180px); }
  .hero--with-portrait .hero__portrait img { height: auto; }
  .hero--with-portrait { gap: 1.4rem; }
  .site-header { padding-block: 1.5rem; }
  .hero__role { margin-top: .75rem; font-size: 1.5rem; }
  .hero__details { margin-top: 1.7rem; }
  .hero__tagline { font-size: 1.18rem; }
  .hero__links { gap: .5rem 1.4rem; margin-top: 1.5rem; }
  .site-footer { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__links a { transition: none; }
}
