/* Eave: landing page */

:root {
  --cream: #EFE6D6;
  --paper: #F7F1E6;
  --bezel: #E2D5BF;
  --navy: #2F3652;
  --navy-deep: #262C45;
  --ink: #2F3652;
  --ink-soft: #595E78;
  --clay: #B9765A;
  --blush: #D9A5A0;
  --marigold: #DDB35E;
  --line: rgba(47, 54, 82, 0.14);
  --stamp: #A85F43;

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --nav-h: 64px;
  --bez: 9px;
  --frame-r: 26px;
  --frame-shadow: 0 0 0 1px rgba(47, 54, 82, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 34px 70px -34px rgba(47, 54, 82, 0.5), 0 12px 24px -14px rgba(47, 54, 82, 0.2);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

@media (max-width: 640px) {
  :root { --nav-h: 56px; --bez: 6px; --frame-r: 18px; }
}

html { background: var(--cream); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
::selection { background: rgba(221, 179, 94, 0.45); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 48px);
}

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 10px 14px; border-radius: 10px;
  background: var(--navy); color: var(--cream); text-decoration: none; font-size: 15px;
}
.skip:focus { top: 16px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px 14px 20px;
  border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font: 500 15.5px/1 var(--sans); letter-spacing: 0.005em;
  text-decoration: none;
  box-shadow: 0 12px 24px -14px rgba(47, 54, 82, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.35s, box-shadow 0.35s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); background: var(--navy-deep); box-shadow: 0 18px 30px -16px rgba(47, 54, 82, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn:active { transform: scale(0.98); }
.btn:focus-visible { border-radius: 999px; }
.btn-small { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.btn-light { background: var(--cream); color: var(--navy); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5); }
.btn-light:hover { background: #FBF5EA; }
.meta { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- nav ---------- */

.nav {
  position: fixed; z-index: 50; left: 0; right: 0; top: 0;
  box-sizing: border-box;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) clamp(16px, 4vw, 40px) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}
.nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(239, 230, 214, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.nav.is-on, html:not(.js) .nav {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-eave { display: block; width: 30px; }
.brand-eave svg { display: block; width: 100%; height: auto; overflow: visible; }
.brand-word { font: 400 26px/1 var(--serif); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); }
.nav-links a:not(.btn) { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; transition: color 0.25s; }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ---------- intro: hero + opening ---------- */

.intro { position: relative; }

.hero { position: relative; background: var(--cream); }
.hero-inner {
  box-sizing: border-box;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(14px, 2.6vh, 28px);
  padding: calc(var(--nav-h) + clamp(8px, 2.4vh, 28px)) 16px clamp(20px, 4vh, 44px);
  text-align: center;
}
.hero-title {
  margin: 0; max-width: 16em;
  font: 400 clamp(32px, 4.2vw, 60px)/1.04 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.vframe {
  position: relative; flex: none; box-sizing: border-box;
  width: min(100%, 1100px, max(300px, calc((100vh - var(--nav-h) - 260px) * 1.6)));
  width: min(100%, 1100px, max(300px, calc((100svh - var(--nav-h) - 260px) * 1.6)));
  aspect-ratio: 16 / 10;
  padding: var(--bez);
  border-radius: var(--frame-r);
  background: var(--bezel);
  box-shadow: var(--frame-shadow);
}
.vscreen {
  position: relative; width: 100%; height: 100%;
  border-radius: calc(var(--frame-r) - var(--bez));
  overflow: hidden; isolation: isolate;
  container-type: size;
  background: #E9C68A;
}
.video {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.8s ease;
}
.vframe.has-video .video { opacity: 1; }
.ph-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  display: none;
  padding: 5px 9px; border-radius: 7px;
  background: rgba(247, 241, 230, 0.9); border: 1px solid var(--line);
  font: 500 11.5px/1.2 var(--mono); color: var(--ink);
}
.vframe.is-missing .ph-tag { display: block; }

/* Without motion the two stack: the opening first, then the hero. */
html:not(.motion) .intro { display: flex; flex-direction: column; }
html:not(.motion) .opening { order: -1; }
.opening { position: relative; height: 100vh; height: 100svh; min-height: 480px; overflow: hidden; }
html:not(.js) .opening { display: none; }
.js .opening { opacity: 0; transition: opacity 1.1s ease; }
.ready .opening { opacity: 1; }

/* With motion, the intro is one pinned screen: the opening is laid over the hero. */
.motion .intro { height: 100vh; overflow: hidden; }
.motion .hero { position: absolute; inset: 0; }
.motion .hero-inner { min-height: 0; height: 100vh; height: 100svh; }
.motion .opening { position: absolute; inset: 0; height: auto; min-height: 0; }
.motion:not(.ready) .intro { background: var(--navy); }
.motion:not(.ready) .hero { visibility: hidden; }
.motion .hero-title, .motion .hero-cta { opacity: 0; }

/* outside: the wall, roof and flower box */
.outside { position: absolute; inset: 0; background: var(--navy); }
.outside-art, .front-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.front-art { pointer-events: none; }
.halo {
  position: absolute; pointer-events: none;
  background: radial-gradient(closest-side, rgba(236, 192, 112, 0.34), rgba(221, 179, 94, 0.12) 58%, rgba(221, 179, 94, 0) 100%);
}
.flies { position: absolute; inset: 0; pointer-events: none; }
.fly {
  position: absolute; width: var(--s); height: var(--s); border-radius: 50%;
  background: #F6DA93; box-shadow: 0 0 8px 2px rgba(246, 218, 147, 0.5);
  opacity: 0;
  animation: fly var(--d) ease-in-out var(--delay) infinite;
}
@keyframes fly {
  0% { opacity: 0; transform: translate(0, 0); }
  25% { opacity: 0.9; }
  50% { opacity: 0.35; transform: translate(var(--dx), var(--dy)); }
  75% { opacity: 0.85; }
  100% { opacity: 0; transform: translate(0, calc(var(--dy) * 1.6)); }
}

/* the window */
.win {
  position: absolute; left: 5vw; top: 10vh; width: 90vw; height: 75vh;
  --fw: 18px; --wr: 34px; --pr: 16px; --oh: 14px;
}
.win-torn {
  position: absolute; display: block; overflow: visible;
  left: calc(var(--oh) * -1); top: calc(var(--oh) * -1);
  width: calc(100% + var(--oh) * 2); height: calc(100% + var(--oh) * 2);
}
.win-bezel {
  position: absolute; inset: 0;
  border-radius: var(--wr);
  background: var(--bezel);
  box-shadow: var(--frame-shadow);
  opacity: 0;
}
.pane {
  position: absolute; inset: var(--fw);
  border-radius: var(--pr);
  overflow: hidden; isolation: isolate;
  container-type: size;
  background: #E9C68A;
}

/* the lit room, shared by the window and the video poster; sized to its frame with cq units */
.room {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(40cqh 40cqh at 21% 24cqh, rgba(255, 246, 222, 0.9), rgba(255, 246, 222, 0) 72%),
    radial-gradient(115% 92% at 50% 36%, #F7E2B3 0%, #EFC98A 40%, #DEA567 76%, #C98A5D 100%);
}
.room > * { position: absolute; }
.room svg { display: block; overflow: visible; }
.room .sheet { left: 7%; top: 5cqh; width: 86%; height: 82cqh; }
.room .lamp { left: 21%; top: 0; height: min(34cqh, 50cqw); aspect-ratio: 1 / 2; transform: translateX(-50%); }
.room .picture { right: 15%; top: 17cqh; height: 17cqh; aspect-ratio: 4 / 5; transform: rotate(2.5deg); transition: opacity 0.5s; }
.room .sill { left: 0; bottom: 0; width: 100%; height: 11cqh; overflow: hidden; }
.room .books { left: 17%; bottom: 9.9cqh; height: 7.6cqh; aspect-ratio: 20 / 9; transition: opacity 0.5s; }
.room .plant { right: 13%; bottom: 9.9cqh; height: min(25cqh, 30cqw); aspect-ratio: 220 / 320; }
.room .eave-shadow {
  left: 50%; bottom: 8.2cqh; width: min(30cqh, 46cqw); height: 3.4cqh;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(96, 52, 30, 0.38), rgba(96, 52, 30, 0));
}
.room .eave-seat { left: 50%; bottom: 8.8cqh; width: min(35cqh, 54cqw); aspect-ratio: 648 / 520; transform: translateX(-50%); }
.eave-peek, .eave-breathe { width: 100%; height: 100%; transform-origin: 50% 94%; }
.eave-breathe { animation: breathe 5.2s ease-in-out infinite; }
.eave-seat svg { width: 100%; height: 100%; transform-origin: 50% 92%; }
@keyframes breathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.012, 0.985); }
}
@container (max-aspect-ratio: 11 / 10) {
  .room .picture, .room .books { opacity: 0; }
}

.title-block {
  position: absolute; left: 0; right: 0; top: 21cqh; z-index: 1;
  padding-inline: 13%; /* clear of the open curtains */
  text-align: center;
}
.title {
  margin: 0;
  font: 400 min(27cqh, 38cqw)/0.9 var(--serif);
  letter-spacing: -0.015em;
  color: var(--navy);
}
.tagline {
  margin: 2cqh 0 0;
  font: italic 400 max(14px, min(4.2cqh, 4.6cqw))/1.3 var(--serif);
  color: rgba(47, 54, 82, 0.88);
  text-wrap: balance;
}
.motion .title, .motion .tagline { opacity: 0; }
@container (max-aspect-ratio: 5 / 6) {
  .title-block { top: 30cqh; }
}

.curtain { position: absolute; top: 2.4cqh; height: 87.8cqh; width: calc(50% + 14px); z-index: 2; will-change: transform; }
.curtain svg { display: block; width: 100%; height: 100%; overflow: visible; }
.curtain-l { left: 0; transform-origin: 0 50%; }
.curtain-r { right: 0; transform-origin: 100% 50%; }
.rod {
  position: absolute; z-index: 3; left: 1.6%; right: 1.6%; top: 2.1cqh;
  height: max(3px, 0.75cqh); border-radius: 99px;
  background: #262B41; box-shadow: 0 2px 4px rgba(60, 30, 20, 0.25);
}
.rod::before, .rod::after {
  content: ''; position: absolute; top: 50%;
  width: max(9px, 2.2cqh); aspect-ratio: 1; border-radius: 50%;
  background: #262B41; transform: translateY(-50%);
}
.rod::before { left: -3px; }
.rod::after { right: -3px; }
.glass {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(255, 255, 255, 0.07) 18% 26%, transparent 26% 29%, rgba(255, 255, 255, 0.05) 29% 31.5%, transparent 31.5%),
    linear-gradient(180deg, rgba(47, 54, 82, 0.14), rgba(47, 54, 82, 0) 30%);
  box-shadow: inset 0 3px 10px rgba(60, 35, 20, 0.28), inset 0 0 0 1px rgba(60, 35, 20, 0.12);
}

/* paper texture and film grain over the opening */
.fibers {
  position: absolute; inset: 0; pointer-events: none;
  background-image: var(--fibers); background-size: 320px;
  mix-blend-mode: multiply; opacity: 0.85;
}
.grain {
  position: absolute; inset: -80px; pointer-events: none;
  background-image: var(--grain); background-size: 170px;
  mix-blend-mode: soft-light; opacity: 0.5;
  animation: grain 1.1s steps(1) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-37px, 21px); }
  33% { transform: translate(26px, -43px); }
  50% { transform: translate(-18px, -11px); }
  67% { transform: translate(41px, 33px); }
  83% { transform: translate(-29px, 46px); }
}

