/*
  Owlise Software
  night (default) and day palettes, owl eyes, feather-scallop edges
*/

:root {
  --midnight: #14122B;
  --amber: #F5A524;
  --beige: #E9DFC9;
  --plum: #3B2F63;

  --bg: #14122B;
  --bg-alt: #1D1A3C;
  --ink: #E9DFC9;
  --ink-soft: #C9C0DA;
  --link: #F5A524;
  --hair: rgba(233, 223, 201, .24);
  --eye-white: #E9DFC9;
  --pupil-scale: 1;
  --field: #221E45;

  --serif: "Gloock", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --perch-w: 264px;
  --scallop: 26px;
}

html[data-mode="day"] {
  --bg: #E9DFC9;
  --bg-alt: #F5EFE1;
  --ink: #14122B;
  --ink-soft: #453D63;
  --link: #3B2F63;
  --hair: rgba(20, 18, 43, .22);
  --eye-white: #FFFFFF;
  --pupil-scale: .62;
  --field: #FFFDF8;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--bg); }
body {
  margin: 0;
  padding-right: var(--perch-w);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  transition: background-color .35s, color .35s;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
p { margin: 0 0 1.05em; }
a { color: var(--link); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 6px; }
html[data-mode="day"] :focus-visible { outline-color: var(--plum); }
html[data-mode="day"] .perch :focus-visible, html[data-mode="day"] .deep :focus-visible, html[data-mode="day"] .roost :focus-visible { outline-color: var(--amber); }
.sr-note { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ============ the perch: right-hand sidebar ============ */
.perch {
  position: fixed;
  z-index: 40;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--perch-w);
  display: flex;
  flex-direction: column;
  padding: 34px 26px 28px 30px;
  background: var(--plum);
  color: var(--beige);
}
.perch::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 16px;
  background-image: radial-gradient(circle at 16px 20px, var(--plum) 15.5px, transparent 16.5px);
  background-size: 16px 40px;
  background-repeat: repeat-y;
}
.perch-brand { display: flex; align-items: center; gap: 12px; color: var(--beige); text-decoration: none; font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.perch-brand small { display: block; margin-top: 5px; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); }
.mini-owl { display: inline-flex; gap: 3px; flex: none; }
.mini-owl i { width: 22px; height: 22px; border-radius: 50%; background: var(--beige); border: 6px solid var(--amber); box-shadow: inset 0 0 0 3px var(--midnight); background-clip: padding-box; background-color: var(--midnight); }

.perch-nav { margin-top: 46px; display: grid; gap: 4px; }
.perch-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 6px 12px;
  margin: 0 -12px;
  border-radius: 26px 26px 26px 6px;
  color: var(--beige);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.25;
}
.perch-nav a:hover { background: rgba(233, 223, 201, .12); }
.perch-nav a[aria-current="page"] { background: var(--midnight); color: var(--amber); font-weight: 600; }
.phase { position: relative; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--beige); overflow: hidden; box-shadow: 0 0 0 2px rgba(233, 223, 201, .35); }
.phase::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: #2A2150; transform: translateX(var(--wane, 0%)); }
.phase.p1 { --wane: 0%; }
.phase.p2 { --wane: 30%; }
.phase.p3 { --wane: 52%; }
.phase.p4 { --wane: 74%; }
.phase.p5 { --wane: 110%; }

