:root {
  --bg: #fff7cf;
  --bg-soft: #fffbe7;
  --panel: #fffdf3;
  --panel-2: #fff2b8;
  --panel-3: #f6d77b;
  --edge-light: #fff9dd;
  --edge-dark: #d9b85f;
  --text: #7e611e;
  --text-strong: #5d4510;
  --accent-peach: #ffd9b3;
  --accent-mint: #e4f3c2;
  --accent-blue: #d9efff;
  --shadow: rgba(170, 127, 24, 0.22);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--edge-dark) var(--bg-soft);
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-soft);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--panel-3), #efc95a);
  border-radius: 999px;
  border: 1px solid var(--edge-dark);
}

html {
  background:
    radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.55) 0 8px, transparent 8px),
    radial-gradient(circle at 75px 75px, rgba(255, 236, 166, 0.85) 0 10px, transparent 10px),
    linear-gradient(180deg, #fff8d8 0%, #fff0b4 100%);
  background-size: 120px 120px, 120px 120px, auto;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Comfortaa", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--text-strong);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-shell {
  width: min(1200px, 88vw);
  margin: 26px auto;
  padding: 12px;
  border: 3px ridge var(--edge-dark);
  border-radius: 48px;
  background: var(--panel);
  box-shadow: 0 18px 38px var(--shadow);
}

.window {
  border: 3px ridge var(--edge-dark);
  background: var(--panel);
  box-shadow: 0 4px 10px var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-top: 2px solid var(--edge-light);
  border-left: 2px solid var(--edge-light);
  border-right: 2px solid var(--panel-3);
  border-bottom: 3px solid var(--panel-3);
  background: linear-gradient(180deg, #fff8d8 0%, #ffeaa0 100%);
}

.window-bar h2,
.window-bar h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  color: var(--text-strong);
}

.window-controls {
  display: inline-flex;
  gap: 4px;
  flex-shrink: 0;
}

.window-controls span {
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--edge-light);
  border-left: 2px solid var(--edge-light);
  border-right: 2px solid var(--panel-3);
  border-bottom: 2px solid var(--panel-3);
  background: var(--panel);
}

.window-content {
  height: calc(100% - 38px);
  padding: 10px;
  overflow: auto;
}

.hero-panel {
  position: relative;
  width: min(100%, 720px);
  margin: 0 auto 12px;
  border-radius: 42px 42px 0 0;
  background: linear-gradient(180deg, #fff9df, #fff2bf);
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: clamp(14px, 2vw, 24px);
  transform: translateY(-50%);
  z-index: 1;
  width: min(36%, 250px);
  max-width: 250px;
  padding: 10px 12px;
  border: 2px solid rgba(217, 184, 95, 0.72);
  border-radius: 18px;
  background: rgba(255, 251, 232, 0.72);
  box-shadow: 0 10px 24px rgba(170, 127, 24, 0.16);
  backdrop-filter: blur(4px);
}

.hero-kicker {
  margin-bottom: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin-bottom: 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1;
  color: var(--text-strong);
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.75);
}

.hero-text {
  max-width: 42ch;
  margin-bottom: 0;
  font-size: 0.76rem;
}

.blinkie-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  margin: -2px auto 12px;
  padding: 8px 12px 10px;
  border: 3px ridge var(--edge-dark);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(255, 253, 243, 0.95), rgba(255, 246, 207, 0.96));
  box-shadow: 0 8px 18px rgba(170, 127, 24, 0.12);
}

.blinkie-strip-link {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.blinkie-strip-link:hover {
  transform: translateY(-2px);
}

.blinkie-strip img {
  display: block;
  width: auto;
  height: 20px;
  border-radius: 4px;
  image-rendering: auto;
}

.home-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 235px;
  grid-template-rows: 250px 150px 52px 110px 110px;
  gap: 12px;
}

.panel-nav {
  grid-area: 1 / 1 / 3 / 2;
}

