:root{
  --navy: #16223f;
  --navy-2: #1f3260;
  --ink: #1c2433;
  --muted: #6b7280;
  --line: #e4e6ec;
  --blue: #2f7fd1;
  --amber: #c98a3e;
  --paper: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -20px rgba(10, 15, 30, 0.45);
  --gap: 22px;
  font-size: 16px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  height: 100%;
}

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background: #0a0a0a;
  overflow: hidden;
}

h1, h2, h3, .brand-font{
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

img{ max-width: 100%; height: auto; display: block; }

button{ font-family: inherit; cursor: pointer; }

/* ---------------- background photo ---------------- */
.bg-photo{
  position: fixed;
  inset: 0;
  background-image: url('assets/bg.jpg');
  background-size: cover;
  background-position: center 65%;
  z-index: -2;
}
.bg-scrim{
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 20%, rgba(0,0,0,0.15) 78%, rgba(0,0,0,0.6) 100%);
  z-index: -1;
}

/* ---------------- page shell ---------------- */
.page{
  width: 92vw;
  max-width: 1900px;
  height: 100vh;
  margin: 0 auto;
  padding: 0.8vh 0;
  display: flex;
  flex-direction: column;
  gap: 0.8vh;
  overflow: hidden;
}

/* ---------------- shared card ---------------- */
.card{
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(10px, 1.2vh, 20px) clamp(20px, 2.4vw, 42px);
  min-height: 0;
  min-width: 0;
}

