/* ============================================================
   Legacy Work Academy — shared stylesheet
   Palette: crimson / wine reds, greyscale, black
   Type: Playfair Display (headings) + Source Sans 3 (body/UI)
   Note: legacy class names ("teal", "amber-panel") are kept for
   markup stability; their values now map to the red/grey palette.
   ============================================================ */

:root {
  --ink: #17181b;
  --ink-soft: #3d3f45;
  --muted: #6d7076;
  --paper: #f6f5f3;
  --white: #ffffff;
  --line: #e3e1dd;
  --dark: #1a1b1e;
  --dark-2: #232427;
  --dark-line: #3a3c42;
  --amber: #a6192e;            /* primary crimson */
  --amber-deep: #7f1322;       /* deep crimson */
  --teal: #5e1420;             /* hospitality wine */
  --teal-deep: #480e18;
  --amber-tint: #f7ebed;
  --teal-tint: #f3e9ea;
  --red-lt: #d9606c;           /* red for dark backgrounds */
  --wine-lt: #c98a93;          /* wine accent for dark backgrounds */
  --silver: #b3b6bc;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 20, 24, 0.08);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--amber-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); margin-bottom: 0.6rem; }
h3 { font-size: 1.28rem; }

.kicker {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  color: var(--amber-deep);
  margin-bottom: 0.9rem;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--amber);
  vertical-align: middle;
  margin-right: 10px;
}

.kicker.teal { color: var(--teal); }
.kicker.teal::before { background: var(--teal); }
.kicker.light { color: var(--red-lt); }
.kicker.light::before { background: var(--red-lt); }

.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 46em; }

.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.dark { background: var(--dark); color: #e6e5e2; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lede { color: #b9babe; }
.section.white { background: var(--white); }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 24, 27, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--amber);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.brand-mark { width: 40px; height: 40px; flex: none; }

.brand-name { color: var(--white); line-height: 1.1; }

