/* ==========================================================================
   Decor Bloom — warm nocturne
   Cozy futurism: aurora light, glass, grain, kinetic type.
   Dark by default; a warm cream daylight variant follows the OS setting.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens - */
:root {
  /* palette — night */
  --night:      #0c0910;
  --night-2:    #120d15;
  --plaster:    #f6ece4;
  --plaster-dim: #b6a69c;

  --ember:      #ff9f6e;   /* terracotta warmth  */
  --lilac:      #c3a2ff;   /* cool counterweight */
  --mint:       #7fe3d2;   /* the futurist spark */
  --pin:        #e60023;

  /* semantic */
  --bg:         var(--night);
  --bg-2:       var(--night-2);
  --text:       var(--plaster);
  --muted:      var(--plaster-dim);
  --accent:     var(--ember);
  --accent-2:   var(--lilac);
  --accent-3:   var(--mint);

  --glass:      rgba(255, 255, 255, .045);
  --glass-2:    rgba(255, 255, 255, .075);
  --hairline:   rgba(255, 255, 255, .10);
  --hairline-2: rgba(255, 255, 255, .18);

  --aurora-1:   #ff8a5c;
  --aurora-2:   #8f6bff;
  --aurora-3:   #2fbfa8;
  --aurora-a:   .30;
  --grain:      .05;
  --spot:       .10;

  --shadow:     0 2px 8px rgba(0, 0, 0, .34), 0 24px 60px rgba(0, 0, 0, .46);
  --shadow-lift: 0 8px 20px rgba(0, 0, 0, .40), 0 40px 90px rgba(0, 0, 0, .55);

  /* type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* metrics */
  --radius:    18px;
  --radius-lg: 28px;
  --container: 1220px;
  --gutter:    clamp(1.25rem, 5vw, 3.25rem);
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:         #fbf5ee;
    --bg-2:       #f4e9de;
    --text:       #221a1c;
    --muted:      #6d5f5c;
    --accent:     #c9663a;
    --accent-2:   #7b57c9;
    --accent-3:   #1f9c88;

    --glass:      rgba(255, 255, 255, .55);
    --glass-2:    rgba(255, 255, 255, .75);
    --hairline:   rgba(34, 26, 28, .10);
    --hairline-2: rgba(34, 26, 28, .18);

    --aurora-a:   .22;
    --grain:      .035;
    --spot:       .07;

    --shadow:      0 2px 8px rgba(80, 50, 35, .07), 0 24px 60px rgba(80, 50, 35, .10);
    --shadow-lift: 0 8px 20px rgba(80, 50, 35, .10), 0 40px 90px rgba(80, 50, 35, .16);

    color-scheme: light;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.72;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "SOFT" 40, "WONK" 1;
  line-height: 1.04;
  letter-spacing: -.028em;
  margin: 0 0 .45em;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; color: var(--muted); text-wrap: pretty; }

a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--text); }

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

:focus-visible {
  outline: 2px solid var(--accent-3);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection { background: var(--accent); color: #16101a; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  padding: .8rem 1.3rem;
  border-radius: 0 0 12px 0;
  background: var(--accent);
  color: #16101a;
  font-weight: 600;
}
.skip-link:focus { left: 0; top: 0; color: #16101a; }

/* ------------------------------------------------------- ambient layers - */
/* Aurora blobs, film grain and a cursor-tracked spotlight — all fixed,
   all pointer-transparent, all painted behind the content. */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: var(--aurora-a);
  will-change: transform;
}
.blob--1 {
  width: 46vw; height: 46vw; min-width: 320px; min-height: 320px;
  top: -12vh; left: -8vw;
  background: radial-gradient(circle at 50% 50%, var(--aurora-1), transparent 68%);
  animation: drift-1 26s var(--ease) infinite alternate;
}
.blob--2 {
  width: 52vw; height: 52vw; min-width: 340px; min-height: 340px;
  top: 18vh; right: -14vw;
  background: radial-gradient(circle at 50% 50%, var(--aurora-2), transparent 68%);
  animation: drift-2 34s var(--ease) infinite alternate;
}
.blob--3 {
  width: 40vw; height: 40vw; min-width: 280px; min-height: 280px;
  bottom: -16vh; left: 24vw;
  background: radial-gradient(circle at 50% 50%, var(--aurora-3), transparent 70%);
  animation: drift-3 30s var(--ease) infinite alternate;
}

@keyframes drift-1 { to { transform: translate3d(9vw, 7vh, 0) scale(1.18); } }
@keyframes drift-2 { to { transform: translate3d(-8vw, 10vh, 0) scale(.86); } }
@keyframes drift-3 { to { transform: translate3d(6vw, -9vh, 0) scale(1.12); } }

/* Grain keeps the gradients from looking like plastic. */
.grain {
  position: absolute;
  inset: -50%;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 6s steps(6) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -5%); }
  60%  { transform: translate(-5%, -2%); }
  80%  { transform: translate(4%, 4%); }
  100% { transform: translate(0, 0); }
}

