/* Aisling Óir: gold, storm-blue, sacred warmth */

:root {
  --night: #0c1016;
  --ink: #121820;
  --storm: #1a2430;
  --storm-edge: #243140;
  --gold: #e0c48a;
  --gold-deep: #c4a05a;
  --gold-dim: #a88b4e;
  --cream: #f3ead7;
  --cream-soft: #d8ccb4;
  --cream-mute: #b7ab95;
  --veil: rgba(8, 11, 16, 0.55);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --measure: 38rem;
  --page: 72rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--night);
  color: var(--cream);
}

body {
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--cream);
}

h1,
h2,
h3,
.wordmark,
.footer-name,
.lead,
.gaelic p {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--night);
  border-color: var(--gold);
}

.btn:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--cream);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% center;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 16, 22, 0.94) 0%, rgba(12, 16, 22, 0.55) 38%, rgba(12, 16, 22, 0.22) 70%, rgba(12, 16, 22, 0.35) 100%),
    linear-gradient(to right, rgba(12, 16, 22, 0.55) 0%, rgba(12, 16, 22, 0.12) 55%, rgba(12, 16, 22, 0.2) 100%);
  pointer-events: none;
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
}

.wordmark {
  color: var(--gold);
  text-decoration: none;
  font-size: 1.15rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

.wordmark:hover {
  color: var(--cream);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) clamp(2.5rem, 8vh, 5.5rem);
  max-width: 44rem;
}

.hero-copy h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(3.4rem, 11vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--gold);
  text-wrap: balance;
}

.tagline {
  margin: 0 0 1.8rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.gaelic {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
}

.gaelic p {
  margin: 0 0 0.35rem;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--cream);
}

.gaelic cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-mute);
}

/* Intro */

.intro {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(4.5rem, 12vw, 8rem) var(--gutter);
  text-align: center;
}

.lead {
  margin: 0 0 1.4rem;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: var(--gold);
  text-wrap: balance;
}

.intro p + p {
  margin: 0;
  color: var(--cream-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Shared section heads */

.section-head {
  max-width: 40rem;
  margin: 0 auto 3rem;
  padding: 0 var(--gutter);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.section-head h2,
.footer-name {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}

.section-dek {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--cream-mute);
  font-size: 1rem;
  line-height: 1.65;
}

/* Band */

.band {
  padding: 0 0 clamp(4rem, 10vw, 7rem);
}

.portraits {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: var(--page);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.15rem;
}

.portraits figure {
  margin: 0;
}

.portraits img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 14%;
  background: #1b1712;
  outline: 1px solid rgba(224, 196, 138, 0.22);
  outline-offset: -1px;
}

.portraits li:first-child img {
  object-position: center 18%;
  background: #f3ead7;
}

.portraits figcaption {
  padding: 0.9rem 0.1rem 0;
}

.portraits h3 {
  margin: 0 0 0.2rem;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--cream);
}

.portraits figcaption p {
  margin: 0;
  color: var(--cream-mute);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Scenes */

.scenes {
  padding: 0 0 clamp(3rem, 8vw, 5rem);
  background:
    linear-gradient(to bottom, var(--night) 0%, var(--ink) 18%, var(--ink) 100%);
}

.scene {
  margin: 0 auto 3.25rem;
  max-width: 64rem;
  padding: 0 var(--gutter);
}

.scene:last-child {
  margin-bottom: 0;
}

.scene figure {
  margin: 0;
}

.scene img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--storm);
}

.scene figcaption {
  max-width: 34rem;
  padding: 1.15rem 0 0;
}

.scene h3 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-style: italic;
  color: var(--gold);
}

.scene figcaption p {
  margin: 0;
  color: var(--cream-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Footer */

.footer {
  padding: clamp(4rem, 12vw, 7rem) var(--gutter);
  text-align: center;
  background: var(--ink);
  border-top: 1px solid rgba(224, 196, 138, 0.14);
}

.footer-name {
  margin: 0 0 0.6rem;
}

.footer-line {
  margin: 0 0 1.75rem;
  color: var(--cream-mute);
  font-size: 1rem;
}

/* Breakpoints */

@media (min-width: 600px) {
  .portraits {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.25rem;
  }

  .hero-image {
    object-position: 68% center;
  }
}

@media (min-width: 900px) {
  .portraits {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 1.4rem;
  }

  .hero-copy {
    max-width: 48rem;
    padding-bottom: 5.5rem;
  }

  .scene figcaption {
    padding-top: 1.4rem;
  }
}

@media (min-width: 1200px) {
  .hero-image {
    object-position: center 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
