/* ========================================
   Tradermade — shared article stylesheet
   ======================================== */

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

:root {
  --bg:        #F5F2EA;
  --bg-2:      #ECE6D7;
  --bg-warm:   #E8E0CE;
  --ink:       #0F0F0E;
  --ink-2:     #2B2A26;
  --ink-3:     #5C5A52;
  --ink-4:     #6E6A5A;

  --black:     #0F0F0E;
  --on-dark:   #F5F2EA;
  --on-dark-2: #B5B0A2;
  --on-dark-3: #8B8779;
  --line-d:    rgba(245, 242, 234, 0.12);

  --white:     #FFFFFF;
  --line:      rgba(15, 15, 14, 0.1);
  --line-2:    rgba(15, 15, 14, 0.18);

  --coral:      #E15A33;
  --coral-deep: #B73D1C;
  --coral-soft: #F8D9C8;

  --up:        #C8893E;
  --up-soft:   #F3E6CE;
  --down:      #B34531;

  --yellow:    #FFD23D;
  --plum:      #2A1A33;

  --font-sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif:"Instrument Serif", Georgia, serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-weight: 400;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }

.wrap {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}
.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* ============ NAV ============ */
nav.top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 234, 0.85);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.logo img { height: 28px; width: auto; display: block; flex-shrink: 0; }
.logo .dot { color: var(--coral); }

nav .links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  flex: 1;
  justify-content: center;
}
nav .links a { color: var(--ink-2); transition: color 0.2s; }
nav .links a:hover { color: var(--coral); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta a.signin { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-cta a.signin:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--bg); border: 1.5px solid var(--ink); }
.btn-primary:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-coral { background: var(--coral); color: var(--ink); border: 1.5px solid var(--coral); }
.btn-coral:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-big { padding: 20px 32px; font-size: 17px; }

/* ============ ARTICLE HEADER ============ */
.article-header { padding: 60px 0 50px; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-3);
  font-family: var(--font-mono); margin-bottom: 28px;
  transition: color 0.2s;
}
.breadcrumb:hover { color: var(--coral); }
.breadcrumb::before { content: "←"; font-family: var(--font-sans); }

.article-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  background: var(--coral); color: var(--ink);
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.article-eyebrow .dot {
  background: var(--ink); color: var(--coral);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800;
  font-family: var(--font-mono);
}

.article-title {
  font-size: clamp(44px, 7.5vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-bottom: 28px;
  text-wrap: balance;
  max-width: 1100px;
}
.article-title .it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
  letter-spacing: -0.02em;
}

.article-lede {
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 720px;
  font-weight: 400;
  margin-bottom: 40px;
}

.article-meta {
  display: flex; align-items: center; gap: 32px;
  padding-top: 28px;
  border-top: 1.5px solid var(--ink);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-meta strong { color: var(--ink); font-weight: 600; }
.article-meta .author {
  display: flex; align-items: center; gap: 12px;
  text-transform: none; letter-spacing: 0;
}
.article-meta .author-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  font-family: var(--font-sans);
  overflow: hidden;
}
.article-meta .author-av img {
  width: 22px; height: 22px; display: block;
}
.article-meta .author-info {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.3;
}
.article-meta .author-info strong { display: block; font-weight: 700; }
.article-meta .author-info span {
  font-size: 12px; color: var(--ink-3);
  text-transform: none; letter-spacing: 0;
}

/* ============ HERO VISUAL ============ */
.article-hero { margin: 0 32px 80px; }
.hero-card {
  max-width: 1276px;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 8% 0 0;
}
.hero-card.theme-doud   { background: linear-gradient(135deg, var(--coral) 0%, var(--up) 60%, var(--yellow) 100%); }
.hero-card.theme-coachs { background: linear-gradient(135deg, var(--ink) 0%, var(--coral-deep) 60%, var(--coral) 100%); color: var(--bg); }
.hero-card.theme-journal{ background: linear-gradient(135deg, var(--bg-warm) 0%, var(--up) 60%, var(--coral) 100%); }
.hero-card.theme-signal { background: var(--ink); color: var(--bg); }

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}

