:root {
  color-scheme: dark;
  --ink: #f5ead8;
  --blue: #d6b574;
  --sky: #302027;
  --yellow: #d6b574;
  --paper: #24151a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 "Segoe UI", sans-serif;
  border: 1.5px solid #fff;
  box-shadow:
    inset 0 0 0 3px #111,
    inset 0 0 0 4.5px var(--yellow);
}
a { color: inherit; }
a:focus-visible, video:focus-visible { outline: 3px solid #d6532e; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: -5rem; padding: .6rem 1rem; background: #24151a; }
.skip-link:focus { top: 1rem; }
.site-header { min-height: 78px; display: flex; align-items: center; gap: 2rem; padding: 1rem 5%; background: var(--paper); }
.wordmark {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
  -webkit-text-stroke: 0.75px var(--yellow);
  paint-order: stroke fill;
}
.wordmark span { color: var(--blue); font-family: sans-serif; font-size: .38em; letter-spacing: .04em; margin-left: .1em; }
nav { display: flex; gap: 2rem; margin-left: auto; }
nav a, .header-link { font-size: .91rem; font-weight: 700; text-decoration: none; }
nav a:hover, .header-link:hover, footer a:hover, .text-link:hover { text-decoration: underline; }
.header-link { border: 1px solid var(--ink); border-radius: 100px; padding: .65rem 1.1rem; white-space: nowrap; }
.platform-btn {
  background: rgba(214, 181, 116, 0.15);
  border: 1.5px solid var(--yellow);
  color: var(--yellow);
}
.platform-btn:hover {
  background: var(--yellow);
  color: #24151a;
  text-decoration: none;
}
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4%; padding: 2rem 8% 5rem; background: linear-gradient(#24151a66, #24151a88), url("assets/studio-room.png") center / cover; }
.studio-scene { grid-column: 1 / -1; margin-bottom: 2rem; }
.studio-scene img {
  display: block;
  width: 100%;
  height: auto;
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px #111, 0 0 0 4.5px #fff;
}
.studio-scene span { display: block; margin-top: .8rem; color: var(--ink); font-size: .8rem; }
.hero-copy { max-width: 720px; position: relative; z-index: 1; text-shadow: 0 2px 12px rgba(18, 9, 12, .85); }
.hello { margin: 0 0 1.4rem; color: var(--yellow); font-size: .9rem; font-weight: 600; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
h1 { margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7.5vw, 6rem); line-height: .96; }
h1 em, h2 em { font-weight: 400; }
.hero-intro { max-width: 35rem; font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; flex-wrap: wrap; margin-top: 2rem; }
.button { display: inline-flex; gap: 1.8rem; justify-content: space-between; align-items: center; border-radius: 100px; padding: .9rem 1.4rem; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-dark { color: #24151a; background: var(--yellow); border: 2px solid #fff; outline: 2px solid #111; outline-offset: 2px; }
.button-dark:hover { background: #f1d59d; }
.text-link { font-weight: 700; text-underline-offset: .3em; }
.hero-art { width: 100%; margin: 0; }
.duo-image {
  overflow: hidden;
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px #111, 0 0 0 4.5px #fff;
}
.duo-image img { display: block; width: 100%; height: auto; }
.hero-art figcaption { color: var(--yellow); font-size: .9rem; padding-top: .9rem; }
.section-wrap { max-width: 1250px; margin: auto; padding: 6rem 5%; }
.intro { display: grid; grid-template-columns: .3fr 1fr; gap: 3rem; }
.section-marker { color: var(--blue); font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.section-marker span, .community-star span { font-size: .6em; }
h2 { font-size: clamp(2.7rem, 5.3vw, 4.7rem); line-height: 1.02; margin-bottom: 1.8rem; }
.intro p { max-width: 67ch; }
.intro-pics {
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  max-width: 720px;
  gap: 1.35rem;
  align-items: start;
  margin: 1.6rem 0 1.9rem;
}
.intro-pics .video-frame { padding: .55rem; }
.intro-pics .video-frame:nth-child(even) { margin-top: 1.4rem; }
.intro-pics img { aspect-ratio: 16 / 10; object-fit: cover; }
.intro-pics figcaption { font-size: .8rem; padding: .55rem .25rem .1rem; }
.large-copy { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.35; }
.world {
  background: linear-gradient(#24151a78, #24151a99), url("assets/porcelain-skulling-beer.jpg") center 25% / cover;
}
.world-heading { text-shadow: 0 2px 12px rgba(18, 9, 12, .85); }
.world-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 8%; align-items: start; }
.porcelain-portrait { grid-row: span 2; margin: 0; }
.porcelain-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px #111, 0 0 0 4.5px #fff;
}
.porcelain-portrait figcaption { color: var(--yellow); font-size: .9rem; padding-top: .9rem; }
.world-heading { padding: 0; }
.world-heading p { max-width: 24rem; font-size: 1.15rem; }
.character-story { background: rgba(36, 21, 26, .9); padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid #6c5143; }
.character-story h3:first-child { margin-top: 0; }
.character-story h3:not(:first-child) { margin-top: 2rem; }
.story-media { margin: 1rem 0 1.25rem; }
.story-media figcaption { color: var(--yellow); font-size: .85rem; padding-top: .6rem; }
.critter-photo {
  display: block;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px #111, 0 0 0 4.5px #fff;
}
.scene-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.scene-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px #111, 0 0 0 4.5px #fff;
}
h3 { font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.small-note { margin: 1rem 0 0; font-size: .85rem; }
.scene-gallery .wide-scene { grid-column: 1 / -1; }
.scene-gallery .wide-scene img { aspect-ratio: 16 / 10; }
.scene-gallery .story-media:nth-child(3),
.scene-gallery .story-media:nth-child(6) { margin-top: 1.5rem; }
.motion { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.motion-copy p { max-width: 65ch; }
.video-frame {
  margin: 0;
  background: #171014;
  padding: .75rem;
  color: var(--ink);
  border: 1.5px solid var(--yellow);
  box-shadow: 0 0 0 3px #111, 0 0 0 4.5px #fff;
}
.video-frame img { display: block; width: 100%; height: auto; }
.video-frame video { display: block; width: 100%; max-height: 540px; background: #000; }
.video-frame figcaption { padding: .75rem .25rem .1rem; font-size: .85rem; color: var(--yellow); }
.daw-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.75rem;
  align-items: center;
}
.daw-wide { grid-column: 1 / -1; }
.video-embeds {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.75rem;
  align-items: start;
  margin-top: 1rem;
}
.video-embeds .video-featured { grid-column: 1 / -1; }
.video-embeds .video-frame:nth-child(3),
.video-embeds .video-frame:nth-child(5) { margin-top: 1.5rem; }
.video-embeds video { max-height: 480px; object-fit: contain; }
.video-embeds .video-featured video { max-height: 560px; }
.wip-notice { border: 1.5px solid #d6532e; background: rgba(214, 83, 46, .15); padding: .9rem 1.1rem; border-radius: 8px; color: #ffd9cc; }
.backroom { grid-column: 1 / -1; margin-top: 2.5rem; }
.backroom p { max-width: 72ch; font-size: 1.08rem; }
.backroom-gallery {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.75rem;
  align-items: start;
  margin-top: 1.5rem;
}
.backroom-gallery .backroom-featured { grid-column: 1 / -1; }
.backroom-gallery .video-frame:nth-child(3),
.backroom-gallery .video-frame:nth-child(5) { margin-top: 1.5rem; }
.backroom-gallery .video-frame { padding: .75rem; }
.backroom-gallery img { aspect-ratio: 3 / 2; object-fit: cover; }
.backroom-gallery .backroom-featured img { aspect-ratio: 16 / 10; max-height: 620px; }
.video-embeds .twitter-tweet { margin: 0 !important; width: 100% !important; }
.art-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.art-collage img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.token { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.token-details { border: 1px solid #6c5143; padding: 2rem; background: #302027; }
.token-details p:last-child { margin-bottom: 0; }
.community {
  color: var(--ink);
  background: linear-gradient(#24151a78, #24151a9e), url("assets/porcelain-skulling-beer.jpg") center 30% / cover;
}
.community-inner { display: grid; grid-template-columns: .4fr 1fr; gap: 4rem; }
.community-star { color: var(--yellow); font-family: Georgia, serif; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; }
.community p { max-width: 45ch; font-size: 1.15rem; }
.button-light { color: #24151a; background: var(--yellow); margin-top: 1rem; }
.button-light:hover { background: #f1d59d; }
.community .community-note { margin: 2rem 0 0; font-size: .9rem; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2rem 5%; font-size: .9rem; }
footer p { margin: 0; }
footer .ownership-notice {
  flex: 1 0 100%;
  margin-top: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #6c5143;
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(245, 234, 216, .82);
}
footer .ownership-notice strong { color: var(--yellow); }

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: .8rem; padding: 1rem 5%; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: .5rem; }
  .header-link { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding: 2rem 6% 5rem; gap: 2rem; }
  .studio-scene { grid-column: auto; margin-bottom: 0; }
  .hero-art { width: 100%; }
  .section-wrap { padding: 4rem 6%; }
  .intro, .world-inner, .motion, .community-inner, .token, .daw-gallery, .scene-gallery, .video-embeds, .backroom-gallery, .intro-pics { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-pics .video-frame:nth-child(even),
  .scene-gallery .story-media:nth-child(3),
  .scene-gallery .story-media:nth-child(6),
  .video-embeds .video-frame:nth-child(3),
  .video-embeds .video-frame:nth-child(5),
  .backroom-gallery .video-frame:nth-child(3),
  .backroom-gallery .video-frame:nth-child(5) { margin-top: 0; }
  .porcelain-portrait { grid-row: auto; }
  .section-marker, .community-star { font-size: 5rem; }
  .character-story { transform: none; }
}
@media (max-width: 400px) {
  h1 { font-size: 3.2rem; }
  .header-link { padding: .5rem .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
