:root {
  color-scheme: light;
  --bg: #f5f6f1;
  --ink: #293e33;
  --muted: #627169;
  --gold: #8d6b2f;
  --dim: #758478;
  --line: #3f655a32;
}
body { background: var(--bg); color: var(--ink); }
body * { letter-spacing: 0 !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline-color: #a23850; }
.wrap { width: min(1200px, calc(100% - 80px)); }
.site-header { position: relative; background: #193e31; border-bottom: 2px solid #b7995a; --gold: #d3ba81; }
.header-inner { min-height: 76px; gap: 24px; }
.brand { color: #f1f1e6; }
.brand-name { font-size: 23px; }
.brand-name small { font-size: 9px; color: #d3ba81; }
.brand-name span { font-size: 10px; border-color: #d3ba8180; }
.header-nav { gap: 27px; font-size: 14px; }
.header-nav a { color: #e4e9dc; }
.header-nav .nav-cta { padding: 8px 17px; border-color: #c3a368; color: #f3e5c5; }
.header-nav a:hover { color: #fff4cf; }
.scene, .page-shade { display: none; }
.town-hero { height: min(650px, calc(100svh - 170px)); min-height: 440px; display: block; background: #bad6e6; isolation: isolate; }
.town-hero::after { content: none; }
.town-art { position: absolute; inset: 0; z-index: -1; }
.town-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.town-hero .hero-main { display: block; padding: 34px 0 105px; text-align: center; }
.town-hero .hero-copy { display: block; width: 100%; max-width: 760px; margin-inline: auto; }
.hero .eyebrow { display: block; color: #345345; font: 12px/1.5 Georgia, serif; text-shadow: 0 1px 5px #fff; }
.hero .eyebrow::before { content: none; }
.hero #hero-title { margin: 7px 0 0; font-family: var(--serif); font-weight: 700; font-size: 88px; line-height: 1.25; color: #243e2f; text-shadow: 0 1px 0 #fcf6da, 0 3px 12px #fff9; }
.hero #hero-title > span { display: table; margin: 8px auto 0; padding: 3px 28px 5px; border: 3px double #d7bb7f; background: #782b3b; color: #fff1d5; font-size: 21px; font-weight: 400; line-height: 1.5; text-shadow: none; }
.hero .hero-tagline { order: initial; margin: 18px 0 0; font-size: 23px; line-height: 1.7; color: #263f32; font-weight: 700; text-shadow: 0 1px 8px #fffc, 0 1px 1px #fff; }
.hero .hero-description { margin: 9px auto 0; max-width: 430px; font-size: 14px; line-height: 1.9; color: #2e4737; text-shadow: 0 1px 5px #fff, 0 0 10px #fff; }
.hero .actions { justify-content: center; gap: 14px; margin-top: 23px; }
.button { min-height: 52px; min-width: 166px; padding: 11px 25px; gap: 18px; background: #812f40; border: 1px solid #bd9c59; box-shadow: inset 0 0 0 2px #ffffff19, 0 3px 8px #14281c25; color: #fff6e5; font-size: 15px; border-radius: 3px; }
.button:hover { background: #97394e; }
.button > img { flex: 0 0 auto; filter: brightness(0) invert(1); }
.button-secondary { background: #224d38; }
.button-secondary:hover { background: #306248; }
.hero-floor { bottom: 22px; align-items: center; gap: 20px; }
.town-scroll { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 13px; border: 1px solid #f4efcf8c; background: #173c2edb; color: #fff4da; font-size: 12px; }
.town-scroll > img { filter: brightness(0) invert(1); }
.hero .hero-note { margin: 0; padding: 5px 8px; color: #283e30; font-size: 10px; text-shadow: 0 1px 4px #fff, 0 1px 8px #fff; background: #f7f5e5bb; }
.kicker { color: #7d3945; font-size: 12px; margin-bottom: 12px; }
.section-title { color: #293e33; font-size: 35px; line-height: 1.6; }
.section-title em { color: #7e3946; }
.section-head > p { max-width: 390px; color: #667267; font-size: 13px; }
.memories.memory-section { padding: 54px 0 62px; background: #f5f6f1; border-bottom: 1px solid var(--line); }
.memory-heading { margin-bottom: 24px; }
.memory-heading .section-title { font-size: 34px; }
.memory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.memory-filters { display: flex; overflow-x: auto; min-width: 0; gap: 18px; }
.memory-filters button { position: relative; flex: 0 0 auto; min-height: 48px; padding: 8px 3px 12px; color: #788179; background: none; border: 0; border-bottom: 3px solid transparent; font-size: 14px; }
.memory-filters button[aria-pressed="true"] { color: #7e2d3f; border-bottom-color: #97394e; font-weight: 700; }
.memory-filters button:hover { color: #234d38; }
.memory-count { flex: 0 0 auto; color: #7a837a; font-size: 11px; }
.memory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 25px; }
.memory-card { min-width: 0; margin: 0; }
.memory-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #69816f52; border-radius: 3px; background: #dae2d7; }
.memory-photo > img, .memory-photo > noscript > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.memory-photo:hover > img { transform: scale(1.025); filter: brightness(1.05); }
.memory-photo::after { position: absolute; inset: 5px; border: 1px solid #fff6; content: ""; pointer-events: none; }
.memory-open { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #ead7a896; background: #193c2edb; }
.memory-open img { filter: brightness(0) invert(1); }
.memory-card figcaption { padding: 11px 1px 0; }
.memory-card figcaption > p { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; justify-content: space-between; color: #778177; font-size: 11px; line-height: 1.7; }
.memory-card figcaption > p > span { color: #8b5f3e; }
.memory-card h3 { margin-top: 5px; color: #344a3b; font-family: var(--serif); font-size: 18px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.memory-more { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 28px; }
.album-expand { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 9px 18px; border: 1px solid #70836e80; background: transparent; color: #34523d; font-size: 13px; }
.album-expand:hover { background: #e5ebe0; }
.community-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #7d3945; font-size: 12px; }
.intro { background: #e9eee7; padding: 58px 0; }
.intro-layout { grid-template-columns: .9fr 1.1fr; gap: 60px; }
.intro-copy > p { color: #5c6e61; }
.intro-copy strong { color: #334d3b; }
.progress-principles { color: #4b624e; }
.progress-principles a { color: #7a5147; }
.systems { background: #fbfcf8; padding: 65px 0; }
.system-tabs { padding-right: 25px; }
.system-tab strong { color: #425844; font-size: 15px; }
.system-tab small, .tab-number, .tab-arrow { color: #7e897c; }
.system-tab[aria-selected="true"] { background: #e8eee3; }
.system-tab[aria-selected="true"]::before { background: #8a3343; }
.system-tab[aria-selected="true"] strong, .system-tab[aria-selected="true"] .tab-number { color: #843245; }
.system-panel { align-items: center; }
.system-copy h3, .craft-copy h3 { color: #2d4836; font-size: 28px; }
.system-copy > p, .craft-copy > p:not(.kicker) { color: #677565; }
.benefits li, .detail-toggle { color: #4e6452; }
.detail-toggle p { color: #687365; }
.detail-toggle summary { color: #8b4148; }
.systems-foot { color: #7a8779; }
.systems-foot a { color: #805049; }
.gallery-stage { border-color: #82917a65; background: #e1e7df; }
.gallery-caption { color: #536750; }
.gallery-caption [data-gallery-caption] { color: #526951; }
.gallery-source { color: #7c8978; }
.gallery-source > span { color: #8f9887; }
.photo-thumb { background: #dce5d9; border-color: #8b9a805c; }
.photo-thumb[aria-current="true"] { border-color: #9b4750; }
.craft { background: #eaf0ed; padding: 64px 0; }
.craft-tabs a { color: #6c7c6b; }
.craft-tabs a[aria-selected="true"] { color: #873a49; border-bottom-color: #873a49; }
.craft-copy .craft-note { color: #7b8777 !important; }
.awakening-art { border-color: var(--line); }
.art-development-heading h3, .development-step strong { color: #3a533e; }
.art-development-heading > p, .development-copy > p, .development-copy .development-note { color: #697b65; }
.art-development-heading h3 { font-size: 29px; }
.profession-select > h4 { color: #334d3b; font-size: 28px; }
.profession-select > p:not(.kicker) { color: #687762; }
.profession-caption h4 { color: #3e543e; }
.profession-caption p, .render-label { color: #6a7963; }
.render-label { border-color: #81917469; }
.profession-choice { background: #f4f6ef; border-color: #87977d66; color: #42613f; }
.profession-choice > small { color: #77876b; }
.profession-choice[aria-pressed="true"] { background: #dce7d4; color: #6c2f3c; border-color: #954150; }
.profession-choice:hover { background: #e3ecdc; border-color: #60835a; }
.profession-select .showcase-note { color: #718366 !important; }
.weapon-variants button { color: #516b49; border-color: #78916a8c; min-height: 42px; }
.weapon-variants button[aria-pressed="true"] { color: #82394a; border-color: #82394a; background: #faf8f0; }
.design-records > summary { color: #57734f; }
.team, .team.devlog { background: #e2e9dd; color: #2b4233; padding: 64px 0; }
.team .section-title { color: #2b4233; font-size: 32px; }
.team-quote { color: #596e55; }
.devlog-points { color: #516a4c; }
.devlog-community { color: #85414b; }
.team .devlog-film > p { color: #697b61; }
.world-record { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 14px; color: #526d4b; }
.world-record > summary { min-height: 44px; cursor: pointer; font-size: 13px; }
.world-record-stage { position: relative; margin-top: 10px; width: 100%; aspect-ratio: 16 / 9; background: #10241b; }
.world-record-stage video { display: block; width: 100%; height: 100%; object-fit: cover; }
.world-record .motion-toggle { margin-top: 10px; min-height: 42px; color: #3c5c3e; background: #f6f7ef; border-color: #70876b; font-size: 12px; }
.world-record .motion-icon img { width: 16px; height: 16px; }
.entry-guide { background: #fbfcf8; padding: 65px 0; }
.entry-guide-heading .section-title { font-size: 34px; }
.entry-guide-questions summary { color: #3b5340; font-size: 16px; }
.entry-guide-questions p, .entry-guide-heading > p:last-child { color: #65755f; }
.entry-guide-links a, .entry-guide-questions details > a { color: #8a414b; }
.join { background: #214b39; color: #f1f0df; padding: 55px 0; --gold: #d0b47c; }
.join h2 { font-size: 32px; }
.join p { color: #c3cfba; }
.join-secondary { color: #d3ddc8; }
.site-footer { background: #153528; --gold: #d1b67d; }
.footer-copy { color: #acbca5; }
.footer-copy strong, .footer-nav { color: #d6dfc9; }
.footer-stats, .footer-stats small { color: #9eb093; }
.footer-stats b { color: #d9dbbd; }
.footer-logo { opacity: .9; }
.photo-viewer { background: #14241a; color: #f0eddb; --gold: #d2bb84; --muted: #b7c2aa; --line: #d2bb8440; }
.photo-viewer h2 { font-size: 21px; color: #f1e8cc; }
.photo-viewer button { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.photo-viewer button img { filter: brightness(0) invert(1); width: 19px; height: 19px; }
.viewer-top .viewer-close { padding: 10px; }
.viewer-canvas { border-color: #d2bb8440; }
.mobile-start { background: #183b2b; border-color: #d0b5804f; color: #eff0db; }
.mobile-start > a { color: #f5ebcf; }
@media (min-width: 1700px) {
  .town-hero .hero-main { padding-top: 42px; padding-bottom: 105px; }
  .hero #hero-title { font-size: 92px; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 52px); }
  .header-nav { gap: 19px; font-size: 12px; }
  .hero #hero-title { font-size: 78px; }
  .town-hero .hero-main { padding-top: 34px; padding-bottom: 105px; }
  .intro-layout { gap: 36px; }
  .memory-grid { gap: 24px 19px; }
  .memory-card h3 { font-size: 17px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; }
  .brand-name { font-size: 22px; }
  .header-nav a:not(.nav-cta) { display: none; }
  .town-hero { height: min(580px, calc(100svh - 175px)); min-height: 440px; }
  .town-hero .hero-main { display: block; padding: 30px 0 96px; }
  .town-hero .hero-copy { display: block; }
  .hero #hero-title { font-size: 68px; }
  .hero .hero-tagline { font-size: 21px; }
  .hero-floor { position: absolute; display: flex; bottom: 17px; flex-direction: row; gap: 10px; padding: 0; }
  .memory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .memory-heading { align-items: start; }
  .memory-heading .section-title { font-size: 30px; }
  .memory-heading > p { max-width: 260px; font-size: 12px; }
  .memory-toolbar { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 22px; }
  .memory-count { display: none; }
  .section-title { font-size: 31px; }
  .system-tab strong { font-size: 13px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 12px; min-height: 67px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 8px; }
  .brand-name span { font-size: 9px; margin-left: 5px; }
  .header-nav .nav-cta { min-height: 38px; padding: 6px 9px; font-size: 12px; }
  .brand-mark { width: 25px; height: 34px; }
  .town-hero { height: min(570px, calc(100svh - 174px)); min-height: 435px; }
  .town-art img { object-position: 46% center; }
  .town-hero .hero-main { display: block; padding: 30px 0 85px; }
  .town-hero .hero-copy { display: block; }
  .hero .eyebrow { font-size: 10px; }
  .hero #hero-title { margin-top: 11px; font-size: 57px; line-height: 1.2; }
  .hero #hero-title > span { margin-top: 11px; padding: 3px 23px 5px; font-size: 18px; }
  .hero .hero-tagline { margin-top: 18px; font-size: 19px; line-height: 1.7; }
  .hero .hero-description { margin-top: 9px; font-size: 12px; max-width: 320px; }
  .hero .actions { margin-top: 21px; gap: 10px; }
  .hero .button { padding: 10px 17px; gap: 12px; min-width: 136px; min-height: 47px; font-size: 14px; }
  .hero-floor { flex-direction: column; gap: 2px; bottom: 10px; align-items: center; }
  .hero .hero-note { font-size: 8px; }
  .town-scroll { min-height: 38px; font-size: 11px; padding: 6px 11px; }
  .memories.memory-section { padding: 34px 0 40px; }
  .memory-heading { display: block; margin-bottom: 19px; }
  .memory-heading .section-title { font-size: 28px; line-height: 1.55; max-width: 290px; }
  .memory-heading .section-title em { display: block; }
  .memory-heading > p { max-width: none; font-size: 12px; margin-top: 14px; }
  .memory-heading > p br { display: none; }
  .memory-heading .kicker { font-size: 11px; margin-bottom: 7px; }
  .memory-filters { gap: 16px; }
  .memory-filters button { min-height: 46px; font-size: 12px; padding-inline: 0; }
  .memory-grid { gap: 21px 13px; }
  .memory-card figcaption { padding-top: 8px; }
  .memory-card figcaption > p { font-size: 11px; min-height: 19px; align-content: start; gap: 3px 6px; }
  .memory-card figcaption > p > span { font-size: 10px; }
  .memory-card h3 { font-size: 15px; line-height: 1.6; min-height: 0; margin-top: 4px; }
  .memory-open { right: 6px; bottom: 6px; width: 25px; height: 25px; }
  .memory-open img { width: 15px; height: 15px; }
  .memory-more { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 22px; }
  .community-link { justify-content: center; font-size: 11px; }
  .album-expand { min-height: 46px; font-size: 12px; }
  .intro, .systems, .craft, .team, .team.devlog, .entry-guide { padding-block: 43px; }
  .intro-layout { display: block; }
  .intro-copy { margin-top: 20px; }
  .section-title, .systems .section-title, .craft .section-title, .entry-guide-heading .section-title { font-size: 28px; }
  .system-tab strong { font-size: 11px; }
  .system-copy h3, .craft-copy h3 { font-size: 26px; }
  .section-head > p { font-size: 12px; }
  .profession-select > h4, .art-development-heading h3 { font-size: 25px; }
  .team .section-title { font-size: 28px; }
  .entry-guide-questions summary { font-size: 15px; }
  .photo-viewer h2 { font-size: 16px; }
  .join h2 { font-size: 28px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 28px); }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 7px; }
  .header-nav .nav-cta { padding: 5px 7px; font-size: 11px; }
  .hero #hero-title { font-size: 51px; }
  .hero .hero-tagline { font-size: 17px; }
  .hero .button { min-width: 126px; padding-inline: 13px; }
  .memory-filters { gap: 13px; }
  .memory-filters button { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .memory-photo > img, .button { transition: none; }
  .memory-photo:hover > img, .button:hover { transform: none; }
}
