:root {
  /* SIDE QUEST theme — terminal/code aesthetic */
  --bg-base: #C8F0F8;
  --bg-canvas: #B4E8F4;
  --terminal-deep: #0E1A1F;
  --terminal-mid: #15252C;
  --terminal-soft: #1F343C;

  --code-green: #0EA5E9;
  --code-green-bright: #38BDF8;
  --code-green-deep: #075985;
  --code-amber: #E8A547;
  --code-red: #D4564B;
  --code-cyan: #22D3EE;

  --ink: #0E1A1F;
  --ink-soft: rgba(14, 26, 31, 0.85);
  --ink-mute: rgba(14, 26, 31, 0.6);
  --line: rgba(14, 26, 31, 0.1);
  --line-strong: rgba(14, 26, 31, 0.18);

  --shadow: 0 1px 2px rgba(14, 26, 31, 0.04), 0 8px 24px rgba(14, 26, 31, 0.06);
  --shadow-strong: 0 4px 12px rgba(14, 26, 31, 0.1), 0 16px 40px rgba(14, 26, 31, 0.12);

  --serif: 'Iosevka', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: #020204;
  background-image:
    radial-gradient(ellipse at 20% 15%, rgba(25, 10, 50, 0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(5, 15, 35, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 40%, rgba(10, 30, 15, 0.20) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}


article {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 32px 120px;
  background: linear-gradient(170deg, #f0fafe 0%, #f5fbff 50%, #edf8fc 100%);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 180, 216, 0.08);
  position: relative;
  z-index: 1;
}

/* Article Meta */
.article-meta { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--code-green-deep); margin-bottom: 24px; flex-wrap: wrap; }
.meta-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--code-green); }

.series-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--terminal-deep); border: 1px solid var(--terminal-deep); border-radius: 100px; color: var(--code-green-bright); font-family: var(--mono); }
.series-tag .blink { width: 6px; height: 6px; background: var(--code-green); border-radius: 50%; animation: blink 1.6s infinite; box-shadow: 0 0 8px var(--code-green); }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0.2; } }

/* Headline */
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px; }
h1 em { font-style: italic; color: var(--code-green-deep); font-weight: 400; }

.subtitle { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 400; color: var(--code-green-deep); line-height: 1.4; margin-bottom: 36px; max-width: 600px; }

.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.tag { padding: 5px 12px; background: var(--bg-base); border: 1px solid var(--line); border-radius: 4px; color: var(--code-green-deep); font-weight: 500; }

/* Briefing Block — terminal style, signature of Side Quest series */
.briefing { margin: 32px 0 48px; background: var(--terminal-deep); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-strong); }
.briefing-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--terminal-soft); border-bottom: 1px solid rgba(14, 165, 233, 0.2); }
.briefing-header-left { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--code-green-bright); font-weight: 500; }
.briefing-dots { display: flex; gap: 6px; }
.briefing-dots span { width: 9px; height: 9px; border-radius: 50%; }
.briefing-dots span:nth-child(1) { background: var(--code-red); opacity: 0.6; }
.briefing-dots span:nth-child(2) { background: var(--code-amber); opacity: 0.6; }
.briefing-dots span:nth-child(3) { background: var(--code-green); opacity: 0.8; }
.briefing-body { padding: 28px 32px; font-family: var(--mono); font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.85; }
.briefing-line { display: grid; grid-template-columns: 110px 1fr; gap: 18px; margin-bottom: 14px; align-items: start; }
.briefing-line:last-child { margin-bottom: 0; }
.briefing-key { color: var(--code-green-bright); font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding-top: 2px; }
.briefing-val { color: rgba(255, 255, 255, 0.9); font-size: 14.5px; line-height: 1.6; }
.briefing-val strong { color: #FFFFFF; font-weight: 600; }
@media (max-width: 600px) { .briefing-line { grid-template-columns: 1fr; gap: 4px; } .briefing-body { padding: 20px 22px; } }

/* Wave Divider */
.wave-divider { display: flex; justify-content: center; align-items: center; margin: 56px 0 48px; gap: 14px; }
.wave-divider .line { height: 1px; width: 80px; background: linear-gradient(to right, transparent, var(--line-strong), transparent); }

/* Sections */
.section { margin-bottom: 56px; scroll-margin-top: 40px; }
.section-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; color: var(--code-green); font-weight: 500; margin-bottom: 8px; display: block; }

h2 { font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 24px; position: relative; }
h2::before { content: ''; position: absolute; left: -20px; top: 18px; width: 8px; height: 8px; background: var(--code-green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2); }
@media (max-width: 600px) { h2::before { display: none; } }

