/* ============================================================
   KTronics Aero Services — Shared Stylesheet
   Brand: PANTONE 7547 U (#242E35) · PANTONE 137 U (#F5A623) · #ffffff
   Fonts: Ethnocentric (brand) · Montserrat (headings) · Open Sans (body)
   ============================================================ */

@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/ethnocentric-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/ethnocentric-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:ital,wght@0,400;0,600;1,400&display=swap');

/* === Variables === */
:root {
  --dark:       #242E35;
  --dark-deep:  #161d22;
  --gold:       #F5A623;
  --gold-light: #f8c46a;
  --gold-dark:  #cc8610;
  --white:      #ffffff;
  --off-white:  #f8f7f5;
  --gray:       #eeece9;
  --border:     #e2dfd9;
  --mid:        #4a5258;
  --text-light: #6b7280;

  --nav-h:      68px;
  --max-w:      1140px;
  --pad-section: 80px;
  --radius:     4px;
  --radius-lg:  10px;
  --shadow:     0 2px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 36px rgba(0,0,0,.16);
  --transition: all .22s ease;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* === Base === */
body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  color: var(--dark);
  background: var(--white);
}

/* === Typography === */
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; font-weight: 700; letter-spacing: .03em; }

p { color: var(--mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; color: var(--mid); }
li { margin-bottom: .35rem; }
strong { color: var(--dark); font-weight: 700; }

/* === Layout === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--pad-section) 0; }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .65rem;
  display: block;
}
.section-intro {
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
  color: var(--mid);
}

/* Two-column grid */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.flip { }

/* Image placeholders */
.img-placeholder {
  width: 100%;
  background: var(--gray);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  font-size: .8rem;
  line-height: 1.5;
}
.img-placeholder.tall   { aspect-ratio: 3/4; }
.img-placeholder.wide   { aspect-ratio: 16/9; }
.img-placeholder.square { aspect-ratio: 1/1; }
.img-placeholder.photo  { aspect-ratio: 4/3; }

img.rounded { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 6px 22px rgba(245,166,35,.45);
  transform: translateY(-2px);
}
.btn-gold:active {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 2px 8px rgba(245,166,35,.25);
  transform: translateY(0px) scale(.98);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-deep);
  border-color: var(--dark-deep);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}
.btn-group {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  height: var(--nav-h);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,.09);
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo mark in nav */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  height: 38px;
  width: auto;
}
.nav-logo-full {
  height: 42px;
  width: auto;
  max-width: 220px;
}
.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.nav-logo-wordmark .wm-top {
  font-family: 'Ethnocentric', 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: .9rem;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-logo-wordmark .wm-bot {
  font-family: 'Ethnocentric', 'Montserrat', sans-serif;
  font-size: .55rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .18s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-links .nav-cta a {
  background: var(--gold);
  color: var(--dark);
  padding: 8px 15px;
  border-radius: var(--radius);
  border-bottom: none;
}
.nav-links .nav-cta a:hover {
  background: var(--gold-dark);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero (Home) === */
.hero {
  background: var(--dark);
  padding: 90px 0 75px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 50%, rgba(240,168,48,.06) 0%, transparent 70%),
    linear-gradient(160deg, #1a1f24 0%, #2a2f35 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.68);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.78;
}
.hero-btns { margin-bottom: 0; }

/* Hero two-column layout */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

/* Hero slideshow */
.hero-slideshow {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
  flex-shrink: 0;
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  border-radius: 0;
  box-shadow: none;
}
.hero-slideshow .slide.active {
  opacity: 1;
}

/* Stats bar */
.stats-bar {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat {
  padding: 0 2.5rem 0 0;
  margin-right: 2.5rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .2rem;
}
.stat-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* === Page Hero (inner pages) === */
.page-hero {
  background: var(--dark);
  padding: 58px 0 48px;
  border-bottom: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1f24 0%, #2a2f35 100%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p  { color: rgba(255,255,255,.65); max-width: 560px; margin: 0; }

/* Page TOC nav bar */
.page-toc {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
}
.page-toc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .25rem;
  align-items: center;
}
.page-toc-link {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--mid);
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.page-toc-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* Schedule strip */
.schedule-strip {
  background: var(--gold);
  padding: 16px 0;
}
.schedule-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.schedule-strip-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  color: var(--dark);
}
.schedule-strip-text span {
  font-size: .82rem;
  color: var(--dark);
  opacity: .78;
  margin-left: .5rem;
}

/* === Service Cards === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.65rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(245,166,35,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}
.card-icon svg {
  width: 26px; height: 26px;
  stroke-width: 1.75;
}
.card h3 { margin-bottom: .6rem; }
.card p  { font-size: .88rem; line-height: 1.65; margin-bottom: 1.1rem; }
.card-link {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}
.card-link:hover { color: var(--gold-dark); }

/* Stretched link — makes the whole card the click target */
.card-link.stretched::before {
  content: '';
  position: absolute;
  inset: -1.85rem -1.65rem; /* invert card padding to reach card edges */
  z-index: 1;
  cursor: pointer;
}

/* Schedule modal */
.schedule-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.schedule-modal.open { display: flex; }
.schedule-modal-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(720px, 100%);
  height: min(740px, 90vh);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.schedule-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--dark);
  z-index: 2;
  padding: 2px 8px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.schedule-modal-close:hover { background: var(--gray); }
.schedule-modal iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* === Feature List === */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.feature-list li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .92rem;
  color: var(--mid);
}
.feature-list li:first-child { border-top: 1px solid var(--border); }
.feature-list li::before {
  content: '▶';
  color: var(--gold);
  font-size: .55rem;
  margin-top: 6px;
  flex-shrink: 0;
}

/* === Stats/Cert boxes === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.cert-box {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1.35rem 1.2rem;
  text-align: center;
}
.cert-val {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .3rem;
}
.cert-lbl {
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.4;
}

/* Dark parts cards (DER page) */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.part-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-left: 4px solid var(--gold);
}
.part-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: .25rem;
}
.part-card p {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.5;
}

