:root {
  --ink: #101820;
  --muted: #5c6570;
  --hairline: #e4e4df;
  --forest: #15803d;
  --navy: #173754;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

/* Door entrance overlay */

body.doors-lock {
  overflow: hidden;
}

.door-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  perspective: 1600px;
}

.door-panel {
  position: relative;
  width: 50%;
  height: 100%;
  background: var(--ink);
  backface-visibility: hidden;
  transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1);
}

.door-left {
  transform-origin: left center;
}

.door-right {
  transform-origin: right center;
}

.door-overlay.opening .door-left {
  transform: rotateY(-105deg);
}

.door-overlay.opening .door-right {
  transform: rotateY(105deg);
}

.door-seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: #2a333c;
  transition: opacity 200ms ease;
}

.door-handle {
  position: absolute;
  top: 64%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  transform: translateY(-50%);
}

.door-left .door-handle {
  right: 32px;
}

.door-right .door-handle {
  left: 32px;
}

.door-title {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.door-title-main {
  margin: 0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800;
  font-size: 9vw;
  letter-spacing: 0.04em;
  color: var(--white);
}

.door-title-sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--white);
  opacity: 0.7;
}

@media (min-width: 768px) {
  .door-title-main {
    font-size: 5.5vw;
  }
}

.door-overlay.opening .door-title,
.door-overlay.opening .door-seam {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .door-overlay {
    display: none;
  }
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2 {
  font-family: 'Barlow Semi Condensed', 'Barlow', sans-serif;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--forest);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
}

.wordmark {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* Brand nav */

.brand-nav {
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
}

.brand-nav-scroll {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 4px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4px 16px;
}

.brand-nav-scroll a {
  position: relative;
  flex: 0 0 auto;
  padding: 14px 14px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.brand-nav-scroll a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--brand, var(--forest));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.brand-nav-scroll a:hover,
.brand-nav-scroll a:focus-visible {
  color: var(--brand, var(--forest));
}

.brand-nav-scroll a:hover::after,
.brand-nav-scroll a:focus-visible::after {
  transform: scaleX(1);
}

/* Hero */

.hero {
  padding: 56px 24px 40px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.05;
  max-width: 12ch;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 72px;
    line-height: 0.95;
  }
}

.sub {
  margin: 18px 0 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 42ch;
}

.contact-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

.phone {
  display: inline-block;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800;
  font-size: 76px;
  line-height: 1;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.01em;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 150ms ease, color 150ms ease;
}

.phone:hover {
  color: var(--navy);
  transform: scale(1.02);
}

.phone-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-links {
  margin-top: 14px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 16px;
}

/* Marquee */

.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
}

.marquee-content {
  display: inline-block;
  padding: 16px 0;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee-scroll 35s linear infinite;
  }
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Transition line */

.transition {
  padding: 40px 24px;
}

.transition-line {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
  margin: 0;
}

/* Bands (full-bleed crew posters) */

.band {
  width: 100%;
  background: var(--brand, var(--ink));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.band.in {
  opacity: 1;
  transform: translateY(0);
}

.band-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.band-name {
  display: block;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1.1;
  color: var(--white);
  text-decoration: none;
}

.band-name:hover {
  text-decoration: underline;
}

.band-desc {
  margin: 12px 0 0;
  color: var(--white);
  opacity: 0.92;
  font-size: 17px;
}

.band-visit {
  display: inline-block;
  margin-top: 16px;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 15px;
}

.band-visit .arrow {
  display: inline-block;
  color: var(--accent, currentColor);
  transition: transform 200ms ease;
}

.band:hover .band-visit .arrow,
.band:active .band-visit .arrow {
  transform: translateX(4px);
}

.band-media {
  height: 180px;
  overflow: hidden;
  border-radius: 3px;
}

.band-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.band:hover .band-media img,
.band:active .band-media img {
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .band-inner {
    grid-template-columns: 1fr 42%;
    gap: 40px;
  }
  .band-name {
    font-size: 48px;
  }
  .band-media {
    height: 240px;
  }
}

/* How it works */

.how {
  padding: 40px 24px 48px;
  border-top: 1px solid var(--hairline);
}

.how h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

/* Payments */

.payments {
  padding: 40px 24px 48px;
  border-top: 1px solid var(--hairline);
}

.payments h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.payments p {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.55;
}

.payments p:last-child {
  margin-bottom: 0;
}

.semibold {
  font-weight: 600;
}

.how-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-list li {
  border-top: 1px solid var(--hairline);
  padding: 16px 0;
  font-size: 17px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms ease, transform 400ms ease;
}

.how-list li.in {
  opacity: 1;
  transform: translateY(0);
}

.how-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.how-num {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--forest);
  min-width: 16px;
}

/* Motion safety: reduced-motion users and no-JS users see content immediately,
   since the IntersectionObserver reveal script is what normally adds .in */

@media (prefers-reduced-motion: reduce) {
  .band,
  .how-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--ink);
  color: var(--white);
}

.site-footer .wrap {
  padding-top: 24px;
  padding-bottom: 40px;
  font-size: 15px;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:hover {
  color: var(--forest);
}

/* Phone breakpoint */

@media (max-width: 480px) {
  .hero {
    padding: 40px 20px 32px;
  }
  .hero h1 {
    font-size: 40px;
    max-width: 11ch;
  }
  .sub {
    font-size: 17px;
  }
  .phone {
    font-size: 44px;
  }
  .wrap {
    padding: 0 20px;
  }
  .brand-nav-scroll {
    padding: 4px 12px;
  }
  .brand-nav-scroll a {
    padding: 8px 11px;
  }
  .transition-line {
    font-size: 26px;
  }
}
