/* ==========================================================================
   STRESS FREE MOVEMENTS, Design System
   Deep navy + natural green, warm paper background.
   Display: Fraunces (editorial serif, restrained) / Body: Inter
   ========================================================================== */

:root{
  /* --- Brand palette (derived from the SFM mark) --- */
  --navy:        #14284a;   /* primary, deep navy */
  --navy-deep:   #0c1b30;   /* footer / dark sections */
  --navy-ink:    #101d33;   /* body text on light bg (near-navy charcoal) */
  --blue:        #0b63c4;   /* logo blue accent, used sparingly */
  --green:       #3f8f2f;   /* secondary, natural green */
  --green-deep:  #1f5e26;
  --green-soft:  #7fae5f;   /* muted green accent */
  --sun:         #c98a2e;   /* single warm accent, used only in illustration gradients */

  --bg:          #f6f3ec;   /* warm off-white */
  --paper:       #ffffff;
  --paper-tint:  #fbf9f4;
  --charcoal:    #23262b;
  --muted:       #5c6570;
  --muted-2:     #8891a0;
  --line:        #e4ddcf;
  --line-soft:   #ece7db;

  --focus:       #1f5e26;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --max: 1180px;
  --max-article: 700px;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;

  --shadow-s: 0 1px 2px rgba(16,29,51,.06), 0 1px 1px rgba(16,29,51,.04);
  --shadow-m: 0 8px 24px rgba(16,29,51,.08);

  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------------------------------- Reset ---------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd{ margin: 0; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea{ font: inherit; }
svg{ display: block; }

body{
  background: var(--bg);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap{ max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

:focus-visible{
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--navy); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-s); z-index: 999; transition: top .2s var(--ease);
}
.skip-link:focus{ top: 12px; }

/* ---------------------------------- Type ---------------------------------- */
h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy-ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 560; }
h2{ font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3{ font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4{ font-size: 1.05rem; }

p{ color: var(--charcoal); }
.lede{ font-size: 1.15rem; color: var(--muted); line-height: 1.65; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--green-deep);
  font-weight: 500;
}

.section-head{ max-width: 640px; margin-bottom: 40px; }
.section-head p{ margin-top: 12px; color: var(--muted); }

/* ---------------------------------- Buttons ---------------------------------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  border: 1.5px solid transparent;
}
.btn svg{ width: 17px; height: 17px; flex: none; }
.btn-primary{ background: var(--navy); color: #fff; }
.btn-primary:hover{ background: var(--navy-ink); transform: translateY(-1px); box-shadow: var(--shadow-m); }
.btn-youtube{ background: #d23b2f; color: #fff; }
.btn-youtube:hover{ background: #b62f25; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(210,59,47,.28); }
.btn-outline{ background: transparent; border-color: var(--line); color: var(--navy-ink); }
.btn-outline:hover{ border-color: var(--navy); background: var(--paper); }
.btn-ghost{ background: transparent; color: var(--navy-ink); padding: 13px 8px; }
.btn-ghost:hover{ color: var(--green-deep); }
.btn-facebook{ background: #1f5e26; color: #fff; }
.btn-facebook:hover{ background: #164019; transform: translateY(-1px); }
.btn-sm{ padding: 9px 16px; font-size: .85rem; }
.btn-block{ width: 100%; }

/* ---------------------------------- Header ---------------------------------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,243,236,.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row{
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex: none; }
.brand img{ height: 34px; width: auto; }
.brand-word{
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  color: var(--navy-ink); letter-spacing: -.01em; line-height: 1.05;
}
.brand-word small{
  display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: .58rem; letter-spacing: .17em; color: var(--green-deep); margin-top: 2px;
}

.main-nav{ display: flex; align-items: center; gap: 4px; }
.main-nav .nav-cta{ display: none; }
.main-nav a{
  padding: 9px 14px; border-radius: 999px; font-size: .95rem; font-weight: 500;
  color: var(--navy-ink); transition: background .15s var(--ease), color .15s var(--ease);
}
.main-nav a:hover{ background: rgba(20,40,74,.06); }
.main-nav a.active{ color: var(--green-deep); font-weight: 600; }

.header-actions{ display: flex; align-items: center; gap: 10px; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border-radius: var(--radius-s);
}
.nav-toggle span{ width: 20px; height: 2px; background: var(--navy-ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px){
  .main-nav{
    position: fixed; inset: 72px 0 0 0; height: calc(100dvh - 72px);
    background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px 24px; overflow-y: auto;
    transform: translateX(100%); transition: transform .28s var(--ease);
    border-top: 1px solid var(--line-soft);
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav a{ padding: 15px 10px; font-size: 1.08rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .main-nav .nav-cta{ display: block; margin-top: 14px; border-bottom: none; padding: 0; }
  .nav-toggle{ display: flex; }
  .header-actions .btn-youtube.desktop-only{ display: none; }
}

/* ---------------------------------- Hero ---------------------------------- */
.hero{
  position: relative;
  padding: 76px 0 88px;
  overflow: hidden;
}
.hero-arc{
  position: absolute; right: -180px; top: -220px;
  width: 720px; height: 720px;
  border-radius: 50%;
  border: 1px solid var(--line);
  opacity: .7;
}
.hero-arc::before{
  content: ""; position: absolute; inset: 70px;
  border-radius: 50%; border: 1px solid var(--line);
}
.hero-breath{
  position: absolute; left: 50%; top: 50%;
  width: 46%; height: 46%; border-radius: 50%;
  border: 1.5px solid var(--green-soft);
  transform: translate(-50%,-50%);
  animation: breathe 7s ease-in-out infinite;
  opacity: .55;
}
@keyframes breathe{
  0%, 100%{ transform: translate(-50%,-50%) scale(.86); opacity: .35; }
  50%{ transform: translate(-50%,-50%) scale(1); opacity: .6; }
}
.hero-grid{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy .eyebrow{ margin-bottom: 18px; }
.hero-copy h1{ max-width: 15ch; }
.hero-copy .lede{ margin-top: 20px; max-width: 46ch; }
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-meta{
  margin-top: 40px; display: flex; gap: 28px; flex-wrap: wrap;
}
.hero-meta div{ display: flex; flex-direction: column; gap: 2px; }
.hero-meta strong{ font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-ink); }
.hero-meta span{ font-size: .82rem; color: var(--muted); }

.hero-art{ position: relative; }
.hero-art .art-frame{
  position: relative; border-radius: var(--radius-l);
  overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(165deg, #17325c 0%, #123a2e 100%);
  box-shadow: var(--shadow-m);
}
.hero-art .art-frame svg{ width: 100%; height: 100%; }
.hero-badge{
  position: absolute; left: -18px; bottom: -18px;
  background: var(--paper); border-radius: var(--radius-m);
  box-shadow: var(--shadow-m); padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
  max-width: 240px;
}
.hero-badge .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot{ 0%,100%{ opacity: 1; } 50%{ opacity: .35; } }
.hero-badge p{ font-size: .82rem; color: var(--muted); line-height: 1.4; }
.hero-badge strong{ display: block; font-size: .88rem; color: var(--navy-ink); }

@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-arc{ display: none; }
}

/* ---------------------------------- Sections ---------------------------------- */
section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
.bg-paper{ background: var(--paper-tint); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.bg-navy{ background: var(--navy-deep); color: #eef1f6; }
.bg-navy h2, .bg-navy h3{ color: #fff; }
.bg-navy .muted{ color: #b7c1d4; }

/* Pillars */
.pillars{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar{
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  padding: 26px 22px;
}
.pillar .num{ font-family: var(--font-mono); font-size: .74rem; color: var(--green-deep); letter-spacing: .08em; }
.pillar h3{ margin-top: 14px; }
.pillar p{ margin-top: 8px; color: var(--muted); font-size: .93rem; }
@media (max-width: 900px){ .pillars{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .pillars{ grid-template-columns: 1fr; } }

/* Topic cards */
.topic-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-card{
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  padding: 18px; transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.topic-card:hover{ border-color: var(--green-soft); transform: translateY(-2px); box-shadow: var(--shadow-s); }
.topic-card .ic{
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
  background: var(--bg);
}
.topic-card h3{ font-size: .98rem; }
.topic-card span{ display: block; margin-top: 2px; font-size: .78rem; color: var(--muted); }
@media (max-width: 900px){ .topic-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .topic-grid{ grid-template-columns: 1fr; } }

/* Article cards */
.article-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card{
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.article-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: var(--line); }
.article-thumb{ aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.article-thumb svg{ width: 100%; height: 100%; }
.article-body{ padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-cat{ font-family: var(--font-mono); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--green-deep); }
.article-body h3{ font-size: 1.12rem; line-height: 1.3; }
.article-body p{ color: var(--muted); font-size: .92rem; flex: 1; }
.article-meta{ display: flex; gap: 12px; font-size: .78rem; color: var(--muted-2); border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 4px; }
.article-more{ margin-top: 6px; font-weight: 600; font-size: .88rem; color: var(--navy-ink); display: inline-flex; align-items: center; gap: 6px; }
.article-card:hover .article-more{ color: var(--green-deep); }
@media (max-width: 980px){ .article-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .article-grid{ grid-template-columns: 1fr; } }

.grid-row-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.grid-row-head .section-head{ margin-bottom: 0; }
.link-arrow{ font-weight: 600; font-size: .92rem; color: var(--navy-ink); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.link-arrow:hover{ color: var(--green-deep); }

/* Filters */
.filter-row{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter-chip{
  padding: 9px 16px; border-radius: 999px; font-size: .86rem; font-weight: 500;
  border: 1px solid var(--line); color: var(--muted); background: var(--paper);
  transition: all .15s var(--ease);
}
.filter-chip:hover{ border-color: var(--navy); color: var(--navy-ink); }
.filter-chip.active{ background: var(--navy); border-color: var(--navy); color: #fff; }

/* Videos */
.video-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card{
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-m); overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.video-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-m); }
.video-thumb{
  position: relative; aspect-ratio: 16/9; cursor: pointer; background: var(--navy); overflow: hidden;
}
.video-thumb svg.art{ width: 100%; height: 100%; }
.video-thumb .play{
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.video-thumb .play span{
  width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center; transition: transform .18s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.video-thumb .play svg{ width: 20px; height: 20px; margin-left: 3px; fill: #d23b2f; }
.video-thumb:hover .play span{ transform: scale(1.08); }
.video-thumb iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body{ padding: 18px 20px 22px; }
.video-cat{ font-family: var(--font-mono); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--green-deep); }
.video-body h3{ font-size: 1.02rem; margin-top: 8px; }
.video-body p{ color: var(--muted); font-size: .88rem; margin-top: 6px; }
.video-watch{ margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .86rem; color: var(--navy-ink); }
@media (max-width: 980px){ .video-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .video-grid{ grid-template-columns: 1fr; } }

/* YouTube CTA section */
.yt-panel{
  background: var(--navy-deep); border-radius: var(--radius-l); padding: 54px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  color: #fff; position: relative; overflow: hidden;
}
.yt-panel::before{
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
}
.yt-panel h2{ color: #fff; }
.yt-panel p{ color: #b7c1d4; margin-top: 14px; max-width: 46ch; }
.yt-panel .btn-youtube{ margin-top: 26px; }
.yt-subs{ display: flex; gap: 26px; margin-top: 30px; flex-wrap: wrap; }
.yt-subs div strong{ display: block; font-family: var(--font-display); font-size: 1.3rem; }
.yt-subs div span{ font-size: .78rem; color: #93a1b8; }
.yt-preview{ position: relative; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4/3; }
@media (max-width: 900px){ .yt-panel{ grid-template-columns: 1fr; padding: 34px 24px; } .yt-preview{ order: -1; } }

/* Facebook + Newsletter */
.duo{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card{
  border-radius: var(--radius-l); padding: 40px; position: relative; overflow: hidden;
}
.duo-fb{ background: var(--paper); border: 1px solid var(--line-soft); }
.duo-news{ background: linear-gradient(160deg, #1f5e26 0%, #123a2e 100%); color: #fff; }
.duo-news h2, .duo-news h3{ color: #fff; }
.duo-card h3{ font-size: 1.4rem; }
.duo-card p{ margin-top: 10px; color: var(--muted); max-width: 40ch; }
.duo-news p{ color: #d6e7d5; }
.duo-card .btn{ margin-top: 22px; }
.news-form{ margin-top: 24px; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.news-form .row{ display: flex; gap: 10px; }
.news-form input{
  flex: 1; padding: 13px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff; min-width: 0;
}
.news-form input::placeholder{ color: rgba(255,255,255,.6); }
.news-form input:focus-visible{ outline-color: #fff; }
.news-note{ font-size: .76rem; color: rgba(255,255,255,.65); margin-top: 4px; }
@media (max-width: 820px){ .duo{ grid-template-columns: 1fr; } .news-form .row{ flex-direction: column; } }

/* Final CTA */
.final-cta{ text-align: center; }
.final-cta .section-head{ margin-inline: auto; text-align: center; max-width: 560px; }
.final-cta .hero-ctas{ justify-content: center; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer{ background: var(--navy-deep); color: #cfd7e3; padding-top: 70px; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand{ display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.footer-brand img{ height: 32px; }
.footer-brand span{ font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.08rem; }
.footer-col p{ color: #96a2b8; font-size: .92rem; max-width: 32ch; }
.footer-col h4{ color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-mono); font-weight: 500; }
.footer-col ul li{ margin-bottom: 11px; }
.footer-col ul a{ color: #b7c1d4; font-size: .93rem; transition: color .15s var(--ease); }
.footer-col ul a:hover{ color: #fff; }
.footer-social{ display: flex; gap: 10px; margin-top: 18px; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); transition: background .15s var(--ease);
}
.footer-social a:hover{ background: rgba(255,255,255,.16); }
.footer-social svg{ width: 17px; height: 17px; fill: #fff; }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 0; font-size: .82rem; color: #8592a8;
}
.footer-bottom a{ color: #8592a8; }
.footer-bottom a:hover{ color: #fff; }

/* ---------------------------------- Page header (inner pages) ---------------------------------- */
.page-hero{
  padding: 56px 0 40px; border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.page-hero .eyebrow{ margin-bottom: 14px; }
.page-hero h1{ max-width: 22ch; }
.page-hero p{ margin-top: 16px; max-width: 56ch; color: var(--muted); font-size: 1.06rem; }
.breadcrumbs{ font-size: .84rem; color: var(--muted-2); margin-bottom: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumbs a{ color: var(--muted-2); }
.breadcrumbs a:hover{ color: var(--navy-ink); }

/* ---------------------------------- Article page ---------------------------------- */
.article-header{ max-width: var(--max-article); margin: 0 auto; padding: 48px 24px 0; }
.article-header .article-cat{ font-size: .74rem; }
.article-header h1{ margin-top: 14px; }
.article-header .lede{ margin-top: 14px; }
.article-byline{
  display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 18px 0;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  font-size: .88rem; color: var(--muted);
}
.article-byline .avatar{
  width: 38px; height: 38px; border-radius: 50%; background: var(--navy); flex: none;
  display: flex; align-items: center; justify-content: center;
}
.article-byline .avatar img{ height: 20px; }
.article-byline strong{ color: var(--navy-ink); display: block; font-size: .9rem; }
.article-hero-img{ max-width: 900px; margin: 34px auto 0; padding: 0 24px; }
.article-hero-img .frame{ border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 16/9; }

.article-content{ max-width: var(--max-article); margin: 0 auto; padding: 42px 24px 0; }
.article-content h2{ margin-top: 46px; margin-bottom: 16px; font-size: 1.5rem; }
.article-content h3{ margin-top: 32px; margin-bottom: 12px; }
.article-content p{ margin-bottom: 18px; font-size: 1.06rem; line-height: 1.75; color: #2c3036; }
.article-content ul, .article-content ol{ margin: 0 0 20px; padding-left: 22px; list-style: disc; }
.article-content ol{ list-style: decimal; }
.article-content li{ margin-bottom: 10px; font-size: 1.05rem; line-height: 1.65; }
.article-content li::marker{ color: var(--green-deep); }
.article-content strong{ color: var(--navy-ink); }
.callout{
  background: var(--paper-tint); border: 1px solid var(--line-soft); border-left: 3px solid var(--green);
  border-radius: var(--radius-m); padding: 20px 24px; margin: 28px 0;
}
.callout p{ margin-bottom: 0; color: var(--charcoal); font-size: .98rem; }
.callout p + p{ margin-top: 10px; }
.article-summary{
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius-m);
  padding: 26px 28px; margin: 40px 0;
}
.article-summary h3{ margin-bottom: 12px; }

.article-video-cta{
  background: var(--navy-deep); border-radius: var(--radius-l); padding: 34px 30px;
  color: #fff; margin: 44px 0; text-align: center;
}
.article-video-cta h3{ color: #fff; }
.article-video-cta p{ color: #b7c1d4; margin-top: 8px; max-width: 42ch; margin-inline: auto; }
.article-video-cta .btn{ margin-top: 20px; }

.article-tags{ display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0; }
.tag{ font-size: .78rem; padding: 7px 13px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-soft); color: var(--muted); }

.related-wrap{ max-width: 980px; margin: 0 auto; padding: 60px 24px 0; }
.article-footer-cta{ text-align: center; padding: 60px 24px 90px; }
.article-footer-cta .hero-ctas{ justify-content: center; margin-top: 22px; }

/* Reading progress */
.progress-bar{ position: fixed; top: 0; left: 0; height: 3px; background: var(--green); z-index: 200; width: 0%; transition: width .1s linear; }

/* ---------------------------------- Simple content pages ---------------------------------- */
.prose{ max-width: 760px; margin: 0 auto; padding: 50px 24px 90px; }
.prose h2{ margin-top: 38px; margin-bottom: 14px; }
.prose p{ margin-bottom: 16px; color: #2c3036; font-size: 1.02rem; line-height: 1.72; }
.prose ul{ margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.prose li{ margin-bottom: 8px; }
.updated-note{ font-size: .85rem; color: var(--muted-2); margin-bottom: 30px; }

/* Team / about */
.value-row{ display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 700px){ .value-row{ grid-template-columns: 1fr; } }
.value-item{ display: flex; gap: 16px; }
.value-item .ic{ width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; font-size: 1.2rem; }
.value-item h4{ margin-bottom: 6px; }
.value-item p{ color: var(--muted); font-size: .94rem; }

/* Resources */
.resource-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px){ .resource-grid{ grid-template-columns: 1fr; } }
.resource-card{
  display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius-m); padding: 22px;
}
.resource-card .ic{ width: 46px; height: 46px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; font-size: 1.3rem; }
.resource-card h4{ margin-bottom: 6px; }
.resource-card p{ color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.resource-badge{ font-size: .72rem; color: var(--muted-2); font-family: var(--font-mono); }

/* Icon buttons (brand-colored, real glyphs) */
.icon-btn{
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; position: relative;
}
.icon-btn svg{ width: 21px; height: 21px; fill: #fff; }
.icon-btn.youtube{ background: #d23b2f; --pulse: 210,59,47; }
.icon-btn.facebook{ background: #1877f2; --pulse: 24,119,242; }
.icon-btn.mail{ background: var(--navy); }
.icon-btn.pulse{ animation: iconPulse 2.6s ease-in-out infinite; }
@keyframes iconPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(var(--pulse), .5); }
  50%{ box-shadow: 0 0 0 10px rgba(var(--pulse), 0); }
}
@media (prefers-reduced-motion: reduce){ .icon-btn.pulse{ animation: none; } }

/* Contact page */
.contact-grid{ display: grid; grid-template-columns: 1fr .8fr; gap: 50px; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: .86rem; font-weight: 600; color: var(--navy-ink); margin-bottom: 7px; }
.field input, .field textarea{
  width: 100%; padding: 13px 15px; border-radius: var(--radius-s); border: 1.5px solid var(--line);
  background: var(--paper); color: var(--charcoal);
}
.field textarea{ min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus{ border-color: var(--green); }
.form-note{ font-size: .84rem; color: var(--muted-2); margin-top: 14px; }
.contact-info{ background: var(--paper-tint); border: 1px solid var(--line-soft); border-radius: var(--radius-m); padding: 28px; }
.contact-info h4{ margin-bottom: 6px; }
.contact-info .row{ display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.contact-info .row:first-of-type{ margin-top: 22px; }
.contact-info .ic{ width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; font-size: 1.05rem; }
.contact-info a{ color: var(--navy-ink); font-weight: 600; font-size: .94rem; }
.form-status{ margin-top: 16px; font-size: .9rem; padding: 12px 16px; border-radius: var(--radius-s); display: none; }
.form-status.show{ display: block; }
.form-status.ok{ background: #eaf3e5; color: var(--green-deep); }
.form-status.err{ background: #fbeceb; color: #a33327; }

/* ---------------------------------- 404 ---------------------------------- */
.error-page{
  min-height: 68vh; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 60px 24px; position: relative;
}
.error-page .code{ font-family: var(--font-display); font-size: clamp(3.4rem,10vw,6rem); color: var(--line); font-weight: 600; line-height: 1; }
.error-page h1{ margin-top: 10px; }
.error-page p{ margin-top: 14px; color: var(--muted); max-width: 44ch; margin-inline: auto; }
.error-page .hero-ctas{ justify-content: center; margin-top: 30px; }

/* ---------------------------------- Utility ---------------------------------- */
.muted{ color: var(--muted); }
.center{ text-align: center; }
.mt-0{ margin-top: 0 !important; }
.desktop-only{ display: inline-flex; }
@media (max-width: 900px){ .desktop-only{ display: none; } }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Lazy image fade-in */
img[loading="lazy"]{ background: var(--line-soft); }
