/*
Theme Name: Intelligent R (Editable)
Theme URI: https://i-review.ai
Author: Nexter AI Group
Author URI: https://nexteraigroup.com
Description: Block version of the Intelligent R theme. Same design; every heading, text, button, image, menu link and footer item can be changed in the WordPress Site Editor without code.
Version: 2.1.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary - All Rights Reserved
Text Domain: intelligent-r-blocks
*/
:root {
  --teal:      #2A7D4F;
  --teal-dark: #1E5C3A;
  --teal-lt:   #5BAF7A;
  --teal-pale: rgba(42,125,79,0.08);
  --gold:      #B8963E;
  --gold-lt:   #D4AF6A;
  --navy:      #1B3A6B;
  --ink:       #0A0A0A;
  --paper:     #F8F5EF;
  --cream:     #F0EBE1;
  --white:     #ffffff;
  --muted:     #6B6B6B;
  --border:    rgba(0,0,0,0.08);
  --rule:      rgba(42,125,79,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; }

/* ── FREE COURSES TOPBAR ── */
.topbar {
  background: var(--teal);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: white;
}
.topbar a {
  color: white;
  font-weight: 500;
  text-decoration: underline;
  margin-left: 0.5rem;
}
.topbar a:hover { opacity: 0.8; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }

.logo-mark {
  background: var(--teal);
  width: 40px; height: 40px;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 0.2rem;
  position: relative; flex-shrink: 0;
}
.logo-mark::after { content: ''; position: absolute; inset: 2px; border: 1px solid rgba(255,255,255,0.15); }
.logo-mark-r { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 700; font-style: italic; color: white; line-height: 1; }
.logo-mark-ai { font-family: 'Cormorant Garamond', serif; font-size: 0.6rem; font-weight: 700; color: var(--gold-lt); position: absolute; bottom: 5px; right: 5px; line-height: 1; }

.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: 0.02em; }
.logo-name span { color: var(--teal); }
.logo-sub { font-family: 'DM Mono', monospace; font-size: 0.45rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.06em; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }

.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.nav-free .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); padding: 0.55rem 1.1rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav-free .wp-block-button__link:hover { background: var(--teal); color: white; }
.nav-cta .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: white; background: var(--teal); padding: 0.55rem 1.25rem; text-decoration: none; transition: background 0.2s; }
.nav-cta .wp-block-button__link:hover { background: var(--teal-dark); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.25rem; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  background: var(--ink);
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(42,125,79,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(42,125,79,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero::after {
  content: '';
  position: absolute; top: -20%; left: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,125,79,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 4rem 7rem 4rem;
  position: relative; z-index: 2;
}

.hero-eye {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp 0.7s 0.2s forwards;
}
.hero-eye::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--teal-lt); }

.hero-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--paper);
  margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp 0.8s 0.35s forwards;
}
.hero-h em { font-style: italic; color: var(--teal-lt); }

.hero-b {
  font-size: 1rem; line-height: 1.8;
  color: rgba(248,245,239,0.5);
  max-width: 500px; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
}
.hero-b strong { color: var(--paper); }

.hero-acts {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.7s 0.65s forwards;
}
.btn-teal .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: white; background: var(--teal); padding: 0.95rem 2rem; text-decoration: none; transition: background 0.2s, transform 0.2s; display: inline-block; }
.btn-teal .wp-block-button__link:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline-w .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--paper); border: 1px solid rgba(255,255,255,0.2); padding: 0.95rem 2rem; text-decoration: none; transition: border-color 0.2s, transform 0.2s; display: inline-block; }
.btn-outline-w .wp-block-button__link:hover { border-color: var(--teal-lt); transform: translateY(-2px); }

.hero-right {
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem 4rem 7rem 2rem;
  position: relative; z-index: 2;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}

.hero-pillars { display: flex; flex-direction: column; gap: 0; }

.hero-pillar {
  display: flex; align-items: flex-start; gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-pillar:first-child { border-top: 1px solid rgba(255,255,255,0.06); }

.hp-icon {
  width: 42px; height: 42px;
  background: var(--teal-pale);
  border: 1px solid rgba(42,125,79,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.hp-title { font-size: 0.92rem; font-weight: 500; color: var(--paper); margin-bottom: 0.3rem; }
.hp-desc { font-size: 0.78rem; line-height: 1.65; color: rgba(248,245,239,0.4); }

.hero-badge {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(184,150,62,0.2);
  background: rgba(184,150,62,0.04);
}
.hb-label { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.hb-text { font-size: 0.78rem; line-height: 1.6; color: rgba(248,245,239,0.45); }
.hb-text strong { color: var(--paper); }

/* ── SECTION SHARED ── */
:where(.hero, .what, .courses, .frameworks, .tools, .home-blog, .newsletter) { padding: 6rem 4rem; }

.ov {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.ov::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal); }

.sec-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300; line-height: 1.05;
  margin-bottom: 1.25rem;
}
.sec-h em { font-style: italic; color: var(--teal); }

/* ── WHAT WE DO ── */
.what { background: var(--paper); }
.what-inner { max-width: 1100px; margin: 0 auto; }
.what-header { text-align: center; margin-bottom: 4rem; }
.what-header .sec-h { color: var(--ink); }
.what-sub { font-size: 1rem; line-height: 1.8; color: var(--muted); max-width: 580px; margin: 0 auto; }

.what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); }

.wcard {
  padding: 0;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}
.wcard:last-child { border-right: none; }
.wcard:hover { background: var(--teal-pale); }

.wcard::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--teal);
  transform: scaleX(0); transition: transform 0.3s;
}
.wcard:hover::after { transform: scaleX(1); }

