:root {
  --bg: #f6f1e8;
  --ink: #241c16;
  --muted: #4e443c;
  --copper: #b5683d;
  --copper-deep: #6f3b26;
  --line: rgba(111, 59, 38, 0.16);
  --night: #2a201b;
  --night-text: #f6f0e7;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 45% at 100% -10%, rgba(181, 104, 61, 0.14), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

h1, h2, h3, p, blockquote, figure, dl, dd, ol, ul {
  margin: 0;
}

a {
  color: var(--copper-deep);
}

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

::selection {
  background: #efd0bf;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--night);
  color: var(--night-text);
  padding: 0.55rem 0.8rem;
  z-index: 40;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
  border-top: 4px solid var(--copper);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.25rem;
  padding: 0.85rem 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.4rem 0;
}

nav a:hover {
  color: var(--copper-deep);
}

.hero {
  padding: 2.4rem 0 0.6rem;
}

.portrait {
  margin: 1.75rem 0 0;
}

.portrait img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(42, 32, 27, 0.12);
}

.eyebrow {
  display: flex;
  align-items: center;
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.45em;
}

h1 {
  margin: 0.4rem 0 0.9rem;
  font-family: var(--serif);
  font-weight: 580;
  font-size: clamp(3.7rem, 9vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.amp {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.62em;
  letter-spacing: 0;
  color: var(--copper);
  padding-inline: 0.08em;
}

.intro {
  max-width: 22em;
  margin: 0 0 1.15rem;
  font-size: 1.28rem;
  line-height: 1.4;
}

.when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1.08rem;
}

.when li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.when li:not(:last-child)::after {
  content: "·";
  margin: 0 0.7rem;
  color: var(--copper);
}

.nowrap {
  white-space: nowrap;
}

.block {
  padding: clamp(2.6rem, 6vw, 4.6rem) 0;
}

.block + .block {
  border-top: 1px solid var(--line);
}

h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.facts {
  display: grid;
  gap: 1.4rem;
}

.facts > div {
  border-top: 2px solid var(--copper);
  padding-top: 0.8rem;
}

dt {
  margin-bottom: 0.45rem;
  color: var(--copper-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fact-title {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.more {
  display: block;
  width: fit-content;
  margin-top: 0.75rem;
  font-weight: 600;
}

.countdown {
  margin-top: 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.place-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.place-head .eyebrow {
  margin-bottom: 0.45rem;
}

.address {
  margin-top: 0.7rem;
  color: var(--muted);
}

.direction {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.map-frame {
  height: min(62vw, 420px);
  min-height: 240px;
  margin-top: 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e8dfd3;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#program .eyebrow,
.finale .eyebrow {
  margin-bottom: 0.5rem;
}

.lead {
  max-width: 38rem;
  margin-top: 0.9rem;
}

.timeline {
  list-style: none;
  max-width: 40rem;
  margin-top: 1.8rem;
  padding: 0;
}

.timeline li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.timeline time {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--copper-deep);
  font-weight: 600;
}

.timeline h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.timeline p {
  max-width: 36rem;
  margin-top: 0.3rem;
}

.finale {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--night-text);
}

.finale::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(212, 150, 110, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.finale-inner {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
}

.finale .wrap,
footer {
  position: relative;
}

.finale .eyebrow {
  color: #e4b898;
}

.finale h2 {
  max-width: 14em;
}

.finale .lead {
  margin-top: 1rem;
  color: #f0e4d8;
}

.who {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3.5rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
}

.who span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.who a {
  color: #f3d3bf;
  text-underline-offset: 0.18em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  padding: 1.15rem 0 2.2rem;
  border-top: 1px solid rgba(246, 240, 231, 0.16);
  color: #e6d5c8;
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .wrap {
    width: min(1080px, calc(100% - 4rem));
  }
}

@media (min-width: 800px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 880px) {
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5.6vw, 5.8rem);
  }

  .portrait {
    margin: 0;
    justify-self: end;
  }

  .portrait img {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .bar {
    justify-content: flex-start;
  }

  .when {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }

  .when li:not(:last-child)::after {
    content: none;
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero .when {
    animation: rise 0.7s ease both;
  }

  .hero .when {
    animation-delay: 0.08s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .map-frame,
  .countdown,
  .finale::before {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .finale {
    background: white;
    color: black;
  }

  .finale .lead,
  .foot,
  .who a,
  .finale .eyebrow {
    color: black;
  }

  a {
    color: black;
  }

  a[href^="mailto:"]::after,
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    word-break: break-all;
  }
}