/* === CTA Band === */
.cta-band {
  background: var(--gold);
  padding: 55px 0;
  text-align: center;
}
.cta-band h2 { color: var(--dark); margin-bottom: .5rem; }
.cta-band p  { color: var(--dark); opacity: .78; margin-bottom: 1.75rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-band .btn-dark { background: var(--dark); border-color: var(--dark); }
.cta-band .btn-dark:hover { background: var(--dark-deep); }
.cta-band .btn-outline-dark { border-color: rgba(42,47,53,.55); }

/* === Affiliations === */
.affil-row {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.affil-tag {
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--dark);
}

/* === Photo / gallery grid === */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.photo-grid .img-placeholder { aspect-ratio: 4/3; }

.shoot-list {
  columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.shoot-list li {
  font-size: .875rem;
  color: var(--mid);
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
  break-inside: avoid;
}
.shoot-list li::before { content: '— '; color: var(--gold); }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--dark);
}
.contact-icon svg {
  width: 18px; height: 18px;
  stroke-width: 2;
}
.contact-item h4 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-light);
  margin-bottom: .2rem;
  font-weight: 700;
}
.contact-item a,
.contact-item p {
  font-size: .95rem;
  color: var(--dark);
  font-weight: 600;
  margin: 0;
}
.contact-item a:hover { color: var(--gold-dark); }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: .35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,168,48,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* === About Bio === */
.bio-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.bio-photo .img-placeholder { aspect-ratio: 3/4; }

.cert-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.cert-list li {
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--mid);
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}
.cert-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  flex-shrink: 0;
}

/* === Footer === */
.footer {
  background: var(--dark);
  padding: 55px 0 28px;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo-mark {
  height: 46px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand-name {
  font-family: 'Ethnocentric', 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: .88rem;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.footer-brand p {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin-top: .6rem;
}
.footer-head {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  transition: color .18s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p {
  font-size: .76rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .18s; }
.footer-bottom a:hover { color: var(--gold); }

/* === Utility === */
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white) !important; }
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 1.75rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-0  { margin-bottom: 0 !important; }

/* Subtle alternating section bg */
.bg-off  { background: var(--off-white); }
.bg-dark { background: var(--dark); }

/* Divider line accent */
.gold-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  :root { --pad-section: 60px; }
  .two-col   { grid-template-columns: 1fr; gap: 2.5rem; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-photo { max-width: 260px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .shoot-list { columns: 1; }
}

@media (max-width: 720px) {
  /* Hide Koalendar floating widget on mobile — avoids iOS Safari scroll bug */
  #koalendar-widget-container,
  [id^="koalendar"],
  [class^="koalendar"] { display: none !important; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 24px 1.75rem;
    gap: .85rem;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav { position: sticky; }

  .stats-bar { gap: 1.5rem; }
  .stat { border-right: none; padding-right: 0; margin-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .parts-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid  { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-btns { flex-direction: column; }
  .hero-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-slideshow { aspect-ratio: 16/9; }
  .parts-grid { grid-template-columns: 1fr; }
  .cert-grid  { grid-template-columns: 1fr; }
  .schedule-strip .container { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ARTICLES PAGE
   ============================================================ */

.article-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow);
  transition: box-shadow .22s ease, transform .22s ease;
}

.article-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.article-tag {
  background: rgba(245,166,35,.12);
  color: var(--gold-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .65rem;
  border-radius: 3px;
}

.article-date {
  font-size: .85rem;
  color: var(--text-light);
}

.article-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .65rem;
  line-height: 1.3;
}

.article-desc {
  color: var(--mid);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.article-card-inner {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.article-thumb {
  flex: 0 0 120px;
  width: 120px;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  object-fit: cover;
}

.article-body {
  flex: 1;
  min-width: 0;
}

@media (max-width: 540px) {
  .article-card-inner { flex-direction: column; }
  .article-thumb { width: 100%; flex: none; }
}

/* ============================================================
   NEWS / UPCOMING EVENTS
   ============================================================ */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
}

.news-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.news-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--white);
  border-radius: 6px;
  padding: .35rem .6rem;
  min-width: 52px;
  text-align: center;
  line-height: 1.2;
}

.news-date-month {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-date-day {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  line-height: 1;
}

.news-body {
  flex: 1;
  min-width: 0;
}

.news-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .2rem;
}

.news-body p {
  font-size: .88rem;
  color: var(--mid);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   WEBINARS PAGE
   ============================================================ */

.webinar-block {
  max-width: 800px;
}

.webinar-header {
  margin-bottom: 1rem;
}

.webinar-meta {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: .35rem;
  margin-bottom: 1rem;
}

.webinar-desc {
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.webinar-player {
  width: 100%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.webinar-player video {
  width: 100%;
  display: block;
  max-height: 480px;
}
