:root {
  --night-soil: #100906;
  --deep-soil: #21120c;
  --cocoa: #4b2a18;
  --clay: #914b26;
  --orange: #e86b2d;
  --honey: #f3bd4d;
  --pollen: #ffe39a;
  --moss: #9eae59;
  --cream: #f8e9bd;
  --muted: #cbb687;
  --display: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Trebuchet MS", system-ui, sans-serif;
  --utility: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--night-soil); }
body { min-height: 100vh; margin: 0; color: var(--cream); font-family: var(--body); background: radial-gradient(circle at 11% 20%, rgba(243, 189, 77, .11) 0 2px, transparent 3px), radial-gradient(circle at 88% 70%, rgba(232, 107, 45, .1) 0 2px, transparent 3px), linear-gradient(145deg, #130b08, #21120c 62%, #160c08); background-size: 37px 37px, 29px 29px, auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pollen); outline-offset: 5px; }

.entrance-shell { min-height: calc(100vh - 52px); display: grid; grid-template-columns: minmax(320px, .85fr) minmax(520px, 1.15fr); align-items: stretch; }
.invitation { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding: clamp(2rem, 5.5vw, 6.5rem); border-right: 1px solid rgba(255, 227, 154, .18); background: linear-gradient(180deg, rgba(16, 9, 6, .96), rgba(33, 18, 12, .91)); }
.brand-line { display: flex; align-items: center; gap: .9rem; }
.brand-line p, .overline, .access-list, .window-label, footer { font-family: var(--utility); text-transform: uppercase; letter-spacing: .1em; }
.brand-line p { margin: 0; color: var(--muted); font-size: .7rem; }
.brand-line p span { color: var(--orange); }
.ant-mark { display: flex; align-items: center; gap: 2px; transform: rotate(-8deg); }
.ant-mark i { display: block; width: 9px; aspect-ratio: 1; border: 2px solid var(--pollen); border-radius: 50%; background: var(--orange); }
.ant-mark i:nth-child(2) { width: 12px; }
.ant-mark i:nth-child(3) { width: 16px; }

.overline { margin: 0 0 1.25rem; color: var(--honey); font-size: .72rem; }
h1 { max-width: 760px; margin: 0; font: 900 clamp(4.1rem, 7.4vw, 8.8rem)/.78 var(--display); letter-spacing: -.075em; }
h1 em { color: var(--orange); font-style: normal; }
.lede { max-width: 590px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; }

.access-panel { max-width: 600px; }
.enter-button { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; min-height: 74px; padding: 1rem 1.2rem 1rem 1.5rem; color: var(--night-soil); text-decoration: none; font: 900 clamp(1rem, 1.8vw, 1.25rem) var(--display); background: var(--honey); border: 2px solid var(--pollen); border-radius: 8px; box-shadow: 8px 8px 0 var(--clay); transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.enter-button b { display: grid; place-items: center; width: 44px; aspect-ratio: 1; border: 2px solid var(--night-soil); border-radius: 50%; font: 900 1.35rem var(--body); }
.enter-button:hover { transform: translate(3px, 3px); box-shadow: 5px 5px 0 var(--clay); background: var(--pollen); }
.access-list { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: .62rem; }
.access-list span { color: var(--moss); }

.nest-window { position: relative; min-height: 760px; display: grid; place-items: center; overflow: hidden; padding: clamp(3rem, 7vw, 8rem) clamp(1.5rem, 5vw, 6rem); background: linear-gradient(180deg, #18240f 0 4%, #4c2a18 4% 12%, #28150e 12% 100%); }
.nest-window::before, .nest-window::after { content: ""; position: absolute; border: 2px solid rgba(243, 189, 77, .14); border-radius: 50%; }
.nest-window::before { width: 48%; height: 32%; left: -18%; bottom: 9%; transform: rotate(-12deg); }
.nest-window::after { width: 64%; height: 22%; right: -24%; top: 16%; transform: rotate(8deg); }
.soil-cap { position: absolute; z-index: 2; top: 3.5%; left: 0; right: 0; height: 9%; border-top: 5px solid #6e923f; border-bottom: 3px solid #321a10; background: radial-gradient(ellipse at bottom, #7c4828 0 38%, transparent 40%) 0 0 / 74px 48px, linear-gradient(#52301d, #321a10); }
.soil-cap i { position: absolute; top: -13px; width: 3px; height: 18px; background: #8cac54; transform-origin: bottom; }
.soil-cap i:nth-child(1) { left: 9%; transform: rotate(-17deg); }
.soil-cap i:nth-child(2) { left: 27%; transform: rotate(10deg); }
.soil-cap i:nth-child(3) { left: 49%; transform: rotate(-8deg); }
.soil-cap i:nth-child(4) { left: 71%; transform: rotate(14deg); }
.soil-cap i:nth-child(5) { left: 91%; transform: rotate(-12deg); }

.nest-window figure { position: relative; z-index: 3; width: min(100%, 1040px); margin: 5% 0 0; padding: 12px; overflow: hidden; background: #090605; border: 1px solid var(--honey); border-radius: 50% 50% 8px 8px / 20% 20% 8px 8px; box-shadow: 0 0 0 9px var(--cocoa), 0 0 0 11px rgba(243, 189, 77, .22), 0 38px 100px rgba(0, 0, 0, .62); }
.nest-window figure::after { content: ""; position: absolute; inset: 48px 12px 86px; pointer-events: none; border-radius: 48% 48% 3px 3px / 18% 18% 3px 3px; box-shadow: inset 0 0 40px rgba(0, 0, 0, .64); }
.window-label { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .6rem .8rem; color: var(--honey); font-size: .62rem; }
.status::before { content: ""; display: inline-block; width: 7px; aspect-ratio: 1; margin-right: .45rem; border-radius: 50%; background: var(--moss); box-shadow: 0 0 0 4px rgba(158, 174, 89, .15); }
.nest-window img { display: block; width: 100%; min-height: 420px; object-fit: cover; border-radius: 48% 48% 3px 3px / 18% 18% 3px 3px; filter: saturate(.88) contrast(1.04); }
.nest-window figcaption { display: grid; gap: .2rem; padding: 1rem .7rem .5rem; }
.nest-window figcaption strong { color: var(--cream); font: 800 1.05rem var(--display); }
.nest-window figcaption span { color: var(--muted); font-size: .8rem; }
.trail { position: absolute; z-index: 4; right: 6%; bottom: 6%; display: flex; align-items: center; gap: 2px; animation: trail-walk 5s ease-in-out infinite alternate; }
.trail span { display: block; width: 8px; aspect-ratio: 1; border: 2px solid var(--pollen); border-radius: 50%; background: var(--orange); }
.trail span:nth-child(2) { width: 11px; }
.trail span:nth-child(3) { width: 14px; }
@keyframes trail-walk { to { transform: translate(-90px, -26px) rotate(-8deg); } }

footer { min-height: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.5rem; padding: .8rem clamp(1.25rem, 5vw, 4rem); color: var(--muted); font-size: .58rem; border-top: 1px solid rgba(255, 227, 154, .2); background: #090605; }
footer span:last-child { color: var(--honey); }

@media (max-width: 1000px) {
  .entrance-shell { grid-template-columns: 1fr; }
  .invitation { min-height: 760px; border-right: 0; border-bottom: 1px solid rgba(255, 227, 154, .18); }
  .nest-window { min-height: 680px; }
}

@media (max-width: 620px) {
  .invitation { min-height: 700px; padding: 2rem 1.25rem 3rem; gap: 2.4rem; }
  h1 { font-size: clamp(3.45rem, 18vw, 5.4rem); }
  .access-list { display: grid; grid-template-columns: 1fr 1fr; }
  .nest-window { min-height: 520px; padding: 5rem 1rem 3rem; }
  .nest-window figure { padding: 7px; border-radius: 34px 34px 6px 6px; box-shadow: 0 0 0 5px var(--cocoa), 0 24px 60px rgba(0, 0, 0, .6); }
  .nest-window figure::after { inset: 40px 7px 88px; border-radius: 26px 26px 2px 2px; }
  .nest-window img { min-height: 260px; border-radius: 26px 26px 2px 2px; }
  footer { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
