@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #111211;
  --panel: #1b1c1a;
  --ink: #f7f4ed;
  --muted: #aeafa7;
  --line: #34352f;
  --accent: #f4c27b;
  --accent-soft: #fbdfb2;
  --accent-ink: #302215;
  --art-bg: #e9cda3;
  --width: 1180px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
body[data-brand="muffingames"] {
  --accent: #ff8868;
  --accent-soft: #ffb19a;
  --accent-ink: #321d15;
  --art-bg: #f36a47;
}
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a, summary { touch-action: manipulation; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.75; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(17,18,17,.96); backdrop-filter: blur(16px); }
.header-inner { height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 47px; height: 47px; padding: 4px; background: #fff; border-radius: 12px; object-fit: contain; }
.brand-name { font-size: 20px; font-weight: 750; letter-spacing: -.7px; }
.desktop-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.desktop-nav a { color: #d0d0c7; transition: color .2s; }
.desktop-nav a:hover { color: var(--accent); }
.desktop-nav .nav-contact { padding: 11px 17px; border: 1px solid #57594e; border-radius: 6px; color: var(--ink); }
.nav-contact span { margin-left: 14px; }
.site-menu { display: none; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 65px; padding-top: 90px; padding-bottom: 76px; }
.eyebrow { display: flex; gap: 10px; align-items: center; font-size: 11px; line-height: 1.6; font-weight: 650; letter-spacing: 2.3px; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero .eyebrow { color: var(--accent-soft); margin-bottom: 28px; }
h1 { font-size: clamp(48px, 5.6vw, 76px); line-height: 1.05; font-weight: 750; letter-spacing: -3.8px; }
h1 span { color: var(--accent); }
.hero-description { font-size: 17px; color: var(--muted); max-width: 390px; margin-top: 26px; }
.hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 14px 23px; border-radius: 6px; font-size: 14px; font-weight: 650; background: var(--accent); color: var(--accent-ink); transition: background .2s, transform .2s; }
.button:hover { background: var(--accent-soft); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 550; }
.text-link:hover { color: var(--accent); }
.hero-art { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1; background: var(--art-bg); border-radius: 28px; overflow: hidden; display: grid; place-items: center; }
.art-ring { position: absolute; width: 78%; height: 78%; border: 1px solid rgba(48,34,21,.2); border-radius: 50%; transform: rotate(-22deg); }
.art-ring::before, .art-ring::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(48,34,21,.18); border-radius: 50%; }
.art-ring::after { inset: -15%; }
.logo-tile { position: relative; width: 48%; aspect-ratio: 1; display: grid; place-items: center; background: #fffaf1; padding: 11%; border-radius: 22%; box-shadow: 18px 24px 0 rgba(79,46,17,.12); transform: rotate(-9deg); }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.muffin .logo-tile { padding: 7%; background: #fff4e9; transform: rotate(8deg); }
.art-star { position: absolute; top: 9%; right: 9%; width: 13%; color: #fff4d5; transform: rotate(10deg); }
.art-dots { position: absolute; left: 9%; bottom: 14%; display: flex; gap: 7px; transform: rotate(-20deg); }
.art-dots i { width: 14px; height: 14px; border-radius: 50%; background: #62452c; }
.muffin .art-dots i { background: #5a2719; }
.art-caption { position: absolute; bottom: 24px; right: 26px; color: #3d2c1c; font-size: 10px; font-weight: 750; letter-spacing: 2px; }
.hero-note { display: flex; justify-content: space-between; gap: 24px; padding-top: 25px; padding-bottom: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #bfc0b6; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; }
.hero-note span:last-child { color: var(--accent-soft); }
.section { padding-block: 104px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 44px; }
.section-head .eyebrow, .contact-copy .eyebrow { color: var(--muted); margin-bottom: 21px; }
h2 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.14; letter-spacing: -1.9px; font-weight: 650; }
.section-intro { color: var(--muted); font-size: 16px; max-width: 500px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 15px; }
.feature { padding-top: 26px; border-top: 1px solid var(--line); }
.feature-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.feature-number { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.feature-icon { width: 29px; height: 29px; color: var(--accent); }
.feature h3 { font-size: 20px; font-weight: 600; letter-spacing: -.4px; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 14px; max-width: 300px; }
.world-section { background: #181916; border-block: 1px solid var(--line); }
.world-caption { display: flex; justify-content: space-between; align-items: start; gap: 24px; padding-top: 30px; border-top: 1px solid var(--line); }
.world-caption h3 { font-size: 22px; font-weight: 600; letter-spacing: -.6px; }
.world-caption p { max-width: 480px; color: var(--muted); font-size: 14px; }
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
body[data-brand="sugarscone"] .contact-section { border-top: 1px solid var(--line); }
.contact-copy > p { max-width: 380px; margin-top: 24px; font-size: 15px; color: var(--muted); }
.contact-copy .button { margin-top: 28px; }
.contact-details { padding-top: 2px; min-width: 0; }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: 28px; padding-block: 21px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.contact-row:first-child { padding-top: 0; }
.contact-row dt { color: var(--muted); }
.contact-row dd { margin: 0; overflow-wrap: anywhere; }
.contact-row a { text-decoration: underline; text-decoration-color: #6e6e60; text-underline-offset: 5px; }
.contact-row a:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); background: #0d0e0d; padding-block: 45px 25px; }
.footer-main { display: flex; justify-content: space-between; align-items: start; gap: 40px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 17px; }
.footer-nav { display: flex; gap: 70px; }
.footer-nav h2 { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: #d0d0c6; margin-bottom: 17px; }
.footer-nav li { margin-bottom: 11px; }
.footer-nav a { font-size: 13px; color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; font-size: 11px; color: #a0a196; }
.footer-bottom a:hover { color: var(--accent); }

@media (min-width: 1500px) {
  .hero { padding-block: 105px 90px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 35px; padding-top: 66px; }
  h1 { letter-spacing: -2.5px; }
  .section-head { gap: 45px; }
  .contact-section { gap: 45px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 104px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { height: 76px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 10px; }
  .brand-name { font-size: 18px; }
  .desktop-nav { display: none; }
  .site-menu { display: block; }
  .site-menu summary { display: flex; gap: 12px; align-items: center; padding: 12px 0 12px 12px; font-size: 13px; cursor: pointer; list-style: none; }
  .site-menu summary::-webkit-details-marker { display: none; }
  .menu-symbol { display: grid; gap: 5px; width: 19px; }
  .menu-symbol::before, .menu-symbol::after { content: ""; height: 1px; background: currentColor; transition: transform .2s; }
  .site-menu[open] .menu-symbol::before { transform: translateY(3px) rotate(45deg); }
  .site-menu[open] .menu-symbol::after { transform: translateY(-3px) rotate(-45deg); }
  .site-menu nav { position: absolute; top: 76px; left: 0; right: 0; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 18px 24px #0005; }
  .site-menu nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 43px; padding-block: 56px 36px; }
  .hero .eyebrow { margin-bottom: 22px; }
  h1 { font-size: clamp(46px, 9vw, 68px); letter-spacing: -2.7px; }
  .hero-description { font-size: 16px; margin-top: 22px; max-width: 450px; }
  .hero-actions { margin-top: 27px; }
  .hero-art { width: 100%; aspect-ratio: 1.2; border-radius: 18px; }
  .logo-tile { width: 43%; padding: 8%; }
  .muffin .logo-tile { padding: 6%; }
  .art-ring { width: 65%; height: 78%; }
  .art-caption { font-size: 9px; bottom: 20px; right: 20px; }
  .hero-note { font-size: 9px; letter-spacing: 1px; padding-block: 20px; }
  .hero-note .note-middle { display: none; }
  .section { padding-block: 68px; }
  .section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  h2 { letter-spacing: -1.3px; font-size: 36px; }
  .section-intro { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 29px; padding: 0; }
  .feature { padding-top: 20px; }
  .feature-top { margin-bottom: 18px; }
  .feature p { max-width: none; }
  .world-caption { flex-direction: column; gap: 12px; }
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
  .contact-row { grid-template-columns: 78px 1fr; gap: 16px; }
  .footer-main { flex-direction: column; gap: 36px; }
  .footer-nav { width: 100%; gap: 40px; }
  .footer-nav > div { flex: 1; }
  .footer-bottom { flex-direction: column; gap: 14px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button:hover { transform: none; }
}