.pill{
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.pill--navy{ background: var(--navy); color: #fff; }
.pill--blue{ background: var(--blue); color: #fff; }
.pill--amber{ background: var(--amber); color: #fff; }

.block-title{
  font-size: clamp(0.82rem, 1.4vh, 0.95rem);
  font-weight: 700;
  color: var(--ink);
  margin: clamp(6px, 1vh, 12px) 0 6px;
}

.check-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3px, 0.8vh, 6px);
  font-size: clamp(0.8rem, 1.3vh, 0.92rem);
  color: var(--ink);
}
.check-list li{
  position: relative;
  padding-left: 16px;
  color: #333c4d;
}
.check-list li::before{
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.link-cta{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  margin-top: clamp(6px, 1.2vh, 14px);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.4vh, 0.95rem);
  color: var(--ink);
}
.link-cta__circle{
  width: clamp(28px, 3.6vh, 34px);
  height: clamp(28px, 3.6vh, 34px);
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.link-cta:hover .link-cta__circle{
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateX(3px);
}

/* ---------------- hero card ---------------- */
.card{ display: flex; flex-direction: column; }

/* Desktop only background effect */
@media (min-width: 981px) {
  .card--hero {
    background-image: url('assets/Cover-Piece_boom.png');
    background-repeat: no-repeat;
    background-position: center 65%;
    background-size: clamp(500px, 85vh, 1000px);
  }
  .hero-piece {
    opacity: 0;
    pointer-events: none;
  }
}

.card__topline{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.topline-right{
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch{
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn{
  border: none;
  background: transparent;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: background .16s ease, color .16s ease;
}
.lang-btn.is-active{
  background: var(--navy);
  color: #fff;
}
.lang-btn:not(.is-active):hover{
  color: var(--ink);
}

.brand-logo{
  height: clamp(110px, 20vh, 230px);
  width: auto;
  margin-top: -10px;
}
.brand-logo--sm{ height: clamp(45px, 6.5vh, 65px); }
.brand-logo--calib{ height: clamp(35px, 5vh, 50px); margin-top: 6px; }

.hero-grid{
  display: flex;
  align-items: stretch;
  gap: 1.2vw;
  margin-top: clamp(4px, 0.6vh, 10px);
  flex: 1 1 auto;
  min-height: 0;
}

.hero-col{
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-col--left{ flex: 1.1 1 0; }
.hero-col--center{ flex: 3.5 1 0; align-items: center; justify-content: center; }
.hero-col--right{ flex: 1.1 1 0; }

.lede{
  font-size: clamp(0.85rem, 1.5vh, 0.95rem);
  color: #333c4d;
  margin: 0 0 4px;
  max-width: 34ch;
}

.badge-row{
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 16px);
  margin-top: clamp(6px, 1.2vh, 14px);
  flex-wrap: wrap;
}
.badge{ height: clamp(28px, 4vh, 38px); width: auto; }
.badge--wide{ height: clamp(25px, 3.8vh, 35px); }

.hero-piece{
  width: auto;
  height: auto;
  max-width: 108%;
  max-height: min(100%, 92vh);
  transform: scale(1.25);
  object-fit: contain;
  margin: 0 auto;
}

.hero-copy{
  font-size: clamp(0.92rem, 1.7vh, 1.05rem);
  margin: 0 0 6px;
  color: var(--ink);
}
.hero-copy--muted{
  color: var(--muted);
  font-size: clamp(0.85rem, 1.5vh, 0.95rem);
  margin-bottom: 0;
}

/* ---------------- split (bottom) cards ---------------- */
.row-cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3vw;
  flex: 1 1 auto;
  min-height: 0;
}

.card--split{ display: flex; flex-direction: column; }

.split-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(4px, 0.6vh, 8px);
  flex: 0 0 auto;
}

.split-grid{
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 1.4vw, 20px);
  flex: 1 1 auto;
  min-height: 0;
}

.split-col{
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-col--img{ flex: 1.15 1 0; }

.split-title{
  font-size: clamp(1rem, 2vh, 1.2rem);
  font-weight: 700;
  margin: 0 0 clamp(8px, 1.6vh, 14px);
  color: var(--ink);
}

.split-col--img{
  align-items: center;
  justify-content: center;
}
.split-photo{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(100%, 58vh);
  object-fit: contain;
}
.split-col--img-duo{
  flex-direction: row;
  gap: clamp(6px, 1vw, 12px);
}
.split-photo--small{
  max-width: 48%;
  max-height: min(100%, 58vh);
}

/* ---------------- footer ---------------- */
.site-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(4px, 1vw, 18px);
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.footer-copy{
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.footer-mail{
  color: rgba(255,255,255,0.92);
  font-size: 0.85rem;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.footer-mail:hover{ text-decoration: underline; }

.pill-btn{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 10px 10px 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
  transition: transform .18s ease;
}
.pill-btn:hover{ transform: translateY(-2px); }
.pill-btn__circle{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= MODALS ================= */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 22, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease;
}
.modal-overlay.is-open{
  opacity: 1;
  visibility: visible;
}

.modal{
  position: relative;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow: auto;
  transform: translateY(14px) scale(0.98);
  transition: transform .22s ease;
}
.modal-overlay.is-open .modal{
  transform: translateY(0) scale(1);
}

.modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.modal-close:hover{
  background: var(--navy);
  color: #fff;
  transform: rotate(90deg);
}

.modal-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.modal-brand{
  background: linear-gradient(165deg, var(--navy) 0%, #0d1730 100%);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.modal-brand__logos{
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.modal-brand__logos img{
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
}
.modal-brand__tag{
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  margin: 0;
  letter-spacing: 0.01em;
}

.modal-body{
  padding: 40px 40px 34px;
}

.modal-eyebrow{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
}
.modal-title{
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}
.modal-sub{
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 22px;
  max-width: 42ch;
}

.modal-form{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea{
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 400;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  outline: none;
  resize: vertical;
  transition: border-color .15s ease;
}
.field input:focus,
.field textarea:focus{
  border-color: var(--blue);
}

.submit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 8px 12px 24px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  width: fit-content;
  transition: transform .18s ease, background .18s ease;
}
.submit-btn:hover{ background: var(--navy-2); transform: translateY(-1px); }
.submit-btn__circle{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.submit-btn--link{ margin-top: 22px; }

.form-note{
  margin: 4px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
}
.form-note--success{ color: #1a7a4c; }
.form-note--error{ color: #b5312b; }

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

.submit-btn[disabled]{
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

/* about modal */
.modal--about .modal-grid{ display: block; }
.about-content{
  padding: 44px 44px 40px;
}
.about-logo{
  height: 78px;
  width: auto;
  margin-bottom: 22px;
}
.about-text{
  color: #333c4d;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 62ch;
}
.about-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.about-stat{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-stat__num{
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.about-stat__label{
  font-size: 0.78rem;
  color: var(--muted);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px){
  html, body{ height: auto; overflow: visible; overflow-x: hidden; }

  .page{
    width: auto;
    height: auto;
    max-width: none;
    padding: clamp(16px, 3vw, 40px);
    gap: 22px;
    overflow: visible;
  }

  .card{ padding: clamp(22px, 3vw, 40px); }

  .hero-grid{
    flex-direction: column;
    gap: 20px;
    flex: none;
    min-height: auto;
  }
  .hero-col{ flex: none; min-height: auto; }
  .hero-col--center{ order: -1; }
  .hero-piece{ max-width: 450px; max-height: none; margin: 0 auto; transform: none; }
  .card__topline{ align-items: center; }

  .row-cards{ grid-template-columns: 1fr; flex: none; min-height: auto; }
  .card--split{ min-height: auto; }
  .split-grid{ flex-direction: row; min-height: auto; }
  .split-col{ min-height: auto; }
  .split-photo{ max-height: none; }

  .modal-grid{ grid-template-columns: 1fr; }
  .modal-brand{
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 26px 30px;
  }
  .modal-brand__logos{
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .modal-brand__logos img{ max-width: 140px; }
  .modal-brand__tag{ width: 100%; }
}

@media (max-width: 640px){
  .brand-logo{ height: 100px; }
  .brand-logo--sm{ height: 45px; }
  .brand-logo--calib{ height: 35px; margin-top: 4px; }
  .split-top{ flex-wrap: wrap; }
  .card__topline{ flex-direction: row; justify-content: space-between; }
  .topline-right{ gap: 8px; }
  .lang-btn{ padding: 4px 8px; font-size: 0.68rem; }
  .split-grid{ flex-direction: column; flex: none; min-height: auto; }
  .split-col{ flex: none; min-height: auto; }
  .split-col--img{ order: -1; }
  .hero-piece{ max-width: 280px; max-height: none; margin: 0 auto; }
  .split-photo{ max-width: 280px; max-height: none; margin: 0 auto; }
  .split-col--img-duo{ flex-direction: row; }
  .split-photo--small{ max-width: 47%; max-height: none; margin: 0; }

  .site-footer{
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .pill-btn{ order: -1; }

  .modal-body, .about-content{ padding: 30px 22px 26px; }
  .modal-close{ top: 12px; right: 12px; }
  .about-stats{ grid-template-columns: 1fr; }
}