/* Warm light that follows the pointer. JS sets --mx / --my. */
.spotlight {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s var(--ease);
  background: radial-gradient(
    36rem 36rem at var(--mx, 50%) var(--my, 30%),
    color-mix(in srgb, var(--accent) 55%, transparent),
    transparent 62%);
  mix-blend-mode: screen;
}
.is-pointer .spotlight { opacity: var(--spot); }

@media (prefers-color-scheme: light) {
  .spotlight { mix-blend-mode: multiply; }
}

/* --------------------------------------------------------------- layout - */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 11vw, 9rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .95rem .45rem .75rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-3) 70%, transparent);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.lede {
  font-size: clamp(1.03rem, 1.35vw, 1.17rem);
  color: var(--muted);
  max-width: 38rem;
}

.glass {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* A soft inner highlight along the top edge — reads as light catching glass. */
.glass--lit { position: relative; overflow: hidden; }
.glass--lit::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-2) 22%, var(--hairline-2) 78%, transparent);
}

/* -------------------------------------------------------------- buttons - */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 .95rem/1 var(--body);
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  /* No stacking context here on purpose: it lets .btn--glow::after (z-index -1)
     drop behind the button's own background instead of hazing over it. */
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-3px); }

/* Primary — a warm ember pill that lights up from underneath. */
.btn--glow {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent-2) 60%, var(--accent)));
  color: #16101a;
  font-weight: 600;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 34%, transparent);
}
.btn--glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: inherit;
  filter: blur(16px);
  opacity: .55;
  transition: opacity .35s var(--ease);
}
.btn--glow:hover {
  color: #16101a;
  box-shadow: 0 12px 38px color-mix(in srgb, var(--accent) 44%, transparent);
}
.btn--glow:hover::after { opacity: .9; }

.btn--ghost {
  border-color: var(--hairline-2);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: color-mix(in srgb, var(--accent-3) 60%, transparent);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .22);
}

.btn--sm { padding: .62rem 1.15rem; font-size: .84rem; }

.btn__pin { color: var(--pin); }
.btn--glow .btn__pin { color: inherit; }

/* --------------------------------------------------------------- header - */
.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom-color: var(--hairline);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: -.02em;
}
.brand:hover { color: var(--text); }
.brand svg {
  width: 34px; height: 34px;
  flex: none;
  color: var(--accent);
  transition: transform .8s var(--ease-out), color .4s var(--ease);
}
.brand:hover svg { transform: rotate(90deg); color: var(--accent-3); }

.nav__right { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }

.nav__link {
  position: relative;
  color: var(--text);
  font-size: .9rem;
  font-weight: 400;
  opacity: .78;
  transition: opacity .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: var(--text); opacity: 1; }
.nav__link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }

@media (max-width: 620px) { .nav__link { display: none; } }

