:root {
  --gold: #e8b34f;
  --gold-light: #ffe28a;
  --bronze: #8a430b;
  --espresso: #2a190d;
  --charcoal: #292522;
  --cream: #fffcf5;
  --sand: #f2e8d8;
  --white: #fff;
  --max: 1200px;
  --display: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--charcoal); background: var(--cream); font-family: var(--body); font-size: 1rem; line-height: 1.6; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 999; transform: translateY(-150%); background: #fff; padding: 10px 16px; border-radius: 5px; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 4px; }

.site-header { height: 82px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 32px; background: rgba(255,252,245,.96); border-bottom: 1px solid rgba(42,25,13,.12); position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.neuclix-mark { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #524942; font-size: .68rem; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.neuclix-mark img { width: 142px; height: auto; }
.mark-box { width: 39px; height: 39px; display: inline-grid; place-items: center; color: var(--espresso); background: linear-gradient(135deg,var(--gold-light),var(--gold),var(--bronze)); font-family: var(--display); font-weight: 900; font-size: 1.35rem; border-radius: 3px; transform: skew(-6deg); }
nav { display: flex; gap: 30px; }
nav a { text-decoration: none; font-weight: 700; font-size: .9rem; }
nav a:hover { color: var(--bronze); }
.menu-button { display: none; border: 0; background: none; font-weight: 800; }

.hero { min-height: min(900px,100svh); position: relative; display: grid; align-items: end; overflow: hidden; background: var(--espresso); }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo { background: url("assets/01-IMG_1880.webp") center 42% / cover no-repeat; transform: scale(1.015); animation: settle 1.4s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(20,12,7,.92) 0%, rgba(20,12,7,.68) 44%, rgba(20,12,7,.08) 80%), linear-gradient(0deg,rgba(20,12,7,.62),transparent 42%); }
.hero-content { position: relative; z-index: 2; width: min(760px,100%); padding: 170px clamp(20px,7vw,112px) clamp(95px,10vw,145px); color: #fff; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--bronze); text-transform: uppercase; letter-spacing: .17em; font-size: .79rem; font-weight: 800; }
.hero .eyebrow { color: var(--gold-light); }
h1,h2,h3 { margin: 0; color: var(--espresso); font-family: var(--display); font-stretch: condensed; line-height: .98; letter-spacing: -.025em; }
h1 { color: #fff; font-size: clamp(4rem,9vw,8rem); text-transform: uppercase; }
h1 span { color: var(--gold); }
h2 { font-size: clamp(2.8rem,5.5vw,5rem); }
.hero-copy { max-width: 610px; margin: 30px 0; font-size: clamp(1.05rem,1.5vw,1.25rem); color: rgba(255,255,255,.88); }
.button { display: inline-flex; min-height: 50px; align-items: center; gap: 18px; padding: 0 24px; border-radius: 5px; background: var(--gold); color: var(--espresso); font-weight: 800; text-decoration: none; }
.button:hover { background: var(--gold-light); }
.hero-brand { position: absolute; right: clamp(20px,5vw,72px); bottom: 36px; z-index: 3; width: min(320px,35vw); padding: 16px 18px; background: rgba(42,25,13,.9); border-top: 2px solid var(--gold); }
.hero-brand span { display: block; color: var(--gold-light); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 800; margin-bottom: 7px; }

.partner-rail { display: grid; grid-template-columns: 1.25fr repeat(3,1fr); min-height: 145px; background: #fff; border-bottom: 1px solid #ddcfbc; }
.partner-rail > div { padding: 28px clamp(20px,3vw,44px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #ddcfbc; }
.partner-rail > div:last-child { border: 0; }
.partner-rail span { display: block; margin-bottom: 12px; color: #776b62; text-transform: uppercase; font-size: .68rem; letter-spacing: .13em; font-weight: 800; }
.partner-intro strong { color: var(--espresso); font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.partner-logo img { width: min(190px,100%); max-height: 58px; object-fit: contain; object-position: left center; }
.partner-logo img.neuclix-partner { width: 178px; }
.partner-logo img.aaxon-partner { width: 155px; }
.partner-logo.dark { background: var(--espresso); }
.partner-logo.dark span { color: var(--gold-light); }

.section { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; padding-block: clamp(72px,9vw,120px); }
.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px,8vw,110px); align-items: start; }
.intro-copy { padding-top: 7px; font-size: 1.1rem; }
.intro-copy p:first-child { margin-top: 0; }
.proof-strip { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 80px; border-top: 1px solid #d5c6b0; border-bottom: 1px solid #d5c6b0; }
.proof-strip div { padding: 25px 20px; display: flex; align-items: baseline; gap: 14px; border-right: 1px solid #d5c6b0; }
.proof-strip div:last-child { border: 0; }
.proof-strip strong { color: var(--bronze); font-family: var(--display); font-size: 2.4rem; line-height: 1; }
.proof-strip span { font-size: .86rem; font-weight: 700; }

.feature-split { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--espresso); color: rgba(255,255,255,.84); }
.feature-image { min-height: 680px; margin: 0; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: clamp(60px,8vw,120px); align-self: center; }
.feature-copy h2 { color: var(--gold-light); }
.feature-copy p:not(.section-kicker) { font-size: 1.08rem; }
.feature-copy ul { padding: 0; margin: 34px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.feature-copy li { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.feature-copy li::before { content: "—"; color: var(--gold); margin-right: 12px; }

.gallery-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 50px; }
.gallery-note { max-width: 230px; margin: 0; color: #73685f; }
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 300px; gap: 14px; }
.photo { border: 0; padding: 0; background: #ddd; cursor: zoom-in; overflow: hidden; }
.photo-wide { grid-column: span 2; }
.photo-tall { grid-row: span 2; }
.photo img, .pano img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .4s ease; }
.photo:hover img, .pano:hover img { transform: scale(1.035); filter: saturate(1.05); }

.panorama-section { padding: 35px 0 clamp(75px,9vw,120px); background: #eee3d2; overflow: hidden; }
.panorama-copy { padding-bottom: 45px; }
.panorama-copy p:last-child { max-width: 680px; font-size: 1.08rem; }
.tour-shell { width: min(var(--max),calc(100% - 40px)); margin: 0 auto; }
.tour-viewer { position: relative; height: clamp(420px,62vw,690px); overflow: hidden; background: #17110d; border: 1px solid rgba(42,25,13,.24); border-radius: 12px 12px 0 0; touch-action: none; }
.tour-canvas, .tour-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-canvas { display: block; cursor: grab; }
.tour-canvas:active { cursor: grabbing; }
.tour-fallback { object-fit: cover; }
.tour-viewer.ready .tour-fallback { display: none; }
.tour-loading { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(23,17,13,.58); font-weight: 750; letter-spacing: .02em; pointer-events: none; }
.tour-viewer.ready .tour-loading { display: none; }
.tour-hint { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 9px; padding: 9px 13px; color: #fff; background: rgba(23,13,8,.7); border: 1px solid rgba(255,255,255,.35); border-radius: 5px; font-size: .79rem; font-weight: 750; backdrop-filter: blur(7px); pointer-events: none; }
.tour-hint span { color: var(--gold-light); font-size: 1.2rem; }
.tour-controls { position: absolute; right: 18px; bottom: 18px; display: flex; overflow: hidden; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; background: rgba(23,13,8,.76); backdrop-filter: blur(7px); }
.tour-controls button { width: 46px; height: 44px; padding: 0; border: 0; border-right: 1px solid rgba(255,255,255,.25); color: #fff; background: transparent; font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.tour-controls button:last-child { border-right: 0; }
.tour-controls button:hover { color: var(--espresso); background: var(--gold); }
.tour-scenes { display: grid; grid-template-columns: repeat(4,1fr); background: var(--espresso); border-radius: 0 0 12px 12px; overflow: hidden; }
.tour-scene { min-width: 0; padding: 0; display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 14px; color: rgba(255,255,255,.84); text-align: left; border: 0; border-right: 1px solid rgba(255,255,255,.14); background: transparent; cursor: pointer; }
.tour-scene:last-child { border: 0; }
.tour-scene img { width: 88px; height: 72px; object-fit: cover; opacity: .58; }
.tour-scene span { font-size: .86rem; font-weight: 760; line-height: 1.2; }
.tour-scene small { display: block; margin-bottom: 5px; color: var(--gold); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }
.tour-scene:hover, .tour-scene.active { background: rgba(232,179,79,.13); color: #fff; }
.tour-scene.active { box-shadow: inset 0 3px 0 var(--gold); }
.tour-scene.active img { opacity: 1; }

.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px,9vw,120px); }
.details-grid > div > p { max-width: 540px; font-size: 1.08rem; }
dl { margin: 0; }
dl div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #d5c6b0; }
dt { color: var(--bronze); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
dd { margin: 0; font-weight: 650; }

.closing { min-height: 620px; position: relative; display: grid; place-items: center; color: white; text-align: center; }
.closing-image, .closing-overlay { position: absolute; inset: 0; }
.closing-image { background: url("assets/05-IMG_1904.webp") center / cover no-repeat; }
.closing-overlay { background: rgba(24,14,8,.76); }
.closing-content { position: relative; width: min(820px,calc(100% - 40px)); z-index: 2; }
.closing-content h2 { color: #fff; }
.closing-content > p:last-child { max-width: 620px; margin: 28px auto 0; font-size: 1.15rem; color: rgba(255,255,255,.85); }
.closing .section-kicker { color: var(--gold); }

footer { min-height: 130px; padding: 35px clamp(20px,5vw,70px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--sand); color: #655b53; border-top: 1px solid #d5c6b0; font-size: .8rem; }
.footer-brand { display: flex; align-items: center; padding: 0; background: transparent; }
.footer-brand img { width: 150px; height: auto; }

.lightbox { width: min(1120px,94vw); max-height: 92vh; padding: 0; border: 0; background: #120b07; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(8,5,3,.9); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox figcaption { padding: 12px 18px; color: #fff; text-align: center; font-size: .9rem; }
.lightbox-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: white; background: rgba(0,0,0,.68); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes settle { from { transform: scale(1.08); opacity: .6; } to { transform: scale(1.015); opacity: 1; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .site-header { height: 72px; }
  .menu-button { display: block; }
  nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 24px; flex-direction: column; background: var(--cream); border-bottom: 1px solid #ddd0bf; }
  nav.open { display: flex; }
  .hero { min-height: 820px; align-items: center; }
  .hero-content { padding: 130px 20px 180px; }
  .hero-shade { background: linear-gradient(90deg,rgba(20,12,7,.85),rgba(20,12,7,.35)), linear-gradient(0deg,rgba(20,12,7,.75),transparent 55%); }
  .hero-brand { width: calc(100% - 40px); right: 20px; bottom: 30px; }
  .partner-rail { grid-template-columns: 1fr 1fr; }
  .partner-rail > div { min-height: 132px; }
  .partner-rail > div:nth-child(2) { border-right: 0; }
  .partner-rail > div:nth-child(-n+2) { border-bottom: 1px solid #ddcfbc; }
  .intro-grid, .feature-split, .details-grid { grid-template-columns: 1fr; }
  .feature-image { min-height: 420px; }
  .feature-copy { padding: 60px 20px 70px; }
  .proof-strip { grid-template-columns: 1fr; margin-top: 50px; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid #d5c6b0; }
  .proof-strip div:last-child { border-bottom: 0; }
  .gallery-heading { display: block; }
  .gallery-note { margin-top: 20px; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .photo-wide { grid-column: span 2; }
  .photo-tall { grid-row: auto; }
  .tour-shell { width: calc(100% - 24px); }
  .tour-viewer { height: 56vh; min-height: 390px; }
  .tour-scenes { grid-template-columns: 1fr 1fr; }
  .tour-scene:nth-child(2) { border-right: 0; }
  .tour-scene:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .neuclix-mark span { display: none; }
  .neuclix-mark img { width: 126px; }
  h1 { font-size: 3.55rem; }
  .partner-rail { grid-template-columns: 1fr; }
  .partner-rail > div { border-right: 0; border-bottom: 1px solid #ddcfbc; }
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .photo-wide { grid-column: auto; }
  .tour-viewer { min-height: 360px; }
  .tour-hint { left: 12px; bottom: 12px; }
  .tour-controls { right: 12px; bottom: 12px; }
  .tour-scene { grid-template-columns: 64px 1fr; gap: 9px; }
  .tour-scene img { width: 64px; height: 62px; }
  dl div { grid-template-columns: 95px 1fr; }
}
