:root {
  --forest: #1f3326;      /* the deep green behind everything */
  --moss: #3f5f45;        /* the brand green */
  --cream: #fbf6e6;       /* text and glass */
  --copper: #c4773a;      /* the accent: fall, the front of the change */
  --ember: #ffd9a1;       /* the warm light on the front */
  --ink: #142019;
  --tile: clamp(40px, min(10vw, 9vh), 56px);
  --pad: clamp(14px, min(4vw, 4.4vh), 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; background: var(--forest); overflow: hidden; }

body {
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--forest);
  cursor: crosshair;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.src { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* the same dark veil the site lays over its map, top and bottom, so the type reads */
.veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 18, 13, .62) 0%, rgba(10, 18, 13, 0) 34%),
    linear-gradient(0deg, rgba(10, 18, 13, .7) 0%, rgba(10, 18, 13, 0) 40%),
    radial-gradient(120% 90% at 50% 50%, rgba(0, 0, 0, 0) 55%, rgba(6, 12, 8, .45) 100%);
}

.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* header */
.head {
  position: absolute; left: var(--pad); right: var(--pad); top: var(--pad);
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { width: clamp(20px, 3.2vh, 28px); height: auto; fill: none; stroke: var(--cream); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.brand__sun { stroke: var(--ember); }
.brand__name { font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(16px, min(4.4vw, 3.4vh), 24px); letter-spacing: .01em; font-variation-settings: 'opsz' 40; }
.brand__sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; opacity: .7; font-stretch: 112%; }
.inquire {
  pointer-events: auto; color: var(--cream); text-decoration: none;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; font-stretch: 112%;
  padding: 9px 14px; border-radius: 99px;
  background: rgba(251, 246, 230, .1);
  box-shadow: inset 0 0 0 1px rgba(251, 246, 230, .24), 0 8px 24px -10px rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* the title */
.lede {
  position: absolute; left: var(--pad); top: 50%; transform: translateY(-58%);
  max-width: min(560px, 82vw); pointer-events: none;
}
.lede__eyebrow {
  font-size: clamp(9px, 1.5vh, 11px); letter-spacing: .26em; text-transform: uppercase; font-weight: 600; font-stretch: 115%;
  color: var(--ember); margin-bottom: clamp(8px, 1.6vh, 16px);
}
.lede__title {
  font-family: 'Newsreader Variable', Georgia, serif; font-weight: 380;
  font-size: clamp(26px, min(8.2vw, 8.6vh), 76px); line-height: .98; letter-spacing: -.012em;
  font-variation-settings: 'opsz' 72;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.lede__title em { font-style: italic; color: #f3e3c4; }
.lede__line {
  margin-top: clamp(10px, 2vh, 20px);
  font-size: clamp(11px, min(3.2vw, 1.9vh), 14px); line-height: 1.45; opacity: .78; max-width: 30ch;
}

/* the status chip, bottom left */
.status {
  position: absolute; left: var(--pad); bottom: var(--pad);
  display: flex; flex-direction: column; gap: 4px; pointer-events: none;
  padding: 10px 14px 11px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(251, 246, 230, .16), rgba(251, 246, 230, .05));
  box-shadow: inset 0 0 0 1px rgba(251, 246, 230, .2), inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -18px rgba(0, 0, 0, .6), 0 2px 6px -2px rgba(0, 0, 0, .35);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
}
.status__frame { display: block; height: 1.15em; overflow: hidden; font-family: 'Newsreader Variable', Georgia, serif; font-size: clamp(15px, 2.6vh, 20px); line-height: 1.15; }
.status__roll { display: flex; flex-direction: column; }
.status__name { display: block; height: 1.15em; }
.status__line { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; font-stretch: 110%; opacity: .72; white-space: nowrap; }

/* the season switch, bottom right */
.seasons { position: absolute; right: var(--pad); bottom: var(--pad); width: var(--tile); height: var(--tile); }
.seasons__stack { position: absolute; inset: 0; }
.tile {
  position: absolute; left: 0; bottom: 0; width: var(--tile); height: var(--tile);
  border: 0; padding: 0; border-radius: 12px; cursor: pointer; background: var(--ink);
  box-shadow: 0 0 0 1px rgba(251, 246, 230, .32), 0 1px 0 1px rgba(255, 255, 255, .12) inset, 0 14px 28px -12px rgba(0, 0, 0, .7), 0 3px 8px -3px rgba(0, 0, 0, .5);
  will-change: transform;
}
.tile__img { position: absolute; inset: 3px; border-radius: 9px; background-size: cover; background-position: center; }
.tile__img::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, 0) 42%), linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0) 60%);
}
.tile__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tile__ring rect { fill: none; stroke: var(--ember); stroke-width: 2; stroke-dasharray: 0 100; stroke-linecap: round; }
.tile.is-current { box-shadow: 0 0 0 1.5px var(--cream), 0 1px 0 1px rgba(255, 255, 255, .14) inset, 0 16px 30px -12px rgba(0, 0, 0, .75), 0 3px 8px -3px rgba(0, 0, 0, .5); }
.tile:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.seasons__label {
  position: absolute; right: calc(100% + 12px); bottom: calc(var(--tile) / 2 - 15px);
  height: 30px; display: flex; align-items: center; padding: 0 12px 0 13px; border-radius: 8px;
  background: var(--cream); color: var(--ink);
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 650; font-stretch: 112%;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .7), 0 2px 5px -2px rgba(0, 0, 0, .4);
  opacity: 0; pointer-events: none; white-space: nowrap;
}
.seasons__tip { position: absolute; right: -4px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; background: var(--cream); transform: rotate(45deg); border-radius: 1.5px; }

@media (max-width: 520px) {
  .brand__sub { display: none; }
  .lede { top: 46%; }
  .status__line { font-size: 9px; letter-spacing: .12em; }
}
@media (max-height: 460px) {
  .lede__line { display: none; }
}
