/*
  SKYWARD — a small, editable personal site
  Quick colour edits live in :root below.
*/
:root {
  color-scheme: light;
  --sky: #dcecf2;
  --sky-deep: #a9cbd9;
  --paper: #fffaf0;
  --paper-soft: #f8f0de;
  --ink: #263653;
  --muted: #68758a;
  --line: #344461;
  --blue: #789db4;
  --blue-light: #c7dce4;
  --gold: #f2bd58;
  --rose: #eaa897;
  --mint: #b7d8c5;
  --shadow: 5px 6px 0 rgba(38, 54, 83, .18);
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Trebuchet MS', Arial, sans-serif;
}

:root[data-theme="night"] {
  color-scheme: dark;
  --sky: #172338;
  --sky-deep: #283955;
  --paper: #24334d;
  --paper-soft: #2c3d58;
  --ink: #f2e9d4;
  --muted: #b7c3d1;
  --line: #9bb5c8;
  --blue: #9ec2d3;
  --blue-light: #435a75;
  --gold: #ffd174;
  --rose: #e7aa9e;
  --mint: #a9cfbd;
  --shadow: 5px 6px 0 rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background-color: var(--sky);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.68) 0 1px, transparent 1.8px),
    radial-gradient(circle at 70% 35%, rgba(255,255,255,.52) 0 1px, transparent 1.8px),
    radial-gradient(circle at 87% 81%, rgba(255,255,255,.5) 0 1px, transparent 2px),
    linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%);
  background-size: 47px 51px, 71px 63px, 89px 77px, auto;
  font: 16px/1.65 var(--body);
  transition: background-color .25s ease, color .25s ease;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px dashed var(--gold); outline-offset: 4px; }
