:root {
  color-scheme: light;
  --cream: #fff8e8;
  --paper: #fffdf6;
  --ink: #432c25;
  --muted: #765f52;
  --gold: #d99318;
  --gold-dark: #9b5b0b;
  --mint: #cfe8cf;
  --mint-dark: #276b54;
  --line: rgba(79, 51, 39, 0.16);
  --shadow: 0 18px 50px rgba(77, 47, 25, 0.14);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at top, #fffdf4, #f8edce 70%); line-height: 1.6; }
html[lang="ko"] body { font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #14967b; outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 78px; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255, 250, 236, .92); backdrop-filter: blur(16px); }
.header-inner { width: min(1180px, 100%); min-height: 64px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-actions { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 3px 12px rgba(69, 43, 26, .2); }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-size: 1.03rem; }
.brand small { margin-top: .2rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 1.35rem; }
.site-nav a { font-weight: 800; text-decoration: none; }
.site-nav a:hover { color: var(--gold-dark); }
.language-toggle, .menu-toggle { border: 1px solid var(--line); border-radius: 999px; padding: .6rem .9rem; background: var(--paper); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: min(780px, calc(100vh - 78px)); display: grid; align-items: center; isolation: isolate; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(40, 23, 16, .84) 0%, rgba(50, 27, 17, .58) 35%, rgba(50, 27, 17, .08) 70%); }
.hero-art { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat url("sunny-spoon-studios-social-v1.png"); transform: scale(1.01); }
.hero-copy { width: min(720px, 88%); margin-left: clamp(1rem, 7vw, 7rem); padding: 5rem 0; color: #fffaf0; text-shadow: 0 2px 12px rgba(30, 15, 8, .4); }
.eyebrow { margin: 0 0 .6rem; color: #b56d0a; font-size: .78rem; font-weight: 900; letter-spacing: .16em; }
.hero .eyebrow { color: #ffe6a1; }
.hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.hero-line { display: block; white-space: nowrap; }
html[lang="ko"] .hero h1 { font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 800; line-height: 1.16; letter-spacing: -.04em; }
.hero-copy > p:not(.eyebrow) { max-width: 540px; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.hero-actions, .connect-actions, .store-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .78rem 1.2rem; border: 2px solid currentColor; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { border-color: #f4bd3d; background: #f4bd3d; color: #432c25; box-shadow: 0 7px 18px rgba(137, 82, 8, .25); }
.button--quiet { background: rgba(255,255,255,.12); color: inherit; }

.section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading h2, .studio-card h2, .connect-section h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
html[lang="ko"] :is(.section-heading h2, .studio-card h2, .connect-section h2, .feature-grid h3, .support-card h3) { font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; letter-spacing: -.025em; word-break: keep-all; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.12rem; }
.section-heading--center { margin-inline: auto; text-align: center; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .88fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.stats div { min-height: 112px; display: grid; place-content: center; padding: 1rem; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.56); text-align: center; box-shadow: 0 8px 24px rgba(80, 50, 26, .07); }
.stats strong { color: var(--gold-dark); font-family: Georgia, serif; font-size: 2rem; }
.stats span { color: var(--muted); font-weight: 800; }
.feature-list { display: grid; gap: .65rem; margin: 1.6rem 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.7rem; }
.feature-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.store-pill { display: grid; min-width: 190px; padding: .8rem 1rem; border-radius: 15px; background: var(--ink); color: white; }
.store-pill small { opacity: .75; }
.store-pill--muted { background: #e9dfc7; color: var(--ink); }
.store-note { margin: 0; align-self: center; color: var(--muted); font-size: .85rem; font-style: italic; }
.phone-gallery { position: relative; min-height: 620px; }
.phone { position: absolute; width: min(60%, 290px); margin: 0; overflow: hidden; border: 9px solid #3f2b25; border-radius: 38px; background: #38251f; box-shadow: var(--shadow); }
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.phone figcaption { padding: .7rem .5rem; background: #3f2b25; color: white; text-align: center; font-size: .82rem; font-weight: 800; }
.phone--front { left: 6%; top: 1rem; z-index: 2; transform: rotate(-3deg); }
.phone--back { right: 2%; bottom: 0; transform: rotate(4deg); }

.feature-section { width: 100%; background: rgba(224, 239, 207, .55); border-block: 1px solid var(--line); }
.feature-section__inner { width: min(1180px, calc(100% - 2rem)); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article { position: relative; overflow: hidden; padding: 1rem 1rem 1.4rem; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,253,246,.82); box-shadow: 0 8px 30px rgba(80, 50, 26, .08); }
.feature-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top center; border-radius: 20px; background: var(--cream); }
.feature-grid article > span { position: absolute; top: 1.6rem; left: 1.6rem; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--paper); font-weight: 900; box-shadow: 0 3px 12px rgba(0,0,0,.14); }
.feature-grid h3 { margin-bottom: .3rem; font-family: Georgia, serif; font-size: 1.45rem; }
.feature-grid p { margin: 0; color: var(--muted); }

.gameplay-section { width: 100%; background: #3f2b25; color: #fff8e8; }
.gameplay-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 430px); align-items: center; gap: clamp(2rem, 7vw, 6rem); }
.gameplay-copy { max-width: 620px; }
.gameplay-copy .eyebrow { color: #f4bd3d; }
.gameplay-copy h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.gameplay-copy p { color: rgba(255, 248, 232, .78); font-size: 1.08rem; }
.gameplay-copy small { display: inline-flex; margin-top: .55rem; color: #ffe2a1; font-weight: 800; }
html[lang="ko"] .gameplay-copy h2 { font-family: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; }
.gameplay-video-frame { width: min(100%, 390px); justify-self: center; padding: 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 34px; background: #1e130f; box-shadow: 0 24px 60px rgba(0,0,0,.34); }
.gameplay-video-frame video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 25px; background: #120b08; object-fit: cover; }

.studio-section { display: block; }
.studio-card, .next-world { border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); }
.studio-card { width: 100%; display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 2rem; padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--paper); }
.studio-card img { border-radius: 50%; box-shadow: 0 8px 24px rgba(70, 42, 20, .2); }
.studio-card p:last-child { color: var(--muted); font-size: 1.05rem; }
.next-world { display: flex; flex-direction: column; justify-content: end; min-height: 390px; padding: 2rem; color: white; background: linear-gradient(180deg, rgba(38,83,65,.08), rgba(31,66,53,.9)), url("../social-campaigns/launch-2026/05-grandpa-clock.png") center / cover; }
.next-world span { font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.next-world strong { margin: .45rem 0; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.1; }
.next-world small { font-size: .95rem; }
.connect-section { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.connect-copy { min-width: 0; max-width: 760px; }
.connect-actions { align-content: center; justify-content: flex-end; margin-top: 0; }
.connect-actions .button--quiet { background: var(--paper); }
.support-section { border-top: 1px solid var(--line); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.support-card { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 28px; background: rgba(255, 253, 246, .82); box-shadow: 0 8px 30px rgba(80, 50, 26, .08); }
.support-card h3 { margin: 0 0 .65rem; font-family: Georgia, serif; font-size: 1.55rem; }
.support-card p { margin: 0; color: var(--muted); }
.support-card .button { margin-top: 1.25rem; }
.support-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.support-actions .button--quiet { background: var(--paper); color: var(--ink); }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; padding: 2rem clamp(1rem, 5vw, 5rem); background: #3f2b25; color: #fff8e8; }
.site-footer > div { display: grid; }
.site-footer span, .site-footer small { opacity: .72; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer small { grid-column: 1 / -1; }
.footer-link { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-banner { position: fixed; left: 50%; bottom: 1rem; z-index: 50; width: min(760px, calc(100% - 2rem)); transform: translateX(-50%); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 24px; background: rgba(255, 253, 246, .98); box-shadow: 0 18px 50px rgba(49, 30, 20, .24); }
.consent-banner[hidden] { display: none; }
.consent-banner strong { display: block; font-size: 1.05rem; }
.consent-banner p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.consent-actions .button { min-height: 42px; padding: .6rem .9rem; cursor: pointer; }
.consent-actions .button--quiet { background: var(--paper); color: var(--ink); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav button { text-align: center; }
  .hero { min-height: 700px; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgba(43, 24, 15, .94), rgba(43, 24, 15, .08) 75%); }
  .hero-art { background-position: 67% center; }
  .hero-copy { width: auto; margin: 0; padding: 4rem 1.2rem 3rem; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 4.2rem); }
  html[lang="ko"] .hero h1 { font-size: clamp(2.55rem, 10.5vw, 4rem); }
  .game-layout, .studio-section, .connect-section, .gameplay-section__inner { grid-template-columns: 1fr; }
  .phone-gallery { min-height: 560px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { display: grid; grid-template-columns: 132px 1fr; gap: 0 1rem; align-items: center; }
  .feature-grid img { grid-row: 1 / 4; aspect-ratio: 4 / 5; }
  .feature-grid article > span { top: 1.4rem; left: 1.4rem; }
  .feature-grid h3 { align-self: end; }
  .gameplay-copy { text-align: center; margin-inline: auto; }
  .gameplay-video-frame { width: min(86vw, 390px); }
  .studio-card { grid-template-columns: 110px 1fr; gap: 1.2rem; }
  .next-world { min-height: 330px; }
  .connect-actions { justify-content: flex-start; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .brand img { width: 46px; height: 46px; }
  .section { width: min(100% - 1.2rem, 1180px); }
  .stats { gap: .5rem; }
  .stats div { min-height: 96px; border-radius: 18px; }
  .phone-gallery { min-height: 490px; }
  .phone { width: 59%; border-width: 7px; border-radius: 29px; }
  .feature-grid article { grid-template-columns: 108px 1fr; padding: .75rem; border-radius: 22px; }
  .studio-card { grid-template-columns: 1fr; text-align: center; }
  .studio-card img { width: 130px; margin: 0 auto; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: auto; }
  .hero-line { white-space: nowrap; }
  .consent-banner { grid-template-columns: 1fr; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .button { flex: 1 1 130px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