/* ----------------------------------------------------------------- hero - */
.hero { padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3.5rem, 9vw, 7rem); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.4rem, 11vw, 7.4rem);
  margin: 1.5rem 0 .2em;
}
.hero h1 .grad {
  background: linear-gradient(104deg, var(--accent) 6%, var(--accent-2) 48%, var(--accent-3) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding-right: .06em;
}

/* Rotating vibe word — the line above the headline. */
.hero__kicker {
  display: flex;
  align-items: baseline;
  gap: .5ch;
  margin: 0 0 .2rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-family: var(--display);
  font-style: italic;
  color: var(--muted);
}
.rotator {
  position: relative;
  display: inline-block;
  min-width: 9ch;
  color: var(--accent-3);
}
.rotator span {
  display: inline-block;
  animation: word-in .6s var(--ease-out) both;
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(.5em) rotate(2deg); filter: blur(4px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2.4rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  margin: 2.6rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__tags li { display: flex; align-items: center; gap: .6rem; }
.hero__tags li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.hero__tags li:nth-child(2)::before { background: var(--accent-2); }
.hero__tags li:nth-child(3)::before { background: var(--accent-3); }

/* Floating photo stack. JS nudges --tx/--ty for parallax. */
.hero__stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(.8rem, 1.6vw, 1.2rem);
  perspective: 1200px;
}

.float {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  transform: translate3d(calc(var(--tx, 0) * var(--d, 1)), calc(var(--ty, 0) * var(--d, 1)), 0);
  transition: transform .8s var(--ease-out), box-shadow .5s var(--ease);
  animation: float-y 9s ease-in-out infinite alternate;
}
.float img { width: 100%; height: 100%; object-fit: cover; }
.float::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, color-mix(in srgb, var(--accent-2) 22%, transparent));
  mix-blend-mode: soft-light;
}
.float:hover { box-shadow: var(--shadow-lift); }

.float--a { --d: 1;   margin-top: clamp(1.5rem, 5vw, 3.5rem); animation-delay: -2s; }
.float--b { --d: 1.7; animation-delay: -5s; }
.float--c {
  --d: 2.4;
  position: absolute;
  right: -4%;
  bottom: -16%;
  width: 46%;
  border-radius: var(--radius);
  animation-delay: -7s;
}

@keyframes float-y {
  from { translate: 0 -.5rem; }
  to   { translate: 0 .5rem; }
}

/* Little glass chip resting on the stack. */
.hero__chip {
  position: absolute;
  left: -6%;
  bottom: 12%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  font-size: .8rem;
  color: var(--text);
  box-shadow: var(--shadow);
  animation: float-y 7s ease-in-out infinite alternate;
}
.hero__chip svg { width: 16px; height: 16px; color: var(--pin); flex: none; }

@media (max-width: 940px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* The stack's absolute children bleed past its box — reserve room for them
     so they don't sit on top of the marquee below. */
  .hero__stack { max-width: 32rem; margin-bottom: clamp(2.5rem, 7vw, 4rem); }
  .float--c { width: 42%; bottom: -12%; }
  .hero__chip { left: auto; right: 2%; bottom: -8%; }
}
@media (max-width: 560px) {
  .float--c, .hero__chip { display: none; }
  .hero__stack { margin-bottom: 0; }
}

/* -------------------------------------------------------------- marquee - */
.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  padding-block: 1.1rem;
  border-block: 1px solid var(--hairline);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  user-select: none;
}
.marquee__track {
  display: flex;
  flex: none;
  gap: 2.5rem;
  padding-right: 2.5rem;
  align-items: center;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }

.marquee__item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-style: italic;
  letter-spacing: -.01em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}

/* ---------------------------------------------------------------- moods - */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  margin: 1.1rem 0 0;
  max-width: 18ch;
}
.section-head p { margin: 0; max-width: 32rem; }

.moods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.mood {
  position: relative;
  padding: clamp(1.6rem, 2.4vw, 2.2rem);
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .4s var(--ease),
              box-shadow .5s var(--ease);
}
.mood:hover {
  transform: translateY(-6px);
  border-color: var(--hairline-2);
  box-shadow: var(--shadow);
}

