/* ============================================================
COMMAND HERO
============================================================ */

.command-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.command-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.command-edition {
  display: block;
  font-size: 44px;
  opacity: .95;
  margin-top: 10px;
}

.btn-command {
  display: inline-block;
  padding: 14px 34px;
  border: 1.5px solid var(--eh-gold);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  background: transparent;
  transition: all .25s ease;
}

.btn-command:hover {
  background: rgba(201, 168, 76, .12);
  border-color: var(--eh-gold-light);
}


/* ============================================================
HERO VIDEO
============================================================ */

.command-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


/* ============================================================
HERO OVERLAY
============================================================ */

.command-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 32, .75);
  z-index: 1;
}


/* ============================================================
HERO CONTENT
============================================================ */

.command-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 160px 0 140px;
}

.command-hero-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  margin-bottom: 20px;
}

.command-subtitle {
  font-size: 20px;
  margin-bottom: 20px;
  opacity: .85;
}

.command-hero-text p {
  margin-bottom: 20px;
  max-width: 520px;
}


/* ============================================================
HERO CLOSE BUTTON (top-left → index.html)
============================================================ */

.hero-close-btn {
  position: absolute;
  top: 36px;
  left: 44px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 0 20px 0 16px;
  height: 48px;

  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;

  transition: background .25s, border-color .25s, color .25s;
}

.hero-close-btn:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  color: #ffffff;
}

.hero-close-label {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Tablet & mobile: icon-only circle */
@media (max-width: 1024px) {
  .hero-close-btn {
    padding: 0;
    width: 48px;
    justify-content: center;
    border-radius: 50%;
  }

  .hero-close-label {
    display: none;
  }
}



.hero-scroll-arrow {
  position: absolute;
  bottom: 36px;
  right: 44px;
  z-index: 3;

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: 1.5px solid rgba(201, 168, 76, .55);
  border-radius: 50%;
  color: #c9a84c;
  cursor: pointer;

  transition: background .25s, border-color .25s, opacity .3s, transform .3s;
  animation: arrowBob 2.2s ease-in-out infinite;
}

.hero-scroll-arrow:hover {
  background: rgba(201, 168, 76, .12);
  border-color: #c9a84c;
}

.hero-scroll-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}


/* ============================================================
CTA
============================================================ */

.command-cta {
  background: #0b1320;
  color: white;
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
  opacity: 0.04;
}

.cta-bg-lines span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #c9a84c, transparent);
}

.command-cta-box {
  max-width: 700px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  display: inline-block;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 11px;
  color: #c9a84c;
  margin-bottom: 22px;
  opacity: .9;
}

.command-cta-box h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 22px;
}

.command-cta-box p {
  margin-bottom: 38px;
  opacity: .7;
  font-size: 16px;
  line-height: 1.7;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c9a84c;
  color: #0b1320;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.btn-primary:hover {
  background: #dbbf6a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, .25);
}

.btn-primary svg {
  transition: transform .2s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}


/* ============================================================
MODAL
============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 10, 20, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  background: #0f1c30;
  border: 1px solid rgba(201, 168, 76, .18);
  max-width: 560px;
  width: 100%;
  padding: 32px 44px 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: translateY(24px);
  transition: transform .35s ease;
}

.modal-overlay.is-open .modal-panel {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, .4);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color .2s;
}

.modal-close:hover { color: white; }

.modal-header {
  margin-bottom: 22px;
}

.modal-eyebrow {
  display: block;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 10px;
  color: #c9a84c;
  margin-bottom: 12px;
}

.modal-header h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}


/* Form */

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-form.is-hidden {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .modal-panel { padding: 32px 22px; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: white;
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
  font-family: inherit;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-group select option {
  background: #0f1c30;
  color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, .22);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #c9a84c;
  background: rgba(201, 168, 76, .05);
}

.modal-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}


/* Honeypot — visually hidden but not display:none (some bots skip those) */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Field error message */
.form-error {
  display: block;
  font-size: 11px;
  color: #e5604a;
  margin-top: 4px;
  min-height: 16px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s;
}
.form-error.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Global error */
.form-error--global {
  text-align: center;
  font-size: 13px;
  padding: 10px;
  background: rgba(229, 96, 74, .1);
  border: 1px solid rgba(229, 96, 74, .3);
  border-radius: 4px;
}

/* Invalid input border */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #e5604a !important;
  background: rgba(229, 96, 74, .05) !important;
}

/* Loading state */
.btn-primary.is-loading {
  opacity: .65;
  cursor: wait;
}

/* Success */

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  color: white;
  gap: 12px;
}

.modal-success.is-visible {
  display: flex;
}

.modal-success svg {
  color: #c9a84c;
}

.modal-success h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
}

.modal-success p {
  font-size: 14px;
  opacity: .6;
}
/* =========================================================
GDPR PRIVACY CHECKBOX — dark theme (Command modal)
========================================================= */

.cmd-privacy-check {
  margin: 8px 0 4px;
}

.cmd-privacy-check .cmd-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .2s ease, background .2s ease;
}

.cmd-privacy-check .cmd-privacy-label:hover {
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.04);
}

.cmd-privacy-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  cursor: pointer;
  accent-color: #c9a84c;
  flex: 0 0 auto;
}

.cmd-privacy-check a {
  color: #c9a84c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cmd-privacy-check a:hover {
  color: #d6b86a;
}

.cmd-privacy-check.has-error .cmd-privacy-label,
.cmd-privacy-check .form-error.is-visible ~ .cmd-privacy-label {
  border-color: #e25c5c;
  background: rgba(226, 92, 92, 0.06);
}
