:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --surface-soft: #edf3f2;
  --text: #183138;
  --muted: #5b7076;
  --line: #d3dfdd;
  --accent: #245765;
  --accent-soft: #dcebef;
  --shadow: 0 16px 40px rgba(20, 44, 50, 0.08);
  --radius: 20px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #f7faf9 0%, #eef4f3 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.text-link {
  text-decoration: underline;
}

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

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 250, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(211, 223, 221, 0.9);
}

.site-header .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.1rem;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  min-height: 44px;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
}

.site-nav a[aria-current="page"] {
  background: var(--accent-soft);
  border-color: rgba(36, 87, 101, 0.16);
}

.hero {
  padding: 3rem 0 1.6rem;
}

.hero-grid,
.content-grid,
.two-col,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(17rem, 0.62fr);
  align-items: stretch;
  gap: clamp(1.8rem, 4vw, 3.2rem);
}

.hero-copy,
.hero-card,
.panel,
.info-card {
  background: var(--surface);
  border: 1px solid rgba(211, 223, 221, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-card,
.panel {
  padding: 1.6rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 18.5rem;
  padding: clamp(1.7rem, 2.6vw, 2.15rem);
  box-shadow: 0 10px 28px rgba(20, 44, 50, 0.055);
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 18.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #eef5f4 100%);
  padding: clamp(0.55rem, 1.1vw, 0.8rem);
  box-shadow: 0 10px 28px rgba(20, 44, 50, 0.055);
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 17.1rem;
  object-fit: cover;
  object-position: center 42%;
  border-radius: calc(var(--radius) - 8px);
}

.card-note,
.notice,
.eyebrow,
.side-note p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  font-size: 0.8rem;
  white-space: nowrap;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.9rem;
  white-space: nowrap;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  max-width: 12ch;
}

.hero-title {
  font-size: clamp(2.05rem, 3.9vw, 3.2rem);
  line-height: 1.08;
  max-width: none;
  white-space: nowrap;
}

.profile-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.62;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.15rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.button:hover,
.button:focus {
  text-decoration: none;
  filter: brightness(0.96);
}

.button-muted {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(36, 87, 101, 0.2);
}

.section {
  padding: 1.5rem 0 2rem;
}

.section-soft {
  padding-bottom: 4rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card {
  padding: 1.4rem;
}

.panel.prose {
  max-width: 860px;
}

.prose ul,
.clean-list {
  padding-left: 1.2rem;
}

.doc-list,
.contact-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.doc-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contact-list div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  font-weight: 700;
}

.contact-list dd {
  margin: 0.2rem 0 0;
}

.notice {
  margin: 1rem 0 1.4rem;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 10px;
}

.site-footer {
  padding: 1rem 0 2.5rem;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .content-grid,
  .two-col,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .site-header .wrap {
    gap: 0.8rem;
  }

  .brand {
    font-size: clamp(0.72rem, 3.5vw, 0.92rem);
    letter-spacing: 0.015em;
    white-space: nowrap;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .button {
    width: 100%;
    max-width: 18rem;
  }

  h1 {
    font-size: clamp(1.25rem, 5.6vw, 2rem);
    letter-spacing: -0.02em;
  }

  h2 {
    font-size: clamp(0.95rem, 4.2vw, 1.5rem);
    letter-spacing: -0.015em;
  }

  .hero-title {
    font-size: clamp(1.4rem, 6.5vw, 2.05rem);
    white-space: nowrap;
  }

  .profile-title {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
    letter-spacing: -0.02em;
  }

  .heading-long {
    white-space: normal;
  }

  .doc-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 400px) {
  .profile-panel {
    padding-inline: 1rem;
  }
}