.wcard-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.wcard-body { padding: 2rem 2rem 2.5rem; flex: 1; }

.wcard-num { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.15em; color: var(--teal); margin-bottom: 1rem; }
.wcard-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.wcard-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.wcard-desc { font-size: 0.82rem; line-height: 1.75; color: var(--muted); }

/* ── COURSES ── */
.courses { background: var(--white); }
.courses-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.courses-intro { font-size: 0.92rem; line-height: 1.8; color: var(--muted); }

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.courses-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.course-card {
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); border-color: var(--teal); }

.cc-top { background: var(--teal); padding: 2.5rem 2rem 2rem; position: relative; overflow: hidden; }
.cc-letter { position: absolute; z-index: 0; bottom: -1rem; right: 0.5rem; font-family: 'Cormorant Garamond', serif; font-size: 6rem; font-weight: 700; font-style: italic; color: rgba(255,255,255,0.08); line-height: 1; pointer-events: none; }
.cc-level { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.75rem; }
.cc-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: white; line-height: 1.2; }

.cc-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.cc-body { padding: 1.5rem 2rem 2rem; flex: 1; display: flex; flex-direction: column; }
.cc-desc { font-size: 0.8rem; line-height: 1.7; color: var(--muted); flex: 1; margin-bottom: 1.5rem; }
.cc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border); }
.cc-price { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 300; color: var(--teal); }
.cc-price span { font-size: 0.75rem; font-family: 'DM Sans', sans-serif; color: var(--muted); font-weight: 300; }
.cc-btn .wp-block-button__link { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: white; background: var(--teal); padding: 0.6rem 1.25rem; text-decoration: none; transition: background 0.2s; }
.cc-btn .wp-block-button__link:hover { background: var(--teal-dark); }

.cc-top.navy { background: var(--navy); }
.cc-top.gold { background: var(--gold); }
.cc-top.dark { background: #1a1a2e; }
.cc-top.green2 { background: #1E5C3A; }

/* Free course banner */
.free-banner {
  background: var(--teal);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}
.fb-title { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 300; color: white; line-height: 1.2; }
.fb-title strong { font-weight: 600; }
.fb-desc { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.5rem; line-height: 1.6; }
.btn-white .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); background: white; padding: 0.9rem 2rem; text-decoration: none; white-space: nowrap; transition: background 0.2s; display: inline-block; }
.btn-white .wp-block-button__link:hover { background: var(--paper); }

/* ── FRAMEWORKS ── */
.frameworks { background: var(--ink); padding: 6rem 4rem; }
.frameworks-inner { max-width: 1100px; margin: 0 auto; }
.fw-header { margin-bottom: 4rem; }
.fw-header .ov { color: var(--teal-lt); }
.fw-header .ov::before { background: var(--teal-lt); }
.fw-header .sec-h { color: var(--paper); }
.fw-header .sec-h em { color: var(--teal-lt); }
.fw-header-sub { font-size: 0.92rem; line-height: 1.8; color: rgba(248,245,239,0.45); max-width: 580px; }

.fw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.fw-card {
  border: 1px solid rgba(255,255,255,0.07);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.fw-card:hover { border-color: rgba(42,125,79,0.4); }

.fw-watermark {
  position: absolute; bottom: -1rem; right: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 700;
  color: rgba(42,125,79,0.05);
  line-height: 1; pointer-events: none;
}

.fw-name { font-family: 'Cormorant Garamond', serif; font-size: 2.25rem; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-lt); margin-bottom: 0.2rem; }
.fw-full { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; }
.fw-desc { font-size: 0.85rem; line-height: 1.75; color: rgba(248,245,239,0.5); margin-bottom: 1.5rem; }
.fw-status { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,150,62,0.3); padding: 0.2rem 0.6rem; display: inline-block; }

/* ── TOOLS DIRECTORY ── */
.tools { background: var(--cream); }
.tools-inner { max-width: 1100px; margin: 0 auto; }
.tools-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.tools-intro { font-size: 0.92rem; line-height: 1.8; color: var(--muted); }

.tools-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }

.tool-cat {
  background: white;
  padding: 1.75rem 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  position: relative;
}
.tool-cat:hover { border-color: var(--teal); transform: translateY(-3px); }
.tool-cat-icon { font-size: 1.5rem; }
.tool-cat-img img { width: 56px; height: 56px; object-fit: contain; }
.tool-cat-name { font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.tool-cat-count { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.1em; color: var(--muted); }
.tool-cat-badge { position: absolute; top: 0.5rem; right: 0.5rem; font-family: 'DM Mono', monospace; font-size: 0.44rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--teal); color: white; padding: 0.15rem 0.4rem; }

.tools-cta {
  background: white;
  border: 1px solid var(--border);
  padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
}
.tc-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.tc-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.btn-teal-outline .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); padding: 0.8rem 1.75rem; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s; display: inline-block; }
.btn-teal-outline .wp-block-button__link:hover { background: var(--teal); color: white; }

/* ── BLOG ── */
.home-blog { background: var(--white); }
.blog-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.blog-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1.5rem; }

.blog-card { display: flex; flex-direction: column; border: 1px solid var(--border); transition: transform 0.25s, border-color 0.25s; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--teal); }

.blog-img { background: var(--teal); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.blog-img.navy { background: var(--navy); }
.blog-img.gold { background: var(--gold); }
.blog-img-label { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.25); text-align: center; padding: 1rem; }

.blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.65rem; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--ink); margin-bottom: 0.5rem; flex: 1; }
.blog-excerpt { font-size: 0.75rem; line-height: 1.65; color: var(--muted); margin-bottom: 1rem; }
.blog-meta { font-family: 'DM Mono', monospace; font-size: 0.48rem; letter-spacing: 0.1em; color: var(--muted); border-top: 1px solid var(--border); padding-top: 0.75rem; display: flex; justify-content: space-between; }