/* The orb bleeds colour into the corner of each card. */
.mood__orb {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--c, var(--accent)), transparent 70%);
  filter: blur(26px);
  opacity: .55;
  transition: opacity .5s var(--ease), transform .7s var(--ease-out);
}
.mood:hover .mood__orb { opacity: .9; transform: scale(1.25) translate(-6%, 10%); }

.mood__no {
  display: block;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.mood h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: .5rem;
}
.mood p { margin: 0; font-size: .93rem; }

/* -------------------------------------------------------------- gallery - */
.gallery {
  columns: 4 250px;
  column-gap: clamp(.8rem, 1.5vw, 1.25rem);
}

.tile {
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: clamp(.8rem, 1.5vw, 1.25rem);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
  cursor: zoom-in;
  isolation: isolate;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease);
}
.tile img {
  width: 100%;
  height: auto;
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.tile:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--shadow-lift); }
.tile:hover img { transform: scale(1.06); }

/* Hairline that lights up on hover, drawn over the photo. */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--hairline);
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
  pointer-events: none;
}
.tile:hover::after,
.tile:focus-visible::after {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--accent) 16%, transparent);
}

.tile__credit {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 3rem .95rem .9rem;
  background: linear-gradient(transparent, rgba(8, 5, 10, .85));
  color: #f6ece4;
  font-size: .76rem;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease-out);
}
.tile__credit::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.tile:hover .tile__credit,
.tile:focus-visible .tile__credit { opacity: 1; transform: none; }

/* --------------------------------------------------------------- follow - */
.follow { padding-block: clamp(3rem, 7vw, 5rem); }

.follow__panel {
  position: relative;
  padding: clamp(2.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
}
/* Slow conic sweep travelling around the panel edge. The gradient is masked
   down to a 1px ring, and the angle — not the element — is what animates, so
   the ring stays welded to the border. Where @property is unsupported the
   ring simply sits still. */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.follow__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--angle),
    transparent 0 58%,
    color-mix(in srgb, var(--accent) 85%, transparent) 72%,
    color-mix(in srgb, var(--accent-3) 85%, transparent) 84%,
    transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: sweep 9s linear infinite;
}
@keyframes sweep { to { --angle: 360deg; } }

.follow__glow {
  position: absolute;
  left: 50%;
  bottom: -55%;
  width: min(46rem, 105%);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--accent) 60%, transparent), transparent 65%);
  filter: blur(60px);
  opacity: .4;
  pointer-events: none;
}

.follow h2 { font-size: clamp(2rem, 5.5vw, 3.5rem); margin-top: 1.2rem; }
.follow p { margin-inline: auto; }
.follow .btn { margin-top: 1.8rem; }

.follow__handle {
  display: block;
  margin-top: 1.6rem;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------- footer - */
.site-footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .88rem;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

.footer-note {
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  font-size: .8rem;
  line-height: 1.7;
  color: var(--muted);
}
.footer-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-note a:hover { color: var(--accent); }

/* ------------------------------------------------------------- lightbox - */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--night) 88%, transparent);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox figure { margin: 0; display: grid; justify-items: center; }
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
  transform: scale(.96);
  transition: transform .45s var(--ease-out);
}
.lightbox.is-open img { transform: none; }

.lightbox__credit {
  margin-top: 1.2rem;
  color: rgba(246, 236, 228, .68);
  font-size: .82rem;
  letter-spacing: .04em;
  text-align: center;
}
.lightbox__credit a { color: rgba(246, 236, 228, .95); text-decoration: underline; text-underline-offset: 3px; }

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f6ece4;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease-out);
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .4);
  transform: scale(1.08);
}
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; margin-top: -24px; }
.lightbox__next { right: clamp(.5rem, 2vw, 2rem); top: 50%; margin-top: -24px; }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------- reveal - */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ------------------------------------------------------- reduced motion - */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .blob, .grain, .float, .hero__chip { animation: none; }
  .spotlight { display: none; }
  .marquee__track { animation: none; }
}