h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin: 36px 0 18px; }
h3 em { font-style: italic; color: var(--code-green-deep); }

p { margin-bottom: 20px; font-size: 17px; color: var(--ink-soft); }
p strong { color: var(--ink); font-weight: 600; }
p em { color: var(--code-green-deep); font-style: italic; }

code { font-family: var(--mono); font-size: 0.88em; padding: 2px 6px; background: var(--terminal-deep); color: var(--code-green-bright); border-radius: 4px; font-weight: 500; letter-spacing: 0.01em; }

/* Pull Quote */
.pullquote { margin: 48px 0; padding: 32px 36px; background: linear-gradient(135deg, rgba(168, 216, 240, 0.18), rgba(14, 165, 233, 0.06)); border-left: 3px solid var(--code-green); border-radius: 0 8px 8px 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; color: var(--ink); position: relative; }
.pullquote::before { content: '"'; position: absolute; top: 8px; left: 18px; font-size: 60px; color: var(--code-green); opacity: 0.3; font-family: var(--serif); line-height: 1; }

/* Visual Tripod Block — three-pillar framework */
.tripod {
  margin: 32px 0;
  padding: 36px 32px 32px;
  background: var(--bg-base);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.tripod::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--code-green-deep), var(--code-green), var(--code-cyan));
}

.tripod-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--code-green);
  font-weight: 600;
  margin-bottom: 6px;
}

.tripod-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.tripod-title em { font-style: italic; color: var(--code-green-deep); }

.tripod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tripod-leg {
  padding: 24px 22px;
  background: var(--bg-canvas);
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
}

.tripod-leg-icon {
  width: 36px;
  height: 36px;
  background: var(--terminal-deep);
  color: var(--code-green-bright);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
}

.tripod-leg-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.tripod-leg-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--code-green);
  font-weight: 600;
  margin-bottom: 12px;
}

.tripod-leg-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.tripod-leg-text strong { color: var(--ink); }

@media (max-width: 720px) { .tripod-grid { grid-template-columns: 1fr; } }

/* Coach Shoutout — for Euan Campbell / Mill Gym tribute */
.coach-shout {
  margin: 32px 0;
  padding: 32px 32px;
  background: linear-gradient(135deg, rgba(168, 216, 240, 0.16), rgba(14, 165, 233, 0.05));
  border-left: 4px solid var(--code-cyan);
  border-radius: 0 14px 14px 0;
}

.coach-shout-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--code-cyan);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coach-shout-label::before { content: '✦'; font-size: 14px; }

.coach-shout-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.coach-shout-where {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--code-green-deep);
  margin-bottom: 14px;
  font-weight: 500;
}

.coach-shout p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.coach-shout p:last-child { margin-bottom: 0; }

.coach-shout-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--code-green);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--code-green);
  padding-bottom: 2px;
}

.coach-shout-link:hover { color: var(--code-green-deep); border-color: var(--code-green-deep); }

/* Personal Anchor — for the 80/20 PT industry reflection */
.personal-anchor {
  margin: 40px 0;
  padding: 32px 32px;
  background: linear-gradient(135deg, rgba(168, 216, 240, 0.18), rgba(14, 165, 233, 0.06));
  border-left: 4px solid var(--code-green);
  border-radius: 0 14px 14px 0;
}

.personal-anchor-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--code-green);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.personal-anchor-label::before { content: '◆'; font-size: 14px; }

.personal-anchor p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.personal-anchor p:last-child { margin-bottom: 0; }

.personal-anchor strong { color: var(--ink); font-weight: 600; }
.personal-anchor em { color: var(--code-green-deep); font-style: italic; }

/* Tech hack block */
.tech-hack { margin: 32px 0; padding: 26px 30px; background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(168, 216, 240, 0.12)); border: 1px solid rgba(14, 165, 233, 0.25); border-radius: 12px; }
.tech-hack-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--code-green); font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.tech-hack-label::before { content: '⚙'; font-size: 14px; }
.tech-hack-title { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.tech-hack p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 12px; }
.tech-hack p:last-child { margin-bottom: 0; }
.tech-hack strong { color: var(--ink); font-weight: 600; }

/* Callout */
.callout { margin: 32px 0; padding: 24px 28px; background: var(--bg-base); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--code-green), var(--code-green-deep)); }
.callout-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--code-green); font-weight: 500; margin-bottom: 8px; }
.callout-trap::before { background: linear-gradient(to bottom, var(--code-amber), #8B4A1F); }
.callout-trap .callout-label { color: var(--code-amber); }

/* Pivot tag — for the SQ01 link back */
.pivot-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  background: rgba(91, 168, 199, 0.15);
  border: 1px solid rgba(91, 168, 199, 0.3);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--code-green-deep);
  font-style: italic;
}