.blog-all .wp-block-button__link { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.blog-all .wp-block-button__link:hover { opacity: 0.7; }
.blog-img-photo { overflow: hidden; }
.blog-img-photo a { display: block; }
.blog-img-photo img { width: 100%; display: block; object-fit: cover; transition: transform 0.4s; }
.blog-img-photo:hover img { transform: scale(1.03); }
.blog-title a { text-decoration: none; color: inherit; }
.blog-title a:hover { color: var(--teal); }

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--teal-dark);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute; top: -50%; left: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}
.nl-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: white; line-height: 1.15; margin-bottom: 1rem; }
.nl-title strong { font-weight: 600; }
.nl-sub { font-size: 0.9rem; color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 2.5rem; line-height: 1.7; }
.nl-form { display: flex; max-width: 480px; margin: 0 auto; gap: 0; }
.nl-input { flex: 1; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-right: none; color: white; padding: 0.85rem 1.25rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; outline: none; }
.nl-input::placeholder { color: rgba(255,255,255,0.35); }
.nl-input:focus { border-color: rgba(255,255,255,0.45); }
.nl-btn { background: var(--gold); color: var(--ink); border: none; padding: 0.85rem 1.75rem; font-family: 'DM Sans', sans-serif; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background 0.2s; }
.nl-btn:hover { background: var(--gold-lt); }
.nl-privacy { font-family: 'DM Mono', monospace; font-size: 0.48rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); margin-top: 1rem; }
.nl-msg { font-size: 0.85rem; margin-top: 1rem; min-height: 1.5em; color: rgba(255,255,255,0.8); }
.nl-msg.success { color: var(--gold-lt); }
.nl-msg.error { color: #ff8a8a; }

/* ── GROUP STRIP ── */
.group-strip {
  background: var(--ink);
  padding: 3.5rem 4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.gs-label { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 0.4rem; }
.gs-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: var(--paper); }
.gs-name span { color: var(--gold); }
.gs-desc { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.25rem; }
.gs-brands { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.gs-brand .wp-block-button__link { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.gs-brand .wp-block-button__link:hover { color: var(--gold); }

/* ── FOOTER ── */
.site-footer {
  background: #060608;
  padding: 4.5rem 4rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.ft-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.05); margin-bottom: 2rem; }

.ft-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700; color: var(--paper); margin-bottom: 0.2rem; }
.ft-brand-name span { color: var(--teal-lt); }
.ft-brand-tag { font-family: 'DM Mono', monospace; font-size: 0.46rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-bottom: 1rem; }
.ft-brand-desc { font-size: 0.75rem; line-height: 1.7; color: rgba(248,245,239,0.25); margin-bottom: 1.25rem; }
.ft-socials { display: flex; gap: 0.5rem; }
.ft-sl .wp-block-button__link { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; text-decoration: none; font-family: 'DM Mono', monospace; font-size: 0.5rem; color: rgba(255,255,255,0.3); transition: border-color 0.2s, color 0.2s; }
.ft-sl .wp-block-button__link:hover { border-color: var(--teal-lt); color: var(--teal-lt); }

.ft-col-title { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1.1rem; }
.ft-links { list-style: none; }
.ft-links li { margin-bottom: 0.55rem; }
.ft-links a { font-size: 0.75rem; color: rgba(248,245,239,0.25); text-decoration: none; transition: color 0.2s; }
.ft-links a:hover { color: var(--paper); }

.ft-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.ft-legal { font-size: 0.68rem; color: rgba(248,245,239,0.15); }
.ft-group { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.12); }
.ft-corp { font-size: 0.62rem; color: rgba(248,245,239,0.18); text-align: left; margin-top: 1.25rem; line-height: 1.75; max-width: 280px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   MOBILE RESPONSIVE
   ════════════════════════════════════════ */

/* 1200px — Tighten layout */
@media (max-width: 1200px) {
  .site-nav { padding: 1rem 2rem; }
  :where(.hero, .what, .courses, .frameworks, .tools, .home-blog, .newsletter) { padding: 5rem 2rem; }
  .hero-left { padding: 5rem 2rem 5rem 2rem; }
  .hero-right { padding: 5rem 2rem 5rem 1.5rem; }
  .frameworks { padding: 5rem 2rem; }
  .site-footer { padding: 4rem 2rem 2rem; }
  .group-strip { padding: 3rem 2rem; }
  .free-banner { padding: 2.5rem 2rem; }
  .newsletter { padding: 4rem 2rem; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 992px — Collapse some grids */
@media (max-width: 992px) {
  .site-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    align-items: center; justify-content: center;
    gap: 2rem; z-index: 999;
  }
  .nav-mobile-open .nav-links a { font-size: 1.1rem; }
  .nav-mobile-close { display: block; position: fixed; top: 1.5rem; right: 1.5rem; z-index: 1000; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { padding: 0 1.5rem 4rem; }
  .hero-left { padding: 4rem 1.5rem 2rem; }

  .what-grid { grid-template-columns: 1fr; border: none; gap: 1px; background: var(--border); }
  .wcard { border-right: none; background: var(--paper); }

  .courses-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .courses-bottom { grid-template-columns: 1fr 1fr; }

  .fw-grid { grid-template-columns: 1fr; }

  .tools-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .tools-categories { grid-template-columns: repeat(2, 1fr); }

  .blog-grid { grid-template-columns: 1fr 1fr; }

  .ft-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .group-strip { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .gs-brands { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}

/* 768px — Fully mobile */
@media (max-width: 768px) {
  .site-nav { padding: 0.9rem 1rem; }
  .nav-actions .nav-cta { display: none; }

  :where(.hero, .what, .courses, .frameworks, .tools, .home-blog, .newsletter) { padding: 4rem 1rem; }
  .frameworks { padding: 4rem 1rem; }
  .site-footer { padding: 3rem 1rem 1.5rem; }
  .newsletter { padding: 3rem 1rem; }

  .hero-h { font-size: 2.6rem; }
  .hero-b { font-size: 0.92rem; }
  .hero-acts { flex-direction: column; }
  .hero-acts a { text-align: center; }

  .courses-grid { grid-template-columns: 1fr; }
  .courses-bottom { grid-template-columns: 1fr; }

  .free-banner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; padding: 2rem 1rem; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .tools-cta { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1px solid rgba(255,255,255,0.2); border-bottom: none; }
  .nl-btn { width: 100%; text-align: center; }

  .ft-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ft-bottom { flex-direction: column; text-align: center; }

  .topbar { font-size: 0.65rem; padding: 0.5rem 0.75rem; }
}

/* 480px — Small phones */
@media (max-width: 480px) {
  .nav-actions { gap: 0.4rem; }
  .nav-free .wp-block-button__link { padding: 0.45rem 0.75rem; font-size: 0.62rem; }

  .hero-left { padding: 3rem 1rem 1.5rem; }
  .hero-right { padding: 0 1rem 3rem; }

  .tools-categories { grid-template-columns: 1fr 1fr; }
  .gs-brands { flex-direction: column; }

  .fw-card { padding: 1.75rem; }
  .fw-name { font-size: 1.8rem; }
}

/* ════════ BLOCK ADAPTER ════════
   Makes WordPress block wrappers behave like the original hand-written markup. */
.wp-site-blocks > .wp-block-template-part,
.wp-block-template-part { display: contents; }
figure.wp-block-image { margin: 0; }
.wp-block-image img { height: auto; max-width: 100%; vertical-align: bottom; }
.wcard-img img, .cc-img img { height: auto; }
:where(.wp-block-buttons) { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
:where(.wp-block-button) > .wp-block-button__link {
  display: inline-block; background: none; color: inherit; border: 0; border-radius: 0;
  padding: 0; font-size: inherit; font-family: inherit; line-height: normal; vertical-align: top;
  box-shadow: none; text-align: inherit; word-break: normal; width: auto;
}
.nav-actions, .nav-actions .wp-block-buttons { display: flex; gap: 0.75rem; align-items: center; }
.logo-name a { color: inherit; text-decoration: none; }
.nav-links a, .ft-links a, .topbar a { text-decoration: inherit; }
.topbar a { text-decoration: underline; }
.ov-center { justify-content: center; }
.is-ink { color: var(--ink); }
.cc-top > :not(.cc-letter) { position: relative; z-index: 1; }
.cc-price span { white-space: nowrap; }
.wcard-img img { width: 100%; }
.cc-footer .wp-block-buttons { flex-shrink: 0; }
.wp-block-buttons > .wp-block-button { line-height: 0; }
.blog-body .blog-title { flex: 0 0 auto; }
@media (max-width: 768px) {
  .hero-acts { flex-direction: column; align-items: stretch; }
  .hero-acts .wp-block-button__link { display: block; width: 100%; }
}

/* ════════ ABOUT US ════════ */
.site-nav-about { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-mark { background: var(--teal); width: 40px; height: 40px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0.2rem; position: relative; flex-shrink: 0; }
.logo-mark::after { content: ''; position: absolute; inset: 2px; border: 1px solid rgba(255,255,255,0.15); }
.logo-mark-r { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 700; font-style: italic; color: white; line-height: 1; }
.logo-mark-ai { font-family: 'Cormorant Garamond', serif; font-size: 0.6rem; font-weight: 700; color: var(--gold-lt); position: absolute; bottom: 5px; right: 5px; line-height: 1; }
.logo-name-about { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-name-about span { color: var(--teal); }
.logo-sub { font-family: 'DM Mono', monospace; font-size: 0.45rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.nav-back .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); padding: 0.55rem 1.1rem; text-decoration: none; transition: background 0.2s, color 0.2s; }
.nav-back .wp-block-button__link:hover { background: var(--teal); color: white; }
.about-hero { background: var(--ink); padding: 6rem 4rem 5rem; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(42,125,79,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(42,125,79,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.about-hero-left { position: relative; z-index: 2; }
.about-eye { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.about-eye::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal-lt); }
.about-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 300; color: var(--paper); line-height: 1.05; margin-bottom: 1.5rem; }
.about-h em { font-style: italic; color: var(--teal-lt); }
.about-hero-right { position: relative; z-index: 2; }
.about-stat { padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.about-stat:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.about-stat-n { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; color: var(--teal-lt); line-height: 1; margin-bottom: 0.3rem; }
.about-stat-l { font-size: 0.8rem; color: rgba(248,245,239,0.4); line-height: 1.5; }
.about-mission { background: var(--paper); padding: 6rem 4rem; }
.about-mission-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
.am-label { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.am-label::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal); }
.am-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: var(--ink); line-height: 1.1; }
.am-h em { font-style: italic; color: var(--teal); }
.am-text p:not(.ir-d) { font-size: 0.95rem; line-height: 1.9; color: var(--muted); margin-bottom: 1.25rem; }
.about-team { background: var(--white); padding: 6rem 4rem; }
.about-team-inner { max-width: 1100px; margin: 0 auto; }
.at-header { text-align: center; margin-bottom: 4rem; }
.at-label { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.at-label::before, .at-label::after { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal); }
.at-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: var(--ink); line-height: 1.05; }
.at-h em { font-style: italic; color: var(--teal); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.team-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; display: block; }
.team-photo-placeholder { width: 100%; aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 700; font-style: italic; color: rgba(255,255,255,0.3); }
.team-body { padding: 1.5rem; flex: 1; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.2; }
.team-role { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.about-cta { background: var(--teal-dark); padding: 5rem 4rem; text-align: center; }
.ac-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; color: white; line-height: 1.15; margin-bottom: 1rem; }
.ac-h strong { font-weight: 600; }
.ac-sub { font-size: 0.9rem; color: rgba(255,255,255,0.55); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.btn-white-about .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); background: white; padding: 0.9rem 2.25rem; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-white-about .wp-block-button__link:hover { background: var(--paper); }
.about-footer { background: #060608; padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.04); }
.af-brand { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: var(--paper); }
.af-brand span { color: var(--teal-lt); }
.af-legal { font-size: 0.68rem; color: rgba(248,245,239,0.15); }
.af-corp { flex-basis: 100%; font-size: 0.6rem; color: rgba(248,245,239,0.1); text-align: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }
@media (max-width: 992px) {
  .site-nav-about { padding: 1rem 1.5rem; }
  .about-hero { grid-template-columns: 1fr; padding: 4rem 1.5rem 3rem; gap: 2.5rem; }
  .about-mission { padding: 4rem 1.5rem; }
  .about-mission-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-team { padding: 4rem 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cta { padding: 3.5rem 1.5rem; }
  .about-footer { padding: 2rem 1.5rem; }
}
@media (max-width: 600px) {
  .site-nav-about { padding: 0.9rem 1rem; }
  .about-hero { padding: 3rem 1rem 2.5rem; }
  .about-mission { padding: 3rem 1rem; }
  .about-team { padding: 3rem 1rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-cta { padding: 3rem 1rem; }
  .about-footer { padding: 1.5rem 1rem; flex-direction: column; text-align: center; }
}

/* ════════ FREE COURSES ════════ */
.site-nav-courses { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: 0.02em; }
.logo-name span { color: var(--teal); }
.nav-hamburger-courses { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.25rem; background: none; border: none; }
.nav-hamburger-courses span { display: block; width: 24px; height: 2px; background: var(--ink); }
.fc-hero { background: var(--ink); padding: 6rem 4rem 5rem; text-align: center; position: relative; overflow: hidden; }
.fc-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(42,125,79,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(42,125,79,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.fc-hero-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.fc-hero-eye { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.fc-hero-eye::before, .fc-hero-eye::after { content: ''; display: block; width: 2rem; height: 1px; background: var(--teal-lt); }
.fc-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; line-height: 1.05; color: var(--paper); margin-bottom: 1.25rem; }
.fc-hero h1 em { font-style: italic; color: var(--teal-lt); }
.fc-hero p:not(.ir-d) { font-size: 1rem; line-height: 1.8; color: rgba(248,245,239,0.55); max-width: 540px; margin: 0 auto; }
.fc-courses { padding: 5rem 4rem; max-width: 1100px; margin: 0 auto; }
.fc-course { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--border); margin-bottom: 4rem; overflow: hidden; transition: box-shadow 0.3s; }
.fc-course:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.fc-course-visual { position: relative; overflow: hidden; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end; }
.fc-course-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-course-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(42,125,79,0.85) 0%, rgba(30,92,58,0.95) 100%); }
.fc-course-num { position: absolute; top: 1.5rem; left: 1.5rem; font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); z-index: 2; }
.fc-course-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--gold); color: var(--ink); font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.75rem; z-index: 2; }
.fc-course-vis-content { position: relative; z-index: 2; padding: 2.5rem; }
.fc-course-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.fc-course-title { font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 700; line-height: 1.15; color: white; margin-bottom: 0.75rem; }
.fc-course-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.fc-course-body { padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); }
.fc-course.navy-courses .fc-course-overlay { background: linear-gradient(135deg, rgba(27,58,107,0.88) 0%, rgba(10,22,45,0.96) 100%); }
.fc-intro { font-size: 0.92rem; line-height: 1.8; color: var(--muted); margin-bottom: 2rem; }
.fc-intro strong { color: var(--ink); }
.fc-how { margin-bottom: 2rem; }
.fc-how-title { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.fc-how-title::before { content: ''; display: block; width: 1.25rem; height: 1px; background: var(--teal); }
.fc-how-steps { display: flex; flex-direction: column; gap: 0.75rem; }
.fc-how-step { display: flex; align-items: flex-start; gap: 1rem; }
.fc-how-n { width: 26px; height: 26px; flex-shrink: 0; background: var(--teal); color: white; font-family: 'DM Mono', monospace; font-size: 0.6rem; display: flex; align-items: center; justify-content: center; }
.fc-how-text { font-size: 0.82rem; line-height: 1.6; color: var(--muted); padding-top: 0.2rem; }
.fc-curriculum { margin-bottom: 2rem; }
.fc-curriculum-title { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.fc-curriculum-title::before { content: ''; display: block; width: 1.25rem; height: 1px; background: var(--teal); }
.fc-days { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }
.fc-day { display: flex; align-items: flex-start; gap: 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); transition: background 0.2s; }
.fc-day:last-child { border-bottom: none; }
.fc-day:hover { background: var(--teal-pale); }
.fc-day-label { font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); white-space: nowrap; padding-top: 0.15rem; min-width: 3.5rem; }
.fc-day-text { font-size: 0.8rem; line-height: 1.5; color: var(--ink); }
.fc-stars { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.fc-star { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; line-height: 1.6; color: var(--muted); }
.fc-star::before { content: '★'; color: var(--gold); flex-shrink: 0; margin-top: 0.05rem; }
.fc-cta { display: inline-block; text-align: center; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: white; background: var(--teal); padding: 1rem 2.5rem; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.fc-cta:hover { background: var(--teal-dark); transform: translateY(-2px); }
.fc-free-note { margin-top: 1rem; font-family: 'DM Mono', monospace; font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.fc-form-wrap { width: 100%; }
.fc-bottom { background: var(--teal); padding: 4rem; text-align: center; }
.fc-bottom h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; color: white; line-height: 1.15; margin-bottom: 0.75rem; }
.fc-bottom h2 strong { font-weight: 600; }
.fc-bottom p:not(.ir-d) { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 2rem; line-height: 1.7; }
.btn-white-courses .wp-block-button__link { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); background: white; padding: 0.9rem 2.25rem; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-white-courses .wp-block-button__link:hover { background: var(--paper); }
.fc-footer { background: #060608; padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.04); }
.fc-footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: var(--paper); }
.fc-footer-brand span { color: var(--teal-lt); }
.fc-footer-legal { font-size: 0.68rem; color: rgba(248,245,239,0.15); }
.fc-footer-corp { flex-basis: 100%; font-size: 0.6rem; color: rgba(248,245,239,0.1); text-align: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }
@media (max-width: 992px) {
  .site-nav-courses { padding: 1rem 1.5rem; }
  .fc-hero { padding: 4rem 1.5rem 3rem; }
  .fc-courses { padding: 3rem 1.5rem; }
  .fc-course { grid-template-columns: 1fr; overflow: visible; }
  .fc-course-visual { min-height: 300px; }
  .fc-bottom { padding: 3rem 1.5rem; }
  .fc-footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .fc-form-wrap iframe { height: 520px !important; }
}
@media (max-width: 768px) {
  .site-nav-courses { padding: 0.9rem 1rem; }
  .fc-hero { padding: 3rem 1rem 2.5rem; }
  .fc-courses { padding: 2rem 1rem; }
  .fc-course { margin-bottom: 2rem; overflow: visible; }
  .fc-course-body { padding: 2rem 1.5rem; }
  .fc-course-vis-content { padding: 1.5rem; }
  .fc-bottom { padding: 2.5rem 1rem; }
  .fc-footer { padding: 1.5rem 1rem; }
  .nav-hamburger-courses { display: flex; }
  .fc-form-wrap iframe { height: 560px !important; }
}
.fc-hero-inner { animation: fadeUp 0.7s 0.1s both; }
.fc-course-visual { position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
.fc-course-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.agent-visual { background: linear-gradient(140deg, #0d2b1a 0%, #1a4a2e 50%, #0a1f12 100%); }
.agent-grid { position: relative; width: 200px; height: 200px; }
.agent-node { position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }
.agent-node.main { width: 72px; height: 72px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--teal); border: 2px solid var(--teal-lt); color: white; font-family: 'Cormorant Garamond', serif; font-size: 1rem; box-shadow: 0 0 30px rgba(42,125,79,0.5); animation: pulse 2s ease-in-out infinite; }
.agent-node.s1 { width: 44px; height: 44px; top: 10px; left: 78px; background: rgba(42,125,79,0.3); border: 1px solid rgba(91,175,122,0.4); color: white; font-size: 1.1rem; animation: pulse 2s 0.3s ease-in-out infinite; }
.agent-node.s2 { width: 44px; height: 44px; bottom: 10px; left: 10px; background: rgba(42,125,79,0.3); border: 1px solid rgba(91,175,122,0.4); color: white; font-size: 1.1rem; animation: pulse 2s 0.6s ease-in-out infinite; }
.agent-node.s3 { width: 44px; height: 44px; bottom: 10px; right: 10px; background: rgba(42,125,79,0.3); border: 1px solid rgba(91,175,122,0.4); color: white; font-size: 1.1rem; animation: pulse 2s 0.9s ease-in-out infinite; }
.agent-line { position: absolute; background: rgba(91,175,122,0.3); }
.agent-line.l1 { width: 1px; height: 40px; top: 54px; left: 99px; }
.agent-line.l2 { width: 50px; height: 1px; top: 140px; left: 50px; transform: rotate(35deg); }
.agent-line.l3 { width: 50px; height: 1px; top: 140px; right: 50px; transform: rotate(-35deg); }
.agent-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80px; height: 80px; border: 1px solid rgba(91,175,122,0.2); border-radius: 50%; animation: ripple 2s linear infinite; }
.prompt-visual { background: linear-gradient(140deg, #0a0f1e 0%, #1B3A6B 60%, #0d1a35 100%); }
.prompt-terminal { width: 85%; max-width: 320px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 0; font-family: 'DM Mono', monospace; }
.pt-bar { background: rgba(255,255,255,0.06); padding: 0.5rem 0.75rem; display: flex; gap: 0.4rem; align-items: center; }
.pt-dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.pt-dot.r { background: rgba(255,80,80,0.5); }
.pt-dot.y { background: rgba(255,200,0,0.5); }
.pt-dot.g { background: rgba(42,125,79,0.7); }
.pt-line { padding: 0.4rem 0.75rem; font-size: 0.62rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.4); line-height: 1.4; }
.pt-user { color: var(--teal-lt); font-weight: 700; margin-right: 0.35rem; }
.pt-label { color: #7dd3fc; font-weight: 700; margin-right: 0.35rem; }
.pt-ai { color: rgba(255,255,255,0.3); }
.pt-result { color: rgba(255,255,255,0.6); border-left: 2px solid rgba(42,125,79,0.5); margin-left: 0.5rem; padding-left: 0.5rem; }
.pt-cursor { animation: blink 1s step-end infinite; }
.pt-spacer { height: 0.5rem; border-top: 1px solid rgba(255,255,255,0.05); margin: 0.25rem 0; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 20px rgba(42,125,79,0.4); } 50% { box-shadow: 0 0 40px rgba(42,125,79,0.7); } }
@keyframes ripple { 0% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; } 100% { transform: translate(-50%,-50%) scale(2.5); opacity: 0; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.irs-9700f9 { background:var(--navy) !important }
.irs-1ad6f3 { margin-bottom:1.5rem !important }
.irs-c3e5d3 { --teal:#1B3A6B !important }
.irs-dfc1e4 { background:var(--paper) !important }

/* ════════ MEMBERSHIP ════════ */
.site-nav-member { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo-name-member { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-name-member span { color: var(--teal); }
.mem-hero { background: var(--ink); padding: 6rem 4rem 5rem; text-align: center; position: relative; overflow: hidden; }
.mem-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(42,125,79,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(42,125,79,0.04) 1px, transparent 1px); background-size: 60px 60px; }
.mem-hero-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.mem-eye { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.mem-eye::before, .mem-eye::after { content: ''; display: block; width: 2rem; height: 1px; background: var(--gold); }
.mem-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 300; color: var(--paper); line-height: 1.05; margin-bottom: 1rem; }
.mem-h em { font-style: italic; color: var(--teal-lt); }
.mem-sub { font-size: 0.95rem; line-height: 1.8; color: rgba(248,245,239,0.5); max-width: 520px; margin: 0 auto; }
.mem-body { flex: 1; padding: 5rem 4rem; max-width: 900px; margin: 0 auto; width: 100%; }
.mem-card { border: 1px solid var(--border); padding: 3.5rem; margin-bottom: 2rem; text-align: center; position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.mem-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.mem-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform: scaleX(0); transition: transform 0.3s; }
.mem-card:hover::after { transform: scaleX(1); }
.mem-card-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.mem-card-title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--ink); margin-bottom: 0.75rem; }
.mem-card-desc { font-size: 0.9rem; line-height: 1.8; color: var(--muted); max-width: 480px; margin: 0 auto 2rem; }
.mem-btn .wp-block-button__link { display: inline-block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: white; background: var(--teal); padding: 1rem 2.75rem; text-decoration: none; transition: background 0.2s, transform 0.2s; }
.mem-btn .wp-block-button__link:hover { background: var(--teal-dark); transform: translateY(-2px); }
.mem-btn.gold-member .wp-block-button__link { background: var(--gold); }
.mem-btn.gold-member .wp-block-button__link:hover { background: #9e7c31; }
.mem-divider { text-align: center; padding: 1.5rem; font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.mem-divider::before, .mem-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.mem-card.explore { background: var(--cream); border-color: transparent; }
.mem-card.explore .mem-card-title { font-size: 1.5rem; }
.mem-footer { background: #060608; padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.04); margin-top: auto; }
.mf-brand { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: var(--paper); }
.mf-brand span { color: var(--teal-lt); }
.mf-legal { font-size: 0.68rem; color: rgba(248,245,239,0.15); }
.mf-corp { flex-basis: 100%; font-size: 0.6rem; color: rgba(248,245,239,0.1); text-align: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }
@media (max-width: 768px) {
  .site-nav-member { padding: 0.9rem 1rem; }
  .mem-hero { padding: 3.5rem 1rem 3rem; }
  .mem-body { padding: 3rem 1rem; }
  .mem-card { padding: 2.5rem 1.5rem; }
  .mem-footer { padding: 2rem 1rem; flex-direction: column; text-align: center; }
}

/* ════════ PRIVACY POLICY ════════ */
.site-nav-privacy { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo-name-privacy { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-name-privacy span { color: var(--teal); }
.legal-hero { background: var(--ink); padding: 5rem 4rem 4rem; }
.legal-hero-inner { max-width: 800px; margin: 0 auto; }
.legal-eye { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.legal-eye::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal-lt); }
.legal-h { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; color: var(--paper); line-height: 1.05; margin-bottom: 1rem; }
.legal-date { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.3); }
.legal-body { max-width: 800px; margin: 0 auto; padding: 4rem; }
.legal-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 2.5rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body p:not(.ir-d) { font-size: 0.9rem; line-height: 1.85; color: var(--muted); margin-bottom: 1rem; }
.legal-body ul { margin: 0.75rem 0 1rem 1.5rem; }
.legal-body li { font-size: 0.9rem; line-height: 1.8; color: var(--muted); margin-bottom: 0.4rem; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--teal); }
.legal-footer { background: #060608; padding: 2.5rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.04); }
.lf-brand { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: var(--paper); }
.lf-brand span { color: var(--teal-lt); }
.lf-legal { font-size: 0.68rem; color: rgba(248,245,239,0.15); }
.lf-corp { flex-basis: 100%; font-size: 0.6rem; color: rgba(248,245,239,0.1); text-align: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }
@media (max-width: 768px) {
  .site-nav-privacy { padding: 0.9rem 1rem; }
  .legal-hero { padding: 3rem 1rem 2.5rem; }
  .legal-body { padding: 2rem 1rem; }
  .legal-footer { padding: 2rem 1rem; flex-direction: column; text-align: center; }
}

/* ════════ TERMS OF USE ════════ */
.site-nav-terms { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo-name-terms { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-name-terms span { color: var(--teal); }
@media (max-width: 768px) {
  .site-nav-terms { padding: 0.9rem 1rem; }
}

/* ════════ BLOG ════════ */
.site-nav-blog { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo-name-blog { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-name-blog span { color: var(--teal); }
.blog-hero { padding: 6rem 4rem 4rem; max-width: 1200px; margin: 0 auto; }
.blog-label { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.75rem; }
.blog-label::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal); }
.blog-title-blog { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem, 4vw, 4.8rem); font-weight: 300; line-height: 1.05; margin-bottom: 1.25rem; }
.blog-intro { max-width: 780px; font-size: 1rem; line-height: 1.85; color: var(--muted); }
.blog-listing { padding: 0 4rem 6rem; max-width: 1200px; margin: 0 auto; }
.blog-grid-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.blog-card-blog { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: white; transition: transform 0.25s, box-shadow 0.25s; }
.blog-card-blog:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(0,0,0,0.08); }
.blog-card-link { color: inherit; text-decoration: none; display: block; }
.blog-card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.blog-card-placeholder { width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); display: grid; place-items: center; color: rgba(255,255,255,0.75); font-family: 'Cormorant Garamond', serif; font-size: 2rem; }
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.blog-card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; line-height: 1.1; margin-bottom: 0.9rem; color: var(--ink); }
.blog-card-excerpt { font-size: 0.95rem; line-height: 1.75; color: var(--muted); margin-bottom: 1.25rem; }
.blog-card-read { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); }
.blog-pagination { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.blog-pagination a { font-size: 0.9rem; color: var(--teal); text-decoration: none; border: 1px solid var(--teal); padding: 0.8rem 1rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.blog-pagination a:hover { background: var(--teal); color: white; }
.blog-empty { padding: 4rem 0; text-align: center; color: var(--muted); }
.blog-footer { background: #060608; padding: 3rem 4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: rgba(248,245,239,0.7); border-top: 1px solid rgba(255,255,255,0.04); }
.blog-footer .af-brand-blog { font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-weight: 700; color: white; }
.blog-footer .af-legal-blog { font-size: 0.68rem; }
.blog-footer .af-corp-blog { flex-basis: 100%; font-size: 0.6rem; color: rgba(248,245,239,0.1); text-align: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }
@media (max-width: 992px) {
  .site-nav-blog { padding: 1rem 1.5rem; }
  .blog-hero, .blog-listing, .blog-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .blog-grid-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .blog-grid-blog { grid-template-columns: 1fr; }
}
.blog-card-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.blog-card-image { margin: 0; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.blog-card-meta a { color: inherit; text-decoration: none; }
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-read { text-decoration: none; display: inline-block; }
.blog-pagination { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.blog-pagination a { font-size: 0.9rem; color: var(--teal); text-decoration: none; border: 1px solid var(--teal); padding: 0.8rem 1rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.blog-pagination a:hover { background: var(--teal); color: white; }
ul.blog-grid-blog { list-style: none; }

/* ════════ BLOG POST ════════ */
.site-nav-single { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 4rem; background: rgba(255,255,255,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.logo-name-single { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); line-height: 1; }
.logo-name-single span { color: var(--teal); }
.post-hero { padding: 5rem 4rem 3rem; max-width: 1100px; margin: 0 auto; }
.post-meta { font-family: 'DM Mono', monospace; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.25rem; }
.post-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 300; line-height: 1.05; margin-bottom: 1.5rem; }
.post-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; margin-bottom: 2rem; }
.post-content { max-width: 900px; margin: 0 auto 4rem; font-size: 1rem; line-height: 1.9; color: var(--muted); }
.post-content h2, .post-content h3, .post-content h4 { font-family: 'Cormorant Garamond', serif; color: var(--ink); }
.post-content p:not(.ir-d) { margin-bottom: 1.5rem; }
.post-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 4rem 4rem; max-width: 1100px; margin: 0 auto; }
.post-footer a { color: var(--teal); text-decoration: none; border: 1px solid var(--teal); padding: 0.85rem 1rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.post-footer a:hover { background: var(--teal); color: white; }
@media (max-width: 992px) {
  .site-nav-single { padding: 1rem 1.5rem; }
  .post-hero, .post-content, .post-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (max-width: 680px) {
  .post-footer { flex-direction: column; align-items: stretch; }
}
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.post-meta a { color: inherit; text-decoration: none; }
.post-image { margin: 0; }
.post-image img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; margin-bottom: 2rem; display: block; }

/* ════════ GENERIC PAGES & POSTS ════════ */
.ir-page { max-width: 860px; margin: 0 auto; padding: 5rem 2rem 6rem; }
.ir-page .sec-h { color: var(--ink); margin-bottom: 2rem; }
.ir-content { font-size: 1rem; line-height: 1.8; color: #2a2a2a; }
.ir-content > * + * { margin-top: 1.25rem; }
.ir-content h2, .ir-content h3 { font-family: 'Cormorant Garamond', serif; color: var(--ink); line-height: 1.2; margin-top: 2.5rem; }
.ir-content h2 { font-size: 2rem; } .ir-content h3 { font-size: 1.5rem; }
.ir-content a { color: var(--teal); }
.ir-content ul, .ir-content ol { padding-left: 1.5rem; }
.ir-featured { margin-bottom: 2rem; }
.ir-list-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; margin-top: 2.5rem; }
.ir-list-title a { color: var(--ink); text-decoration: none; }
.ir-block-link { color: inherit; text-decoration: none; }
/* Blog cards without a featured image show a placeholder, as before */
.blog-card-blog:not(:has(.wp-block-post-featured-image))::before { content: 'AI Insight'; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); display: grid; place-items: center; color: rgba(255,255,255,0.75); font-family: 'Cormorant Garamond', serif; font-size: 2rem; }
/* Converted pages: buttons flow like the original inline links (follow text-align) */
.wp-block-buttons.ir-btns { display: block; }
.ir-btns > .wp-block-button { display: inline-block; vertical-align: middle; }
.ir-btns > .wp-block-button + .wp-block-button { margin-left: 0.3em; }
