
/* v3.1 visual reference: home page only */
.home{background:#070406;min-height:100svh;position:relative;isolation:isolate}
.home::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;opacity:1;background:linear-gradient(180deg,rgba(3,2,4,.03) 0%,rgba(6,3,4,.12) 43%,rgba(5,3,5,.08) 100%),url('assets/original-horizon.webp') center bottom / 100% auto no-repeat,radial-gradient(ellipse at 52% 55%,#4b1a0d 0%,#1a0908 29%,#080507 68%)}
.home::after{content:"";position:fixed;z-index:-1;pointer-events:none;top:0;left:0;width:49vw;height:43vh;background:linear-gradient(90deg,transparent 55%,#090507 100%),linear-gradient(180deg,transparent 40%,#090507 100%),url('assets/nebula-atmosphere.webp') left top/cover no-repeat;opacity:.72;mix-blend-mode:screen}
.home .stage{width:100%;max-width:none;min-height:calc(100svh - 125px);padding:110px 30.5vw 110px 6.2vw;grid-template-columns:minmax(0,1.05fr) minmax(220px,.85fr);gap:3.3vw;align-items:center}
.home .hero-copy{max-width:590px;transform:translateY(-8px)}
.home .eyebrow{font-size:clamp(12px,1.15vw,17px);font-weight:400;letter-spacing:.43em;color:#f1dec3;margin:0 0 25px;display:flex;align-items:center;gap:20px;justify-content:center}
.home .eyebrow:before,.home .eyebrow:after{content:"";height:1px;flex:1;max-width:74px;background:linear-gradient(90deg,transparent,#f2a33c,transparent);box-shadow:0 0 10px #ff8e20}
.home .hero-copy h1{font-size:clamp(29px,3.5vw,61px);white-space:nowrap;letter-spacing:.18em;font-weight:400;margin:0 0 25px;text-align:center;color:#f3e6d4;text-shadow:0 0 20px #ff9c2820}
.home .quote{text-align:center;text-transform:uppercase;font-size:clamp(9px,.82vw,13px);letter-spacing:.24em;line-height:2;max-width:360px;margin:0 auto 48px;color:#ead8c3}
.home .contact{max-width:480px;margin:auto;gap:13px}
.home .contact-row,.home .contract-row{min-height:47px;padding:9px 16px;border-color:#bd7a29;box-shadow:0 0 13px #ff8d1e30,inset 0 0 12px #ff8d1e0c;background:#090608c9;font-size:12px}
.home .contact-row{justify-content:flex-start;gap:16px}.home .contact-symbol{font-size:21px;color:#eda128}.home .contact-end{margin-left:auto;color:#eda128;font-size:18px}.home .contract-row{gap:12px}.home .contract-text{font-size:clamp(8px,.72vw,11px);letter-spacing:0}
.home .emblem{width:min(100%,390px);position:relative;filter:drop-shadow(0 0 16px #ff8e3c9c) drop-shadow(0 0 45px #ff7e274f);transform:translateY(-9px)}
.home .emblem img{border:2px solid #f6ad55;box-shadow:0 0 0 3px #e88c2036;border-radius:50%}
.home .site-top{right:4.2vw;top:30px;gap:25px}.home .menu-toggle{height:40px;width:43px;border-radius:14px;box-shadow:0 0 15px #ff9b3a6b}
.home .site-menu{top:79px;right:4.1vw;width:clamp(230px,23vw,320px);max-height:calc(100svh - 110px);padding:19px 15px;border:1px solid #76543d;border-radius:17px;background:linear-gradient(145deg,#100d10f5,#080709f5);box-shadow:0 12px 44px #000b,0 0 30px #f8911a12;transform:none;opacity:1;visibility:visible;overflow:auto}
.home .site-menu:not(.open){opacity:0;visibility:hidden;transform:translateY(-9px)}
.home .site-menu>a,.home .site-menu summary{font-size:clamp(10px,.8vw,13px);text-transform:uppercase;letter-spacing:.13em;display:flex;align-items:center;gap:13px;padding:11px 12px;border-bottom:0;border-radius:12px;line-height:1.25}
.home .site-menu .nav-home{background:linear-gradient(90deg,#66300d,#130d0d);box-shadow:inset 0 0 13px #f4942a52;color:#f9e4c9}
.home .site-menu .nav-icon{color:#f5a326;font-size:19px;min-width:20px;line-height:1;text-align:center;font-weight:400}
.home .site-menu details summary:after{content:'⌄';margin-left:auto;float:none;color:#e99a43;font-size:20px}
.home .site-menu .submenu{padding:5px 8px 8px 18px;margin:0 0 2px 15px;border-radius:13px;background:#ffffff09;gap:0}
.home .site-menu .submenu a{display:flex;align-items:center;gap:10px;text-transform:uppercase;font-size:clamp(9px,.7vw,11px);letter-spacing:.13em;padding:8px 7px;color:#d5c7ba}
.home .site-menu .submenu .nav-icon{font-size:15px;min-width:18px}
.home .site-menu .menu-heading{display:none}
.home .menu-backdrop{display:none!important}
.home .footer{position:fixed;bottom:2.8vh;left:0;right:0;padding:0 18px;text-transform:uppercase;font-size:clamp(11px,1.1vw,16px);letter-spacing:.33em;text-shadow:0 1px 9px #000;pointer-events:none}
.home .footer small{font-size:10px;letter-spacing:.16em;margin-top:12px;color:#c6a587}
@media(min-width:1400px){.home .stage{padding-right:30vw}.home .emblem{width:min(100%,400px)}}
@media(min-width:761px) and (max-width:1120px){.home .stage{padding-left:4vw;padding-right:30vw;gap:1.5vw}.home .hero-copy h1{font-size:clamp(27px,3.25vw,42px)}.home .emblem{width:min(100%,280px)}.home .site-menu{right:2vw;width:25vw;padding:12px 8px}.home .site-menu>a,.home .site-menu summary{padding:9px 7px}}
@media(max-width:760px){.home::before{background:linear-gradient(180deg,#08050633 0%,#09050855 65%,#090508 100%),url('assets/original-horizon.webp') center bottom / auto 36vh no-repeat,radial-gradient(ellipse at 50% 44%,#3a140b,#090608 68%)}.home::after{width:100vw;height:27vh;opacity:.5}.home .stage{display:flex;flex-direction:column-reverse;justify-content:center;gap:23px;min-height:calc(100svh - 88px);padding:92px 6vw 112px}.home .emblem{width:min(48vw,210px);transform:none}.home .hero-copy{transform:none;width:100%}.home .hero-copy h1{font-size:clamp(26px,7vw,44px);letter-spacing:.12em;margin-bottom:15px}.home .eyebrow{margin-bottom:14px}.home .quote{font-size:10px;margin-bottom:22px}.home .contact{max-width:440px}.home .contact-row,.home .contract-row{min-height:43px}.home .contract-text{font-size:clamp(8px,2vw,11px)}.home .site-menu{top:70px;right:4vw;width:min(320px,92vw);max-height:calc(100svh - 85px);padding:14px}.home .site-menu>a,.home .site-menu summary{font-size:12px;padding:10px}.home .site-top{right:5vw;top:16px}.home .footer{bottom:18px;font-size:clamp(9px,2.1vw,12px);letter-spacing:.13em}.home .footer small{font-size:9px;margin-top:7px}}
@media(max-height:690px) and (min-width:761px){.home .stage{padding-top:75px;padding-bottom:75px}.home .emblem{width:min(100%,300px)}.home .quote{margin-bottom:25px}.home .site-menu{top:67px;max-height:calc(100svh - 75px);padding:10px}.home .site-menu>a,.home .site-menu summary{padding:7px 10px}.home .site-menu .submenu a{padding:5px 7px}.home .footer{bottom:12px}}

/* Reference-aligned v3.1 refinements: clean, full-height cinematic backdrop */
.home{background:#050304 url('assets/cosmic-horizon-v31.webp') center center / cover no-repeat fixed!important}
.home::before,.home::after{content:none!important;display:none!important}
.home .stage{min-height:100svh;padding-top:100px;padding-bottom:125px;position:relative;z-index:1}
.home .hero-copy{transform:translateY(-5px)}
.home .emblem{width:min(100%,410px);transform:translateY(-4px)}
.home .emblem img{border:2px solid #ffb15b;box-shadow:0 0 0 4px #ed87252b,0 0 32px #e77d2666}
.home .site-menu{background:linear-gradient(135deg,rgba(13,10,12,.96),rgba(7,6,9,.97));box-shadow:0 16px 50px #000b}
.home .footer{bottom:5.4vh;color:#f5e7d9;z-index:2}
.home .footer small{color:#e1b994}
@media(min-width:761px){.home .stage{grid-template-columns:minmax(0,1.07fr) minmax(230px,.93fr);padding-left:5vw;padding-right:29vw;gap:2.5vw}.home .hero-copy h1{font-size:clamp(33px,3.65vw,62px)}.home .contact{max-width:520px}}
@media(max-width:760px){.home{background-attachment:scroll!important;background-position:center bottom!important}.home .stage{min-height:100svh;padding:85px 6vw 135px}.home .emblem{width:min(48vw,210px);transform:none}.home .footer{bottom:12px}}

/* v3.2 contract identifier */
.home .contract-row{justify-content:flex-start}.home .contract-symbol{color:#eda128;flex:0 0 22px;font-size:23px;line-height:1;font-weight:400;transform:rotate(-45deg);text-align:center}.home .contract-text{flex:1;text-align:left;min-width:0}.home .copy-icon{margin-left:auto;flex-shrink:0}

/* v3.3: discreet, clickable legal footer links */
.home .footer .legal-links{pointer-events:auto;display:flex;justify-content:center;align-items:center;gap:9px;margin-top:7px;font-size:9px;letter-spacing:.055em;line-height:1.4;text-transform:none;text-shadow:none}
.home .footer .legal-links a{pointer-events:auto;color:#927f70;text-decoration:none;transition:color .2s ease}
.home .footer .legal-links a:hover,.home .footer .legal-links a:focus-visible{color:#d3a57c;text-decoration:underline}
.home .footer .legal-links span{color:#625044}
@media(max-width:760px){.home .footer .legal-links{font-size:8px;gap:7px;margin-top:6px}}

/* v5.0 — homepage-only balanced desktop composition.
   The emblem is anchored to the viewport centre, not to the remaining
   width after reserving space for the (overlay) navigation. */
@media (min-width: 901px) {
  .home .stage {
    display: block;
    position: relative;
    width: 100%;
    min-height: 100svh;
    padding: 0;
    margin: 0;
  }
  .home .hero-copy {
    position: absolute;
    left: clamp(32px, 4.5vw, 86px);
    top: 47%;
    width: clamp(295px, 33vw, 520px);
    max-width: none;
    transform: translateY(-50%);
  }
  .home .hero-copy h1 {
    font-size: clamp(32px, 3.55vw, 57px);
    letter-spacing: .15em;
  }
  .home .eyebrow { margin-bottom: 25px; }
  .home .quote { margin-bottom: 44px; }
  .home .contact { max-width: 100%; }
  .home .emblem {
    position: absolute;
    left: 50%;
    top: 47%;
    width: clamp(285px, 27vw, 410px);
    max-width: none;
    transform: translate(-50%, -50%);
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .home .hero-copy {
    left: 3vw;
    width: 34vw;
  }
  .home .hero-copy h1 {
    font-size: clamp(29px, 3.3vw, 40px);
    letter-spacing: .11em;
  }
  .home .emblem { width: 26vw; }
}
/* Compact and mobile layouts keep the established stacked composition. */
@media (min-width: 761px) and (max-width: 900px) {
  .home .stage { padding-right: 28vw; }
}

/* v5.1 — restore generous separation between the left content and the
   centered emblem. Desktop only; menu, mobile and subpages unchanged. */
@media (min-width: 901px) {
  .home .hero-copy {
    left: clamp(26px, 3.5vw, 68px);
    width: clamp(285px, 29vw, 455px);
  }
  .home .hero-copy h1 {
    font-size: clamp(29px, 3vw, 49px);
    letter-spacing: .13em;
  }
  .home .contact { max-width: 100%; }
  .home .emblem {
    left: 50%;
    width: clamp(275px, 25vw, 390px);
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .home .hero-copy { left: 2.7vw; width: 29vw; }
  .home .hero-copy h1 { font-size: clamp(26px, 2.9vw, 35px); letter-spacing: .10em; }
  .home .emblem { width: 25vw; }
}

/* v5.5 — Mobile Safari: footer participates in document flow, never overlays contact rows. */
@media (max-width: 760px) {
  .home .stage {
    padding-bottom: 28px;
  }
  .home .footer {
    position: relative;
    inset: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    margin: 0;
    padding: 18px 18px calc(28px + env(safe-area-inset-bottom, 0px));
    z-index: 2;
  }
}

/* v5.6 — Mobile browsers: keep the emblem close to navigation regardless of
   viewport-height differences (Safari / DuckDuckGo browser chrome).
   The content and footer remain in normal document flow. Desktop untouched. */
@media (max-width: 760px) {
  .home .stage {
    min-height: 0;
    height: auto;
    justify-content: flex-start;
    padding-top: clamp(100px, 12svh, 130px);
    padding-bottom: 28px;
  }
  .home .footer {
    margin-top: 12px;
  }
}

/* v5.8 — Mobile footer legibility on bright horizon areas (Safari / DuckDuckGo).
   A soft, non-interactive shadow sits behind the footer copy only. */
@media (max-width: 760px) {
  .home .footer {
    isolation: isolate;
  }
  .home .footer::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: -22px 0 -8px;
    background: radial-gradient(ellipse 82% 78% at 50% 51%,
      rgba(5, 3, 5, .88) 0%,
      rgba(5, 3, 5, .74) 47%,
      rgba(5, 3, 5, .28) 77%,
      transparent 100%);
  }
}