.hero-card .live-tag {
  position: absolute;
  top: 28px; left: 28px;
  background: var(--ink);
  color: var(--coral);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  z-index: 2;
}
.hero-card.theme-coachs .live-tag,
.hero-card.theme-signal .live-tag { background: var(--coral); color: var(--ink); }
.hero-card .live-tag::before {
  content: ""; width: 7px; height: 7px;
  border-radius: 50%; background: var(--coral);
  animation: live-pulse 1.6s ease-in-out infinite;
}
.hero-card.theme-coachs .live-tag::before,
.hero-card.theme-signal .live-tag::before { background: var(--ink); }
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-card .big-letter {
  position: relative; z-index: 2;
  font-size: clamp(180px, 28vw, 460px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.07em;
  margin-left: 4%;
  flex-shrink: 0;
}

.hero-card .big-word {
  position: relative; z-index: 2;
  font-size: clamp(72px, 12vw, 200px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-left: 4%;
  flex-shrink: 0;
}
.hero-card .big-word .strike {
  position: relative;
  display: inline-block;
}
.hero-card .big-word .strike::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  top: 50%;
  height: 0.12em;
  background: var(--coral);
  transform: rotate(-8deg);
  border-radius: 2px;
}

.hero-card .signature {
  position: relative; z-index: 2;
  margin-left: auto;
  text-align: right;
  max-width: 360px;
}
.hero-card .signature .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 500;
}
.hero-card .signature .who {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============ ARTICLE BODY ============ */
.article-body { padding: 0 0 100px; }
.article-body p,
.article-body ul,
.article-body ol {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 28px;
  font-weight: 400;
}
.article-body p strong { color: var(--ink); font-weight: 600; }
.article-body p .it {
  font-family: var(--font-serif); font-style: italic;
  color: var(--coral-deep); font-weight: 500;
}
.article-body p mark { background: var(--yellow); padding: 0 0.06em; }

.article-body p.lead {
  font-size: 22px; line-height: 1.5;
  color: var(--ink); font-weight: 500;
  border-left: 4px solid var(--coral);
  padding-left: 22px; margin-bottom: 36px;
}

.article-body h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
  margin: 56px 0 20px;
  text-wrap: balance;
}
.article-body h2 .it {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 500; color: var(--coral);
}
.article-body h2 .num {
  font-family: var(--font-mono);
  font-size: 0.45em;
  color: var(--coral);
  font-weight: 600;
  margin-right: 12px;
  vertical-align: 4px;
  letter-spacing: 0.06em;
}

.article-body h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink);
  margin: 36px 0 12px;
}

.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 12px; padding-left: 8px; }
.article-body ul li::marker { color: var(--coral); content: "▸ "; }

.article-body a {
  color: var(--coral-deep);
  border-bottom: 1.5px solid var(--coral-soft);
  padding-bottom: 1px;
  transition: border-color 0.2s;
  font-weight: 500;
}
.article-body a:hover { border-color: var(--coral-deep); }

