:root {
  color-scheme: light;
  --bg: #fff7ea;
  --surface: #ffffff;
  --surface-tint: #fff0f5;
  --surface-strong: #182033;
  --text: #172033;
  --muted: #667085;
  --accent: #ef476f;
  --accent-dark: #c9184a;
  --teal: #00a896;
  --sky: #4dabf7;
  --sun: #ffd166;
  --line: #f0d8c6;
  --shadow: 0 24px 70px rgba(239, 71, 111, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(239, 71, 111, 0.15), transparent 35%),
    linear-gradient(225deg, rgba(77, 171, 247, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(255, 209, 102, 0.18), transparent 48%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(240, 216, 198, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #fff4cc;
  color: var(--accent-dark);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 88px);
  padding: 56px 0 88px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--text);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #ff7a59);
  color: #fff;
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--accent-dark), #e8590c);
}

.button.secondary,
.contact-links a {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(240, 216, 198, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.portrait {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(239, 71, 111, 0.95), rgba(0, 168, 150, 0.95)),
    var(--surface-strong);
  color: #fff;
  font-size: clamp(4rem, 13vw, 8.5rem);
  font-weight: 800;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1fr);
  gap: 42px;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  grid-column: 1 / -1;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.project-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(240, 216, 198, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

.project-tag {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card p,
.site-footer p {
  color: var(--muted);
}

.contact-section {
  align-items: center;
}

.people-section {
  align-items: start;
}

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

.person-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(240, 216, 198, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(24, 32, 51, 0.1);
}

.person-card h3 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.person-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.photo-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 800;
}

.photo-placeholder span {
  padding: 12px 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(23, 32, 51, 0.16);
}

.leo-card .photo-placeholder {
  background:
    linear-gradient(135deg, rgba(77, 171, 247, 0.86), rgba(0, 168, 150, 0.9)),
    var(--sky);
}

.lia-card .photo-placeholder {
  background:
    linear-gradient(135deg, rgba(255, 122, 89, 0.9), rgba(239, 71, 111, 0.88)),
    var(--accent);
}

.contact-links {
  margin-top: 0;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    overflow-x: auto;
  }

  .hero,
  .section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-top: 42px;
  }

  .hero-panel {
    max-width: 480px;
  }

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

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

@media (max-width: 520px) {
  .site-header {
    width: min(100% - 24px, 1120px);
    gap: 12px;
  }

  .site-nav a {
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  h1 {
    font-size: 3.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}
