/* Tartiflette Interactive: studio pages (home, legal notice). Paper, ink and cheese. */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F6F2EA;
  --ink: #1D1C1A;
  --grey: #5B574F;
  --cheese: #F2B630;
  --cheese-soft: #FBE6B0;
  --cheese-ink: #5C3B00;
  --link-hover: #7A4E00;
  --line: #E2DCCF;
  --line-dashed: #BDB5A4;
  --on-ink-soft: #CFC8BA;
  --display: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; }
a { color: var(--ink); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.logo { display: block; }
.logo img { display: block; width: 192px; height: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-weight: 500; font-size: 16px; }
.nav a { text-decoration: none; }
.lang { display: flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; font-size: 14px; font-weight: 600; }
.lang a { padding: 6px 12px; text-decoration: none; }
.lang a[aria-current] { background: var(--ink); color: var(--paper); }

/* Home: hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 72px; padding-bottom: 96px; }
.hero__main { flex: 999 1 560px; min-width: 0; }
.eyebrow { margin: 0 0 20px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -.03em; }
.hero__side { flex: 1 1 300px; margin: 0; color: var(--grey); font-size: 18px; }

.section { padding-bottom: 96px; scroll-margin-top: 16px; }
.section > h2 { margin: 0 0 28px; font-size: 32px; letter-spacing: -.02em; }

/* Home: games */
.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.game-card { display: flex; flex-direction: column; text-decoration: none; background: #FFF; border-radius: 24px; overflow: hidden; border: 1.5px solid var(--line); }
.game-card:hover { color: var(--ink); border-color: var(--grey); }
.game-card__art { height: 280px; background: #FFF8F0; display: flex; align-items: center; justify-content: center; gap: 0; border-bottom: 1.5px solid var(--line); }
.game-card__art img { width: 128px; height: 128px; }
.game-card__art img:nth-child(2) { width: 168px; height: 168px; margin: 0 -8px; position: relative; }
.game-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.game-card__title { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.game-card h3 { margin: 0; font-size: 26px; }
.badge { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: var(--cheese-soft); color: var(--cheese-ink); }
.game-card p { margin: 0; color: var(--grey); }
.game-card__more { margin-top: 8px; font-weight: 600; color: var(--link-hover); }
.game-later { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; border-radius: 24px; border: 1.5px dashed var(--line-dashed); padding: 40px 32px; min-height: 260px; }
.game-later .eyebrow { margin: 0; font-size: 13px; }
.game-later h3 { margin: 0; font-size: 24px; }
.game-later p { margin: 0; color: var(--grey); }

/* Home: studio */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.card { background: #FFF; border: 1.5px solid var(--line); border-radius: 20px; padding: 28px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--grey); }

/* Home: contact */
.contact { background: var(--ink); color: var(--paper); scroll-margin-top: 16px; }
.contact .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.contact__text { flex: 1 1 420px; }
.contact h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.02em; }
.contact p { margin: 0; color: var(--on-ink-soft); }
.button { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--cheese); color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.button:hover { color: var(--ink); background: #F6C653; }
.contact .button:focus-visible { outline-color: var(--paper); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: var(--grey); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Legal notice and other text pages */
.text-page { max-width: 760px; margin: 0 auto; padding: 40px 32px 96px; display: flex; flex-direction: column; gap: 32px; }
.text-page h1 { margin: 0; font-size: clamp(36px, 6vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.text-page h2 { margin: 0 0 8px; font-size: 22px; }
.text-page p { margin: 0 0 10px; }
.text-page section > :last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .wrap, .text-page { padding-left: 20px; padding-right: 20px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .logo img { width: 160px; }
  .nav { gap: 10px 20px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 24px; }
  .section { padding-bottom: 64px; }
  .game-card__art { height: 200px; }
  .game-card__art img { width: 96px; height: 96px; }
  .game-card__art img:nth-child(2) { width: 128px; height: 128px; }
  .game-card__body { padding: 20px 22px 24px; }
}