.panel-marquee {
  grid-area: 3 / 1 / 4 / 2;
  background: linear-gradient(180deg, #fff8dc 0%, #ffefb4 100%);
}

.panel-collection {
  grid-area: 4 / 1 / 6 / 2;
}

.panel-feature {
  grid-area: 1 / 2 / 6 / 5;
}

.panel-notes {
  grid-area: 1 / 5 / 2 / 6;
}

.panel-highlights {
  grid-area: 2 / 5 / 4 / 6;
  text-align: center;
}

.panel-links {
  grid-area: 4 / 5 / 6 / 6;
}

.nav-content {
  padding: 0;
}

.nav-group + .nav-group {
  margin-top: 4px;
}

.nav-group h3 {
  margin: 0;
  padding: 8px 10px 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.92rem;
  color: var(--text-strong);
  background: linear-gradient(180deg, #fff2bc 0%, #ffe99d 100%);
  border-bottom: 2px solid var(--panel-3);
}

.nav-group a {
  display: block;
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fff3bf 0%, #fffdf5 100%);
  border-top: 1px solid var(--edge-light);
  border-left: 1px solid var(--edge-light);
  border-right: 1px solid var(--edge-light);
  border-bottom: 2px solid var(--panel-3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-group a:hover {
  transform: translateX(8px);
  background: linear-gradient(90deg, var(--accent-mint) 0%, #fffdf5 100%);
}

.panel-marquee {
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 8px;
  padding: 8px;
  animation: marquee 22s linear infinite;
}

.panel-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  flex: 0 0 auto;
  border-radius: 4px;
  border: 2px solid var(--edge-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.75), transparent 45%),
    linear-gradient(180deg, #fffaf0 0%, #ffe8a0 100%);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.collection-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.collection-card {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 2px solid var(--edge-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 45%),
    linear-gradient(180deg, #fffced 0%, #ffe7a2 100%);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.collection-card.wide {
  width: 84px;
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) 205px;
  gap: 16px;
  padding: 15px;
  height: calc(100% - 38px);
}

.feature-card {
  grid-column: 1 / 3;
  padding: 20px;
  border: 3px solid var(--edge-dark);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 234, 0.95)),
    linear-gradient(135deg, rgba(255, 244, 177, 0.8), rgba(255, 255, 255, 0));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65);
  overflow: auto;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  color: var(--text-strong);
}

.feature-label {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-peach);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.speech-card {
  position: relative;
  padding: 14px;
  border: 3px solid var(--edge-dark);
  border-radius: 20px;
  background: linear-gradient(180deg, #fffef7 0%, #fff3c6 100%);
  min-height: 122px;
}

.speech-card::after {
  content: "";
  position: absolute;
  left: 22px;
  bottom: -16px;
  border-width: 14px 10px 0;
  border-style: solid;
  border-color: var(--edge-dark) transparent transparent;
}

.speech-card::before {
  content: "";
  position: absolute;
  left: 25px;
  bottom: -10px;
  border-width: 11px 7px 0;
  border-style: solid;
  border-color: #fff8dd transparent transparent;
  z-index: 1;
}

.icon-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.icon-orb,
.icon-pet {
  border-radius: 24px;
  border: 3px solid var(--edge-dark);
  background: linear-gradient(180deg, #fffbee 0%, #ffe6aa 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.icon-orb {
  width: 104px;
  height: 104px;
  position: relative;
}

.icon-orb::before,
.icon-orb::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.icon-orb::before {
  width: 16px;
  height: 16px;
  top: 26px;
  left: 26px;
}

.icon-orb::after {
  width: 40px;
  height: 40px;
  bottom: 18px;
  right: 18px;
  background: rgba(255, 217, 179, 0.95);
}

.icon-pet {
  width: 104px;
  height: 82px;
  position: relative;
}

.icon-pet::before,
.icon-pet::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--accent-mint);
}

.icon-pet::before {
  width: 54px;
  height: 40px;
  left: 24px;
  top: 24px;
}

.icon-pet::after {
  width: 18px;
  height: 18px;
  left: 42px;
  top: 12px;
  box-shadow: 24px 0 0 var(--accent-mint);
}

.badge-window .window-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.badge-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 31px;
  border-radius: 4px;
  border: 2px solid var(--edge-dark);
  background: linear-gradient(180deg, #fffdf6 0%, #ffe7a1 100%);
  font-size: 0.7rem;
  font-weight: 700;
}

.badge-placeholder.large {
  width: 200px;
  height: 40px;
}

.list-panel,
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.log-entry,
.highlight-chip,
.link-box {
  padding: 10px;
  border: 2px solid var(--edge-dark);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffef8 0%, #fff1be 100%);
}

.log-date {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 700;
}

.log-entry p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.highlight-chip {
  font-size: 0.88rem;
  font-weight: 700;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.link-box {
  display: block;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.link-box:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #fffef8 0%, #e9f6c7 100%);
}

.footer-panel {
  margin-top: 12px;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(180deg, #fff6cf 0%, #ffe8a7 100%);
}

.footer-panel p {
  margin: 0;
  padding: 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(92vw, 760px);
    border-radius: 36px;
  }

  .hero-panel {
    border-radius: 30px 30px 0 0;
  }

  .hero-copy {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin: 14px;
  }

  .home-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 290px 250px auto 60px 220px 220px 220px;
  }

  .blinkie-strip {
    margin: 0 0 12px;
    border-top: 3px ridge var(--edge-dark);
    border-radius: 18px;
  }

  .panel-nav {
    grid-area: 1 / 1 / 2 / 2;
  }

  .panel-notes {
    grid-area: 2 / 1 / 3 / 2;
  }

  .panel-feature {
    grid-area: 3 / 1 / 4 / 2;
  }

  .panel-marquee {
    grid-area: 4 / 1 / 5 / 2;
  }

  .panel-highlights {
    grid-area: 5 / 1 / 6 / 2;
  }

  .panel-links {
    grid-area: 6 / 1 / 7 / 2;
  }

  .panel-collection {
    grid-area: 7 / 1 / 8 / 2;
  }

  .feature-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }

  .feature-card {
    grid-column: 1 / 2;
  }

  .badge-window {
    min-height: 170px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.95rem;
  }

  .site-shell {
    width: 95vw;
    margin: 12px auto;
    padding: 10px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    font-size: 2.3rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .blinkie-strip {
    padding: 8px 8px 10px;
    gap: 6px;
  }

  .window-controls {
    display: none;
  }

  .icon-row {
    justify-content: center;
  }
}

 
