:root {
  --bg-top: #e7f1f4;
  --bg-bottom: #c8dce6;
  --ink-blue: #0f2a44;
  --ink-blue-soft: #1f3f63;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-line: rgba(15, 42, 68, 0.2);
  --text: #12232b;
  --muted: #3b5261;
  --brand: #0c7a7a;
  --brand-2: #2c6f98;
  --shadow: 0 20px 44px rgba(10, 26, 42, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100dvh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 14% -8%, #ffffff 0%, transparent 65%),
    radial-gradient(920px 430px at 88% 2%, rgba(23, 72, 118, 0.28) 0%, transparent 70%),
    radial-gradient(900px 500px at 20% 120%, rgba(15, 42, 68, 0.2) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(226, 239, 246, 0.84);
  border-bottom: 1px solid rgba(15, 42, 68, 0.16);
}

.header-inner {
  width: min(920px, 92vw);
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink-blue);
}

.page-wrap {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem) 0 2rem;
  display: grid;
  gap: 1rem;
}

.hero,
.panel {
  position: relative;
  border: 1px solid var(--surface-line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--surface);
  overflow: hidden;
}

.hero {
  padding: clamp(1.2rem, 4vw, 2rem);
}

.accent {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
}

.accent-left {
  width: clamp(180px, 24vw, 240px);
  height: clamp(180px, 24vw, 240px);
  left: -10%;
  top: -45%;
  background: radial-gradient(circle at 55% 55%, rgba(44, 111, 152, 0.35) 0%, rgba(44, 111, 152, 0) 72%);
}

.accent-right {
  width: clamp(200px, 28vw, 280px);
  height: clamp(200px, 28vw, 280px);
  right: -14%;
  bottom: -64%;
  background: radial-gradient(circle at 45% 40%, rgba(15, 42, 68, 0.32) 0%, rgba(15, 42, 68, 0) 74%);
}

.eyebrow,
.section-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

h1,
h2 {
  margin: 0.55rem 0 0;
  font-family: "Playfair Display", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.3rem);
}

h2 {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
}

.tagline {
  margin: 0.55rem 0 0;
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  color: var(--muted);
}

.panel {
  padding: clamp(1rem, 3.5vw, 1.5rem);
}

#contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.contact-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.contact-list a {
  width: fit-content;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  border-bottom: 2px solid transparent;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-bottom-color: var(--brand);
}

.mini-profile {
  margin: 0;
}

.mini-profile img {
  width: clamp(68px, 12vw, 88px);
  height: clamp(68px, 12vw, 88px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 26%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(18, 35, 43, 0.2);
  filter: saturate(0.95) contrast(0.98);
}

.link-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.65rem;
}

.link-grid a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(18, 35, 43, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

.link-grid a:hover,
.link-grid a:focus-visible {
  border-color: rgba(15, 42, 68, 0.55);
  color: var(--ink-blue-soft);
}

.site-footer {
  text-align: center;
  padding: 0.8rem 1rem 1.1rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.84rem;
  color: #37505c;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  #contact {
    grid-template-columns: 1fr;
  }

  .mini-profile {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  nav {
    gap: 0.7rem;
  }

  nav a {
    font-size: 0.84rem;
  }
}