.mode-switch {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid rgba(233, 223, 201, .45);
  border-radius: 999px;
  background: transparent;
  color: var(--beige);
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 600;
  cursor: pointer;
}
.mode-switch:hover { border-color: var(--amber); }
.mode-icon { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset -7px 2px 0 0 var(--amber); transition: box-shadow .3s, background-color .3s; }
html[data-mode="day"] .mode-icon { background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 165, 36, .35); }
.perch-foot { margin: 16px 0 0; font-size: .86rem; color: #CFC6E2; }
.perch-toggle { display: none; }

/* ============ sky: page content ============ */
.layer {
  --here: var(--bg);
  position: relative;
  background: var(--here);
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px);
  transition: background-color .35s;
}
.layer.alt { --here: var(--bg-alt); }
.layer.deep { --here: var(--plum); --ink: #E9DFC9; --ink-soft: #D6CDE8; --link: #F5A524; --hair: rgba(233, 223, 201, .28); --field: #2C2350; color: var(--ink); }
.plume::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  height: var(--scallop);
  background-image: radial-gradient(circle at var(--scallop) 0, var(--here) calc(var(--scallop) - .5px), transparent calc(var(--scallop) + .5px));
  background-size: calc(var(--scallop) * 2) var(--scallop);
  background-repeat: repeat-x;
  pointer-events: none;
}
.plume + .layer { padding-top: calc(clamp(56px, 8vw, 104px) + var(--scallop)); }
.inner { max-width: 940px; margin: 0 auto; }
.inner.narrow { max-width: 720px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.38rem); line-height: 1.55; }
.soft { color: var(--ink-soft); }

.hoot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 30px 30px 30px 6px;
  background: var(--amber);
  color: var(--midnight);
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, border-radius .2s;
}
.hoot:hover { transform: translateY(-3px); border-radius: 30px; }
.hoot.quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.hoots { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ hero with the owl ============ */
.dusk { overflow: hidden; text-align: center; padding-top: clamp(40px, 6vw, 70px); }
.dusk.plume { overflow: visible; }
.heavens { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.heavens i { position: absolute; width: 14px; height: 14px; background: var(--beige); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.heavens i:nth-child(1) { left: 8%; top: 22%; }
.heavens i:nth-child(2) { left: 18%; top: 58%; width: 9px; height: 9px; }
.heavens i:nth-child(3) { left: 84%; top: 16%; width: 18px; height: 18px; background: var(--amber); }
.heavens i:nth-child(4) { left: 91%; top: 48%; width: 9px; height: 9px; }
.heavens i:nth-child(5) { left: 71%; top: 70%; width: 11px; height: 11px; }
.heavens i:nth-child(6) { left: 30%; top: 12%; width: 8px; height: 8px; }
.heavens b { position: absolute; left: 6%; top: 40px; width: clamp(44px, 7vw, 78px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset -16px 6px 0 0 var(--beige); transition: box-shadow .4s, background-color .4s; }
html[data-mode="day"] .heavens i { display: none; }
html[data-mode="day"] .heavens b { background: var(--amber); box-shadow: 0 0 0 12px rgba(245, 165, 36, .28), 0 0 0 26px rgba(245, 165, 36, .14); }

.owl { position: relative; display: inline-flex; justify-content: center; gap: clamp(16px, 3vw, 38px); padding: clamp(26px, 4vw, 50px) clamp(10px, 2vw, 26px) clamp(24px, 4vw, 44px); }
.eye {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(116px, 21vw, 250px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--eye-white);
  box-shadow: 0 0 0 clamp(8px, 1.5vw, 18px) var(--plum), 0 0 0 clamp(11px, 1.9vw, 23px) var(--amber);
  overflow: hidden;
  transition: background-color .35s;
}
.eye::after { content: ""; position: absolute; inset: 0; background: var(--plum); transform-origin: top; transform: scaleY(0); animation: blink 7s infinite; }
.eye:nth-child(2)::after { animation-delay: .04s; }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }
.iris { display: grid; place-items: center; width: 66%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #F5A524 0 52%, #D2860C 100%); }
.pupil { position: relative; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--midnight); transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--pupil-scale)); transition: transform .12s ease-out; }
.pupil::after { content: ""; position: absolute; left: 18%; top: 16%; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #FFF8E8; }
.beak { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; margin-left: clamp(-22px, -1.8vw, -12px); border-left: clamp(12px, 1.8vw, 22px) solid transparent; border-right: clamp(12px, 1.8vw, 22px) solid transparent; border-top: clamp(20px, 3vw, 36px) solid var(--amber); }
.tuft { position: absolute; top: 0; width: clamp(40px, 7vw, 86px); height: clamp(22px, 3.6vw, 44px); background: var(--plum); }
.tuft.l { left: 2%; clip-path: polygon(0 0, 100% 100%, 20% 100%); }
.tuft.r { right: 2%; clip-path: polygon(100% 0, 80% 100%, 0 100%); }

.dusk h1 { max-width: 15em; margin: clamp(22px, 3vw, 36px) auto 0; }
.dusk .lede { max-width: 36em; margin: 22px auto 30px; }
.dusk .hoots { justify-content: center; }
.watching { max-width: 34em; margin: 38px auto 0; padding: 20px 26px; border: 2px dashed var(--hair); border-radius: 30px 30px 30px 6px; text-align: left; }
.watching h2 { font-size: 1.35rem; margin-bottom: 6px; }
.watching p { margin: 0; color: var(--ink-soft); }

/* small owl peeking on inner pages */
.peek { text-align: left; padding-top: clamp(34px, 5vw, 56px); padding-bottom: clamp(40px, 6vw, 70px); }
.peek .inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 40px; }
.peek .owl { padding: 26px 14px 26px; }
.peek .eye { width: clamp(70px, 9vw, 104px); box-shadow: 0 0 0 7px var(--plum), 0 0 0 10px var(--amber); }
.peek .beak { border-left-width: 9px; border-right-width: 9px; border-top-width: 16px; margin-left: -9px; }
.peek .tuft { width: 34px; height: 18px; }
.peek h1 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); }
.peek .lede { margin: 18px 0 0; max-width: 34em; }

