@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Source+Sans+3:wght@300;400;600&display=swap');

:root {
  --ink: #1a1a1a;
  --ink-light: #555;
  --ink-faint: #999;
  --rule: #ddd;
  --bg: #fafaf8;
  --bg-warm: #f4f2ed;
  --accent: #2d6a4f;
  --accent-light: #52b788;
  --accent-pale: #d8f3dc;
  --white: #fff;
  --max: 860px;
  --nav-h: 56px;
}
.post-author {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    margin-top: 4px;
    letter-spacing: 0.02em;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; scroll-behavior: smooth; }
main{flex:1}
body {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: rgb(254,254,254);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
    display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo span {
  color: var(--accent);
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.shadow_right {
    box-shadow: 4px 0 8px rgba(0,0,0,0.08);
}

.shadow {
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.shadow_soft {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* ── LAYOUT ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── HOME ── */
.home-header {
  padding: 40px 0 3rem;
  border-bottom: 1px solid var(--rule);
}

.home-header h1 {
  font-family: 'Lora', serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.home-header .subtitle {
  font-size: 1rem;
  color: var(--ink-light);
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.home-header p {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 640px;
  line-height: 1.75;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius:18px;
  position:relative;
  left:-5px;
  color: rgb(60,60,60);
  border: 1px solid var(--accent-light);
  background: var(--accent-pale);
  padding: 0.2em 25px;

  margin-bottom: 1rem;
}

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin: 3rem 0;
}

.stat {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid var(--rule);
  text-align: center;
     box-shadow: 0 1px 3px rgba(0,0,0,0.08);
     background: white;
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── MODULES GRID ── */
.section-title {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 2px solid var(--ink);
  padding-top: 0.6rem;
  margin: 3rem 0 1.5rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-bottom: 3rem;
}

.module-card {

  padding: 1.4rem 1.3rem;
   box-shadow: 0 1px 3px rgba(0,0,0,0.08);
     background: white;
}

.module-card h3 {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.module-card p {
  font-size: 0.82rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ── WRITING / BLOG ── */
.writing-header {
  padding: 40px 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.writing-header h1 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.post-list { list-style: none; }

.post-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  align-items: start;
}

.post-date {
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
  padding-top: 0.25rem;
}

.post-item h2 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.post-item h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-item h2 a:hover { color: var(--accent); }

.post-item p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.65;
}

/* ── POST DETAIL ── */
.post-header {
  padding: 40px 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}

.post-header .post-date {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.post-header h1 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.post-header .post-subtitle {
  font-size: 1.05rem;
  color: var(--ink-light);
  font-weight: 300;
}

.post-body {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink);
  max-width: 710px;
}

.post-body p { margin-bottom: 1.4rem; }

.post-body h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2.5rem 0 0.8rem;
  font-family: 'Source Sans 3', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.post-body ul {
  margin: 0 0 1.4rem 1.2rem;
}

.post-body ul li {
  margin-bottom: 0.4rem;
}

/* ── CAROUSEL COMPONENT ── */
.carousel-block {
  margin: 2rem 0 3rem;
  box-sizing: border-box;
  padding:0 50px 0 160px;
}

.carousel-block h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.carousel-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
  align-items: start;
}

.carousel-screen {
background-color:rgb(245,245,245);border-radius:22px;
border:solid 1px rgb(190,190,190);
  padding: 0px 18px 18px;
  margin-bottom: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.carousel-sub-menu h3{
  font-size:16px;
  line-height:25px;
}
.carousel-sub-menu{
  padding: 8px 50px 8px 8px;
  min-width:250px;
}
.carousel-screen img,
.carousel-screen video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
  border:solid 1px rgb(190,190,190);
   box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2);
}
.link_car{
  font-size:14px;color:rgb(120,120,120);font-weight: bold;cursor:pointer;
}
.carousel-caption {
  font-size: 0.95rem;
  color: var(--ink);
  background: rgb(253,253,253);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  line-height: 1.7;
  box-shadow: none;

}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 0;

}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rule);
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.dot.active {
  background: var(--ink);
}

/* ── INSIGHTS PANEL ── */
.carousel-right {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.2rem;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.modal-content {
  position: relative;
  max-width: 90vw;
}

.modal-close {
  position: absolute;
  top: -2rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}
.insights-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}

.insight-item {
  font-size: 0.9rem;
  color: var(--ink-light);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1.4;
}

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

.insight-item:hover {
  color: var(--accent);
}

.insight-item.active {
  color: var(--ink);
  font-weight: 600;
}
/* ── TEAM ── */
.team-header {
  padding: 40px 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.team-header h1 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.member-card {
  border-top: 2px solid var(--ink);
  padding-top: 1.2rem;
}

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  background: var(--bg-warm);
  display: block;
}

.member-photo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-warm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ink-faint);
}

.member-name {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.member-role {
  font-size: 0.82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.member-bio {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ── ABOUT ── */
.about-header {
  padding: 40px 0 2.5rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 3rem;
}

.about-header h1 {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.about-body {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.about-body p { margin-bottom: 1.3rem; }

.about-body h2 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-faint);
  margin: 2.5rem 0 0.8rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 10px 0;
  margin-top: 4rem;
  background-color:rgb(87,87,87);
 box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgb(252,252,252);
}

.footer-inner a {
  color: var(--ink-faint);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule);   box-shadow: 0 1px 3px rgba(0,0,0,0.08);
     background-color: white; }
  .post-item { grid-template-columns: 1fr; gap: 0.5rem; }
  html { font-size: 16px; }
}