.hint {
  position: absolute; left: 50%; bottom: max(12px, 1.8vh);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(239, 230, 214, 0.75);
  font: 500 10.5px/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
}
.hint span { margin-right: -0.28em; }
.hint i {
  display: block; width: 1px; height: 20px;
  background: linear-gradient(rgba(239, 230, 214, 0.8), rgba(239, 230, 214, 0));
  transform-origin: top;
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- lead ---------- */

.lead { padding-block: clamp(96px, 13vw, 170px) 0; }
.lead-text {
  margin: 0; max-width: 21em;
  font: 400 clamp(28px, 3.3vw, 46px)/1.16 var(--serif);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.index { margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.index-group {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 12px 24px; align-items: center;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.index-label {
  margin: 0;
  font: 500 12.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.index ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 30px; }
.index-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15.5px; color: var(--ink); text-decoration: none;
  transition: color 0.25s;
}
a.index-item:hover { text-decoration: underline; text-decoration-color: rgba(47, 54, 82, 0.35); text-underline-offset: 4px; }
.index-item.is-soon { color: var(--ink-soft); }
.logo { flex: none; width: 18px; height: 18px; }
.is-soon .logo { opacity: 0.75; }
.soon {
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--line);
  font: 500 10.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 640px) {
  .index-group { grid-template-columns: minmax(0, 1fr); }
}
.dot {
  display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--tone, var(--clay));
  box-shadow: inset 0 0 0 1px rgba(47, 54, 82, 0.12);
}
.is-spaces .dot, #spaces .dot { background: conic-gradient(var(--marigold) 0 33%, var(--blush) 0 66%, var(--navy) 0); }

/* ---------- features ---------- */

.features {
  display: grid; gap: clamp(110px, 15vw, 200px);
  padding-block: clamp(110px, 14vw, 190px);
}
.features:focus { outline: none; }
.feature {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
  scroll-margin-top: calc(var(--nav-h) + 48px);
}
.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature:nth-child(even) .feature-text { order: 2; }
.feature-text { display: grid; gap: 16px; justify-items: start; }
.label {
  margin: 0; display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft);
}
.feature h3 {
  margin: 0;
  font: 400 clamp(32px, 3.4vw, 48px)/1.04 var(--serif);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.feature p:not(.label) { margin: 0; max-width: 34em; color: var(--ink-soft); }
.feature .try { font-size: 15px; color: var(--ink); }
.feature .try::before { content: '^ ^'; margin-right: 10px; font-weight: 600; letter-spacing: 0.08em; color: var(--stamp); }

.shot { position: relative; margin: 0; isolation: isolate; }
.shot-frame {
  position: relative;
  padding: var(--bez); border-radius: var(--frame-r);
  background: var(--bezel); box-shadow: var(--frame-shadow);
}
.shot-screen {
  position: relative; aspect-ratio: var(--ar, 16 / 10); overflow: hidden;
  border-radius: calc(var(--frame-r) - var(--bez));
  background: var(--paper);
}
.shot img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.shot.is-loaded .standin { display: none; }
.standin {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 10px;
  padding: 24px; text-align: center;
  background: radial-gradient(120% 100% at 25% 15%, color-mix(in srgb, var(--tone) 14%, var(--paper)), color-mix(in srgb, var(--tone) 32%, var(--paper)));
}
.standin .ph {
  padding: 6px 10px; border-radius: 8px;
  background: rgba(247, 241, 230, 0.88); border: 1px solid var(--line);
  font: 500 12.5px/1.3 var(--mono); color: var(--ink);
  overflow-wrap: anywhere;
}
.standin .ph-note { max-width: 28ch; font-size: 14px; color: var(--ink-soft); }
.scrap { position: absolute; z-index: -1; width: 36%; height: auto; aspect-ratio: 300 / 220; pointer-events: none; overflow: visible; }
.scrap-0 { right: -4%; top: -9%; transform: rotate(5deg); }
.scrap-1 { left: -5%; bottom: -10%; width: 30%; transform: rotate(-7deg); }
.scrap-2 { right: 12%; bottom: -12%; width: 22%; transform: rotate(4deg); }
.feature:nth-child(even) .scrap-0 { right: auto; left: -4%; transform: rotate(-5deg); }

@media (max-width: 820px) {
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-text { order: 0; }
}

/* ---------- FAQ ---------- */

.faq { padding-block: clamp(90px, 11vw, 150px); border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h); }
.faq-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 6vw, 96px); align-items: start;
}
.section-title {
  margin: 0;
  font: 400 clamp(40px, 4.4vw, 62px)/1 var(--serif);
  letter-spacing: -0.01em;
  position: sticky; top: calc(var(--nav-h) + 32px);
}
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 400 clamp(22px, 2vw, 27px)/1.25 var(--serif);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline-offset: 6px; }
.plus { position: relative; flex: none; width: 14px; height: 14px; color: var(--ink-soft); }
.plus::before, .plus::after {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1.5px; margin-top: -0.75px; background: currentColor;
  transition: transform 0.35s ease;
}
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
.qa details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.45s cubic-bezier(0.3, 0.7, 0.2, 1), content-visibility 0.45s allow-discrete;
}
.qa details[open]::details-content { block-size: auto; }
.answer { padding-bottom: 26px; }
.answer p { margin: 0; max-width: 60ch; color: var(--ink-soft); }

