/* =============================================
   kennethskrans.com — Shared Stylesheet
   KSK Brand Colors:
   #292F36 — Jet Black (background)
   #FFD23F — Golden Pollen (primary accent)
   #4ECDC4 — Strong Cyan (secondary accent)
   #FF6B6B — Grapefruit Pink (alert/warm)
   #7D8CC4 — Glaucous (muted blue)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #292F36;
  color: #F0F0F0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #FFD23F; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: #FFFFFF;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: #C8C8C8; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #E0E0E0;
}

.accent { color: #FFD23F; }
.cyan { color: #4ECDC4; }

/* === LAYOUT === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background-color: #1E2329;
}

.section--border-top {
  border-top: 1px solid #3A424E;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(41, 47, 54, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #3A424E;
  padding: 0 2rem;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.nav__logo span { color: #FFD23F; }

.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: #C8C8C8;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active { color: #FFD23F; opacity: 1; }

.nav__cta {
  background: #FFD23F;
  color: #292F36 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav__cta:hover { background: #e6be38 !important; opacity: 1 !important; }

/* Mobile nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #F0F0F0;
  margin: 5px 0;
  transition: 0.3s;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: #FFD23F;
  color: #292F36;
}

.btn--primary:hover {
  background: #e6be38;
  opacity: 1;
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: #FFD23F;
  border: 2px solid #FFD23F;
}

.btn--outline:hover {
  background: #FFD23F;
  color: #292F36;
  opacity: 1;
}

.btn--cyan {
  background: #4ECDC4;
  color: #292F36;
}

.btn--cyan:hover {
  background: #3bb5ad;
  opacity: 1;
}

/* === HERO === */
.hero {
  padding-top: 140px;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 210, 63, 0.04));
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4ECDC4;
  margin-bottom: 1.2rem;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  color: #FFD23F;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: #A0A8B0;
  margin-bottom: 0.6rem;
  font-weight: 300;
}

.hero__divider {
  width: 48px;
  height: 3px;
  background: #FFD23F;
  margin: 2rem 0;
}

.hero__lead {
  font-size: 1.15rem;
  color: #C8C8C8;
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero__contact {
  color: #7D8CC4;
  font-size: 0.9rem;
}

/* === STAT ROW === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #3A424E;
  border: 1px solid #3A424E;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 5rem;
}

.stat {
  background: #1E2329;
  padding: 2rem;
  text-align: center;
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFD23F;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat__label {
  font-size: 0.85rem;
  color: #808890;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === SECTION HEADERS === */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ECDC4;
  margin-bottom: 0.8rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  color: #A0A8B0;
}

/* === CARDS === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #1E2329;
  border: 1px solid #3A424E;
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: #FFD23F;
  transform: translateY(-3px);
}

.card__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 210, 63, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: #FFD23F;
  font-size: 1.2rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.card p {
  font-size: 0.95rem;
  color: #808890;
  line-height: 1.6;
}

/* === ARTICLE CARDS === */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: #1E2329;
  border: 1px solid #3A424E;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: #4ECDC4;
  transform: translateY(-3px);
}

.article-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4ECDC4;
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.article-card__body {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.article-card p {
  font-size: 0.9rem;
  color: #808890;
  flex: 1;
  margin-bottom: 1.5rem;
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #3A424E;
  padding-top: 1rem;
  margin-top: auto;
}

.article-card__date {
  font-size: 0.8rem;
  color: #606870;
}

.article-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFD23F;
}

/* === QUOTE BLOCK === */
.quote-block {
  border-left: 4px solid #FFD23F;
  padding: 1.5rem 2rem;
  background: rgba(255, 210, 63, 0.05);
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

.quote-block p {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #E0E0E0;
  font-style: italic;
  line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #1E2329, #292F36);
  border-top: 1px solid #3A424E;
  border-bottom: 1px solid #3A424E;
}

.cta-section h2 {
  margin-bottom: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  color: #A0A8B0;
}

/* === SCHEDULE PAGE === */
.schedule-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}

.schedule-sidebar h3 {
  margin-bottom: 1rem;
}

.schedule-sidebar p {
  font-size: 0.95rem;
  color: #808890;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid #3A424E;
  color: #C8C8C8;
  font-size: 0.95rem;
}

.contact-item:last-child { border-bottom: none; }

.contact-item__icon {
  color: #FFD23F;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.calendly-container {
  background: #1E2329;
  border: 1px solid #3A424E;
  border-radius: 8px;
  overflow: hidden;
  min-height: 600px;
}

/* === LANGUAGE SWITCHER === */
.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 0.75rem;
  border-left: 1px solid #3A424E;
  padding-left: 1rem;
}

.lang-btn {
  background: rgba(255,255,255,0.05);
  border: 2px solid #3A424E;
  border-radius: 6px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 0;
  transition: all 0.2s;
  opacity: 0.55;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn img {
  border-radius: 2px;
  display: block;
  width: 30px;
  height: 20px;
  object-fit: cover;
}

.lang-btn.active {
  border-color: #FFD23F;
  background: rgba(255,210,63,0.1);
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255,210,63,0.3);
}

.lang-btn:hover {
  opacity: 1;
  border-color: #A0A8B0;
}

/* === FOOTER === */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid #3A424E;
  text-align: center;
}

.footer__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.85rem;
  color: #606870;
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: #808890;
}

.footer__links a:hover { color: #FFD23F; opacity: 1; }

.footer__legal {
  font-size: 0.75rem;
  color: #4A5258;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding-top: 120px;
  padding-bottom: 3rem;
  border-bottom: 1px solid #3A424E;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4ECDC4;
  margin-bottom: 0.8rem;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.gap-2 { gap: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #292F36;
    padding: 1rem 2rem;
    border-bottom: 1px solid #3A424E;
    gap: 1rem;
  }
  .nav__toggle { display: block; }
  .stats { grid-template-columns: 1fr; }
  .schedule-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .section { padding: 3.5rem 0; }

  /* Hero photo — stack vertically on mobile */
  .hero .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .hero .container > div[style*="grid-template-columns"] img {
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto 2rem;
  }
  .hero .container > div[style*="grid-template-columns"] > div:last-child {
    order: -1;
  }
  .hero__cta-group { justify-content: center; }
  .hero__divider { margin-left: auto; margin-right: auto; }

  /* How I work — stack on mobile */
  .section div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .hero__cta-group { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; text-align: center; }
}