/* pull quote */
.article-body blockquote {
  margin: 56px -32px;
  padding: 48px 56px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-lg);
  position: relative;
}
.article-body blockquote::before {
  content: "\201C";
  position: absolute;
  top: 8px; left: 28px;
  font-family: var(--font-serif);
  font-size: 120px;
  line-height: 1;
  color: var(--coral);
}
.article-body blockquote p {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--bg);
  margin-bottom: 24px;
  font-weight: 500;
  font-family: var(--font-serif);
  font-style: italic;
  margin-top: 36px;
  text-wrap: balance;
}
.article-body blockquote .source {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.article-body blockquote .source strong { color: var(--coral); font-weight: 700; }

/* badges row */
.badges-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 36px;
}
.badges-row span {
  background: var(--white);
  border: 1.5px solid var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* checklist */
.checklist {
  background: var(--bg-warm);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 28px;
  margin: 36px 0;
  list-style: none !important;
  padding-left: 28px;
}
.checklist li {
  list-style: none !important;
  position: relative;
  padding-left: 32px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.checklist li::marker { content: "" !important; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--coral);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}
.checklist.x li::before {
  content: "✕";
  background: var(--down);
  color: var(--bg);
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li strong { color: var(--ink); font-weight: 600; }

/* ============ AUTHOR PROFILE ============ */
.profile {
  background: var(--bg-warm);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 36px;
  margin: 80px 0 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
}
.profile-av {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 800;
  letter-spacing: -0.04em;
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
  overflow: hidden;
}
.profile-av img {
  width: 70px; height: 70px; display: block;
}
.profile-av.gradient {
  background: linear-gradient(135deg, var(--coral) 0%, var(--up) 100%);
  color: var(--ink);
}
.profile-info .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.profile-info h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}
.profile-info p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin-bottom: 18px;
}
.profile-info .actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 72px 60px;
  margin: 100px 32px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(225, 90, 51, 0.18) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.cta-banner > * { position: relative; }

.cta-banner h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 18px;
  text-wrap: balance;
}
.cta-banner h2 .it {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 500; color: var(--coral);
}
.cta-banner p {
  font-size: 17px; color: var(--on-dark-2);
  margin-bottom: 32px; max-width: 540px;
  margin-left: auto; margin-right: auto;
}

/* ============ RELATED ============ */
.related {
  padding: 0 0 100px;
  border-top: 1.5px solid var(--line-2);
  padding-top: 80px;
}
.related h2 {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.related h2 .it {
  font-family: var(--font-serif); font-style: italic;
  font-weight: 500; color: var(--coral);
}
.related .sub {
  color: var(--ink-3); font-size: 16px;
  margin-bottom: 48px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 0 var(--ink);
}
.related-card .cover {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
}
.related-card .cover.t-doud   { background: linear-gradient(135deg, var(--coral), var(--yellow)); }
.related-card .cover.t-coachs { background: linear-gradient(135deg, var(--ink), var(--plum)); }
.related-card .cover.t-journal{ background: linear-gradient(135deg, var(--up), var(--coral)); }
.related-card .cover.t-signal { background: linear-gradient(135deg, var(--ink), var(--down)); }
.related-card .cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.4;
}
.related-card .cover .tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--bg);
  background: rgba(15,15,14,0.5);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.related-card .cover.t-doud .tag,
.related-card .cover.t-journal .tag { color: var(--ink); background: rgba(245,242,234,0.7); }
.related-card .body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.related-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.related-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  flex: 1;
}
.related-card p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ============ BLOG LIST (index page) ============ */
.blog-list {
  max-width: 1340px;
  margin: 0 auto 100px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.blog-list .related-card .cover { aspect-ratio: 16 / 9; }
.blog-list .related-card h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin-bottom: 12px;
  line-height: 1.05;
}
.blog-list .related-card p { font-size: 15px; }
.blog-list .related-card .body { padding: 26px 28px 30px; }