@media (max-width: 820px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .section-title { position: static; }
}

/* ---------- footer ---------- */

.foot { position: relative; margin-top: clamp(90px, 10vw, 130px); background: var(--navy); color: var(--cream); }
.foot-edge { position: absolute; left: 0; bottom: calc(100% - 2px); display: block; width: 100%; height: 30px; }
.foot-eave { position: absolute; right: 12%; bottom: calc(100% + 13px); width: clamp(62px, 6.5vw, 88px); }
.foot-eave svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 92%; }
.zz {
  position: absolute; left: 82%; bottom: 70%;
  font: italic 400 20px/1 var(--serif); color: var(--ink-soft);
  transition: opacity 0.6s;
}
.zz i { position: absolute; left: 0; bottom: 0; font-style: normal; opacity: 0; animation: zz 4.2s ease-out infinite; }
.zz i:nth-child(2) { animation-delay: 1.4s; }
.zz i:nth-child(3) { animation-delay: 2.8s; }
@keyframes zz {
  0% { opacity: 0; transform: translate(0, 0) scale(0.6); }
  20% { opacity: 0.8; }
  100% { opacity: 0; transform: translate(22px, -46px) scale(1.15); }
}
.foot.is-awake .zz { opacity: 0; }

.foot-cta { display: grid; justify-items: start; gap: 26px; padding-block: clamp(84px, 10vw, 130px) clamp(56px, 7vw, 90px); }
.foot-cta h2 {
  margin: 0; max-width: 12em;
  font: 400 clamp(38px, 5vw, 72px)/1.02 var(--serif);
  letter-spacing: -0.01em; text-wrap: balance;
}
.foot-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.foot .meta { color: rgba(239, 230, 214, 0.66); }
.foot-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(239, 230, 214, 0.14);
  font-size: 14px; color: rgba(239, 230, 214, 0.7);
}
.foot-bar a { text-decoration: none; transition: color 0.25s; }
.foot-bar a:hover { color: var(--cream); }
.foot-brand { font: 400 24px/1 var(--serif); color: var(--cream); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- the "Copied" stamp ---------- */

.stamps { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.stamp {
  position: fixed; left: 0; top: 0;
  display: grid; justify-items: center; gap: 2px;
  padding: 11px 18px 10px;
  border: 2.5px solid currentColor; border-radius: 12px;
  outline: 1.2px solid currentColor; outline-offset: -7px;
  color: var(--stamp);
  transform: translate(-50%, -50%);
  -webkit-mask-image: var(--speckle); mask-image: var(--speckle);
  -webkit-mask-size: 140px; mask-size: 140px;
}
.stamp-eyes { font: 600 11px/1 var(--sans); letter-spacing: 0.22em; margin-right: -0.22em; }
.stamp-word { font: 600 17px/1.15 var(--sans); letter-spacing: 0.24em; margin-right: -0.24em; text-transform: uppercase; }
.stamp-date { font: 500 9.5px/1 var(--mono); letter-spacing: 0.12em; }

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .opening { transition: none; }
  .grain, .fly, .eave-breathe, .hint i, .zz i { animation: none; }
  .fly { display: none; }
  .zz i:first-child { opacity: 0.7; transform: translate(6px, -12px); }
}