/* ============ branches: service rows ============ */
.branches { margin-top: 40px; display: grid; gap: 0; }
.branch {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 28px;
  padding: 30px 0;
  border-top: 2px dotted var(--hair);
  color: var(--ink);
  text-decoration: none;
}
.branch:last-child { border-bottom: 2px dotted var(--hair); }
.branch:nth-child(even) { padding-left: clamp(0px, 7vw, 90px); }
.branch .moon { width: 64px; height: 64px; }
.branch h3 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); transition: color .2s; }
.branch p { margin: 8px 0 0; color: var(--ink-soft); max-width: 36em; }
.branch .fly { font-weight: 700; color: var(--link); white-space: nowrap; }
.branch:hover h3 { color: var(--link); }
.branch:hover .fly { text-decoration: underline; }
.moon { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--beige); overflow: hidden; box-shadow: 0 0 0 3px var(--amber); }
.moon::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; background: var(--plum); transform: translateX(var(--wane, 30%)); }
.deep .moon::after { background: var(--midnight); }

/* ============ night line: the enquiry steps ============ */
.nightline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.nightline li { position: relative; padding: 34px 22px 0 0; border-top: 2px solid var(--hair); min-width: 0; }
.nightline li::before { content: ""; position: absolute; left: 0; top: -9px; width: 16px; height: 16px; background: var(--amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.nightline .hour { display: block; margin-bottom: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--link); }
.nightline h3 { margin-bottom: 8px; }
.nightline p { margin: 0; color: var(--ink-soft); }

.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.callout h2 { max-width: 15em; }
.callout p { margin: 12px 0 0; max-width: 32em; color: var(--ink-soft); }

/* ============ inner page furniture ============ */
.twin { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.twin > * { min-width: 0; }
.prose h2 { margin: 1.5em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.1em; padding: 0; list-style: none; }
.prose li { position: relative; padding: 0 0 10px 30px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; background: var(--amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }

.nest { padding: 28px 28px 30px; border-radius: 40px 40px 40px 8px; background: var(--bg-alt); border: 2px solid var(--hair); }
.alt .nest { background: var(--bg); }
.deep .nest { background: rgba(20, 18, 43, .35); }
.nest h2, .nest h3 { font-size: 1.45rem; margin-bottom: 14px; }
.nest ul { list-style: none; margin: 0; padding: 0; }
.nest li { padding: 11px 0; border-top: 1px solid var(--hair); }
.nest li:first-child { border-top: 0; padding-top: 0; }
.nest li:last-child { padding-bottom: 0; }

.stars-path { list-style: none; margin: 34px 0 0; padding: 0; counter-reset: s; }
.stars-path li { counter-increment: s; position: relative; padding: 0 0 30px 64px; }
.stars-path li::before { content: counter(s); position: absolute; left: 0; top: -4px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--midnight); font-family: var(--serif); font-size: 1.25rem; }
.stars-path li::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; border-left: 2px dotted var(--hair); }
.stars-path li:last-child { padding-bottom: 0; }
.stars-path li:last-child::after { display: none; }
.stars-path h3 { margin-bottom: 6px; }
.stars-path p { margin: 0; color: var(--ink-soft); }

.daynight { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-radius: 40px 40px 40px 8px; overflow: hidden; border: 2px solid var(--hair); }
.daynight > div { padding: clamp(22px, 4vw, 40px); min-width: 0; }
.daynight .by-hand { background: #E9DFC9; color: #14122B; }
.daynight .by-machine { background: #14122B; color: #E9DFC9; }
.daynight h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.daynight h3::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; }
.daynight .by-hand h3::before { background: var(--amber); box-shadow: 0 0 0 5px rgba(245, 165, 36, .35); }
.daynight .by-machine h3::before { box-shadow: inset -8px 2px 0 0 var(--amber); }
.daynight ul { list-style: none; margin: 0; padding: 0; }
.daynight li { padding: 9px 0; border-top: 1px solid rgba(128, 120, 150, .4); }
.daynight li:first-child { border-top: 0; }

.asks { margin: 36px 0 0; display: grid; gap: 18px; }
.ask { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 6px 22px; padding: 26px 28px; border-radius: 40px 40px 40px 8px; background: var(--bg-alt); border: 2px solid var(--hair); }
.alt .ask { background: var(--bg); }
.ask .moon { grid-row: span 2; margin-top: 4px; }
.ask h3 { align-self: center; }
.ask p { margin: 0; color: var(--ink-soft); grid-column: 2; }

/* ============ contact ============ */
.owlform .slot { margin-bottom: 22px; }
.owlform label { display: block; margin-bottom: 8px; font-weight: 600; }
.owlform input, .owlform select, .owlform textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--hair);
  border-radius: 22px 22px 22px 6px;
  background: var(--field);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.4;
}
.owlform textarea { min-height: 180px; resize: vertical; }
.owlform input:focus-visible, .owlform select:focus-visible, .owlform textarea:focus-visible { border-color: var(--amber); outline-offset: 2px; }
.owlform .flagged { border-color: var(--amber); border-style: dashed; }
.owlform .hint-bad { margin: 8px 0 0; font-weight: 600; color: var(--link); }
.owlform .sendbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.owlform .sendbar p { margin: 0; flex: 1 1 250px; color: var(--ink-soft); font-size: 1rem; }
.owlform .handed { margin: 18px 0 0; padding: 14px 20px; border-left: 5px solid var(--amber); background: var(--bg-alt); border-radius: 0 20px 20px 0; }
.alt .owlform .handed { background: var(--bg); }