.pivot-tag a { color: var(--code-green); text-decoration: none; font-weight: 600; }
.pivot-tag a:hover { text-decoration: underline; }

/* Systems Thinking dark callout */
.systems { margin: 48px 0; padding: 40px 36px; background: linear-gradient(135deg, var(--terminal-deep) 0%, var(--terminal-mid) 100%); border-radius: 16px; position: relative; overflow: hidden; box-shadow: 0 4px 12px rgba(15, 42, 29, 0.15), 0 20px 50px rgba(15, 42, 29, 0.18); }
.systems::before { content: ''; position: absolute; top: -50px; right: -50px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 70%); border-radius: 50%; }
.systems-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--code-green-bright); font-weight: 600; margin-bottom: 16px; position: relative; z-index: 1; }
.systems-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); font-weight: 500; color: #FFFFFF; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: 18px; position: relative; z-index: 1; }
.systems-title em { font-style: italic; color: var(--code-green-bright); }
.systems p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.88); margin-bottom: 14px; position: relative; z-index: 1; }
.systems p:last-child { margin-bottom: 0; }
.systems p strong { color: #FFFFFF; font-weight: 600; }

/* Verdict */
.verdict { margin: 64px 0 32px; padding: 48px 40px; background: linear-gradient(135deg, var(--bg-base) 0%, var(--bg-canvas) 100%); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.verdict::before { content: ''; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%); border-radius: 50%; }
.verdict-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--code-green); font-weight: 500; margin-bottom: 20px; }
.verdict-rating { font-size: 36px; margin-bottom: 16px; letter-spacing: 4px; }
.verdict-rating .star { color: var(--code-green); filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.3)); }
.verdict-score { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--code-green-deep); margin-bottom: 24px; }
.verdict-final { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--ink); max-width: 580px; margin: 0 auto 18px; }
.verdict-kicker { font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 500; color: var(--code-green); margin-top: 12px; }

.signoff { margin: 32px 0 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--code-green-deep); }
.signoff-name { display: block; margin-top: 6px; font-style: normal; font-weight: 500; font-size: 18px; color: var(--ink); letter-spacing: 0.04em; }

/* Synergy Notes */
.synergy { margin: 56px 0 32px; padding: 32px 30px; background: linear-gradient(135deg, var(--bg-base) 0%, rgba(14, 165, 233, 0.05) 100%); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.synergy-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--code-green); font-weight: 500; margin-bottom: 6px; }
.synergy-title { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 20px; letter-spacing: -0.01em; }
.synergy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.synergy-card { display: block; padding: 18px 20px; background: var(--bg-canvas); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.synergy-card:hover { transform: translateX(2px); border-color: rgba(14, 165, 233, 0.4); background: rgba(14, 165, 233, 0.05); }
.synergy-card.placeholder { opacity: 0.6; pointer-events: none; cursor: default; }
.synergy-card-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--code-green); font-weight: 500; margin-bottom: 4px; display: flex; justify-content: space-between; align-items: center; }
.synergy-card-status { color: var(--code-green-deep); opacity: 0.7; font-size: 9px; }
.synergy-card-name { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); line-height: 1.25; margin-bottom: 6px; }
.synergy-card-desc { font-size: 13px; line-height: 1.5; color: var(--ink-mute); }
.synergy-card-arrow { display: inline-block; margin-left: 4px; transition: transform 0.2s; color: var(--code-green); }
.synergy-card:hover .synergy-card-arrow { transform: translateX(3px); }

