/* Fartles: candlelight, brass, and a table worth sitting at. */
:root { --paper: #f5ead4; --gold: #e6ba70; --gold2: #956f38; --wood: #15130f; --wood2: #211b14; }
body { background: #15130f; font-family: system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.7; }
body::before { display: none; }
.wrap { max-width: 1280px; padding-inline: 32px; }
html { scroll-padding-top: 90px; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f6d18b; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: #f5ead4; color: #15130f; padding: 12px; }
.skip-link:focus { top: 12px; }
header { background: #15130fea; border-bottom: 1px solid #e6ba7029; backdrop-filter: blur(12px); }
header .wrap { height: 76px; }
header .brand { text-decoration: none; font-size: 24px; letter-spacing: .06em; }
header nav { gap: 28px; align-items: center; }
header nav a { font: 500 14px system-ui, sans-serif; min-height: 44px; display: inline-flex; align-items: center; }
header nav a:first-child { color: var(--gold); }
.hero { position: relative; padding: 88px 0 72px; text-align: left; overflow: hidden; background: linear-gradient(90deg,#15130ff5 5%,#15130fc9 65%,#15130f8c),url('shots/room.jpg') center/cover; }
.hero .wrap { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 48px; }
.eyebrow { color: var(--gold); font: 600 12px/1.5 system-ui,sans-serif; text-transform: uppercase; letter-spacing: .19em; margin: 0 0 20px; }
.hero h1 { font-size: clamp(64px,7.8vw,110px); line-height: 1.1; letter-spacing: -.04em; margin: 0; color: var(--paper); text-shadow: none; }
.hero .tag { font-family: 'EB Garamond',Georgia,serif; font-size: clamp(28px,3vw,40px); line-height: 1.15; color: var(--gold); max-width: none; margin: 20px 0; }
.hero-copy > p:not(.eyebrow):not(.tag) { max-width: 44ch; color: #d0c4b1; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; margin: 28px 0 18px; }
.btn { font: 650 15px/1.4 system-ui,sans-serif; min-height: 48px; padding: 14px 22px; border-radius: 4px; background: #e6ba70; color: #241b0f; border: 1px solid #e6ba70; box-shadow: 0 4px 18px #0003; text-decoration: none; transition: transform .18s,background .18s; }
.btn:hover { transform: translateY(-2px); background: #f3cf90; color: #241b0f; }
.btn.ghost { color: var(--paper); border-color: #e6ba704d; background: #15130f55; box-shadow: none; }
.btn.ghost:hover { background: #e6ba701a; color: var(--gold); }
.hero small { display: block; color: #b6aa96; font-size: 14px; max-width: 44ch; }
.hero .hero-scene { position: relative; margin: 0; transform: rotate(-2deg); }
.hero .hero-scene img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; animation: none; border: 1px solid #d5ad6766; box-shadow: 0 24px 80px #0009; }
.hero-scene figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 14px 4px; color: #c4b49b; }
.hero-scene figcaption span:last-child { color: var(--gold); }
.feature-ribbon { border-block: 1px solid #e6ba7026; background: #1b1712; }
.feature-ribbon .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 22px; }
.feature-ribbon span { color: #bcaf99; font-size: 14px; }
.feature-ribbon b { color: var(--paper); margin-right: 8px; font-weight: 600; }
section.page { background: transparent; padding: 88px 0; border: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 32px; }
.title, h2.title { font-size: clamp(28px,3.5vw,44px); line-height: 1.25; text-align: left; color: var(--paper); }
.title::before,.title::after { display: none; }
.section-heading p { color: #c2b59f; max-width: 42ch; margin: 0; }
#game { padding: 72px 0 48px; }
.game-frame { width: 100%; max-width: 100%; margin: 0 auto; }
#unity-container { border: 1px solid #b689494d; border-radius: 8px; box-shadow: 0 20px 60px #0005; }
#unity-cover { background: linear-gradient(#17120d44,#17120dc9),url('shots/table.png') center/cover; }
#unity-cover p { color: #f4e8d1; text-shadow: 0 2px 6px #000; max-width: 42ch; padding-inline: 12px; }
.game-tools { margin-bottom: 14px; }
.hint { color: #b5a993; font-size: 14px; margin-top: 20px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split .feature-image { width: 100%; height: auto; display: block; border: 1px solid #e6ba7040; border-radius: 6px; box-shadow: 0 20px 60px #0006; }
.split p { color: #c7baa5; }
.feature-list { padding: 0; list-style: none; margin: 28px 0 0; counter-reset: features; }
.feature-list li { position: relative; padding: 16px 0 16px 44px; border-top: 1px solid #e6ba7029; counter-increment: features; color: #b9ac97; }
.feature-list li::before { content: '0' counter(features); position: absolute; left: 0; color: var(--gold); font-family: Cinzel,serif; }
.feature-list strong { display: block; font-weight: 600; color: var(--paper); margin-bottom: 4px; }
#online { background: #eaddc3; color: #2c2519; }
#online .eyebrow { color: #7d5120; }
#online .title,#online h3 { color: #302518; }
#online p { color: #62503b; }
#online .btn { background: #302518; border-color: #302518; color: #f5ead4; }
.online-modes { display: grid; gap: 24px; }
.online-mode { padding: 0 0 24px; border-bottom: 1px solid #7d512033; }
.online-mode h3 { font-size: 21px; }
.online-mode p { margin-bottom: 0; }
.shots { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.shots figure { margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.shots img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border: 1px solid #e6ba7033; border-radius: 4px; transition: transform .2s; }
.shots a { display: block; overflow: hidden; }
.shots a:hover img { transform: scale(1.035); }
.shots figcaption { padding: 16px 0; color: #cfc0a8; text-align: left; font-size: 15px; }
.cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.card { background: #221d16; color: #c9bba5; border: 1px solid #e6ba7029; border-radius: 4px; padding: 28px; box-shadow: none; }
.card h3 { color: var(--paper); font-size: 21px; }
.card p { font-size: 16px; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 36px; }
.steps article { border-top: 1px solid #e6ba704d; padding-top: 24px; }
.step-number { color: var(--gold); font: 28px Cinzel,serif; }
.steps h3 { font-size: 23px; margin-top: 12px; }
.steps p { color: #c2b49e; }
details { margin-top: 32px; border-block: 1px solid #e6ba7033; padding: 20px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--gold); min-height: 30px; }
.scoring { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.scoring span { padding: 8px 16px; background: #292117; border: 1px solid #e6ba7029; border-radius: 4px; }
details p { color: #c2b49e; max-width: 80ch; }
#install { border-top: 1px solid #e6ba7026; }
footer { text-align: left; background: #0f0e0b; border-top: 1px solid #e6ba7026; padding: 44px 0; color: #ac9d86; font-size: 14px; }
.footer-brand { font: 28px Cinzel,serif; color: var(--gold); }
footer .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
footer p { margin: 8px 0; }
dialog.shot-dialog { max-width: 94vw; max-height: 94dvh; padding: 44px 12px 12px; background: #17130f; border: 1px solid #e6ba7066; border-radius: 8px; color: var(--paper); }
dialog::backdrop { background: #000d; }
.shot-dialog img { max-width: 88vw; max-height: 78dvh; display: block; object-fit: contain; }
.shot-dialog button { position: absolute; top: 4px; right: 10px; background: none; color: var(--paper); border: 0; font-size: 24px; width: 44px; height: 40px; cursor: pointer; }
html.playing .feature-ribbon,html.app .feature-ribbon,html.playing .skip-link,html.app .skip-link { display: none; }
@media(max-width:900px) {
  .hero { padding-block: 56px 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero .hero-scene { transform: none; max-width: 680px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split .feature-image { order: 2; }
  .cards,.shots { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 16px; }
  .steps { gap: 24px; }
}
@media(max-width:600px) {
  .wrap { padding-inline: 20px; }
  header .wrap { height: 64px; gap: 10px; }
  header .brand { font-size: 20px; }
  header nav { gap: 16px; }
  header nav a { font-size: 14px; }
  .hero h1 { font-size: 68px; }
  .hero .tag { font-size: 32px; }
  .hero .cta { display: grid; grid-template-columns: 1fr; }
  .hero .cta .btn { text-align: center; }
  .hero-scene figcaption { font-size: 12px; }
  .feature-ribbon .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-ribbon span { font-size: 13px; }
  .feature-ribbon b { display: block; }
  section.page { padding-block: 52px; }
  #game { padding-block: 44px 24px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  footer .wrap { grid-template-columns: 1fr; gap: 16px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

html.playing #game .section-heading,html.app #game .section-heading { display:none; }

/* A little more inn, a little less showroom. */
body { background: radial-gradient(ellipse at top,#4a3120 0,#2b2017 45%,#211911 100%); font-family: 'EB Garamond',Georgia,serif; font-size: 20px; line-height: 1.5; }
body::before { display: block; opacity: .055; background: repeating-linear-gradient(94deg,#f8dcab 0 1px,transparent 1px 8px); }
header { background: #24190fee; border-bottom: 2px solid #9c733b; }
.hero { padding: 60px 0 48px; background: linear-gradient(90deg,#2c2018f2 8%,#2c2018bc 65%,#2c201888),url('shots/room.jpg') center/cover; border-bottom: 1px solid #a57e4855; }
.hero .wrap { gap: 40px; }
.hero h1 { color: #f3ddb1; text-shadow: 0 2px 0 #4c2c15,0 5px 18px #0006; }
.hero .tag { margin-block: 10px 16px; color: #e8c88e; }
.hero-copy > p:not(.eyebrow):not(.tag) { max-width: 34ch; color: #e4d3b7; }
.eyebrow { letter-spacing: .08em; font-size: 13px; color: #d8b778; }
.hero .hero-scene { transform: rotate(-1deg); }
.hero .hero-scene img,.split .feature-image { border: 4px solid #8f6936; border-radius: 3px; box-shadow: 0 0 0 1px #d9b57277,0 12px 30px #0006; }
.hero-scene figcaption { font: italic 18px 'EB Garamond',Georgia,serif; justify-content: center; }
.btn { font-family: Cinzel,Georgia,serif; background: linear-gradient(#efd49c,#c7984e); border: 2px solid #9a7036; border-radius: 4px; box-shadow: inset 0 0 0 1px #f7dfa84d,0 3px 0 #50351d; }
.btn.ghost { background: #2c201888; border-color: #ad8853; }
.install-primary { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; }
.recommended { font: 600 11px system-ui,sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #62421d; }
.hero .cta { align-items: stretch; margin-block: 24px 16px; }
.hero .cta .ghost { display: inline-flex; align-items: center; justify-content: center; }
.hero small { font: 16px/1.45 'EB Garamond',Georgia,serif; color: #d0bea0; }
.section-heading { margin-bottom: 24px; }
.section-heading p,.split p,.steps p { color: #d5c2a3; }
section.page { padding-block: 52px; }
#game { padding-block: 48px 28px; }
.title,h2.title { font-size: clamp(28px,3vw,38px); }
.split { gap: 44px; }
#online { margin: 12px 0; padding-block: 40px; background: linear-gradient(115deg,#eddbb8,#d1b78a); border-block: 3px double #a47a3e; box-shadow: 0 5px 24px #0003; }
.tavern-note { padding: 16px 28px; border-left: 1px solid #8a602755; }
.tavern-note h3 { font-size: 24px; }
.tavern-note p { margin-block: 12px; }
.aside-joke { font-style: italic; }
.shots { gap: 20px; margin-top: 24px; }
.shots img { border: 3px solid #8b673b; }
.shots figcaption { padding-block: 10px; font: italic 18px 'EB Garamond',Georgia,serif; }
.steps { gap: 28px; margin-top: 24px; }
.steps article { padding-top: 16px; border-color: #b98c4f77; }
.step-number { font-size: 20px; }
.steps h3 { font-size: 22px; margin-top: 8px; }
.steps p { margin-bottom: 0; }
#install { background: #33251b; border-block: 1px solid #9c733b66; }
#install .section-heading p { max-width: 48ch; font-size: 19px; }
.card { background: #281d14; padding: 22px; border: 1px solid #a77a4055; }
.card p { font: 18px/1.5 'EB Garamond',Georgia,serif; }
footer { background: #1b140f; font-family: system-ui,sans-serif; font-size: 13px; line-height: 1.6; margin-top: 0; }
[data-install][hidden] { display: none !important; }
@media(max-width:600px) {
  body { font-size: 19px; }
  .hero { padding-block: 32px; }
  .hero .hero-scene { transform: none; }
  .hero .cta { grid-template-columns: 1fr; }
  .hero .cta #play-hero { grid-column: auto; }
  .hero .cta .btn { min-height: 52px; }
  section.page { padding-block: 36px; }
  .tavern-note { border-left: 0; border-top: 1px solid #8a602755; padding: 20px 0 0; }
  #install .section-heading .btn { display: inline-block; margin-top: 16px; }
}
