:root {
  --page-bg: #fff8e0;
  --ink: #29231f;
  --muted: #72665d;
  --header: #2b2723;
  --orange: #f16400;
  --orange-dark: #b94b00;
  --line: #decfbd;
  --content-width: 980px;
  --barq: #f16400;
  --instagram: #b52e63;
  --youtube: #c90000;
  --x: #111111;
  --bluesky: #0560ff;
  --furtrack: #2d0e4c;
  --furaffinity: #f16400;
  --telegram: #087eaf;
  --steam: #171a21;
}

* { box-sizing: border-box; }
html { background: var(--page-bg); scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  border-bottom: 3px solid var(--orange);
}
.topbar-inner {
  width: min(var(--content-width), calc(100% - 28px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  flex: 0 0 30px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.site-nav { display: flex; align-self: stretch; gap: 6px; }
.site-nav a {
  min-width: 48px;
  min-height: 44px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border-bottom: 3px solid transparent;
  color: #ddd6cf;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: #fff; }
.site-nav a.active { color: #fff; border-bottom-color: #ff9a4e; }
.site-nav a:focus-visible { outline: 2px solid #ffb47e; outline-offset: -4px; }

.site-main {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 20px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  align-items: center;
  gap: 48px;
  padding: 18px 0 58px;
  border-bottom: 1px solid var(--line);
}
.hero-copy { max-width: 570px; }
.kicker {
  margin: 0 0 8px;
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero h1,
.page-intro h1,
.owo-main h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero h1 span { color: var(--orange); }
.hero-text {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.72;
}
.hero-picture {
  width: min(360px, 100%);
  justify-self: end;
  display: grid;
  place-items: center;
}
.furry-art {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  transform: translateX(.8%);
  animation: furry-float 2.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes furry-float {
  0%, 100% { transform: translate3d(.8%, 0, 0); }
  50% { transform: translate3d(.8%, -10px, 0); }
}

.links-section {
  padding: 54px 0 24px;
}
.section-heading {
  max-width: 620px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.socials {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.social {
  min-height: 62px;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  text-decoration: none;
  transition: transform .14s ease, filter .14s ease;
}
.social:hover { transform: translateX(3px); filter: brightness(.95); }
.social:focus-visible { outline: 3px solid #ffae73; outline-offset: 3px; }
.social > span { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.social strong { font-size: .98rem; line-height: 1.2; }
.social small {
  max-width: 260px;
  overflow: hidden;
  color: rgba(255,255,255,.84);
  font-size: .8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
}
.social-logo-img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
}
.social.instagram .social-logo-img,
.social.youtube .social-logo-img,
.social.x .social-logo-img,
.social.telegram .social-logo-img,
.social.steam .social-logo-img { filter: invert(1); }
.social.barq { background: var(--barq); }
.social.instagram { background: var(--instagram); }
.social.youtube { background: var(--youtube); }
.social.x { background: var(--x); }
.social.bluesky { background: var(--bluesky); }
.social.furtrack { background: var(--furtrack); }
.social.furaffinity { background: var(--furaffinity); }
.social-monogram {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  color: #fff;
  font-size: .7rem;
  line-height: 1;
  letter-spacing: -.02em;
}
.social-logo-fallback[hidden] { display: none; }
.social-logo-fallback:not([hidden]) { display: grid; }
.social.vrchat .social-monogram {
  border-color: rgba(23,23,23,.78);
  color: #171717;
}
.social.telegram { background: var(--telegram); }
.social.steam { background: var(--steam); }
.social.vrchat { background: #fff; color: #171717; }
.social.vrchat small { color: #5c5c5c; }

.steam-section {
  width: min(560px, 100%);
  margin: 44px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.steam-section .kicker { margin-bottom: 12px; }
.steam-frame {
  width: 325px;
  height: 300px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.steam-frame iframe {
  display: block;
  width: 325px;
  height: 300px;
  max-width: none;
  margin: 0;
  border: 0 !important;
}


/* About page */
.about-main,
.fursonas-main {
  width: min(820px, calc(100% - 32px));
  min-height: calc(100vh - 164px);
  margin: 0 auto;
  padding: 64px 0 40px;
}
.about-intro { margin-bottom: 46px; }
.about-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.about-section:first-of-type { border-top: 2px solid var(--ink); }
.about-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.about-section p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.about-section p + p { margin-top: 14px; }
.about-section strong { color: var(--ink); }
.about-section a {
  color: var(--orange-dark);
  font-weight: 800;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.about-section a:hover { color: var(--orange); }
.about-section a:focus-visible { outline: 3px solid #ffad70; outline-offset: 4px; }
.about-facts {
  margin: 0;
  border-top: 1px solid var(--line);
}
.about-facts > div {
  min-height: 58px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.about-facts dt {
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about-facts dd { margin: 0; font-weight: 700; }
.about-link { font-size: .92rem !important; }

.page-intro {
  max-width: 640px;
  margin-bottom: 38px;
}
.page-intro > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.fursona-list { border-top: 2px solid var(--ink); }
.fursona-row {
  min-height: 82px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .14s ease, padding-left .14s ease;
}
.fursona-row:hover { padding-left: 7px; background: #fff3d6; }
.fursona-row:focus-visible { outline: 3px solid #ffad70; outline-offset: 2px; }
.fursona-number {
  color: var(--orange-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.fursona-copy { display: flex; align-items: baseline; gap: 12px; }
.fursona-copy strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.fursona-copy small { color: var(--muted); font-size: .86rem; }
.fursona-link { color: var(--orange-dark); font-size: .84rem; font-weight: 800; }
.fursona-row.is-eddy .fursona-copy strong::after {
  content: "  :3";
  color: var(--orange);
  font-size: .78em;
  font-weight: 700;
}

.owo-main {
  width: min(780px, calc(100% - 32px));
  min-height: calc(100vh - 164px);
  margin: 0 auto;
  padding: 62px 0 34px;
  text-align: center;
}
.owo-subtitle { margin: 8px 0 0; color: var(--muted); }
.owo-picture { margin-top: 28px; display: grid; place-items: center; }
.owo-art {
  width: min(680px, 100%);
  max-height: 66vh;
  height: auto;
  object-fit: contain;
}

.site-footer {
  width: 100%;
  margin-top: 48px;
  padding: 24px 16px;
  background: var(--header);
  color: #d8d1cb;
  font-size: .86rem;
}
.footer-inner {
  width: min(var(--content-width), 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.footer-sep { color: #9e8b7c; }
.footer-owo {
  margin-left: 4px;
  padding: 5px 9px;
  border: 1px solid #be642b;
  border-radius: 6px;
  color: #ffc99e;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background .14s ease, color .14s ease, transform .14s ease;
}
.footer-owo:hover { background: var(--orange); color: #fff; transform: rotate(-2deg); }
.footer-owo:focus-visible { outline: 2px solid #ffc397; outline-offset: 3px; }

@media (max-width: 760px) {
  .site-main { padding-top: 34px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 8px 0 42px;
  }
  .hero-copy { max-width: 100%; }
  .hero-picture { width: min(340px, 88vw); justify-self: center; }
  .links-section { padding-top: 42px; }
  .steam-section { margin-top: 36px; }
}

@media (max-width: 520px) {
  .topbar-inner { width: calc(100% - 20px); min-height: 60px; gap: 8px; }
  .brand { gap: 6px; font-size: .95rem; }
  .brand-mark { width: 27px; height: 27px; flex-basis: 27px; border-radius: 7px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 0 8px; font-size: .82rem; }
  .site-main { width: calc(100% - 24px); }
  .hero h1, .page-intro h1, .owo-main h1 { font-size: clamp(2.25rem, 12vw, 3.2rem); }
  .hero-text { margin-top: 15px; font-size: 1rem; }
  .social { min-height: 60px; padding-left: 13px; }
  .social > span { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
  .social small { max-width: 210px; }
  .steam-frame { margin: 0 auto; }
  .steam-section { text-align: center; }
  .about-main, .fursonas-main { width: calc(100% - 24px); padding-top: 42px; }
  .about-facts > div { grid-template-columns: 102px 1fr; gap: 12px; }
  .fursona-row { grid-template-columns: 38px 1fr; gap: 10px; min-height: 78px; }
  .fursona-copy { flex-direction: column; align-items: flex-start; gap: 0; }
  .fursona-link { display: none; }
  .owo-main { width: calc(100% - 24px); padding-top: 42px; }
}

@media (max-width: 380px) {
  .brand-name { display: none; }
  .social small { max-width: 170px; }
}

@media (max-width: 340px) {
  .steam-frame { width: 305px; height: 282px; overflow: hidden; }
  .steam-frame iframe { transform: scale(.93846); transform-origin: top left; }
}

@media (max-width: 320px) {
  .steam-frame { width: 289px; height: 267px; }
  .steam-frame iframe { transform: scale(.89); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* 404 page */
.not-found-main {
  width: calc(100% - 32px);
  max-width: var(--content-width);
  min-height: calc(100vh - 176px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 58px 0 50px;
}
.not-found-layout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.not-found-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 590px;
}
.not-found-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.not-found-text {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}
.not-found-links {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.not-found-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--orange-dark);
  font-weight: 800;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.not-found-links a:hover { color: var(--orange); }
.not-found-links a:focus-visible { outline: 3px solid #ffad70; outline-offset: 4px; }
.not-found-picture {
  display: block;
  flex: 0 1 330px;
  width: 330px;
  max-width: 35%;
  margin: 0;
  line-height: 0;
}
.not-found-fox {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  animation: furry-float 2.5s ease-in-out infinite;
  will-change: transform;
}

@media (max-width: 700px) {
  .not-found-main {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 34px 0 42px;
  }
  .not-found-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }
  .not-found-picture {
    order: -1;
    width: 260px;
    max-width: 78vw;
    flex-basis: auto;
    align-self: center;
  }
  .not-found-copy {
    width: 100%;
    max-width: none;
  }
  .not-found-copy h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
}