@media (max-width: 1100px) {
  .blog-list { grid-template-columns: 1fr; gap: 18px; padding: 0 20px; margin-bottom: 70px; }
  .blog-list .related-card h3 { font-size: 22px; }
}
@media (max-width: 420px) {
  .blog-list { padding: 0 16px; }
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 0 0 32px;
  border-top: 1.5px solid var(--coral);
}
.footer-mega {
  text-align: center;
  padding: 60px 32px 40px;
  border-bottom: 1.5px solid var(--line-d);
  overflow: hidden;
}
.footer-mega .word {
  display: inline-block;
  font-size: clamp(32px, 22vw, 360px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.85;
  color: var(--on-dark);
  max-width: 100%;
}
.footer-mega .word .it {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--coral);
  font-weight: 500;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 60px;
  padding: 60px 32px 0;
  max-width: 1340px;
  margin: 0 auto;
}
.footer-brand p {
  color: var(--on-dark-2);
  font-size: 15px;
  max-width: 320px;
  line-height: 1.5;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-dark-3);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: var(--on-dark);
  font-size: 15px;
  transition: color 0.2s;
  font-weight: 500;
}
.footer-col a:hover { color: var(--coral); }
.footer-baseline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 32px 32px 0;
  margin-top: 48px;
  border-top: 1.5px solid var(--line-d);
  font-size: 13px;
  color: var(--on-dark-3);
  gap: 14px 28px;
  max-width: 1340px;
  margin-left: auto;
  margin-right: auto;
}
.footer-baseline .copyright { flex: 1 1 320px; line-height: 1.5; }
.footer-baseline .legal {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.footer-baseline .legal::-webkit-scrollbar { display: none; }
.footer-baseline .legal a { color: inherit; }
.footer-baseline .legal a:hover { color: var(--bg); }

/* Lang switcher (footer) */
.lang-switch { display: inline-flex; gap: 4px; align-items: center; font-size: 13px; }
.lang-switch a {
  color: var(--on-dark-2);
  padding: 2px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.lang-switch a:hover { color: var(--bg); background: rgba(255,255,255,0.05); }
.lang-switch a.active {
  color: var(--bg);
  font-weight: 700;
  pointer-events: none;
  background: rgba(255,255,255,0.08);
}
.lang-switch .sep { color: var(--on-dark-3); padding: 0 2px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .related-card:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-card { padding: 0 6% 0 0; }
  .hero-card .signature { max-width: 280px; }
  .article-body blockquote { margin: 48px -16px; padding: 40px 36px; }
}

@media (max-width: 720px) {
  .nav-inner { padding: 0 20px; height: 60px; gap: 12px; }
  nav .links { display: none; }
  .nav-cta a.signin { display: none; }
  .wrap, .wrap-narrow { padding: 0 20px; }

  .article-header { padding: 36px 0 36px; }
  .breadcrumb { margin-bottom: 22px; font-size: 12px; }
  .article-eyebrow { font-size: 11px; padding: 5px 12px 5px 5px; margin-bottom: 22px; }
  .article-eyebrow .dot { width: 18px; height: 18px; font-size: 9px; }
  .article-title { font-size: clamp(34px, 9vw, 56px); margin-bottom: 22px; }
  .article-lede { font-size: 18px; margin-bottom: 28px; }
  .article-meta { gap: 18px; padding-top: 22px; flex-direction: column; align-items: flex-start; }

  .article-hero { margin: 0 16px 50px; }
  .hero-card { aspect-ratio: 4/5; flex-direction: column; padding: 24px; align-items: stretch; justify-content: space-between; }
  .hero-card .big-letter { margin-left: 0; align-self: flex-start; font-size: clamp(140px, 50vw, 260px); }
  .hero-card .big-word { margin-left: 0; align-self: flex-start; font-size: clamp(56px, 20vw, 120px); }
  .hero-card .signature { max-width: 100%; text-align: left; margin-left: 0; }
  .hero-card .live-tag { top: 16px; left: 16px; font-size: 10px; }

  .article-body { padding: 0 0 70px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 17px; }
  .article-body p.lead { font-size: 19px; padding-left: 16px; border-left-width: 3px; }
  .article-body h2 { font-size: clamp(24px, 6.5vw, 32px); margin: 40px 0 14px; }
  .article-body h3 { font-size: 19px; }
  .article-body blockquote { margin: 40px -8px; padding: 32px 24px; }
  .article-body blockquote p { font-size: clamp(20px, 5vw, 26px); margin-top: 28px; }
  .article-body blockquote::before { font-size: 80px; top: 6px; left: 16px; }

  .checklist { padding: 22px; }
  .checklist li { font-size: 16px; padding-left: 28px; }
  .checklist li::before { width: 18px; height: 18px; font-size: 10px; }

  .profile { grid-template-columns: 1fr; padding: 28px 24px; gap: 18px; text-align: left; }
  .profile-av { width: 80px; height: 80px; font-size: 42px; }
  .profile-info h3 { font-size: 24px; }

  .cta-banner { margin: 70px 16px 56px; padding: 56px 28px; }
  .cta-banner h2 { font-size: clamp(28px, 8vw, 44px); }
  .cta-banner p { font-size: 16px; margin-bottom: 24px; }

  .related { padding: 64px 0; }
  .related h2 { font-size: clamp(26px, 7vw, 36px); }
  .related-grid { grid-template-columns: 1fr; gap: 14px; }
  .related-card:last-child { grid-column: auto; }

  .footer-mega { padding: 36px 16px 28px; }
  .footer-mega .word { font-size: 16vw; letter-spacing: -0.06em; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 0; }
  .footer-baseline { padding: 24px 20px 0; gap: 12px 18px; }
  .footer-baseline .copyright { flex-basis: 100%; font-size: 11px; }
  .footer-baseline .legal { font-size: 11px; gap: 10px; }
  
}

@media (max-width: 420px) {
  .wrap, .wrap-narrow { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .logo { font-size: 19px; gap: 8px; }
  .logo img { height: 24px; }
  .btn { padding: 11px 18px; font-size: 14px; }
  .btn-big { padding: 16px 22px; font-size: 15px; }
  .article-header { padding: 28px 0 28px; }
  .article-title { font-size: clamp(30px, 9vw, 44px); }
  .article-hero { margin: 0 12px 40px; }
  .article-body p, .article-body ul, .article-body ol { font-size: 16px; }
}

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ A11Y SKIP LINK ============ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 8px; outline: 2px solid var(--coral); outline-offset: 2px; }

/* ============ A11Y FOCUS VISIBLE ============ */
:focus { outline: none; }  /* remove default for :focus-visible only */
:focus-visible {
outline: 3px solid var(--coral);
outline-offset: 3px;
border-radius: 4px;
}
.btn:focus-visible,
.lang-switch a:focus-visible,
nav a:focus-visible,
.skip-link:focus-visible {
outline: 3px solid var(--coral);
outline-offset: 3px;
}
input:focus-visible {
outline: 3px solid var(--coral);
outline-offset: 0;
}

/* ============ A11Y MOBILE TOUCH TARGETS ============ */
/* WCAG 2.2 AA: ≥ 24px target. Apple/Google ideal: 44px. */
@media (max-width: 720px) {
  /* Inline links in body, footer, breadcrumbs etc. — bigger tap padding */
  .footer-baseline .legal a,
  .lang-switch a,
  .footer-col li a,
  nav .links a,
  .breadcrumb,
  .btn-link {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    padding: 0 8px;
  }
  /* Lang switch on mobile — bigger spacing */
  .lang-switch { gap: 6px; }
  .lang-switch a {
    padding: 0 12px;
    line-height: 44px;
    min-height: 44px;
  }
  /* Footer baseline legal — keep one line but bigger taps */
  .footer-baseline .legal {
    gap: 4px;
    font-size: 12px;
  }
  .footer-baseline .legal a {
    padding: 0 10px;
    min-height: 44px;
    line-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Hero badges — already chunky but ensure 44px on touch */
  .hero-badge { min-height: 44px; }
  /* Service tags (small pills) — ensure tappable */
  .service-tag, .rc-tag, .badges-row span {
    min-height: 32px;
    line-height: 32px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
  }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ BLOG TEMPLATE GUIDE ============
   To add a new article:
   1. Copy any existing article HTML file in blog/
   2. Update <title>, meta description, canonical, og:* tags
   3. Update JSON-LD Article schema
   4. Set article-eyebrow category and slug-name
   5. Apply hero theme: theme-doud | theme-coachs | theme-journal | theme-signal
      (or add a new .hero-card.theme-* in article.css)
   6. Update body content (h2 sections, blockquote, profile, etc.)
   7. Update related-grid links (3 cross-references)
   8. Add the new card to blog/index.html
   9. Add <url> entry to sitemap.xml
   ============================================ */
