/* ==========================================================================
   All Secure Group — styles.css
   Static rebuild of the Event Sec single-page site.
   Layout values ported from the original design for visual fidelity.
   ========================================================================== */

/* ---------- Design tokens (from the original) ---------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --accent: #642667;
  --muted: #ffffff9e;

  --overflow-clip: clip;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; -webkit-font-smoothing: inherit; }
html, body { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
body {
  background: var(--black);
  font-family: sans-serif;
  font-size: 12px;
  color: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Fonts (self-hosted, from the original) ---------- */
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/league-500.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/league-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/league-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/league-500.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/league-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/league-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/league-500.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/league-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/league-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Areal Regular';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/094e82dfb722.woff2') format('woff2');
}

/* ---------- Root frame ---------- */
.page {
  background-color: var(--black);
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  align-items: center;
  overflow: var(--overflow-clip);
}

.content {
  max-width: 1200px;
  width: 100%;
}

/* ---------- Text style primitives ---------- */
.txt-location  { font-family: "League Spartan", sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; line-height: 1em; color: var(--muted); white-space: pre; }
.txt-kicker    { font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; line-height: 1em; color: var(--accent); }
.txt-hero      { font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 88px; letter-spacing: -0.045em; line-height: 0.9em; color: var(--white); }
.txt-statement { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 19px; line-height: 1.5em; color: var(--muted); }
.txt-stat      { font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 80px; letter-spacing: -0.05em; line-height: 0.85em; color: var(--white); }
.txt-label     { font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.06em; line-height: 1.2em; color: var(--white); }
.txt-note      { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 16px; line-height: 1.55em; color: var(--muted); }
.txt-h2        { font-family: "League Spartan", sans-serif; font-weight: 800; font-size: 54px; letter-spacing: -0.04em; line-height: 0.92em; color: var(--white); }
.txt-model-note{ font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 17px; line-height: 1.5em; color: var(--muted); }
.txt-cap-title { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 17px; line-height: 1.5em; color: var(--white); }
.txt-cap-copy  { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 17px; line-height: 1.5em; color: var(--white); }
.txt-gallery-note { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 17px; line-height: 1.5em; color: var(--muted); }
.txt-contact-note { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 17px; line-height: 1.5em; color: var(--muted); }
.txt-contact-location { font-family: "League Spartan", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; line-height: 1em; color: var(--white); text-align: right; }
.txt-contact-email { font-family: "Areal Regular", sans-serif; font-weight: 400; font-size: 18px; line-height: 1.2em; color: var(--muted); text-align: right; }
.txt-contact-email-link { color: inherit; text-decoration: none; }

/* ---------- Opening section ---------- */
.section-opening {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 72px;
  padding: 28px 56px 104px;
  overflow: var(--overflow-clip);
}