.card-rows { margin: 0; }
.card-rows > div { padding: 14px 0; border-top: 1px solid var(--hair); }
.card-rows > div:first-child { border-top: 0; padding-top: 0; }
.card-rows dt { font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.card-rows dd { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; overflow-wrap: anywhere; }

/* ============ roost: footer ============ */
.roost { --here: #0D0B1F; position: relative; background: var(--here); color: #E9DFC9; padding: calc(clamp(44px, 7vw, 80px) + var(--scallop)) clamp(20px, 5vw, 64px) 44px; }
.roost::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: var(--scallop);
  background-image: radial-gradient(circle at var(--scallop) var(--scallop), var(--here) calc(var(--scallop) - .5px), transparent calc(var(--scallop) + .5px));
  background-size: calc(var(--scallop) * 2) var(--scallop);
  background-repeat: repeat-x;
}
.roost .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 34px 60px; }
.roost .inner > * { min-width: 0; }
.roost .perch-brand { display: inline-flex; }
.roost p { color: #C9C0DA; margin: 16px 0 20px; max-width: 26em; }
.roost ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.roost a { color: #E9DFC9; }
.roost a:hover { color: var(--amber); }
.roost dl { margin: 0; }
.roost dl div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(233, 223, 201, .2); }
.roost dt { color: #C9C0DA; font-size: .95rem; }
.roost dd { margin: 0; overflow-wrap: anywhere; }

/* ============ smaller screens: perch moves to the top ============ */
@media (max-width: 980px) {
  body { padding-right: 0; }
  .perch {
    position: sticky;
    top: 0;
    right: auto;
    bottom: auto;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 16px;
    box-shadow: 0 6px 18px rgba(13, 11, 31, .4);
  }
  .perch::before { display: none; }
  .perch-brand { font-size: 1.3rem; margin-right: auto; }
  .perch-brand small { font-size: .62rem; margin-top: 3px; }
  .mini-owl i { width: 18px; height: 18px; border-width: 5px; }
  .perch-foot { display: none; }
  .mode-switch { margin: 0; width: 48px; min-height: 48px; padding: 0; justify-content: center; order: 2; }
  .mode-switch [data-mode-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .perch-toggle {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 24px 24px 24px 6px;
    background: var(--amber);
    cursor: pointer;
  }
  .perch-toggle i, .perch-toggle i::before, .perch-toggle i::after { display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--midnight); }
  .perch-toggle i { position: relative; }
  .perch-toggle i::before, .perch-toggle i::after { content: ""; position: absolute; left: 0; transition: transform .2s; }
  .perch-toggle i::before { top: -7px; }
  .perch-toggle i::after { top: 7px; }
  .perch-toggle[aria-expanded="true"] i { background: transparent; }
  .perch-toggle[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
  .perch-toggle[aria-expanded="true"] i::after { transform: translateY(-7px) rotate(-45deg); }
  .perch-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px 16px 20px;
    background: var(--plum);
    border-top: 1px solid rgba(233, 223, 201, .25);
    box-shadow: 0 16px 22px rgba(13, 11, 31, .45);
  }
  .perch.is-open .perch-nav { display: grid; }
  .perch-nav a { margin: 0; min-height: 52px; font-size: 1.08rem; }

  .nightline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .twin { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  :root { --scallop: 18px; }
  body { font-size: 1rem; }
  .branch { grid-template-columns: 52px minmax(0, 1fr); padding: 24px 0; }
  .branch:nth-child(even) { padding-left: 0; }
  .branch .moon { width: 44px; height: 44px; align-self: start; margin-top: 4px; }
  .branch .fly { grid-column: 2; }
  .nightline { grid-template-columns: minmax(0, 1fr); }
  .peek .inner { grid-template-columns: minmax(0, 1fr); }
  .peek .owl { justify-self: start; order: -1; padding-left: 12px; }
  .daynight { grid-template-columns: minmax(0, 1fr); }
  .ask { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .ask .moon { grid-row: auto; }
  .ask p { grid-column: 1; }
  .roost .inner { grid-template-columns: minmax(0, 1fr); }
  .roost dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .heavens b { left: auto; right: 6%; top: 18px; }
  .hoots .hoot { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .eye::after { animation: none; }
  .pupil, .hoot, body, .layer, .eye, .mode-icon, .heavens b { transition: none; }
  .hoot:hover { transform: none; }
}
