:root {
  --sand: #f5efe3;
  --sand-dim: #e6ddc9;
  --ink: #1b3a4b;
  --ink-dim: #4c6c7c;
  --line: #c9bda1;

  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  padding: 2rem 1.25rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 35, 0.35) 0%, rgba(10, 25, 35, 0.15) 45%, rgba(10, 25, 35, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  color: #ffffff;
}

.name {
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 4.25rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.quote {
  margin: 0 0 1.75rem;
  font-weight: 600;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.quote p {
  margin: 0 0 0.4rem;
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.divider {
  width: 220px;
  max-width: 60%;
  margin: 0 auto 2rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

/* ---- Social pills ---- */

.socials {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background 0.15s ease;
}

.pill:hover,
.pill:focus-visible {
  background: #ffffff;
  transform: translateY(-2px);
}

.pill-icon {
  display: flex;
}

/* ---- Below the fold ---- */

.below {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--sand);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #14303e;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ink);
}

/* ---- Gallery ---- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--sand-dim);
  display: block;
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-img {
    aspect-ratio: 16 / 10;
  }
}

/* ---- Footer ---- */

.footer {
  font-size: 0.75rem;
  color: var(--ink-dim);
}

.footer p {
  margin: 0;
}
