:root {
  --black: #000;
  --gray: #e4e4e4;
  --red: #cd4a3f;
  --red-dark: #b53e34;
  --ink: #000;
  --font: 'Work Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--gray);
  line-height: 1.5;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  color: #fff;
  min-height: max(48vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 4vw 4vw 5vw;
}
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
}
/* Cover-fit a 16:9 Vimeo player inside the hero */
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
  border: 0;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.55));
  display: none; /* enabled when a video is added: .hero.has-video .hero-shade */
}
.hero.has-video .hero-shade { display: block; }
.hero > *:not(.hero-video):not(.hero-shade) { position: relative; z-index: 1; }

.hero-contact {
  position: absolute !important;
  top: 2rem;
  right: 4vw;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
}
.hero-contact:hover { border-bottom-color: #fff; }

.hero-logo {
  width: min(52vw, 820px);
  min-width: 260px;
  height: auto;
  margin-top: 1vw;
}

.hero-copy {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 8vw;
}
.hero-copy p {
  margin: 0 0 1.2rem;
  font-size: clamp(1.05rem, 1.55vw, 1.7rem);
  font-weight: 500;
  letter-spacing: .02em;
  max-width: 80rem;
}
.hero-copy .btn { margin-top: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font: 500 1rem/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 1.15rem 2.2rem;
  cursor: pointer;
  transition: background .15s;
}
.btn:hover { background: var(--red-dark); }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Middle band ---------- */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
  padding: 6vw 4vw;
}
.band-photo {
  width: 100%;
  height: auto;
  border-radius: clamp(28px, 4vw, 64px);
  display: block;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
  object-position: 50% 30%;
}
.band-text {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.75vw, 2rem);
  line-height: 1.9;
}

/* ---------- Footer ---------- */
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 4vw 2.2rem;
  font-size: .9rem;
  color: #444;
}
.foot a { color: inherit; }

/* ---------- Contact dialog ---------- */
.contact-dialog {
  border: 0;
  border-radius: 20px;
  padding: 2.4rem 2.4rem 2.2rem;
  width: min(640px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: var(--gray);
  color: var(--ink);
  font-family: var(--font);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.contact-dialog::backdrop { background: rgba(0,0,0,.65); }
.contact-dialog h2 {
  margin: 0 0 .8rem;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
}
.dialog-lead { margin: 0 0 1.8rem; font-size: 1.05rem; }
.dialog-close {
  position: absolute;
  top: .7rem;
  right: 1rem;
  background: none;
  border: 0;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.contact-dialog form label {
  display: block;
  font-size: 1rem;
  margin-bottom: 1.3rem;
}
.contact-dialog form small { color: #555; font-size: .9rem; }
.contact-dialog .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-dialog input[type=text],
.contact-dialog input[type=email],
.contact-dialog textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .8rem;
  font: 400 1rem var(--font);
  color: var(--ink);
  background: #f4f4f4;
  border: 1px solid #b9b9b9;
  border-radius: 10px;
}
.contact-dialog textarea { resize: vertical; min-height: 7.5rem; }
.contact-dialog input:focus,
.contact-dialog textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.5em; margin: 1rem 0 0; font-size: .95rem; }
.form-status.ok { color: #1f6b34; }
.form-status.err { color: #a02a20; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  .hero { min-height: 120vw; padding: 5rem 1.4rem 2.4rem; }
  .hero-contact { right: 1.4rem; top: 1.4rem; }
  .hero-logo { width: 86vw; }
  .hero-copy p { font-size: 1.1rem; }
  .band { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.4rem 3rem; }
  .band-text { line-height: 1.6; font-size: 1.3rem; }
  .contact-dialog { padding: 2rem 1.3rem 1.6rem; }
  .contact-dialog .row { grid-template-columns: 1fr; gap: 0; }
}
