@font-face {
  font-family: Spectral;
  src: url("../fonts/Spectral-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --surface: #121113;
  --surface-raised: #191619;
  --text: #f1ede6;
  --muted: #a9a29d;
  --gold: #d4b078;
  --gold-soft: #b99b71;
  --line: rgba(216, 190, 155, .18);
  --font-serif: Spectral, Georgia, serif;
  --font-sans: "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #8d6344; color: white; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.section-pad { padding: 132px 0; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 50; transform: translateY(-150%); padding: 12px 16px; color: #111; background: var(--gold); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 25px max(40px, calc((100vw - 1280px) / 2)); border-bottom: 1px solid rgba(255,255,255,.14); background: linear-gradient(to bottom, rgba(3,4,6,.62), rgba(3,4,6,.03)); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; font-family: var(--font-serif); font-size: 20px; letter-spacing: .12em; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.site-header nav { display: flex; justify-content: center; align-items: center; gap: clamp(22px, 3vw, 48px); }
.site-header nav a { color: #d8d4d1; font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; transition: color .2s ease; white-space: nowrap; }
.site-header nav a:hover, .footer-links a:hover { color: var(--gold); }
.header-cta { display: inline-flex; align-items: center; gap: 18px; padding: 12px 16px; border: 1px solid rgba(222,186,136,.55); color: #f4dfbd; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.header-cta:hover { color: #17100d; background: var(--gold); }
.header-cta span { font-size: 17px; line-height: .5; }
.header-steam { gap: 12px; border-color: rgba(110, 176, 218, .65); background: linear-gradient(135deg, #182839, #101a26); color: #e8f2f8; }
.header-steam:hover { background: #244866; color: white; }
.header-steam span { font-size: 10px; line-height: 1; }
.header-steam img { width: 79px; height: auto; flex: 0 0 auto; }

.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: max(800px, 100svh); overflow: hidden; isolation: isolate; text-align: center; }
.hero-image { position: absolute; inset: 0; z-index: -2; background: url("../images/game/estate-art.jpg") center 43% / cover no-repeat; transform: scale(1.02); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,7,10,.56) 0%, rgba(5,7,10,.28) 32%, rgba(5,7,10,.62) 70%, #0b0b0d 100%), linear-gradient(90deg, rgba(4,5,8,.4), transparent 38%, rgba(4,5,8,.25)); }
.hero-content { min-height: max(800px, 100svh); padding-top: 128px; padding-bottom: 110px; display: flex; align-items: center; justify-content: space-between; flex-direction: column; }
.hero-brand-block, .hero-details { width: 100%; display: flex; align-items: center; flex-direction: column; }
.eyebrow, .section-kicker, .hero-status, .scroll-cue, .feature-number, .visual-label { font-size: 10px; font-weight: 700; letter-spacing: .26em; line-height: 1.5; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 15px; color: #e0c7a5; margin: 0 0 16px; }
.eyebrow-line { width: 28px; height: 1px; background: rgba(224,199,165,.6); }
.hero h1 { width: min(480px, 100%); margin: 0; }
.hero h1 img { width: 100%; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)); }
.hero-tagline { margin: 0 0 14px; font-family: var(--font-serif); font-size: clamp(25px, 3vw, 41px); line-height: 1.15; text-shadow: 0 2px 20px #000; }
.hero-description { width: min(460px, 100%); margin: 0; color: #ded8d2; font-size: 14px; line-height: 1.75; text-shadow: 0 2px 14px #000; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 194px; min-height: 50px; padding: 13px 18px; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-ghost > span { font-size: 19px; font-weight: 400; line-height: .5; }
.button-steam { min-width: 231px; gap: 18px; border: 1px solid #5e9bc0; background: linear-gradient(135deg, #254763, #132a3e); color: #edf6fa; box-shadow: inset 0 1px rgba(255,255,255,.1), 0 7px 28px rgba(2,11,21,.3); }
.button-steam:hover { background: linear-gradient(135deg, #346b91, #1b3e5c); border-color: #8ac8e9; }
.steam-cta-copy { font-size: 11px; line-height: 1.15; white-space: nowrap; }
.button-steam img { width: 87px; height: auto; flex: 0 0 auto; }
.button-discord { min-width: 237px; gap: 12px; border: 1px solid #717cf7; border-radius: 8px; background: #5865f2; color: white; box-shadow: 0 8px 28px rgba(45,48,143,.28); }
.button-discord:hover { background: #6975ff; border-color: #929bff; }
.button-discord img { width: 26px; height: auto; flex: 0 0 auto; }
.button-discord span:not(.button-arrow) { font-size: 11px; white-space: nowrap; }
.button-arrow { margin-left: auto; font-size: 18px; font-weight: 400; line-height: .5; }
.button-ghost { color: #f1ede6; background: rgba(11,11,13,.28); border: 1px solid rgba(230,219,202,.52); }
.button-ghost:hover { background: rgba(227,196,148,.14); border-color: #e4c494; }
.hero-status { display: flex; align-items: center; justify-content: center; gap: 11px; margin: 27px 0 0; color: #c5b8ae; letter-spacing: .18em; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.status-divider { color: #8c8279; margin-inline: 4px; }
.scroll-cue { position: absolute; bottom: 29px; left: 50%; transform: translateX(-50%); display: flex; gap: 15px; align-items: center; color: #d2c7bb; white-space: nowrap; }
.scroll-cue span { color: var(--gold); font-size: 19px; font-weight: 400; }

.intro { position: relative; background: radial-gradient(circle at 74% 54%, rgba(72,47,45,.14), transparent 43%), var(--bg); }
.intro-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(70px, 9vw, 150px); }
.section-kicker { display: flex; gap: 18px; align-items: center; margin: 0 0 25px; color: var(--gold); }
.section-kicker span { color: #6d625b; }
h2, h3, p { overflow-wrap: break-word; }
h2 { margin: 0; font-family: var(--font-serif); font-size: clamp(43px, 5vw, 72px); font-weight: 400; line-height: 1.07; letter-spacing: -.03em; }
h2 em { color: var(--gold); font-weight: 400; }
.intro-copy .lead { margin: 31px 0 20px; color: #e8e0d7; font-family: var(--font-serif); font-size: 22px; line-height: 1.4; }
.intro-copy > p:not(.section-kicker):not(.lead) { max-width: 490px; margin: 0 0 17px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.text-link { display: inline-flex; gap: 22px; align-items: center; margin-top: 17px; padding-bottom: 9px; border-bottom: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.text-link:hover { color: #ffe2b6; }
.text-link span { font-size: 18px; font-weight: 400; }
.intro-visual { position: relative; padding: 13px; border: 1px solid var(--line); }
.intro-visual::before, .intro-visual::after { content: ""; position: absolute; width: 25px; height: 25px; border-color: var(--gold-soft); border-style: solid; pointer-events: none; }
.intro-visual::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.intro-visual::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }
.intro-visual img { width: 100%; height: auto; aspect-ratio: 1 / 1.03; object-fit: cover; object-position: 53% center; }
.visual-label { position: absolute; bottom: 29px; left: 29px; padding: 9px 12px; background: rgba(5,5,6,.75); color: #e4d6c6; letter-spacing: .18em; }

.experience { background: #111012; border-block: 1px solid rgba(214,176,123,.08); }
.section-heading, .gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-heading > p, .gallery-heading > p { max-width: 340px; margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { min-width: 0; background: #191719; border: 1px solid var(--line); }
.feature-number { display: block; padding: 17px 19px; color: var(--gold); letter-spacing: .18em; border-bottom: 1px solid var(--line); }
.feature-art { overflow: hidden; background: #080808; }
.feature-art img { width: 100%; height: auto; aspect-ratio: 1.38 / 1; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .feature-art img { transform: scale(1.04); }
.feature-copy { padding: 26px 26px 30px; }
.feature-copy h3 { margin: 0 0 9px; font-family: var(--font-serif); font-size: 28px; font-weight: 400; line-height: 1.2; }
.feature-copy p { min-height: 72px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }

.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, 225px); gap: 16px; }
.gallery-item { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); background: #161415; cursor: zoom-in; text-align: left; }
.gallery-item-large { grid-row: span 2; }
.gallery-item::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); pointer-events: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .5s ease; }
.gallery-item:hover img { transform: scale(1.035); opacity: .88; }
.gallery-item > span { position: absolute; z-index: 1; bottom: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; color: #f7eee0; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.gallery-item > span span { font-size: 23px; font-weight: 400; letter-spacing: 0; }

.final-cta { position: relative; padding: 118px 0 125px; isolation: isolate; overflow: hidden; text-align: center; background: #0b0b0d; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,8,11,.92), rgba(10,8,12,.68), rgba(9,8,11,.92)), url("../images/game/estate-art.jpg") center 48% / cover no-repeat; opacity: .85; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0b0b0d, transparent 22%, transparent 75%, #0b0b0d); }
.final-cta-content { display: flex; align-items: center; flex-direction: column; }
.final-cta .section-kicker { justify-content: center; }
.final-cta h2 { max-width: 760px; }
.final-cta-content > p:not(.section-kicker) { max-width: 500px; margin: 23px 0 0; color: #c9c2bc; font-size: 14px; line-height: 1.8; }

.site-footer { background: #080809; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 39px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-family: var(--font-serif); font-size: 19px; font-weight: 400; letter-spacing: .16em; line-height: 1; }
.footer-brand span { margin-top: 5px; color: var(--gold); font-size: 8px; letter-spacing: .24em; }
.footer-links { display: flex; gap: clamp(22px, 3vw, 45px); flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: #d5cec6; font-size: 12px; transition: color .2s ease, opacity .2s ease; }
.footer-links .footer-steam:hover { opacity: .72; }
.footer-steam img { width: 70px; height: auto; }
.footer-discord img { width: 18px; height: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 19px 25px; border-top: 1px solid var(--line); color: #77716e; font-size: 10px; letter-spacing: .05em; }
.footer-bottom span:last-child { letter-spacing: .17em; }
.steam-attribution { margin-top: 0; margin-bottom: 0; padding-bottom: 21px; color: #88817c; font-size: 10px; line-height: 1.5; }

.lightbox { width: min(92vw, 1400px); max-width: none; max-height: 92vh; padding: 14px; border: 1px solid var(--line); background: #111; color: var(--text); box-shadow: 0 20px 80px rgba(0,0,0,.7); }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox img { max-height: calc(92vh - 85px); width: 100%; object-fit: contain; }
.lightbox p { margin: 12px 4px 1px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lightbox-close { position: absolute; top: 17px; right: 17px; width: 38px; height: 38px; border: 1px solid var(--line); background: rgba(0,0,0,.8); color: white; cursor: pointer; font-size: 29px; line-height: 1; }
.lightbox-close:hover { background: #422e25; }

@media (max-width: 1000px) {
  .site-header { padding-inline: 30px; }
  .site-header nav { gap: 20px; }
  .intro-grid { gap: 50px; }
  .feature-copy { padding: 22px; }
  .feature-copy h3 { font-size: 25px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 600px); }
  .section-pad { padding: 84px 0; }
  .site-header { flex-wrap: wrap; gap: 12px; padding: 15px 20px; }
  .site-header nav { order: 3; width: 100%; justify-content: center; gap: clamp(17px, 5vw, 35px); padding: 10px 0 2px; border-top: 1px solid rgba(255,255,255,.12); }
  .site-header nav a { font-size: 10px; }
  .brand { font-size: 17px; }
  .brand img { width: 32px; height: 32px; }
  .header-cta { padding: 10px 11px; font-size: 9px; gap: 10px; }
  .hero { min-height: max(690px, 100svh); }
  .hero-content { min-height: max(690px, 100svh); padding-top: 155px; padding-bottom: 80px; }
  .hero h1 { width: min(430px, 90%); }
  .intro-grid { grid-template-columns: 1fr; gap: 45px; }
  .intro-visual img { aspect-ratio: 1.35 / 1; }
  .section-heading, .gallery-heading { display: block; margin-bottom: 32px; }
  .section-heading > p, .gallery-heading > p { margin-top: 18px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-art img { aspect-ratio: 1.75 / 1; }
  .feature-copy p { min-height: 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 190px; gap: 10px; }
  .gallery-item-large { grid-column: span 2; grid-row: span 1; }
  .final-cta { padding: 90px 0 100px; }
  .footer-top { align-items: start; flex-direction: column; }
}

@media (max-width: 480px) {
  .eyebrow { font-size: 8px; gap: 8px; letter-spacing: .16em; }
  .eyebrow-line { width: 15px; }
  .hero-description { font-size: 13px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; max-width: 320px; }
  .hero-status { flex-wrap: wrap; font-size: 9px; letter-spacing: .1em; }
  .scroll-cue { display: none; }
  h2 { font-size: clamp(42px, 10vw, 55px); }
  .intro-copy .lead { font-size: 20px; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; }
  .gallery-item-large { grid-column: auto; }
  .footer-links { gap: 15px 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 350px) {
  .hero, .hero-content { min-height: max(800px, 100svh); }
  .hero-content { padding-top: 172px; padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
