:root {
  --gold: #e4c28f;
  --gold-bright: #ffd49a;
  --red: #cb2628;
  --black: #050302;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; background: var(--black); color: #fff; font-family: Arial, Helvetica, sans-serif; }
body { overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }

.intro, .home, .about-page, .contact-page, .products-page { position: fixed; inset: 0; width: 100%; min-height: 100svh; }
.intro { z-index: 2; background: #000; transition: opacity 1s ease, visibility 1s; }
.intro.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__video { width: 100%; height: 100%; object-fit: cover; }
.intro__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08) 55%, rgba(0,0,0,.74) 100%); pointer-events: none; }

.start-button {
  position: absolute; left: 50%; bottom: clamp(28px, 6vh, 72px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 16px 29px; min-width: 150px; justify-content: center;
  border: 1px solid rgba(255,212,154,.7); background: rgba(5,3,2,.42); color: #fff4e2;
  letter-spacing: .24em; cursor: pointer; backdrop-filter: blur(8px); transition: .3s ease;
}
.start-button:hover { background: rgba(192,42,37,.65); border-color: var(--gold-bright); box-shadow: 0 0 30px rgba(210,72,35,.35); }
.start-button__arrow { font-size: 18px; animation: float 1.6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(5px); } }

.home { opacity: 0; visibility: hidden; background: #000; transition: opacity 1s ease .25s, visibility 1s; }
.home.is-visible { opacity: 1; visibility: visible; }
.home__background { position: absolute; inset: 0; background: url('assets/hero.jpg') center center / cover no-repeat; transform: scale(1.01); }
.home__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.88) 0, rgba(0,0,0,.32) 11%, transparent 27%, rgba(0,0,0,.08) 78%, rgba(0,0,0,.58) 100%); }

