:root {
  --ink: #111111;
  --ink-soft: #555555;
  --paper: #f5f5f5;
  --paper-raised: #ffffff;
  --black: #000000;
  --accent-blue: #1a3c96;
  --border: #c9c9c9;

  --font-display: "Chewy", system-ui, sans-serif;
  --font-body: "Signika", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  --max-width: 1200px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

a {
  color: var(--accent-blue);
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-header nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--accent-blue);
}

/* Hero */

.hero {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: 78vh;
  min-height: 420px;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-title {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(3rem, 10vw, 7rem);
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 40ch;
  margin: var(--space-2) 0 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* Highlights grid */

.highlights {
  padding: var(--space-7) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 var(--space-5);
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.photo-grid figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-raised);
  border: 1px solid var(--border);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 672px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About */

.about {
  padding: var(--space-7) 0;
  background: var(--paper-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about .wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-5);
  align-items: center;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-top: 0;
}

.about-text p {
  color: var(--ink-soft);
  max-width: 60ch;
}

@media (max-width: 672px) {
  .about .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-photo {
    width: 160px;
    margin: 0 auto;
  }
}

/* Footer */

.site-footer {
  padding: var(--space-5) 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 500;
}
