html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #0C1220; }
body { font-family: 'Archivo', 'Helvetica Neue', sans-serif; color: #1B2334; -webkit-font-smoothing: antialiased; }
a { color: #B79A6B; text-decoration: none; }
a:hover { color: #D2B888; }
::selection { background: #B79A6B; color: #0C1220; }
img { max-width: 100%; }
@keyframes intrak-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes intrak-sheen { 0% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
@keyframes intrak-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }
@keyframes intrak-scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes intrak-curtain { 0%, 45% { transform: translateY(0); } 100% { transform: translateY(-101%); } }
@keyframes intrak-introfade { 0% { opacity: 0; transform: scale(0.94); letter-spacing: 0.5em; } 30% { opacity: 1; transform: scale(1); letter-spacing: 0.32em; } 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes intrak-introline { 0%, 15% { transform: scaleX(0); } 55% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes intrak-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, 40px) scale(1.15); } 66% { transform: translate(-50px, 20px) scale(0.95); } }
@keyframes intrak-photoreveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes intrak-shimmer { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes intrak-float { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: 0.8; } 85% { opacity: 0.5; } 100% { transform: translateY(-440px); opacity: 0; } }
@keyframes intrak-kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes intrak-levitate { from { transform: translateY(-7px); } to { transform: translateY(9px); } }
#intrak-hero-photo { animation: intrak-photoreveal 1.1s cubic-bezier(0.76,0,0.24,1) 1.05s both, intrak-kenburns 26s ease-in-out 2.3s infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  #intrak-intro { display: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* hover states (were style-hover attributes) */
.ih1:hover{color: #D2B888 !important; }
.ih2:hover{color: #D2B888 !important; }
.ih3:hover{color: #D2B888 !important; }
.ih4:hover{color: #D2B888 !important; }
.ih5:hover{background: #D2B888 !important; color: #0C1220 !important; }
.ih6:hover{background: #D2B888 !important; color: #0C1220 !important; transform: translateY(-2px) !important; box-shadow: 0 14px 32px rgba(183,154,107,0.28) !important; }
.ih7:hover{border-color: #D2B888 !important; color: #D2B888 !important; transform: translateY(-2px) !important; }
.ih8:hover{animation-play-state: paused !important; }
.ih9:hover{transform: translateY(-6px) !important; box-shadow: 0 24px 48px rgba(12,18,32,0.14) !important; border-color: #B79A6B !important; }
.ih10:hover{transform: scale(1.05) !important; }
.ih11:hover{transform: translateY(-6px) !important; box-shadow: 0 24px 48px rgba(12,18,32,0.14) !important; border-color: #B79A6B !important; }
.ih12:hover{transform: scale(1.05) !important; }
.ih13:hover{transform: translateY(-6px) !important; box-shadow: 0 24px 48px rgba(12,18,32,0.14) !important; border-color: #B79A6B !important; }
.ih14:hover{transform: scale(1.05) !important; }
.ih15:hover{transform: translateY(-6px) !important; box-shadow: 0 24px 48px rgba(12,18,32,0.14) !important; border-color: #B79A6B !important; }
.ih16:hover{transform: scale(1.05) !important; }
.ih17:hover{background: #D2B888 !important; color: #0C1220 !important; transform: translateY(-2px) !important; box-shadow: 0 14px 32px rgba(183,154,107,0.28) !important; }
.ih18:hover{border-color: #D2B888 !important; color: #D2B888 !important; transform: translateY(-2px) !important; }

/* ---- responsive ---- */
/* Inline style attributes carry these layouts, so overrides need !important. */

/* --- tablet / small laptop --- */
@media (max-width: 1100px) {
  .ih-herogrid { grid-template-columns: 1fr !important; gap: 56px !important; }
  .ih-cards4 { grid-template-columns: repeat(2, 1fr) !important; }
  .ih-tech, .ih-ticket { grid-template-columns: 1fr !important; gap: 56px !important; }
  .ih-tech > div:first-child { order: 2; }
  [data-parallax] { justify-self: start !important; }
  section { padding-left: 28px !important; padding-right: 28px !important; }
}

/* --- laptop band: hero is already single-column here, so type must come down with it.
   No min-width bound — a fractional viewport width would fall through the gap. The
   narrower bands below simply override these values in cascade order. --- */
@media (max-width: 1100px) {
  h1 { font-size: 56px !important; }
  .ih-area3 { grid-template-columns: repeat(2, 1fr) !important; gap: 32px !important; }

  /* The header runs out of room well before 900px (logo + nav + tel + CTA ~= 891px of
     content), so it switches to two rows at the same width the hero collapses. */
  .ih-headbar { height: auto !important; flex-wrap: wrap !important; padding: 14px 24px !important; gap: 12px !important; }
  .ih-headbar > nav {
    order: 3; width: 100%; overflow-x: auto; gap: 26px !important;
    padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .ih-headbar > nav::-webkit-scrollbar { display: none; }
  .ih-headbar > nav a,
  .ih-headbar a[href^="tel"],
  .ih-headbar a[href^="https://calendar"] { white-space: nowrap; }
  /* pairs with the header no longer having a fixed 84px height */
  section[data-screen-label="Hero Commercial"] { margin-top: 0 !important; }
}

/* --- tablet portrait --- */
@media (max-width: 900px) {
  section { padding-top: 88px !important; padding-bottom: 88px !important; }
  .ih-foot { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
  .ih-area3 { grid-template-columns: 1fr !important; gap: 30px !important; }
  h1 { font-size: 48px !important; }
  h2 { font-size: 34px !important; }
  blockquote { font-size: 26px !important; }

}

/* --- phone --- */
@media (max-width: 640px) {
  section { padding-left: 20px !important; padding-right: 20px !important; padding-top: 68px !important; padding-bottom: 68px !important; }
  .ih-cards4, .ih-feat2, .ih-foot { grid-template-columns: 1fr !important; }
  h1 { font-size: 35px !important; line-height: 1.1 !important; }
  h2 { font-size: 29px !important; }
  h3 { font-size: 23px !important; }
  blockquote { font-size: 21px !important; }
  p { font-size: 15.5px !important; }

  .ih-headbar { padding: 12px 18px !important; }
  .ih-headbar img { height: 42px !important; }
  .ih-headbar a[href^="tel"] { display: none !important; }
  .ih-headbar > div:last-child a { padding: 11px 16px !important; font-size: 12px !important; }

  /* hero photo: fixed 440x540 has to become fluid */
  .ih-herophoto { width: 100% !important; height: auto !important; aspect-ratio: 44 / 54; }
  #intrak-hero-photo { width: 100% !important; height: 100% !important; }
  [data-parallax] > div:first-child { left: -12px !important; right: 12px !important; top: 14px !important; bottom: -14px !important; }
  [data-parallax] { transform: none !important; }

  /* hero buttons stack full-width */
  #top a[href^="https://calendar"], #top a[href^="sms:"] { width: 100%; text-align: center; }
  #top div[style*="margin-bottom: 48px"] { flex-direction: column !important; align-items: stretch !important; }
  /* trust row reads as a list, not a squeezed 3-up */
  #top div[style*="padding-top: 28px"] { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  #top div[style*="padding-top: 28px"] > span[style*="width: 1px"] { display: none !important; }

  /* phone mockup + claim tickets scale to fit */
  [data-tilt] { width: 260px !important; height: 538px !important; }
  .ih-ticketstack { transform: scale(0.74); transform-origin: center; margin: -46px 0; }

  .ih-feat2 { gap: 22px !important; }
  footer { padding-left: 20px !important; padding-right: 20px !important; }
  footer > div:last-child > div { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
}

/* --- narrow phones --- */
@media (max-width: 380px) {
  h1 { font-size: 30px !important; }
  .ih-ticketstack { transform: scale(0.62); margin: -64px 0; }
  .ih-headbar > nav { gap: 20px !important; }
}