.brand-name .top {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  display: block;
}
.brand-name .bottom {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #b9babe;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }

.nav-links a {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: #cfd0d3;
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: var(--white); border-bottom-color: var(--amber); text-decoration: none; }
.nav-links a.active { color: var(--white); border-bottom-color: var(--amber); }

.nav-links a.btn-nav {
  background: var(--amber);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 6px;
  border-bottom: none;
}
.nav-links a.btn-nav:hover { background: #bd2338; color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--dark-line);
  border-radius: 6px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  padding: 6px 12px;
  cursor: pointer;
}

/* ---------- hero ---------- */

.hero {
  background:
    linear-gradient(115deg, rgba(23, 24, 27, 0.97) 0%, rgba(23, 24, 27, 0.9) 55%, rgba(37, 25, 27, 0.86) 100%),
    repeating-linear-gradient(-45deg, #232428 0 26px, #1e1f23 26px 52px);
  color: var(--white);
  padding: 104px 0 96px;
  border-bottom: 6px solid var(--amber);
}

.hero .lede { color: #c3c4c8; margin-top: 1.4rem; font-size: 1.22rem; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--red-lt);
  border: 1px solid rgba(166, 25, 46, 0.55);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 1.6rem;
  background: rgba(166, 25, 46, 0.12);
}

.hero h1 .accent { color: var(--red-lt); font-style: italic; }

.hero-ctas { margin-top: 2.4rem; display: flex; gap: 14px; flex-wrap: wrap; }

.hero.sub { padding: 84px 0 72px; }

.hero.teal-hero {
  background:
    linear-gradient(115deg, rgba(26, 20, 22, 0.97) 0%, rgba(34, 20, 23, 0.92) 55%, rgba(48, 20, 26, 0.88) 100%),
    repeating-linear-gradient(-45deg, #33161d 0 26px, #2b1218 26px 52px);
  border-bottom-color: var(--teal);
}
.hero.teal-hero .hero-badge { color: var(--wine-lt); border-color: rgba(122, 42, 55, 0.8); background: rgba(94, 20, 32, 0.25); }
.hero.teal-hero h1 .accent { color: var(--wine-lt); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  padding: 14px 28px;
  border-radius: 7px;
  text-decoration: none !important;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--amber); color: var(--white); }
.btn-primary:hover { background: #bd2338; }

.btn-outline { border: 2px solid #5b5d63; color: var(--white); }
.btn-outline:hover { border-color: var(--red-lt); color: var(--red-lt); }

.btn-outline-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--amber-deep); color: var(--amber-deep); }

.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: #77202f; }
.hero.teal-hero .btn-teal { background: #8a2436; }
.hero.teal-hero .btn-teal:hover { background: #9d2c40; }

/* ---------- grids & cards ---------- */

.grid { display: grid; gap: 26px; margin-top: 2.6rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-kicker {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}

.card.accent-top { border-top: 5px solid var(--amber); }
.card.accent-top.teal { border-top-color: var(--teal); }

.card ul { margin: 0.8rem 0 0 1.1rem; color: var(--ink-soft); font-size: 0.97rem; }
.card ul li { margin-bottom: 0.45rem; }

.icon-chip {
  width: 46px; height: 46px;
  border-radius: 9px;
  background: var(--amber-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.icon-chip svg { width: 24px; height: 24px; stroke: var(--amber-deep); }
.icon-chip.teal { background: var(--teal-tint); }
.icon-chip.teal svg { stroke: var(--teal); }

/* division feature cards on home */
.division-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  padding: 42px 34px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none !important;
  transition: transform 0.15s ease;
}
.division-card:hover { transform: translateY(-4px); }

.division-card.construction {
  background:
    linear-gradient(160deg, rgba(24, 16, 17, 0.5) 0%, rgba(24, 16, 17, 0.93) 78%),
    repeating-linear-gradient(-45deg, #7c1626 0 30px, #6b1220 30px 60px);
}
.division-card.hospitality {
  background:
    linear-gradient(160deg, rgba(18, 15, 16, 0.55) 0%, rgba(18, 15, 16, 0.94) 78%),
    repeating-linear-gradient(-45deg, #46101b 0 30px, #3a0d16 30px 60px);
}

.division-card .div-label {
  font-family: var(--font-ui);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.4rem;
}
.division-card h3 { font-size: 1.8rem; color: var(--white); margin-bottom: 0.6rem; }
.division-card p { color: rgba(255, 255, 255, 0.84); font-size: 0.99rem; }
.division-card .go {
  margin-top: 1.2rem;
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--red-lt);
}
.division-card.hospitality .go { color: var(--wine-lt); }

/* ---------- stats band ---------- */

.stats-band { background: var(--dark); border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 54px 0; }
.stat .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  color: var(--red-lt);
  line-height: 1.1;
}
.stat .num.teal-num { color: var(--silver); }
.stat .label { color: #a7a9ad; font-size: 0.9rem; margin-top: 0.5rem; max-width: 15em; }

/* ---------- pillars / numbered steps ---------- */

.pillar { border-left: 3px solid var(--amber); padding-left: 22px; }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { color: var(--ink-soft); font-size: 0.99rem; }

.steps { counter-reset: step; display: grid; gap: 22px; margin-top: 2.4rem; }
.step {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px 24px 88px;
  position: relative;
  box-shadow: var(--shadow);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 26px; top: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--amber);
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- credential chips ---------- */

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.chip {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 6px;
  padding: 9px 16px;
  color: var(--ink-soft);
}
.chip.teal { border-left-color: var(--teal); }

/* ---------- split CTA ---------- */

.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 2.6rem; }
.cta-panel {
  border-radius: var(--radius);
  padding: 40px 36px;
  color: var(--white);
}
.cta-panel.amber-panel { background: linear-gradient(135deg, #6f1120, #a6192e); }
.cta-panel.slate-panel { background: linear-gradient(135deg, #232427, #3b3d43); }
.cta-panel h3 { color: var(--white); font-size: 1.65rem; margin-bottom: 0.6rem; }
.cta-panel p { color: rgba(255, 255, 255, 0.88); margin-bottom: 1.5rem; }
.cta-panel .btn { background: var(--white); color: var(--ink); }
.cta-panel .btn:hover { background: #efedea; }

/* ---------- callout ---------- */

.callout {
  background: var(--amber-tint);
  border: 1px solid #ead3d7;
  border-left: 6px solid var(--amber);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-top: 2.4rem;
}
.callout.teal { background: var(--teal-tint); border-color: #e2d0d3; border-left-color: var(--teal); }
.callout h3 { margin-bottom: 0.4rem; }
.callout p { color: var(--ink-soft); font-size: 0.99rem; }

/* ---------- two-col ---------- */

.two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.two-col .body-copy p { margin-bottom: 1rem; color: var(--ink-soft); }

/* ---------- checklist ---------- */

.checklist { list-style: none; margin-top: 1.4rem; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--amber);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.checklist.teal li::before { background: var(--teal); }
.section.dark .checklist li { color: #c3c4c8; }
.section.dark .checklist li::before { background: var(--red-lt); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--dark);
  color: #a7a9ad;
  padding: 64px 0 36px;
  border-top: 6px solid var(--amber);
  font-size: 0.95rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.site-footer h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #c9cacd; }
.site-footer a:hover { color: var(--red-lt); }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  margin-top: 44px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: #7e8085;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- page CTA strip ---------- */

.cta-strip { background: var(--dark-2); color: var(--white); text-align: center; padding: 72px 0; }
.cta-strip h2 { margin-bottom: 0.8rem; }
.cta-strip p { color: #b9babe; max-width: 42em; margin: 0 auto 1.8rem; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 62px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .split-cta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 64px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 3px solid var(--amber);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 0.95rem; }
  .nav-links a.btn-nav { display: inline-block; margin-top: 10px; }
}
