/* Swiss Training House Group — shared site styles */

:root {
  --bg: #0a0a10;
  --bg-soft: #14141d;
  --bg-card: #1a1a25;
  --bg-elev: #20202d;
  --line: rgba(255,255,255,0.1);
  --line-strong: rgba(255,255,255,0.18);
  --text: #ffffff;
  --text-mute: rgba(255,255,255,0.7);
  --text-faint: rgba(255,255,255,0.5);
  --cyan: #00d4f0;
  --cyan-deep: #00a8c0;
  --cyan-soft: rgba(0,212,240,0.15);
  --yellow: #ffd23f;
  --magenta: #ff2e7e;
  --ox: #c41a2b;
  --ox-deep: #8c0f1a;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.frame { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .frame { padding: 0 48px; } }

/* ---------- TOP UTILITY ---------- */
.util {
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-mute);
}
.util-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  gap: 22px;
}
.util a { transition: color 0.15s ease; }
.util a:hover { color: var(--cyan); }
.util .l, .util .r { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.util .sep { color: var(--text-faint); }

/* ---------- HEADER ---------- */
header.site {
  background: transparent;
  position: relative;
  z-index: 50;
}
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.brand-logo .dot { color: var(--ox); }
.brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  line-height: 1;
  margin-top: 4px;
}
nav.primary {
  display: flex; gap: 32px; align-items: center; justify-content: center;
}
@media (max-width: 1100px) { nav.primary { display: none; } }
nav.primary a {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer;
}
nav.primary a:hover { color: var(--cyan); }
nav.primary a.is-current { color: var(--cyan); border-bottom-color: var(--cyan); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.icon-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); border-color: var(--cyan); color: var(--cyan); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-cyan { background: var(--cyan); color: var(--bg); border-color: var(--cyan); }
.btn-cyan:hover { background: #fff; border-color: #fff; color: var(--bg); }
.btn-ox { background: var(--ox); color: #fff; border-color: var(--ox); }
.btn-ox:hover { background: var(--ox-deep); border-color: var(--ox-deep); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-dark { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn-dark:hover { background: var(--bg-card); border-color: var(--bg-card); }
.btn-bordered-light { background: transparent; color: var(--bg); border-color: rgba(10,10,16,0.4); }
.btn-bordered-light:hover { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn .arrow { transition: transform 0.18s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- SECTIONS ---------- */
section.block { padding: 96px 0; }
@media (max-width: 700px) { section.block { padding: 64px 0; } }
.block.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .eyebrow {
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-head .eyebrow::before {
  content: ''; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%;
}
.section-head h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text);
  font-weight: 800;
  margin: 0;
}
.section-head h2 .cyan { color: var(--cyan); }
.section-head p {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 60ch;
}
.section-head.row {
  display: flex; justify-content: space-between; align-items: end;
  max-width: none; gap: 32px; flex-wrap: wrap;
}
.section-head.row > div { max-width: 760px; }

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) { .page-hero .grid { grid-template-columns: 1fr; gap: 40px; } }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.page-hero .eyebrow::before {
  content: ''; width: 8px; height: 8px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
}
.page-hero h1 {
  font-size: clamp(42px, 5.6vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--text);
}
.page-hero h1 .cyan { color: var(--cyan); }
.page-hero p.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
  max-width: 56ch;
  font-weight: 500;
}
.page-hero p.lead strong { color: var(--text); font-weight: 700; }
.page-hero .photo-card {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.95) contrast(1.05);
  position: relative;
}
.page-hero .photo-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,16,0) 60%, rgba(10,10,16,0.5) 100%);
}
.page-hero .photo-tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--cyan);
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  z-index: 2;
}

/* ---------- ARTICLE / INSIGHT CARDS ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .insights-grid { grid-template-columns: 1fr; } }
.article {
  display: flex; flex-direction: column; gap: 16px;
  color: inherit;
}
.article .image {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.article .image .photo {
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  filter: grayscale(0.4) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.article:hover .image .photo { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.article .meta {
  display: flex; gap: 14px;
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.article .meta .cat { color: var(--cyan); }
.article h3 {
  font-size: 24px; font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  transition: color 0.18s ease;
}
.article:hover h3 { color: var(--cyan); }
.article p {
  color: var(--text-mute);
  font-size: 15px; line-height: 1.55;
  margin: 0;
}

/* ---------- EMPLOYER CTA STRIP ---------- */
.employer-cta {
  background: var(--cyan);
  color: var(--bg);
  position: relative;
}
.employer-cta-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0;
}
@media (max-width: 900px) {
  .employer-cta-grid { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
}
.employer-cta .eyebrow {
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.employer-cta .eyebrow::before {
  content: ''; width: 8px; height: 8px; background: var(--bg); border-radius: 50%;
}
.employer-cta h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--bg);
}
.employer-cta p {
  color: rgba(10,10,16,0.78);
  font-size: 17px; line-height: 1.55;
  margin: 0;
  max-width: 52ch;
  font-weight: 500;
}
.employer-cta .actions { display: flex; flex-direction: column; gap: 10px; }
.employer-cta .actions .btn { width: 100%; justify-content: center; }
.employer-cta .actions .btn-dark { background: var(--bg); color: var(--text); border-color: var(--bg); }
.employer-cta .actions .btn-dark:hover { background: var(--bg-elev); border-color: var(--bg-elev); }

/* ---------- FOOTER ---------- */
footer.site {
  background: var(--bg);
  color: var(--text-mute);
  padding: 80px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
footer.site h4 {
  font-size: 11.5px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin: 0 0 18px;
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 10px; }
footer.site a {
  font-size: 14px;
  color: var(--text-mute);
  transition: color 0.15s ease;
}
footer.site a:hover { color: var(--cyan); }
footer.site p {
  font-size: 14px; line-height: 1.55;
  color: var(--text-mute); margin: 14px 0 0;
  max-width: 36ch;
}
.footer-bar {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
  flex-wrap: wrap; gap: 12px;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
