:root {
  --bg: #0d0d0d;
  --surface: rgba(22, 22, 22, 0.9);
  --surface-strong: #171717;
  --line: rgba(224, 224, 224, 0.16);
  --line-strong: rgba(224, 224, 224, 0.42);
  --text: #f0efed;
  --muted: #b4b4b4;
  --soft: #8b8b8b;
  --accent: #f4f1ec;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --max-width: 1520px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 70%);
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.topbar,
.hero,
.info-band,
.location-section,
.footer {
  border: 1px solid var(--line);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(12px);
}

.brand img {
  display: block;
  width: min(260px, 48vw);
  height: auto;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-pill,
.panel-label,
.eyebrow,
.info-key,
dt {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  padding: 0.5rem 0.8rem;
  font-size: 0.75rem;
}

.text-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.text-link:hover {
  text-decoration: underline;
}

.section-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.85fr);
  min-height: 78vh;
  background: var(--line);
}

.hero-video-panel,
.contact-panel,
.map-panel,
.location-panel {
  position: relative;
  background: var(--surface-strong);
}

.panel-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  color: var(--soft);
  font-size: 0.72rem;
}

.hero-video-frame {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(0.34) contrast(1.15);
  transform: scale(1.04);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 8, 8, 0.46) 0%, rgba(8, 8, 8, 0.28) 42%, rgba(8, 8, 8, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 6rem 2rem 2rem;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0 0 1rem;
}

.animated-headline {
  display: grid;
  gap: 0.2rem;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.animated-headline span {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  animation: headline-rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animated-headline span:nth-child(1) { animation-delay: 0.1s; }
.animated-headline span:nth-child(2) { animation-delay: 0.28s; }
.animated-headline span:nth-child(3) { animation-delay: 0.46s; }
.animated-headline span:nth-child(4) { animation-delay: 0.64s; }

.panel-text {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.contact-panel {
  padding: 4rem 1.5rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 25%),
    rgba(15, 15, 15, 0.94);
}

.panel-inner,
.location-content {
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(21, 21, 21, 0.86);
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111;
  padding: 1rem 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px);
  background: transparent;
  color: var(--text);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-status {
  min-height: 1.5em;
}

.location-section {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  margin-top: 1rem;
}

.map-panel,
.location-panel {
  min-height: 34rem;
}

.map-frame {
  height: 100%;
  min-height: 34rem;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
}

.location-panel {
  padding: 4rem 1.5rem 1.5rem;
}

.detail-grid {
  display: grid;
  gap: 1px;
  margin: 1.5rem 0 0;
  background: var(--line);
}

.detail-grid div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.015);
}

dt {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  color: var(--soft);
}

dd {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

dd a {
  color: inherit;
  text-decoration: none;
}

dd a:hover {
  text-decoration: underline;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(14, 14, 14, 0.82);
}

.footer p {
  margin: 0;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes headline-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .location-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-video-frame {
    min-height: 34rem;
  }

  .info-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.5rem;
  }

  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .contact-panel,
  .location-panel {
    padding-inline: 1rem;
  }

  .hero-copy {
    padding-top: 5rem;
  }

  .panel-inner,
  .location-content {
    padding: 1rem;
  }

  .animated-headline {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .info-band {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-panel,
  .location-panel {
    min-height: 26rem;
  }
}
