:root {
  --ink: #17212b;
  --muted: #60717e;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --leaf: #2f705f;
  --leaf-dark: #204d44;
  --amber: #f2bd5c;
  --coral: #db6b55;
  --sky: #e5f2f4;
  --line: rgba(23, 33, 43, 0.12);
  --shadow: 0 22px 60px rgba(23, 33, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

.site-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(23, 33, 43, 0.55);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 24px;
  color: #fff;
}

.site-brand {
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-section {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("/img/hero.png");
  background-size: cover;
  background-position: 58% center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 20, 27, 0.88) 0%, rgba(12, 20, 27, 0.58) 43%, rgba(12, 20, 27, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 20, 27, 0.66) 0%, rgba(12, 20, 27, 0) 45%);
}

.hero-content {
  padding: 148px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4rem, 13vw, 8.5rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.32rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.button-primary {
  color: var(--ink);
  background: var(--amber);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
}

.intro-band,
.work-band,
.trivia-band,
.contact-band {
  padding: 96px 0;
}

.intro-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.portrait-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.intro-copy h2,
.section-heading h2,
.trivia-panel h2,
.contact-layout h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.intro-copy p,
.contact-layout p,
.trivia-panel p {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work-band {
  background: var(--sky);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.07);
}

.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--leaf);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-mark {
  background: var(--coral);
}

.feature-card:nth-child(3) .feature-mark {
  color: var(--ink);
  background: var(--amber);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0;
}

.feature-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.trivia-band {
  background:
    linear-gradient(135deg, rgba(47, 112, 95, 0.94), rgba(32, 77, 68, 0.94)),
    url("/img/hero.png");
  background-size: cover;
  background-position: center;
}

.trivia-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr) auto;
  gap: 34px;
  align-items: center;
  color: #fff;
}

.trivia-panel h2,
.trivia-panel p {
  color: #fff;
}

.trivia-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.contact-layout {
  align-items: start;
}

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

.contact-link {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 33, 43, 0.07);
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-link img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.contact-link:hover,
.contact-link:focus-visible {
  box-shadow: 0 18px 34px rgba(23, 33, 43, 0.12);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 800;
  color: var(--leaf-dark);
}

@media (max-width: 900px) {
  .intro-grid,
  .section-heading,
  .trivia-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .trivia-panel {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-nav {
    min-height: 60px;
  }

  .site-brand {
    font-size: 0.98rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .hero-section {
    min-height: 88svh;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 20, 27, 0.9) 0%, rgba(12, 20, 27, 0.62) 72%, rgba(12, 20, 27, 0.28) 100%),
      linear-gradient(0deg, rgba(12, 20, 27, 0.74) 0%, rgba(12, 20, 27, 0) 54%);
  }

  .hero-content {
    padding: 120px 0 66px;
  }

  .hero-content h1 {
    font-size: 3.8rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .button {
    width: 100%;
  }

  .intro-band,
  .work-band,
  .trivia-band,
  .contact-band {
    padding: 68px 0;
  }

  .intro-grid,
  .contact-layout {
    gap: 34px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