.nav {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav .logo { width: 140px; aspect-ratio: 1.7778; overflow: var(--overflow-clip); flex: none; }
.nav .logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nav-location { display: flex; flex-flow: row; align-items: center; gap: 8px; width: min-content; flex: none; }
.nav-location .pin { width: 16px; height: auto; flex: none; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(380px, 1fr));
  gap: 48px;
  width: 100%;
}
.hero-copy {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px;
  width: 100%;
  place-self: start;
}
.btn-contact {
  position: relative;
  background-color: var(--accent);
  color: var(--white);
  cursor: pointer;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min-content;
  min-width: 176px;
  padding: 14px 20px;
  border-radius: 4px;
  text-decoration: none;
}
.btn-contact .arr {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-label {
  display: flex;
  align-items: center;
  font-family: "League Spartan", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1em;
  color: var(--white);
  flex: none;
}

.signal-card {
  position: relative;
  border: 1px solid #ffffff24;
  border-radius: 4px;
  background: linear-gradient(145deg, #6426674d 0%, #0000 65%);
  display: flex;
  flex-flow: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 28px;
  padding: 28px;
  width: 100%;
  min-height: 420px;
  place-self: start;
  overflow: var(--overflow-clip);
}
.signal-card > * { flex: none; min-width: 0; word-break: break-word; }
.signal-rule { background-color: var(--accent); height: 1px; width: 100%; flex: none; }

/* ---------- Operating Model section ---------- */
.section-model {
  max-width: 1200px;
  width: 100%;
  border-top: 1px solid #ffffff24;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 56px;
  overflow: var(--overflow-clip);
}
.model-header {
  display: flex;
  flex-flow: row;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}
.model-title { flex: 1 0 0; width: 1px; white-space: pre-wrap; word-break: break-word; }
.model-note { width: 380px; white-space: pre-wrap; word-break: break-word; }

.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}
.cap-card {
  position: relative;
  border: 1px solid #ffffff1f;
  border-radius: 4px;
  background: transparent;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 48px;
  padding: 20px;
  width: 100%;
  height: 100%;
  place-self: start;
  overflow: var(--overflow-clip);
}
.cap-icon { width: 28px; height: auto; flex: none; }
.cap-body { display: flex; flex-flow: column; gap: 0; }

/* ---------- Recent Operations / Gallery section ---------- */
.section-gallery {
  max-width: 1200px;
  width: 100%;
  border-top: 1px solid #ffffff24;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 32px;
  padding: 80px 56px;
  overflow: var(--overflow-clip);
}
.gallery-header {
  display: flex;
  flex-flow: row;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}
.gallery-title { flex: 1 0 0; width: 1px; white-space: pre-wrap; word-break: break-word; }
.gallery-note { width: 330px; white-space: pre-wrap; word-break: break-word; }

.carousel {
  position: relative;
  width: 100%;
  height: auto;
}
.carousel-track {
  display: flex;
  flex-flow: row;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
  border-radius: 4px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  height: auto;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 4px; }
.carousel-slide.w480  { width: 480px; aspect-ratio: 1.32813; }
.carousel-slide.w872  { width: 872px; aspect-ratio: 1.78689; }
.carousel-slide.w680  { width: 680px; aspect-ratio: 1.3278; }
.carousel-slide.w649  { width: 649px; aspect-ratio: 1.33333; }
.carousel-slide.w351  { width: 351px; aspect-ratio: 0.807825; }
.carousel-slide.w540  { width: 540px; aspect-ratio: 0.8; }
.carousel-slide.w800  { width: 800px; aspect-ratio: 1.77778; }

.carousel-controls {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 20px;
  pointer-events: none;
  border: 0;
  margin: 0;
}
.carousel-btn {
  border: none;
  background: rgba(0, 0, 0, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 40px;
  display: grid;
  place-content: center;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
}
.carousel-btn img { width: 100%; height: 100%; pointer-events: none; }
.carousel-btn.prev { opacity: 0; pointer-events: none; }

/* ---------- Contact section ---------- */
.section-contact {
  max-width: 1200px;
  width: 100%;
  border-top: 1px solid #ffffff24;
  display: flex;
  flex-flow: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  padding: 80px 56px;
  overflow: var(--overflow-clip);
}
.contact-copy {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  flex: 1 0 0;
  width: 1px;
}
.contact-copy h2 em { font-style: italic; }
.contact-detail {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 14px;
  width: 280px;
  flex: none;
}

/* ---------- Footer ---------- */
.site-footer {
  width: 100%;
  background: var(--black);
  color: #a7a3ad;
  text-align: center;
  padding: 26px 20px;
  font-family: "League Spartan", "Areal Regular", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  border-top: 1px solid rgba(100, 38, 103, 0.35);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 810px) and (max-width: 1199.98px) {
  .page { align-items: flex-start; overflow: visible; }
  .content, .section-opening, .section-model, .section-gallery, .section-contact { max-width: 100%; }
  .section-opening { gap: 56px; padding: 28px 36px 80px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(330px, 1fr)); gap: 32px; }
  .section-model, .section-gallery, .section-contact { padding: 64px 36px; }
  .caps-grid { grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 12px; }
}

@media (max-width: 809.98px) {
  .content, .section-opening, .section-model, .section-gallery, .section-contact { max-width: 100%; }
  .page { align-items: flex-start; overflow: visible; }
  .section-opening { gap: 44px; padding: 24px 20px 64px; }
  .nav .logo { width: 104px; }
  .hero-grid { display: flex; flex-flow: column; align-items: flex-start; gap: 28px; }
  .signal-card { min-height: 300px; padding: 22px; }
  .section-model { gap: 32px; padding: 56px 20px; }
  .model-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .model-title, .model-note { flex: none; width: 100%; }
  .caps-grid { display: flex; flex-flow: column; align-items: flex-start; gap: 12px; }
  .cap-card { gap: 28px; height: min-content; }
  .section-gallery { gap: 28px; padding: 56px 20px; }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .gallery-note { width: 100%; }
  .section-contact { flex-direction: column; align-items: flex-start; gap: 36px; padding: 56px 20px; }
  .contact-detail { align-items: flex-start; width: 100%; }
  .contact-copy { flex: none; width: 100%; }
  .txt-hero { font-size: 60px; }
  .txt-stat { font-size: 54px; }
  .txt-h2 { font-size: 40px; }
}
