/* A full-viewport title card. HTML stays readable even without WebGL. */
.home .header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  max-width: none;
  width: 100%;
  color: #d5e0e9;
  padding-top: 32px;
  padding-bottom: 24px;
}
.home .header-company { font-size: 9px; font-weight: 400; letter-spacing: 2.7px; }
.home .wordmark { gap: 14px; }
.home .wordmark svg { width: 30px; height: 30px; }
.home .nav-contact { border-color: #becfdd55; }
.home .header a:focus-visible { outline-color: #d1e8f7; }
.home nav { font-size: 12px; gap: 32px; }

.hero.smoke-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 360px;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 30% at 50% 49%, #476d86a6, #1b354d66 48%, transparent 100%), #060c12;
  color: #dbe8f2;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
}
.hero-wordmark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding-bottom: 2vh;
}
.smoke-hero h1 {
  margin: 0;
  max-width: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(54px, 18vw, 360px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .055em;
  padding-left: .055em;
  color: #edf7ff;
  text-shadow: 0 0 3px #eef8ff, 0 0 24px #c4e4ffc4, 0 0 85px #91c9ffa8, 0 0 150px #5b9bd566;
  white-space: nowrap;
}
.hero-depth-title {
  transform: perspective(1800px) rotateX(var(--hero-tilt-x)) rotateY(var(--hero-tilt-y));
  transform-origin: center;
  will-change: transform;
}
/* Fog sits in front of the letters. Its density controls the canvas alpha. */
.smoke-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
}
.smoke-canvas[data-smoke-ready="true"] { opacity: 1; }
.hero-caption {
  position: absolute;
  z-index: 2;
  top: calc(50% + clamp(48px, 10vw, 205px));
  left: 24px;
  right: 24px;
  margin: 0;
  text-align: center;
  color: #bdcedb;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.smoke-hero .hero-bottom {
  position: absolute;
  z-index: 2;
  left: 6.25%;
  right: 6.25%;
  bottom: max(32px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0;
}
.smoke-hero .hero-location { color: #a7bdce; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-explore { display: flex; align-items: center; gap: 22px; padding: 14px 0; color: #d5e2ec; font-size: 11px; text-decoration: none; }
.hero-explore span { font-size: 20px; font-weight: 300; transition: transform .3s; }
.hero-explore:hover span { transform: translateY(4px); }
.atmosphere-toggle { justify-self: end; border: 0; border-bottom: 1px solid #a7bdce4d; background: none; color: #a7bdce; font: inherit; font-size: 10px; padding: 14px 0; cursor: pointer; white-space: nowrap; }
.atmosphere-toggle:hover { color: #fff; border-color: #fff; }
.atmosphere-toggle:focus-visible, .hero-explore:focus-visible { outline: 2px solid #cbe5f7; outline-offset: 5px; }
.home .credit-card figure > img { background: #10171c; }
.home .section-top { grid-template-columns: 1fr 2fr; }
.home .section-top h2 { font-size: clamp(28px, 3vw, 42px); }

@media (max-width: 700px) {
  .home .header { padding-top: 24px; padding-left: 24px; padding-right: 24px; }
  .home .header-company { display: none; }
  .home nav { gap: 22px; font-size: 11px; }
  .home nav a { display: inline; }
  .home .nav-contact { padding: 8px 0; }
  .home .nav-contact span { display: none; }
  .hero-caption { font-size: 8px; letter-spacing: .2em; }
  .smoke-hero .hero-bottom { left: 24px; right: 24px; bottom: 25px; grid-template-columns: 1fr auto; gap: 16px; }
  .smoke-hero .hero-location { display: none; }
  .hero-explore { justify-self: start; }
  .home .section-top { grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-depth-title { transform: none; will-change: auto; }
  .hero-explore span { transition: none; }
}