button { font: inherit; }
::selection { color: #263653; background: #f2bd58; }

.skip-link {
  position: fixed; z-index: 10; top: 8px; left: 8px;
  padding: 8px 12px; transform: translateY(-160%);
  color: #fff; background: #263653; border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); }
.page-shell {
  width: min(1160px, calc(100% - 36px));
  min-height: calc(100vh - 44px);
  margin: 22px auto;
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  border: 2px solid var(--line);
  background: var(--paper);
  box-shadow: 9px 10px 0 rgba(38,54,83,.12);
}
.sidebar {
  position: sticky; top: 0; align-self: start;
  min-height: 100vh; padding: 28px 19px 22px;
  display: flex; flex-direction: column;
  border-right: 2px solid var(--line);
  background: var(--paper-soft);
}
.wordmark {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink); text-decoration: none;
  font: bold 23px/.98 var(--display); letter-spacing: -.5px;
}
.wordmark-star { color: #d88c46; font: 28px/1 var(--body); transform: rotate(-12deg); }
.side-note { margin: 12px 0 0 37px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.sidebar-art {
  height: 145px; margin: 22px 0 18px; position: relative; overflow: hidden;
  border: 1.5px solid var(--line); border-radius: 47% 47% 8px 8px;
  background: linear-gradient(180deg, #a6c9dc 0%, #dce7d6 74%, #f2ca75 75%, #f2ca75 100%);
}
:root[data-theme="night"] .sidebar-art { background: linear-gradient(180deg, #1d2a45, #46536a 76%, #d39d69 77%); }
.side-sun { position: absolute; right: 24px; top: 22px; color: #f5c45e; font-size: 43px; line-height: 1; }
.side-moon { position: absolute; left: 24px; top: 26px; color: #f6efd9; font-size: 26px; }
.side-star { position: absolute; color: #fff8dc; }
.star-one { left: 78px; top: 19px; font-size: 16px; }
.star-two { left: 115px; top: 47px; font-size: 12px; }
.side-cloud { position: absolute; z-index: 1; left: 19px; bottom: 23px; color: #fffaf0; font-size: 45px; line-height: .8; text-shadow: 0 2px 0 rgba(38,54,83,.13); }
.side-orbit { position: absolute; left: 11px; right: 10px; top: 53px; height: 50px; border: 1px dashed rgba(38,54,83,.5); border-radius: 50%; transform: rotate(-18deg); }
.site-nav { display: grid; gap: 5px; }
.nav-label, .tiny-label, .eyebrow {
  margin: 0; color: var(--muted); font-size: 10px; font-weight: bold;
  letter-spacing: 1.35px; line-height: 1.4; text-transform: uppercase;
}
.nav-label { padding: 0 7px 5px; }
.site-nav a {
  padding: 7px 8px; border: 1px solid transparent; border-radius: 4px;
  color: var(--ink); text-decoration: none; font-size: 13px; transition: background .15s ease, transform .15s ease;
}
.site-nav a span { display: inline-block; width: 23px; color: #ca8952; font-size: 15px; text-align: center; }
.site-nav a:hover { transform: translateX(3px); border-color: var(--line); background: var(--paper); }
.sidebar-note-card { margin-top: auto; padding: 12px 12px 13px; border: 1px dashed var(--line); background: var(--paper); }
.sidebar-note-card p { margin: 8px 0 0; font: 15px/1.45 var(--display); }
.sidebar-note-card p span { color: #7f94b4; }
.sidebar-footer { margin: 17px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; text-align: center; }
.sidebar-footer span { color: #c78f51; letter-spacing: 4px; }

.main-content { min-width: 0; padding: 20px 27px 17px; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 17px; color: var(--muted); font-size: 9px; font-weight: bold; letter-spacing: 1.5px; }
.topline > span span { padding: 0 4px; color: #d0924f; }
.theme-toggle {
  flex: 0 0 auto; display: inline-flex; gap: 7px; align-items: center;
  padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 99px;
  color: var(--ink); background: var(--paper); cursor: pointer; font-size: 11px; font-weight: bold;
}
.theme-toggle:hover { background: var(--paper-soft); }
.mode-icon { color: #d1934c; font-size: 15px; line-height: 1; }
.panel { position: relative; border: 1.5px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.hero {
  min-height: 322px; display: grid; grid-template-columns: 1.03fr .97fr;
  align-items: center; overflow: hidden; padding: 30px 33px;
  background: linear-gradient(111deg, var(--paper) 0 55%, var(--blue-light) 55% 100%);
}
.hero::before, .hero::after { position: absolute; z-index: 1; color: #fff7d7; content: '✦'; }
.hero::before { top: 18px; right: 23px; font-size: 19px; }
.hero::after { top: 42px; right: 55px; font-size: 11px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { letter-spacing: 1.55px; }
.hero .eyebrow { color: #b87543; }
.hero h1 { margin: 12px 0 13px; font: 500 clamp(40px, 5vw, 61px)/.99 var(--display); letter-spacing: -2.3px; }
.hero h1 em { color: #c37d56; font-weight: 500; }
.hero-intro { max-width: 375px; margin: 0; color: var(--muted); font-size: 14px; }
.hero-intro strong { color: var(--ink); }
.button-link {
  display: inline-block; margin-top: 19px; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 3px; color: #fffdf5;
  background: #394b68; box-shadow: 3px 3px 0 var(--gold);
  text-decoration: none; font-size: 12px; font-weight: bold; transition: transform .15s ease, box-shadow .15s ease;
}
.button-link:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--gold); }
.button-link span { padding-left: 7px; color: #ffdb83; }
.hero-art { min-height: 260px; position: relative; display: grid; place-items: center; }
.hero-halo { position: absolute; width: 235px; height: 235px; border: 1px dashed rgba(38,54,83,.39); border-radius: 50%; transform: rotate(-21deg) scaleY(.72); }
.hero-halo::before { position: absolute; top: 19px; right: 21px; width: 10px; height: 10px; border: 2px solid var(--line); border-radius: 50%; background: var(--gold); content: ''; }
.hero-sun { position: absolute; z-index: 1; top: 28px; left: calc(50% - 39px); width: 80px; height: 80px; display: grid; place-items: center; border-radius: 50%; color: #fff8dc; background: #e6b759; box-shadow: 0 0 0 10px rgba(242,189,88,.19), 0 0 0 20px rgba(242,189,88,.1); font-size: 61px; line-height: 1; }
.hero-cloud { position: absolute; overflow: visible; }
.hero-cloud path { fill: #fffaf0; stroke: var(--line); stroke-width: 2.4px; }
.cloud-back { z-index: 2; width: 160px; left: 9%; top: 94px; transform: rotate(-5deg); }
.cloud-front { z-index: 2; width: 175px; right: 2%; top: 116px; transform: rotate(5deg); }
.hero-caption { position: absolute; z-index: 3; right: 10px; bottom: 14px; padding: 6px 10px; border: 1px dashed var(--line); color: var(--ink); background: var(--paper); font: italic 12px/1.35 var(--display); text-align: center; transform: rotate(-2deg); }
.hero-spark { position: absolute; z-index: 3; color: #f4c65d; }
.spark-a { top: 61px; right: 11%; font-size: 19px; }
.spark-b { top: 15%; left: 12%; font-size: 16px; }
.spark-c { right: 18%; top: 39%; font-size: 31px; }
.corner-stamp { position: absolute; z-index: 4; top: 17px; left: 17px; width: 43px; height: 43px; display: grid; place-content: center; border: 1px solid #b47f50; border-radius: 50%; color: #a96349; background: #fff2d2; font: bold 9px/1.1 var(--body); text-align: center; transform: rotate(-11deg); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(210px, .76fr); gap: 17px; margin-top: 20px; align-items: start; }
.about-panel, .now-card, .sky-panel, .creatures-panel, .hello-panel { padding: 18px 20px; }
.section-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.section-icon { width: 35px; height: 35px; flex: 0 0 35px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #c67f4c; background: var(--paper-soft); font-size: 20px; }
.section-heading h2, .hello-panel h2 { margin: 2px 0 0; font: 500 25px/1.1 var(--display); letter-spacing: -.5px; }
.about-panel > p { margin: 11px 0; color: var(--muted); font-size: 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag-row span { padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper-soft); font-size: 10px; }
.now-card { min-height: 170px; background: linear-gradient(145deg, var(--paper-soft), var(--paper)); }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: #79a881; box-shadow: 0 0 0 3px rgba(121,168,129,.16); }
.now-quote { margin: 13px 0 8px; font: 21px/1.2 var(--display); }
.orbit-line { display: flex; align-items: center; gap: 7px; color: #cb8d4d; font-size: 16px; }
.orbit-line i { height: 1px; flex: 1; border-top: 1px dashed var(--line); }
.small-note { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.sky-panel { grid-column: 1 / -1; }
.sky-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.sky-item { display: flex; gap: 9px; min-height: 90px; padding: 10px; border: 1px dashed var(--line); background: var(--paper-soft); }
.sky-item-icon { flex: 0 0 28px; padding-top: 2px; color: #c78b47; font-size: 23px; line-height: 1; text-align: center; }
.moon-icon { color: #7586a7; }
.cloud-icon { color: #7199af; }
.sky-item h3, .animal-card h3 { margin: 0; font: bold 14px/1.3 var(--display); }
.sky-item p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.constellation-card { position: relative; margin-top: 13px; padding: 18px 11px 8px; overflow: hidden; border: 1px solid #405576; border-radius: 3px; background: linear-gradient(110deg, #263752, #405674); }
.constellation-label { position: absolute; top: 4px; left: 10px; color: #d9d9cb; font: italic 10px var(--display); }
.constellation-card svg { display: block; width: 100%; height: 89px; overflow: visible; }
.constellation-card circle { fill: #ffe29a; stroke: #fff6d9; stroke-width: 1px; }
.constellation-line { fill: none; stroke: #c7d8e2; stroke-width: 1.25px; stroke-dasharray: 4 4; }
.constellation-twinkle { fill: none; stroke: #ffda8d; stroke-width: 2px; stroke-linecap: round; }
.creatures-panel { grid-column: 1 / -1; }
.creatures-panel .section-heading { margin-bottom: 14px; }
.animal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.animal-card { position: relative; min-height: 110px; display: flex; align-items: center; gap: 12px; overflow: hidden; padding: 12px 14px; border: 1px solid var(--line); background: #edf4ee; }
.owl-card { background: #f4ece0; }
:root[data-theme="night"] .animal-card { background: #32445b; }
:root[data-theme="night"] .owl-card { background: #493d46; }
.animal-art { flex: 0 0 53px; width: 53px; height: 53px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 31px; }
.animal-card h3 { font-size: 17px; }
.animal-card p { max-width: 205px; margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.animal-number { position: absolute; right: 8px; top: 5px; color: rgba(38,54,83,.3); font: italic 11px var(--display); }
:root[data-theme="night"] .animal-number { color: rgba(255,255,255,.38); }
.tiny-caption { margin: 10px 0 0; color: var(--muted); font: italic 11px var(--display); text-align: right; }
.hello-panel { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(105deg, var(--paper-soft), var(--paper)); }
.hello-panel h2 { margin: 5px 0; }
.hello-panel p:last-child { max-width: 535px; margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.hello-doodle { flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 50%; color: #b8774b; background: #ffefce; font-size: 24px; transform: rotate(-9deg); }
.site-footer { display: flex; justify-content: space-between; gap: 10px; padding: 18px 2px 0; color: var(--muted); font-size: 9px; }
.site-footer a { color: var(--ink); text-decoration-style: dotted; text-underline-offset: 3px; }

@media (max-width: 850px) {
  .page-shell { grid-template-columns: 185px minmax(0, 1fr); width: min(100% - 24px, 760px); }
  .sidebar { padding-inline: 14px; }
  .main-content { padding: 17px; }
  .hero { padding: 26px 23px; }
  .hero h1 { font-size: clamp(39px, 7vw, 54px); }
  .hero-art { transform: scale(.9); }
  .content-grid { grid-template-columns: 1fr; }
  .now-card, .sky-panel, .creatures-panel, .hello-panel { grid-column: auto; }
  .now-card { min-height: initial; }
}
@media (max-width: 600px) {
  .page-shell { display: block; width: min(100% - 18px, 480px); margin: 9px auto; }
  .sidebar { position: relative; min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 13px 14px; border-right: 0; border-bottom: 2px solid var(--line); }
  .wordmark { font-size: 20px; }
  .side-note { margin: 3px 0 0 37px; }
  .sidebar-art, .sidebar-note-card, .sidebar-footer { display: none; }
  .site-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 11px; }
  .nav-label { width: 100%; padding: 0 5px 2px; }
  .site-nav a { padding: 4px 7px; font-size: 11px; }
  .site-nav a span { width: 16px; }
  .main-content { padding: 13px 12px; }
  .topline { font-size: 8px; letter-spacing: 1px; }
  .theme-toggle { padding: 5px 8px; font-size: 10px; }
  .hero { display: flex; min-height: 0; flex-direction: column; align-items: stretch; padding: 25px 20px 14px; background: linear-gradient(155deg, var(--paper) 0 59%, var(--blue-light) 59% 100%); }
  .hero h1 { font-size: clamp(44px, 13vw, 58px); }
  .hero-intro { max-width: 100%; }
  .hero-art { min-height: 204px; margin-top: 4px; transform: none; }
  .hero-halo { width: 205px; height: 205px; }
  .hero-sun { top: 14px; }
  .cloud-back { left: 8%; top: 82px; }
  .cloud-front { right: 1%; top: 104px; }
  .corner-stamp { top: 11px; right: 12px; left: auto; }
  .content-grid { gap: 14px; margin-top: 16px; }
  .about-panel, .now-card, .sky-panel, .creatures-panel, .hello-panel { padding: 15px; }
  .sky-items { grid-template-columns: 1fr; }
  .sky-item { min-height: 0; }
  .sky-item p { font-size: 11px; }
  .animal-grid { grid-template-columns: 1fr; }
  .animal-card { min-height: 98px; }
  .site-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Photo background */
body {
  background-image: url("./WhatsApp Image 2569-09-12 at 00.02.22.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Floating stars over the sky, behind the page */
.page-shell {
  position: relative;
  z-index: 1;
}

body::before,
body::after {
  content: "✦";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  color: #fff4c9;
  line-height: 1;
  animation: sky-star-drift 9s ease-in-out infinite alternate;
}

body::before {
  font-size: 18px;
  text-shadow:
    4vw 16vh 0 #fff4c9,
    8vw 43vh 0 #fff4c9,
    3vw 75vh 0 #fff4c9,
    94vw 21vh 0 #fff4c9,
    90vw 57vh 0 #fff4c9,
    96vw 86vh 0 #fff4c9;
}

body::after {
  font-size: 11px;
  animation-duration: 13s;
  animation-delay: -6s;
  text-shadow:
    7vw 28vh 0 #ffffff,
    2vw 55vh 0 #ffffff,
    8vw 91vh 0 #ffffff,
    97vw 37vh 0 #ffffff,
    93vw 72vh 0 #ffffff,
    91vw 10vh 0 #ffffff;
}

@keyframes sky-star-drift {
  from { transform: translate(0, 0); opacity: .4; }
  to { transform: translate(10px, -24px); opacity: .95; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    opacity: .7;
  }
}

/* Turn the smaller star layer into soft glowing orbs */
body::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  text-shadow: none;
  box-shadow:
    5vw 18vh 0 1px #fff6d9,
    5vw 18vh 10px 3px rgba(255, 239, 184, .65),
    8vw 36vh 0 0 #ffffff,
    8vw 36vh 8px 2px rgba(255, 255, 255, .55),
    3vw 62vh 0 2px #dceeff,
    3vw 62vh 13px 4px rgba(200, 226, 255, .6),
    7vw 87vh 0 0 #fff6d9,
    7vw 87vh 8px 2px rgba(255, 239, 184, .6),
    94vw 14vh 0 1px #dceeff,
    94vw 14vh 10px 3px rgba(200, 226, 255, .6),
    97vw 40vh 0 0 #ffffff,
    97vw 40vh 8px 2px rgba(255, 255, 255, .55),
    92vw 65vh 0 2px #fff6d9,
    92vw 65vh 13px 4px rgba(255, 239, 184, .65),
    96vw 89vh 0 0 #dceeff,
    96vw 89vh 8px 2px rgba(200, 226, 255, .6);
}

/* Fewer orbs: 2 on each side */
body::after {
  box-shadow:
    5vw 18vh 0 1px #fff6d9,
    5vw 18vh 10px 3px rgba(255, 239, 184, .65),
    3vw 62vh 0 2px #dceeff,
    3vw 62vh 13px 4px rgba(200, 226, 255, .6),
    97vw 40vh 0 0 #ffffff,
    97vw 40vh 8px 2px rgba(255, 255, 255, .55),
    96vw 89vh 0 0 #dceeff,
    96vw 89vh 8px 2px rgba(200, 226, 255, .6);
}

/* Night mode: darken the sky photo, especially around the edges */
:root[data-theme="night"] body {
  background-image:
    radial-gradient(
      ellipse at center,
      rgba(4, 9, 20, .25) 0%,
      rgba(4, 9, 20, .45) 55%,
      rgba(4, 9, 20, .75) 100%
    ),
    url("./WhatsApp Image 2569-09-12 at 00.02.22.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Occasional shooting star, behind the page panels */
html::after {
  content: "";
  position: fixed;
  top: 12vh;
  left: -180px;
  width: 140px;
  height: 2px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background: linear-gradient(to right, transparent, #fff5ce);
  filter: drop-shadow(0 0 5px rgba(255, 245, 206, .8));
  transform-origin: right center;
  animation: sky-shoot 10s linear 4s infinite;
}

@keyframes sky-shoot {
  0% {
    opacity: 0;
    transform: rotate(20deg) translateX(0);
  }
  1% { opacity: 1; }
  8% { opacity: 1; }
  10%, 100% {
    opacity: 0;
    transform: rotate(20deg) translateX(140vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  html::after { animation: none; }
}

/* Shooting stars cycle through 3 different paths */
html::after {
  animation: sky-shoot-varied 54s linear 4s infinite;
}

@keyframes sky-shoot-varied {
  0% {
    top: 8vh;
    opacity: 0;
    transform: rotate(20deg) translateX(0);
  }
  0.2% { opacity: 1; }
  3% {
    top: 8vh;
    opacity: 0;
    transform: rotate(20deg) translateX(140vw);
  }
  3.01%, 33.333% {
    top: 65vh;
    opacity: 0;
    transform: rotate(-18deg) translateX(0);
  }
  33.533% { opacity: 1; }
  36.333% {
    top: 65vh;
    opacity: 0;
    transform: rotate(-18deg) translateX(140vw);
  }
  36.343%, 66.666% {
    top: 32vh;
    opacity: 0;
    transform: rotate(12deg) translateX(0);
  }
  66.866% { opacity: 1; }
  69.666% {
    top: 32vh;
    opacity: 0;
    transform: rotate(12deg) translateX(140vw);
  }
  69.676%, 100% {
    top: 8vh;
    opacity: 0;
    transform: rotate(20deg) translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html::after { animation: none; }
}

/* All shooting stars enter from the upper-left and travel down-right */
@keyframes sky-shoot-varied {
  0% {
    top: 6vh;
    opacity: 0;
    transform: rotate(12deg) translateX(0);
  }
  0.2% { opacity: 1; }
  3% {
    top: 6vh;
    opacity: 0;
    transform: rotate(12deg) translateX(140vw);
  }
  3.01%, 33.333% {
    top: 12vh;
    opacity: 0;
    transform: rotate(20deg) translateX(0);
  }
  33.533% { opacity: 1; }
  36.333% {
    top: 12vh;
    opacity: 0;
    transform: rotate(20deg) translateX(140vw);
  }
  36.343%, 66.666% {
    top: 2vh;
    opacity: 0;
    transform: rotate(28deg) translateX(0);
  }
  66.866% { opacity: 1; }
  69.666% {
    top: 2vh;
    opacity: 0;
    transform: rotate(28deg) translateX(140vw);
  }
  69.676%, 100% {
    top: 6vh;
    opacity: 0;
    transform: rotate(12deg) translateX(0);
  }
}

/* Replace the original hero illustration with my transparent Canva PNG */
.hero-art > :not(.hero-caption) {
  display: none;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0 0 55px;
  background: url("./phoomelo-frontbanner.png") center / contain no-repeat;
  pointer-events: none;
  transform: scale(2.50);
  transform-origin: center;
}

/* Enlarge the sidebar PNG without shifting the navigation */
.sidebar-art > img {
  transform: scale(2.35);
  transform-origin: center;
}

/* Let the enlarged sidebar artwork extend beyond its original box */
.sidebar-art {
  overflow: visible;
}