.header { position: relative; z-index: 3; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(22px, 3.2vw, 52px); }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; color: var(--gold); text-decoration: none; letter-spacing: .2em; }
.brand__mark { color: #ed3636; font-family: Georgia, serif; font-size: 52px; line-height: .7; text-shadow: 0 0 12px rgba(235,38,38,.55); transform: scaleX(1.1); }
.brand__name { font-size: 15px; white-space: nowrap; }
.brand--button { border: 0; background: transparent; padding: 0; cursor: pointer; }

.nav { display: flex; align-items: center; gap: clamp(38px, 6.5vw, 94px); }
.nav__link { position: relative; border: 0; background: none; padding: 12px 0; color: #f0d8b5; cursor: pointer; font-size: 13px; letter-spacing: .1em; }
.nav__link::after { content: ''; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 1px; background: var(--gold-bright); transition: .25s ease; }
.nav__link:hover::after, .nav__link:focus-visible::after { left: 0; right: 0; }
.nav__link.is-active::after { left: 0; right: 0; }

.language { position: relative; justify-self: end; }
.language__current { border: 0; background: none; color: #f0d8b5; padding: 12px; cursor: pointer; letter-spacing: .08em; }
.language__chevron { display: inline-block; margin-left: 7px; transition: transform .25s; }
.language.is-open .language__chevron { transform: rotate(180deg); }
.language__list { position: absolute; top: 100%; right: 0; width: 68px; display: grid; padding: 5px; background: rgba(6,4,3,.9); border: 1px solid rgba(228,194,143,.32); opacity: 0; visibility: hidden; transform: translateY(-7px); transition: .22s ease; backdrop-filter: blur(8px); }
.language.is-open .language__list { opacity: 1; visibility: visible; transform: translateY(0); }
.language__list button { border: 0; background: transparent; padding: 9px; cursor: pointer; color: #d8b985; }
.language__list button:hover { background: rgba(202,49,39,.28); color: #fff; }

.menu-toggle { display: none; }
.coming-soon { position: absolute; z-index: 4; left: 50%; bottom: 8%; transform: translate(-50%, 20px); padding: 14px 22px; color: #f7dfba; border: 1px solid rgba(228,194,143,.42); background: rgba(0,0,0,.64); letter-spacing: .08em; opacity: 0; pointer-events: none; transition: .3s ease; backdrop-filter: blur(8px); }
.coming-soon.is-visible { opacity: 1; transform: translate(-50%, 0); }

.about-page { z-index: 5; opacity: 0; visibility: hidden; overflow-x: hidden; overflow-y: auto; background: #000; transition: opacity .7s ease, visibility .7s; }
.about-page.is-visible { opacity: 1; visibility: visible; }
.about-page__background { position: absolute; inset: 0 0 auto; height: 100svh; background: url('assets/about.jpg') center / cover no-repeat; }
.about-page__veil { position: absolute; inset: 0 0 auto; height: 100svh; background: linear-gradient(180deg, rgba(0,0,0,.87) 0, rgba(0,0,0,.16) 13%, transparent 50%, rgba(0,0,0,.86) 100%); }
.about-hero-copy { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: min(88%, 780px); transform: translateX(-50%); text-align: center; color: #f2d8af; text-shadow: 0 2px 14px #000; font-size: clamp(13px, 1.2vw, 17px); line-height: 1.7; letter-spacing: .05em; }
.about-hero-copy p { margin: 0; }
.about-hero-copy__scroll { display: block; margin-top: 10px; color: var(--gold-bright); animation: float 1.6s ease-in-out infinite; }
.about-content { position: relative; z-index: 2; width: min(880px, calc(100% - 44px)); margin: 100svh auto 0; padding: clamp(68px, 9vw, 120px) clamp(24px, 6vw, 76px); color: #d8c6af; background: radial-gradient(circle at 50% 0, rgba(110,48,19,.2), transparent 48%), #080503; border-left: 1px solid rgba(228,194,143,.15); border-right: 1px solid rgba(228,194,143,.15); box-shadow: 0 -30px 80px rgba(0,0,0,.85); }
.about-content__eyebrow { margin: 0 0 12px !important; color: #bd2e2c; font-size: 12px !important; letter-spacing: .35em; }
.about-content h1 { margin: 0 0 22px; color: #f0c98f; font-weight: 300; font-size: clamp(36px, 6vw, 64px); letter-spacing: .18em; }
.about-content h2 { max-width: 680px; margin: 0; color: #f3dec0; font-weight: 400; font-size: clamp(20px, 3vw, 30px); line-height: 1.35; }
.about-content__rule { width: 72px; height: 1px; margin: 32px 0 38px; background: linear-gradient(90deg, #d59648, transparent); }
.about-content p { margin: 0 0 25px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.9; }
.about-content__closing { margin-top: 42px !important; color: #f0c98f; font-weight: 600; letter-spacing: .04em; }
.about-back { justify-self: end; border: 1px solid rgba(228,194,143,.35); background: rgba(0,0,0,.35); padding: 9px 14px; color: #f0d8b5; font-size: 11px; letter-spacing: .1em; cursor: pointer; }
.about-back:hover { border-color: var(--gold); }

.contact-page { z-index: 6; opacity: 0; visibility: hidden; background: #000; transition: opacity .7s ease, visibility .7s; }
.contact-page.is-visible { opacity: 1; visibility: visible; }
.contact-page__background { position: absolute; inset: 0; background: url('assets/contacts.jpg') center / cover no-repeat; }
.contact-page__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.86) 0, rgba(0,0,0,.12) 13%, transparent 35%); pointer-events: none; }

.products-page { z-index: 7; opacity: 0; visibility: hidden; background: #000; transition: opacity .7s ease, visibility .7s; }
.products-page.is-visible { opacity: 1; visibility: visible; }
.products-page__background { position: absolute; inset: 0; background: url('assets/products.jpg') center / cover no-repeat; }
.products-page__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.86) 0, rgba(0,0,0,.1) 13%, transparent 36%); pointer-events: none; }

@media (max-width: 800px) {
  .home__background { background-position: center center; }
  .header { height: 72px; grid-template-columns: 1fr auto auto; gap: 12px; padding: 0 18px; }
  .brand__mark { font-size: 42px; }
  .brand__name { font-size: 12px; letter-spacing: .16em; }
  .menu-toggle { display: grid; gap: 6px; width: 42px; height: 42px; place-content: center; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 23px; height: 1px; background: var(--gold); transition: .25s; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; display: grid; gap: 0; padding: 18px 25px 24px; background: rgba(4,3,2,.94); border-top: 1px solid rgba(228,194,143,.17); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s ease; }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { text-align: left; padding: 16px 4px; }
  .language__current { padding: 10px 4px; }
  .about-page__background { background-position: center; }
  .contact-page__background { background-position: center; }
  .products-page__background { background-position: center; }
  .nav--about, .nav--contact, .nav--products { display: none; }
  .about-hero-copy { bottom: 20px; font-size: 12px; line-height: 1.5; }
  .about-content { width: calc(100% - 24px); padding: 60px 24px 76px; }
}

@media (max-width: 800px) and (orientation: portrait) {
  body { min-height: 100svh; }

  .intro {
    background: #050302 url('assets/hero.jpg') center / cover no-repeat;
  }
  .intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
    backdrop-filter: blur(16px);
  }
  .intro__video {
    position: relative;
    z-index: 1;
    object-fit: contain;
  }
  .intro__shade { z-index: 2; }
  .start-button {
    z-index: 3;
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
    min-width: 164px;
    padding: 17px 28px;
    background: rgba(5, 3, 2, .72);
  }

  .home__background,
  .about-page__background,
  .contact-page__background,
  .products-page__background {
    background-position: center;
    background-size: cover;
    transform: none;
  }
  .home__background {
    background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url('assets/hero.jpg');
  }
  .about-page__background {
    background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url('assets/about.jpg');
  }
  .contact-page__background {
    background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url('assets/contacts.jpg');
  }
  .products-page__background {
    background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url('assets/products.jpg');
  }
  .home__background::after,
  .about-page__background::after,
  .contact-page__background::after,
  .products-page__background::after {
    content: '';
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .home__background::after { background-image: url('assets/hero.jpg'); }
  .about-page__background::after { background-image: url('assets/about.jpg'); }
  .contact-page__background::after { background-image: url('assets/contacts.jpg'); }
  .products-page__background::after { background-image: url('assets/products.jpg'); }

  .header {
    height: calc(72px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    background: linear-gradient(180deg, rgba(0,0,0,.82), rgba(0,0,0,0));
  }
  .nav { top: calc(72px + env(safe-area-inset-top)); }
  .home__veil,
  .about-page__veil,
  .contact-page__veil,
  .products-page__veil { z-index: 1; }
  .about-hero-copy {
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 12px));
    width: calc(100% - 36px);
    padding: 14px 16px;
    border: 1px solid rgba(228,194,143,.22);
    background: rgba(5,3,2,.68);
    backdrop-filter: blur(8px);
  }
  .coming-soon {
    width: calc(100% - 36px);
    text-align: center;
    bottom: max(28px, calc(env(safe-area-inset-bottom) + 18px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
