@font-face {
  font-family: Fredoka;
  src: url("assets/fredoka-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --cream: #FBF4E8;
  --brown: #2E1C12;
  --leather: #B8733A;
  --dark-leather: #8A4F24;
  --orange: #FF7A1A;
  --line: #dac9b5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--brown); font: 16px/1.6 system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--dark-leather); outline-offset: 6px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2, .studio-name { font-family: Fredoka, "Trebuchet MS", sans-serif; font-weight: 500; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 10px 20px; background: var(--brown); color: var(--cream); z-index: 10; }
.skip-link:focus { top: 10px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--line); }
.studio-name { display: block; width: 210px; flex-shrink: 0; }
.studio-name img { width: 100%; }
nav { display: flex; gap: 34px; font-size: 14px; font-weight: 600; }
nav a { padding-block: 12px; }
nav a:hover, .hero-link:hover, .footer a:hover { color: var(--dark-leather); text-decoration: underline; text-underline-offset: 5px; }
nav span { margin-left: 5px; }
.hero { padding-block: 64px 67px; text-align: center; }
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 2.2px; text-transform: uppercase; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-character { width: 44px; height: 44px; object-fit: contain; }
.arrow { display: inline-block; position: relative; width: 13px; height: 13px; flex-shrink: 0; vertical-align: middle; }
.arrow::before { content: ''; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.arrow::after { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }
h1 { max-width: 900px; margin: 21px auto 25px; font-size: clamp(42px, 5.5vw, 72px); letter-spacing: -2.3px; line-height: 1.08; }
h1 > span { color: var(--dark-leather); }
.hero-link { font-size: 14px; font-weight: 600; }
.hero-link span { margin-left: 13px; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.section-rule { flex: 1; height: 1px; background: var(--line); }
.small-note { color: var(--dark-leather); font-size: 12px; }
.game-card { display: grid; grid-template-columns: 1.18fr 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #f4e9d8; }
.game-image { position: relative; min-height: 430px; background: #b59561; }
.game-image img { width: 100%; height: 100%; object-fit: cover; object-position: 41% center; }
.image-caption { position: absolute; bottom: 18px; left: 18px; right: 18px; width: fit-content; padding: 6px 11px; background: var(--cream); border-radius: 6px; font-size: 10px; font-weight: 650; }
.image-caption span { padding-inline: 6px; color: var(--dark-leather); }
.game-copy { padding: 38px 36px 40px; }
.game-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; }
.game-tag span { color: var(--dark-leather); font-size: 9px; }
.game-copy h2 { font-size: clamp(44px, 4.5vw, 62px); line-height: .98; letter-spacing: -1.4px; margin-block: 16px; }
.title-dot { color: var(--dark-leather); }
.game-copy > p { font-size: 15px; line-height: 1.65; }
.actions { display: grid; gap: 10px; margin-top: 25px; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 12px 17px; border: 1px solid var(--brown); border-radius: 8px; font-size: 13px; font-weight: 700; line-height: 1.4; transition: background-color .15s, transform .15s; }
.primary { background: var(--orange); }
.primary:hover { background: #ff923f; transform: translateY(-2px); }
.secondary:hover { background: #ead8c0; transform: translateY(-2px); }
.button span { font-size: 18px; flex-shrink: 0; }
.follow-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding-block: 68px; }
.follow-intro h2 { font-size: 35px; line-height: 1.15; letter-spacing: -.8px; margin-block: 12px; }
.follow-intro > p:last-child { font-size: 14px; color: var(--dark-leather); }
.social-links a { display: flex; align-items: center; gap: 18px; min-height: 65px; border-bottom: 1px solid var(--line); font: 400 25px/1.2 Fredoka, sans-serif; padding: 12px 5px; }
.social-links a:first-child { border-top: 1px solid var(--line); }
.social-number { font: 11px system-ui, sans-serif; color: var(--dark-leather); }
.social-arrow { margin-left: auto; font: 24px system-ui, sans-serif; }
.social-links a:hover { background: #f4e9d8; }
.contact-section { background: var(--brown); color: var(--cream); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 45px; }
.contact-inner .eyebrow { color: #e4b78e; }
.contact-inner h2 { font-size: 30px; line-height: 1.2; margin-top: 10px; letter-spacing: -.4px; }
.contact-links { display: grid; gap: 14px; min-width: 0; }
.contact-links a { display: flex; gap: 20px; align-items: center; font-size: 16px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--leather); overflow-wrap: anywhere; min-height: 28px; }
.contact-links .webmail-link { font-size: 13px; width: fit-content; }
.contact-links a:hover { color: #ffc18f; }
.contact-inner a:focus-visible { outline-color: var(--orange); }
.footer { min-height: 85px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; }
.footer a { padding-block: 12px; }
.footer a span { margin-left: 10px; }
@media (min-width: 1500px) { .hero { padding-block: 80px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .game-copy { padding: 30px 24px; }
  .game-image { min-height: 440px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header { min-height: 92px; gap: 12px; }
  .studio-name { width: 150px; }
  nav { gap: 18px; font-size: 12px; }
  nav a:last-child { display: none; }
  .hero { padding-block: 48px 50px; }
  h1 { font-size: clamp(37px, 7.8vw, 58px); letter-spacing: -1.2px; margin-block: 22px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.7px; }
  .hero-link { font-size: 12px; }
  .section-heading { gap: 12px; margin-bottom: 15px; }
  .game-card { grid-template-columns: 1fr; border-radius: 16px; }
  .game-image { min-height: 0; aspect-ratio: 16/10; }
  .game-copy { padding: 28px 24px 30px; }
  .game-copy h2 { font-size: 52px; }
  .game-copy h2 br { display: none; }
  .game-copy h2 br::after { content: ' '; }
  .follow-section { grid-template-columns: 1fr; gap: 28px; padding-block: 46px; }
  .follow-intro h2 { font-size: 32px; max-width: 310px; }
  .contact-inner { padding-block: 35px; gap: 23px; }
  .contact-inner h2 { font-size: 28px; max-width: 310px; }
  .contact-links a { font-size: 14px; gap: 12px; }
  .footer { min-height: 76px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
