:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #faf6f0;
  background: #000000;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  --portrait-height: clamp(400px, 100vw, 100svh);
  margin: 0;
  isolation: isolate;
  position: relative;
  background-color: #000000;
  background-image:
    linear-gradient(180deg, transparent 65%, #000000),
    url("Isaac_Heeney.jpg");
  background-position: right top;
  background-size: 100% var(--portrait-height), auto var(--portrait-height);
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #101010 5%, rgb(16 16 16 / 95%) 28%, rgb(16 16 16 / 42%) 65%, rgb(16 16 16 / 15%));
  opacity: clamp(0, calc((100vw - 600px) / 500px), 1);
}

main {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 64px);
}

.masthead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: clamp(0.6rem, 0.35rem + 0.5vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.destination {
  color: #d3ccc4;
}

.content {
  width: min(100%, 620px);
  margin-block: auto;
  padding-block: clamp(64px, 900px - 90vw, 400px) clamp(40px, 4vw, 48px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #e4d8cc;
  font-size: clamp(0.6rem, 0.43rem + 0.33vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.accent-line {
  width: 28px;
  height: 2px;
  background: #ff7266;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 em {
  color: #ff9486;
  font-weight: 400;
}

.intro {
  margin: 28px 0 36px;
  color: #d3ccc4;
  font-size: 0.95rem;
  line-height: 1.8;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 490px;
  padding-block: 24px;
  border-block: 1px solid rgb(250 246 240 / 25%);
}

.unit {
  display: grid;
  gap: 10px;
  padding-inline: 8px;
  text-align: center;
}

.unit + .unit {
  border-left: 1px solid rgb(250 246 240 / 18%);
}

.value {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.label {
  color: #d3ccc4;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.notice {
  max-width: 490px;
  color: #ffb2a7;
  line-height: 1.6;
}

.arrival {
  display: grid;
  gap: 7px;
  margin: 30px 0 0;
}

.arrival-label {
  margin-bottom: 3px;
  color: #d3ccc4;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

time {
  font-size: 1rem;
}

.timezone,
footer {
  color: #bfb7ae;
  font-size: 0.7rem;
}

footer {
  letter-spacing: 0.06em;
}
