:root {
  --paper: #f3eee4;
  --paper-2: #ebe4d6;
  --ink: #171410;
  --spruce: #1e4a42;
  --spruce-deep: #14332e;
  --copper: #c46a3a;
  --sky: #dce8ea;
  --line: #d8cebf;
  --mute: #6d6458;
  --cream: #fffaf3;
  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--copper);
}

.atelier {
  min-height: 100vh;
  background:
    linear-gradient(180deg, var(--sky) 0, var(--paper) 280px, var(--paper) 100%);
}

.masthead {
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.masthead-row {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}

.identity:hover {
  color: var(--ink);
}

.identity-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--spruce);
  color: var(--cream);
  font-size: 1.05rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.identity-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.identity-text strong {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.identity-text em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 4px;
}

.desk-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.desk-nav a {
  position: relative;
  padding: 8px 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mute);
  white-space: nowrap;
}

.desk-nav a:hover,
.desk-nav a.is-current {
  color: var(--ink);
}

.desk-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--copper);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheet-nav {
  background: var(--cream);
  color: var(--ink);
  border-right: 2px solid var(--ink);
}

.sheet-nav .offcanvas-header {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.sheet-links {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
}

.sheet-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.sheet-links a span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--copper);
  font-weight: 700;
}

.sheet-links a.is-current,
.sheet-links a:hover {
  color: var(--spruce);
}

.stage {
  padding: 48px 0 72px;
}

.stage-grid {
  display: grid;
  gap: 36px;
  align-items: stretch;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--spruce);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-copy h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 12ch;
  margin: 0 0 20px;
}

.lede {
  max-width: 38rem;
  color: var(--mute);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.press {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.press:hover {
  transform: translateY(-2px);
}

.press-fill {
  background: var(--spruce);
  color: var(--cream);
}

.press-fill:hover {
  background: var(--spruce-deep);
  color: var(--cream);
}

.press-line {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.press-line:hover {
  background: var(--ink);
  color: var(--cream);
}

.index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 420px;
}

.index-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.index-list i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  color: var(--copper);
  margin-top: 2px;
}

.index-list b {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.index-list span {
  color: var(--mute);
  font-size: 0.84rem;
}

.portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  position: relative;
  background: var(--spruce);
  padding: 10px 10px 0;
}

.portrait-frame img {
  width: 100%;
  height: min(540px, 70vw);
  object-fit: cover;
}

.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portrait figcaption span:last-child {
  color: #e0b08a;
}

.collection {
  padding: 24px 0 88px;
}

.collection-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.collection-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

.collection-head .lede {
  margin-bottom: 0;
}

.game-grid {
  display: grid;
  gap: 24px;
}

.game-card {
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.game-media {
  background: var(--spruce);
  padding: 8px 8px 0;
}

.game-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.game-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.game-kind {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.game-body h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.15;
}

.game-body h3 a {
  color: var(--ink);
}

.game-body h3 a:hover {
  color: var(--spruce);
}

.game-body p {
  color: var(--mute);
  margin: 0 0 8px;
  flex: 1;
}

.game-body .press {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 18px;
}

.band {
  padding: 72px 0;
}

.band h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.band p {
  color: var(--mute);
  margin: 0 0 16px;
  font-size: 1.02rem;
}

.split {
  display: grid;
  gap: 36px;
  align-items: start;
}

.fact-panel,
.quote-panel,
.step-card,
.notice-card {
  background: var(--cream);
  border: 1px solid var(--line);
}

.fact-panel {
  padding: 28px 26px;
}

.fact-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 18px;
}

.fact-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fact-panel li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.fact-panel b {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.fact-panel span {
  color: var(--mute);
}

.band-tint {
  background: rgba(220, 232, 234, 0.45);
}

.step-grid {
  display: grid;
  gap: 20px;
}

.step-card {
  padding: 26px 24px 28px;
}

.step-card span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--copper);
  margin-bottom: 10px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 12px;
}

.step-card p {
  margin: 0;
}

.quote-panel {
  padding: 32px 28px;
}

.quote-panel i {
  color: var(--copper);
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.quote-panel blockquote {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--ink);
}

