/* Zen for Leadership – statische versie */
:root {
  --text: #666;
  --heading: #333;
  --nav: #5e5e5e;
  --accent: #d9261c;
  --sand: #efece8;
  --sand-dark: #e3dfd9;
  --button: #a0a0a0;
  --button-hover: #8a8a8a;
  --line: #e2e2e2;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #2e7bb8; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 .6em;
}
h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 19px; }
h5 { font-size: 16px; font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  min-height: 240px;
  background: #dfe7ea url("../img/header.jpg") left center / cover no-repeat;
}
.site-header .container {
  position: relative;
  min-height: 240px;
  max-width: 1280px;
}
.logo-link {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 260px;
}
.logo-link span {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

.main-nav {
  position: absolute;
  right: 24px;
  top: 14px;
}
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 720px;
  gap: 6px 22px;
}
.main-nav a {
  display: inline-block;
  color: var(--nav);
  font-size: 16px;
  font-weight: 600;
  padding: 4px 0;
  position: relative;
}
.main-nav > ul > li > a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--heading); }

.has-sub { position: relative; }
.has-sub > a::before {
  content: "";
  float: right;
  width: 6px; height: 6px;
  margin: 10px 0 0 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.sub-menu {
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 230px;
  background: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  padding: 10px 0 !important;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: all .2s;
  z-index: 50;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 6px 20px; font-size: 14px; }
.sub-menu a:hover { background: var(--sand); }

.nav-toggle {
  display: none;
  position: absolute;
  right: 20px; top: 18px;
  width: 46px; height: 46px;
  border: 0; border-radius: 6px;
  background: rgba(255,255,255,.85);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; position: absolute; left: 12px;
  width: 22px; height: 2px; background: var(--heading);
  transition: transform .2s, opacity .2s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { content: ""; left: 0; top: -7px; }
.nav-toggle span::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 60px 0; }
.section-sand { background: var(--sand); }
.section-tight { padding: 40px 0; }

.page-title { margin-bottom: 30px; }

.lead {
  font-size: 30px;
  line-height: 1.6;
  color: var(--heading);
  margin: 0;
}

.grid { display: grid; gap: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-main { grid-template-columns: 3fr 1fr; gap: 50px; }
.grid-media { grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }

.row + .row { margin-top: 50px; }

/* ---------- Blurbs (homepage) ---------- */
.blurb {
  background: var(--sand);
  padding: 30px;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.blurb:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.07); }
.blurb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 26px;
}
.blurb h3 { font-size: 17px; font-weight: 700; color: var(--heading); }
.blurb .quotes p { font-style: italic; }
.blurb .more { margin-top: auto; padding-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--button);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  padding: 8px 22px;
  border-radius: 14px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--button-hover); color: #fff; transform: translateY(-1px); }
.btn-center { text-align: center; margin-top: 40px; }

/* ---------- Feature cards (apps/books teaser) ---------- */
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 22px; }
.feature a:hover img { opacity: .9; }
.feature p { font-size: 16px; }

/* ---------- Newsletter CTA ---------- */
.cta { text-align: center; max-width: 560px; margin: 0 auto; }
.cta h2 { font-size: 26px; }
.cta p { font-size: 16px; }

/* ---------- Content ---------- */
.content p, .content li { font-size: 15px; }
.content h2 { margin-top: 0; }
.content h5 { margin-top: 1.4em; }
.spacer { height: 40px; }

.course {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.course:last-child { border-bottom: 1px solid var(--line); }
.course p { margin-bottom: .8em; }

.sidebar {
  font-size: 14px;
  line-height: 1.65;
}
.sidebar h5 { margin: 1.4em 0 .2em; font-size: 14px; color: var(--heading); }
.sidebar h5:first-child { margin-top: 0; }
.sidebar p { margin: 0; }

.person { align-items: start; }
.person + .person { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--line); }
.person .photos { display: grid; gap: 20px; }
.portrait { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 240px; }

/* Testimonials */
.quotes-list {
  columns: 2;
  column-gap: 40px;
}
.quotes-list p {
  break-inside: avoid;
  font-style: italic;
  border-left: 3px solid var(--sand-dark);
  padding: 2px 0 2px 16px;
  margin: 0 0 18px;
}

/* Accordion */
details.toggle {
  border: 1px solid #d9d9d9;
  background: #f4f4f4;
  margin-bottom: 12px;
  transition: background .2s;
}
details.toggle[open] { background: #fff; }
details.toggle > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 50px 16px 20px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
}
details.toggle > summary::-webkit-details-marker { display: none; }
details.toggle > summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: #999;
}
details.toggle[open] > summary::after { content: "–"; }
details.toggle > .toggle-body { padding: 0 20px 20px; }
details.toggle .toggle-body h3 { font-size: 20px; }
details.toggle .toggle-body h4 { font-size: 17px; }
details.toggle .toggle-body img.author {
  width: 110px; border-radius: 50%; float: left; margin: 4px 20px 10px 0;
}
details.toggle .toggle-body img.inline { margin: 10px 0 16px; }
details.toggle .toggle-body .bio { overflow: hidden; font-size: 14px; color: #777; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
blockquote {
  margin: 0 0 1.2em;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  font-style: italic;
}

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 18px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.book-cover { max-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.app-icon { max-width: 200px; border-radius: 22%; }

/* Share */
.share-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.share-list a {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--sand);
  color: var(--heading);
  font-weight: 600;
  border-radius: 10px;
  transition: background .2s;
}
.share-list a:hover { background: var(--sand-dark); color: var(--heading); }
.share-list svg { width: 22px; height: 22px; flex: none; }

.contact-card {
  background: var(--sand);
  padding: 26px 30px;
  border-radius: 4px;
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h3 { font-size: 18px; margin-bottom: .3em; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--accent); }
.site-footer .copy { font-weight: 400; color: #999; margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .grid-main, .grid-media { grid-template-columns: 1fr; gap: 30px; }
  .quotes-list { columns: 1; }
  .lead { font-size: 24px; }

  .nav-toggle { display: block; }
  .site-header, .site-header .container { min-height: 180px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px; left: 16px; right: 16px;
    background: #fff;
    border-top: 3px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    padding: 10px 0;
    z-index: 60;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { display: block; max-width: none; }
  .main-nav a { display: block; padding: 10px 22px; }
  .main-nav > ul > li > a::after { display: none; }
  .has-sub > a::before { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 6px !important; min-width: 0;
  }
  .sub-menu a { padding: 6px 22px 6px 40px; color: #888; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .lead { font-size: 21px; }
  h1 { font-size: 26px; }
  h2 { font-size: 23px; }
  .site-header, .site-header .container { min-height: 150px; }
  .logo-link { width: 180px; left: 16px; }
  .blurb { padding: 24px 20px; }
  details.toggle .toggle-body img.author { width: 80px; }
}
