:root {
    color-scheme: dark;
    --ink: #f3f4f4;
    --muted: #bec0c2;
    --orange: #f2a13c;
    --background: #0c1012;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.container { width: min(100% - 48px, 1320px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 20; padding: 10px 16px; background: var(--orange); color: #141414; }
.skip-link:focus { top: 10px; }
.site-header { position: relative; z-index: 2; background: #101518; border-bottom: 1px solid rgba(255,255,255,.07); }
.site-header__inner { min-height: 94px; display: flex; align-items: center; gap: 42px; }
.brand { flex: 0 0 auto; display: block; padding-right: 36px; border-right: 1px solid #6c6d6c; }
.brand img { display: block; width: 220px; max-width: 100%; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.site-nav a, .footer-inner a { text-decoration: none; font-size: .88rem; }
.site-nav a { padding: 12px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); border-color: var(--orange); }
.header-motto { margin-left: auto; white-space: nowrap; color: #a7a9a9; font-size: .62rem; letter-spacing: .05em; }
.header-motto::before { content: ""; display: inline-block; vertical-align: middle; width: 48px; margin-right: 14px; border-top: 1px solid var(--orange); }
.header-motto span { color: var(--orange); padding: 0 3px; }
.language-switch { display: flex; gap: 8px; white-space: nowrap; font-size: .75rem; }
.language-switch a { color: var(--muted); text-decoration: none; }
.language-switch a[aria-current] { color: var(--orange); font-weight: 700; }
.opening { position: relative; background: linear-gradient(180deg, rgba(10,14,16,.20) 0%, rgba(10,14,16,.48) 42%, #0c1012 100%), url('/img/website/Background.jpg') center top / cover no-repeat; }
.hero { min-height: 385px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; padding: 54px 0 35px; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: .69rem; font-weight: 700; letter-spacing: .18em; }
.hero .eyebrow span { display: inline-block; width: 30px; margin: 0 10px 4px 0; border-top: 1px solid var(--orange); }
h1, h2, h3 { line-height: 1.08; font-weight: 750; letter-spacing: -.035em; }
.hero h1 { margin: 0; font-size: clamp(2.9rem, 5vw, 4.7rem); }
.hero h1 span, .split-section h2 span, .contact-inner h2 span { color: var(--orange); }
.hero__description { max-width: 450px; margin: 22px 0 25px; color: #dcdddd; font-size: 1.08rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 47px; padding: 11px 20px; border: 1px solid transparent; border-radius: 4px; font-size: .82rem; font-weight: 650; text-decoration: none; transition: background-color .15s, border-color .15s; }
.button--primary { background: var(--orange); color: #171411; }
.button--primary:hover { color: #171411; background: #ffb85d; }
.button--outline { border-color: #b7b7b4; background: rgba(15,18,19,.45); color: white; }
.button--outline:hover { color: white; border-color: var(--orange); background: rgba(242,161,60,.13); }
.hero__art { min-height: 270px; display: flex; align-items: end; padding: 18px; border: 1px solid #777c7d; border-radius: 5px; background: linear-gradient(145deg, rgba(10,14,16,.78), rgba(10,14,16,.45)), url('/img/website/Background.jpg') center / cover; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
.hero__art span { color: #bfc1c0; font-size: .64rem; letter-spacing: .1em; }
.hero-slider { position: relative; height: 300px; overflow: hidden; border: 1px solid #777c7d; border-radius: 5px; background: #151a1c; }
.hero-slider__slide { display: block; position: relative; width: 100%; height: 100%; color: white; }
.hero-slider__slide[hidden], .hero-slider__controls[hidden] { display: none; }
.hero-slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider__slide span { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px 18px 14px; background: linear-gradient(transparent, rgba(0,0,0,.9)); font-weight: 700; }
.hero-slider__controls { position: absolute; right: 12px; bottom: 10px; display: flex; gap: 5px; }
.hero-slider__controls button, .gallery__controls button { border: 1px solid #8a9698; border-radius: 4px; background: #111a1d; color: white; padding: 6px 12px; cursor: pointer; }
.hero-slider__controls button:hover, .gallery__controls button:hover { border-color: var(--orange); }
.section { padding: 76px 0; scroll-margin-top: 20px; }
.selected { padding: 20px 0 70px; }
.section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.section-heading > span { width: 35px; height: 3px; background: var(--orange); box-shadow: 0 0 14px rgba(242,161,60,.6); }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin: 0; font-size: 1.65rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card { min-width: 0; overflow: hidden; border: 1px solid #4d5152; border-radius: 5px; background: #151a1c; }
.project-card__link { display: block; height: 100%; text-decoration: none; color: var(--ink); }
.project-card__link:hover { color: var(--ink); }
.project-card__image { height: 185px; overflow: hidden; background: #20292e; }
.project-card__image img, .detail-art img { width: 100%; height: 100%; object-fit: cover; }
.project-card__image--placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #293238, #151b1e 65%, #27221e); }
.project-card__image--placeholder span { color: #aab0b1; font-size: .7rem; letter-spacing: .2em; }
.project-card__body { padding: 16px 18px; border-left: 3px solid var(--orange); }
.project-card h3 { margin: 0 0 6px; font-size: 1.18rem; }
.project-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.card-action { display: inline-block; margin-top: 14px; color: var(--orange); font-size: .78rem; font-weight: 650; }
.pc-section { margin-top: 55px; }
.pc-roadmap { padding: 18px; border: 1px solid #464a49; border-top: 0; background: rgba(13,17,19,.9); }
.pc-roadmap h3 { font-size: 1rem; }
.pc-roadmap p, .roadmap-text { color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.pc-roadmap p { margin: 0; }
.content-section { border-top: 1px solid #292e30; }
.content-section--alt { background: #111719; }
.split-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: 70px; }
.split-section h2, .contact-inner h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.rich-content { max-width: 820px; color: #c9cccd; overflow-wrap: anywhere; }
.rich-content p { margin-bottom: 1.2em; }
.rich-content h3, .rich-content h4, .rich-content h5, .rich-content h6 { color: var(--ink); margin: 1.5em 0 .6em; }
.rich-content a, .detail-page a:not(.back-link) { color: var(--orange); }
.rich-content a:hover { color: #ffc779; }
.rich-content li { margin-bottom: .4em; }
.rich-content div { margin-bottom: .6em; }
.section-intro, .muted { color: var(--muted); }
.section-intro { margin-bottom: 26px; }
.accent-border { border-color: var(--orange); margin-top: 15px; }
.contact-section { text-align: center; border-top: 1px solid #292e30; background: linear-gradient(rgba(12,16,18,.88), rgba(12,16,18,.94)), url('/img/website/Background.jpg') center 65% / cover; }
.contact-inner p:not(.eyebrow) { margin: 20px 0 24px; color: var(--muted); }
.site-footer { border-top: 1px solid #303537; background: #0a0e10; }
.footer-inner { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #aeb1b0; font-size: .8rem; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner .footer-social { flex-wrap: wrap; gap: 8px; }
.footer-social a { padding: 6px 12px; border: 1px solid #444c4e; border-radius: 4px; color: var(--ink); }
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.not-found { display: flex; align-items: center; min-height: 65vh; background: linear-gradient(90deg, rgba(12,16,18,.94), rgba(12,16,18,.75)), url('/img/website/Background.jpg') center / cover; }
.not-found__inner { padding-top: 70px; padding-bottom: 90px; }
.not-found__code { margin: 0 0 20px; color: var(--orange); font-size: clamp(5rem, 16vw, 11rem); font-weight: 750; line-height: .9; letter-spacing: -.06em; }
.not-found h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4rem); }
.not-found__description { max-width: 520px; margin: 22px 0 28px; color: var(--muted); font-size: 1.05rem; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.detail-page { min-height: 70vh; padding-top: 55px; padding-bottom: 90px; }
.back-link { display: inline-block; margin-bottom: 38px; color: var(--muted); text-decoration: none; }
.detail-page h1 { margin-bottom: 20px; font-size: clamp(2.6rem, 5vw, 4.4rem); }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.detail-meta span { padding: 8px 12px; border: 1px solid #555a5a; border-radius: 3px; color: #d3d5d4; font-size: .85rem; }
.detail-art { min-height: 280px; height: 280px; overflow: hidden; border: 1px solid #4d5152; border-radius: 5px; }
.detail-body { max-width: 850px; margin-top: 65px; }
.detail-body section { margin-top: 50px; }
.detail-body h2 { margin-bottom: 22px; font-size: 1.65rem; }
.store-links a { display: inline-block; margin-right: 18px; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid #4d5152; border-radius: 5px; background: #151a1c; }
.gallery__item:hover { border-color: var(--orange); }
.gallery__item img { width: 100%; height: 100%; object-fit: contain; }
.gallery__dialog { max-width: min(94vw, 1100px); max-height: 94vh; padding: 48px 16px 16px; border: 1px solid #777c7d; border-radius: 5px; background: #111719; color: var(--ink); }
.gallery__dialog::backdrop { background: rgba(0,0,0,.85); }
.gallery__dialog img { display: block; max-width: 100%; max-height: calc(94vh - 80px); width: auto; height: auto; margin: auto; }
.gallery__close { position: absolute; top: 5px; right: 12px; padding: 0 8px; border: 0; background: transparent; color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.gallery__close:hover { color: var(--orange); }
.gallery__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 12px; }
.gallery__dialog img { max-height: calc(94vh - 135px); }
.project-page { background: linear-gradient(180deg, rgba(12,16,18,.62), #0c1012 530px), url('/img/website/Background.jpg') center top / 100% auto no-repeat; }
.project-page .detail-page h1 { text-transform: uppercase; }
.project-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 35px; align-items: start; }
.project-intro .detail-art { height: 370px; }
.project-overview h2 { font-size: 1.6rem; }
.project-body { max-width: none; }
.project-body section > h2 { border-left: 3px solid #76c8c0; padding-left: 14px; }
.project-details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-details__grid div { display: flex; flex-direction: column; padding: 16px; border-left: 1px solid #536464; }
.project-details__grid span { color: var(--muted); font-size: .85rem; }
.roadmap-list { list-style: none; padding: 0; border-left: 2px solid #76c8c0; }
.roadmap-list li { position: relative; margin: 0 0 18px; padding-left: 20px; }
.roadmap-list li::before { content: ''; position: absolute; left: -6px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: #76c8c0; }
@media (max-width: 1100px) {
    .header-motto { display: none; }
    .site-header__inner { gap: 25px; }
    .site-nav { gap: 22px; }
}
@media (max-width: 767px) {
    .container { width: min(100% - 32px, 1320px); }
    .site-header__inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 0; }
    .brand { border: 0; padding: 0; }
    .brand img { width: 180px; }
    .site-nav { gap: 6px 20px; }
    .site-nav a { padding: 5px 0; font-size: .8rem; }
    .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; }
    .hero__art { min-height: 180px; }
    .project-grid { grid-template-columns: 1fr; }
    .project-card__image { height: 210px; }
    .section { padding: 58px 0; }
    .selected { padding-top: 20px; }
    .split-section, .detail-hero, .project-intro { grid-template-columns: 1fr; gap: 28px; }
    .project-intro .detail-art { height: 240px; min-height: 0; }
    .project-details__grid { grid-template-columns: 1fr; }
    .hero-slider { height: 220px; }
    .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 25px 0; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