.quote-panel cite {
  color: var(--mute);
  font-style: normal;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band-ink {
  background: var(--spruce-deep);
  color: #f4efe6;
}

.overline-light {
  color: #e0b08a;
}

.lede-light,
.band-ink .lede {
  color: #d7e0dc;
}

.band-ink h2 {
  color: #fffaf3;
}

.notice-grid {
  display: grid;
  gap: 24px;
}

.notice-card {
  background: rgba(255, 250, 243, 0.06);
  border: 1px solid rgba(255, 250, 243, 0.12);
  padding: 28px 26px;
}

.notice-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(196, 106, 58, 0.16);
  color: #e0b08a;
  margin-bottom: 16px;
}

.notice-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0 0 14px;
  color: #fffaf3;
}

.notice-card p {
  color: #d7e0dc;
}

.site-foot {
  background: #102621;
  color: #d7e0dc;
  padding: 56px 0 24px;
}

.foot-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(215, 224, 220, 0.16);
}

.identity-light {
  color: #fffaf3;
  margin-bottom: 18px;
}

.identity-light:hover {
  color: #fffaf3;
}

.identity-light em {
  color: #b7c6c1;
}

.foot-brand p {
  margin: 0 0 14px;
  color: #d7e0dc;
}

.site-foot h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: #fffaf3;
  margin: 0 0 14px;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-links a {
  color: #d7e0dc;
}

.foot-links a:hover {
  color: #e0b08a;
}

.aware-mark {
  display: inline-flex;
  margin-top: 16px;
  padding: 10px 12px;
  min-height: 56px;
  min-width: 160px;
  align-items: center;
  justify-content: center;
}

.aware-mark img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.foot-notes {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(215, 224, 220, 0.16);
}

.foot-notes p {
  margin: 0;
  color: #d7e0dc;
}

.foot-notes strong {
  color: #fffaf3;
}

.foot-base {
  padding-top: 20px;
}

.foot-base p {
  margin: 0;
  font-size: 0.92rem;
}

.leaf {
  padding: 56px 0 88px;
}

.leaf h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 32px 0 12px;
}

.prose p,
.prose li {
  color: var(--mute);
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 16px;
}

.prose li {
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  .stage-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
    align-items: center;
  }

  .stage {
    padding: 64px 0 88px;
  }

  .portrait {
    transform: translateY(8px);
  }

  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .game-media img {
    height: 250px;
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notice-grid,
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .desk-nav {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .foot-grid {
    grid-template-columns: 1.4fr 0.7fr 0.8fr 0.9fr;
  }
}

@media (max-width: 991.98px) {
  .portrait-frame img {
    height: 380px;
  }
}

@media (max-width: 575.98px) {
  .identity-text em {
    display: none;
  }

  .stage-copy h1 {
    max-width: none;
  }

  .portrait figcaption {
    flex-direction: column;
  }
}

html.scroll-lock,
body.scroll-lock {
  overflow: hidden;
}

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 20, 16, 0.38);
  backdrop-filter: blur(4px);
}

.gate-panel {
  width: min(100%, 420px);
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 32px 28px;
  text-align: center;
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--paper-2);
  color: var(--spruce);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.gate-panel h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 12px;
}

.gate-panel p {
  color: var(--mute);
  margin: 0 0 24px;
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gate-actions .press {
  justify-content: center;
  width: 100%;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--spruce-deep);
  color: #d7e0dc;
  border-top: 2px solid rgba(255, 250, 243, 0.12);
  padding: 16px 0;
}

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 0.92rem;
}

.cookie-inner a {
  color: #e0b08a;
  text-decoration: underline;
}

body.has-cookie-banner {
  padding-bottom: 88px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 46rem;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
}

.faq-item summary {
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-body {
  padding: 16px 20px 20px;
  color: var(--mute);
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--spruce);
  margin-top: 8px;
}

.contact-mail:hover {
  color: var(--copper);
}

.game-page .play-stage {
  margin: 28px 0;
}

.game-disclaimer {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 22px 24px;
  max-width: 46rem;
}

.game-disclaimer h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.game-disclaimer p {
  color: var(--mute);
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.game-disclaimer p:last-child {
  margin-bottom: 0;
}