.up-next { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.up-next-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--code-green); font-weight: 500; margin-bottom: 12px; }
.up-next-title { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.up-next-desc { font-size: 15px; color: var(--code-green-deep); }

.intro p:first-of-type::first-letter { font-family: var(--serif); font-size: 64px; font-weight: 600; color: var(--code-green-deep); float: left; line-height: 0.85; margin: 6px 10px 0 0; padding-top: 4px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
article > * { animation: fadeUp 0.6s ease-out backwards; }
article > *:nth-child(1) { animation-delay: 0.05s; }
article > *:nth-child(2) { animation-delay: 0.12s; }
article > *:nth-child(3) { animation-delay: 0.19s; }
article > *:nth-child(4) { animation-delay: 0.26s; }

/* ── Side Dock ─────────────────────────── */
.side-dock { position: fixed; right: 1.25rem; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 0.4rem; background: rgba(4,6,14,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(26,127,168,0.22); border-radius: 18px; padding: 0.65rem 0.5rem; box-shadow: 0 8px 32px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04); }
.dock-item { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; text-decoration: none; color: rgba(139,160,180,0.65); transition: color 0.22s ease, background 0.22s ease, transform 0.28s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease; touch-action: manipulation; }
.dock-item::before { content: ''; position: absolute; inset: 0; border-radius: 12px; background: radial-gradient(ellipse at center, rgba(0,200,150,0.26) 0%, transparent 72%); opacity: 0; transition: opacity 0.25s ease; }
.dock-item:hover::before, .dock-item.active::before { opacity: 1; }
.dock-item:hover { color: #00c896; background: rgba(0,200,150,0.1); transform: scale(1.18); box-shadow: 0 0 22px rgba(0,200,150,0.48), 0 0 9px rgba(0,200,150,0.3), 0 4px 14px rgba(0,0,0,0.32); }
.dock-item.active { color: #00c896; background: rgba(0,200,150,0.08); box-shadow: 0 0 12px rgba(0,200,150,0.22); }
.dock-item.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: #00c896; box-shadow: 0 0 7px rgba(0,200,150,0.9); }
.dock-icon { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.dock-label { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(8px); background: rgba(4,6,14,0.94); backdrop-filter: blur(12px); color: #dde6f4; font-family: 'Inter', system-ui, sans-serif; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.26rem 0.62rem; border-radius: 6px; border: 1px solid rgba(26,127,168,0.28); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.18s ease, transform 0.18s ease; }
.dock-item:hover .dock-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 768px) {
  .side-dock { right: 0.55rem; padding: 0.5rem 0.35rem; gap: 0.3rem; border-radius: 14px; }
  .dock-item { width: 36px; height: 36px; border-radius: 10px; }
  .dock-item:hover { transform: scale(1.1); }
  .dock-icon { width: 17px; height: 17px; }
  .dock-label { display: none; }
  .dock-item.active::after { width: 3px; height: 3px; bottom: 2px; }
}
@media (max-width: 768px) { body { background-attachment: scroll; } }

@media (prefers-reduced-motion: reduce) {
  article > * { animation: none; }
  .dock-item { transition: none; }
}
@media (hover: none) and (pointer: coarse) {
  .dock-item:hover { transform: none; box-shadow: none; background: none; }
  .dock-item:hover::before { opacity: 0; }
}

#canopy-glass {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100vw - 40px), 1160px);
  height: 100%;
  background: linear-gradient(90deg, rgba(10,4,8,0) 0%, rgba(196,30,58,.045) 20%, rgba(212,175,55,.09) 50%, rgba(196,30,58,.045) 80%, rgba(10,4,8,0) 100%);
  border-left: 1px solid rgba(212,175,55,.07);
  border-right: 1px solid rgba(212,175,55,.07);
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) { #canopy-glass { display: none; } }
/* ── Footer ── */
footer {
  background: #090308;
  border-top: 1px solid #1a0a10;
  padding: 2.5rem 3rem 2rem;
  text-align: center;
}
.footer-logo-img { width: 44px; height: auto; margin: 0 auto 0.6rem; display: block; opacity: 0.8; filter: drop-shadow(0 0 6px rgba(212,175,55,0.2)); }
.footer-logo { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 700; color: #dde6f4; margin-bottom: 0.4rem; }
.footer-logo span { color: #D4AF37; }
.footer-tagline { font-size: 0.78rem; color: #7a6570; font-style: italic; margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a { color: #7a6570; text-decoration: none; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s ease; }
.footer-links a:hover { color: #D4AF37; }
.footer-coffee-link { color: #f4b400 !important; }
.footer-coffee-link:hover { color: #D4AF37 !important; }
.footer-bottom { font-size: 0.7rem; color: #7a6570; border-top: 1px solid #1a0a10; padding-top: 1.2rem; }
.copyright-disclaimer { font-size: 0.68rem; color: #7a6570; font-style: italic; margin: 1rem auto 1.5rem; max-width: 560px; line-height: 1.6; }
@media (max-width: 768px) {
  article { padding: 40px 20px 80px; }
  footer { padding: 2.5rem 1.25rem 2rem; padding-right: 70px; }
}

/* Extracted from inline style= attributes */
.xs-785a304d { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }
.xs-e2b74ba6 { margin: 0; }
.xs-6b587f55 { color: var(--code-green); text-decoration: underline; }
.xs-ae3272e0 { text-decoration:none;color:inherit;display:block; }
.xs-cb458930 { display:none }
