/* ==========================================================================
   ADDR Process — site styles (LaunchAny design system, "Expedition" direction)
   Plain CSS: no build step beyond Jekyll. Tokens mirror the LaunchAny
   design system (red ramp, warm neutrals, Exo 2, golden-ratio type scale).
   ========================================================================== */

:root {
  --red-950: #180000; --red-900: #430000; --red-800: #6b0000; --red-700: #800000;
  --red-600: #a0000e; --red-500: #dc2e2a; --red-400: #ff5e5a; --red-100: #ffd9d7; --red-50: #fdeeed;
  --neutral-900: #1c1518; --neutral-700: #4b434c; --neutral-500: #766567; --neutral-400: #9a878a;
  --neutral-300: #c9abad; --neutral-200: #e2d2d3; --neutral-100: #efe6e6; --neutral-50: #f8f3f3;
  --white: #ffffff;

  --text-strong: var(--neutral-900);
  --text-body: var(--neutral-700);
  --text-muted: var(--neutral-500);
  --text-brand: var(--red-600);
  --link: var(--red-500);
  --link-hover: var(--red-600);
  --border: var(--neutral-200);
  --border-strong: var(--neutral-300);

  --gradient-brand: linear-gradient(120deg, #6b0000 0%, #a0000e 42%, #dc2e2a 100%);
  --blob: 42% 58% 56% 44% / 48% 44% 56% 52%;
  --shadow-card: 0 6px 20px rgba(24, 0, 0, 0.07);
  --shadow-brand: 0 8px 24px rgba(220, 46, 42, 0.28);

  --font: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--text-body);
  font-family: var(--font); font-weight: 300; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; transition: color 160ms var(--ease); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid rgba(220, 46, 42, 0.45); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--text-strong); font-weight: 600; line-height: 1.15; }
strong, b { font-weight: 600; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--text-strong); padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-card); }
.skip-link:focus { top: 12px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 12px; border: 1.5px solid transparent;
  font: 500 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red-500); color: var(--white); box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--red-600); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--text-strong); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--red-50); color: var(--text-strong); }
.btn--light { background: var(--white); color: var(--red-600); font-weight: 600; }
.btn--light:hover { background: var(--red-50); color: var(--red-700); }
.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 20px; border-radius: 10px; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 238, 237, 0.92); border-bottom: 1.5px solid var(--border);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-strong); }
.brand:hover { color: var(--text-strong); }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 600; font-size: 20px; letter-spacing: 0.02em; }
.brand__by { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a:not(.btn) { color: var(--text-body); text-decoration: none; font-weight: 400; padding-block: 8px; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--text-strong); }
.site-nav a[aria-current="page"] { color: var(--text-strong); border-bottom-color: var(--red-500); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--border-strong);
  background: var(--white); color: var(--text-strong); cursor: pointer; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--red-50); border-bottom: 1.5px solid var(--border); padding: 12px var(--gutter) 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--border); color: var(--red-600); }
}

/* ---- Shared section pieces ---------------------------------------------- */
.section { padding-block: 104px; }
.section--subtle { background: var(--neutral-50); }
.section--blush { background: var(--red-50); }
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-brand); }
.section-title { margin: 0; font-size: clamp(32px, 4vw, 42px); letter-spacing: -0.01em; }
.section-lead { margin: 0; font-size: 19px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.text-link { font-weight: 500; text-decoration: none; }
.blob { border-radius: var(--blob); background: var(--red-50); display: flex; align-items: center; justify-content: center; }
@media (max-width: 640px) { .section { padding-block: 72px; } }

/* ---- Home: hero ---------------------------------------------------------- */
.hero { background: var(--neutral-50); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 96px 80px; }
.hero__copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.hero__title { margin: 0; font-size: clamp(44px, 6vw, 68px); line-height: 1.05; letter-spacing: -0.02em; }
.hero__lead { margin: 0; font-size: 21px; line-height: 1.55; max-width: 34em; }
.hero__art { flex: 1 1 380px; display: flex; justify-content: center; }
.hero__art img { width: 100%; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* ---- Home: route --------------------------------------------------------- */
.route__intro .route__figure { margin: 0; display: flex; justify-content: center; flex: 1 1 360px; }
.route__figure img { width: 100%; max-width: 500px; }
.trail { position: relative; margin-top: 64px; }
.trail::before { content: ""; position: absolute; left: 6%; right: 6%; top: 56px; border-top: 2px dashed var(--red-500); }
.trail__stops { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.stop { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.stop__icon { width: 112px; height: 112px; }
.stop__icon img { width: 80px; height: 80px; object-fit: contain; }
.stop__label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-brand); text-transform: uppercase; }
.stop h3 { margin: 0; font-size: 24px; }
.stop p { margin: 0; }
@media (max-width: 1000px) { .trail::before { display: none; } }
.route__more { display: inline-block; margin-top: 48px; }

/* ---- Home: why now ------------------------------------------------------- */
.why { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.why__head { flex: 1 1 380px; display: flex; flex-direction: column; gap: 24px; }
.why__head img { width: 100%; max-width: 340px; }
.why__body { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; font-size: 18px; }
.why__body p { margin: 0; }
.pullquote { margin: 16px 0 0; padding: 28px 0 0; border-top: 2px solid var(--red-500); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; font-style: italic; color: var(--text-strong); }

/* ---- Home: playbooks ----------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head .stack { max-width: 700px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.card {
  display: flex; flex-direction: column; gap: 16px; padding: 32px;
  background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-card);
  text-decoration: none; color: var(--text-body);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}
a.card:hover { color: var(--text-body); transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 14px 34px rgba(24, 0, 0, 0.1); }
.card__icon { width: 96px; height: 96px; object-fit: contain; }
.card__label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--text-brand); text-transform: uppercase; }
.card h3 { margin: 0; font-size: 24px; }
.card p { margin: 0; }
.card__more { margin-top: auto; color: var(--link); font-weight: 500; }

/* ---- Home: CTA banner ---------------------------------------------------- */
.cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 56px; border-radius: 24px;
  background: var(--gradient-brand); color: var(--white);
}
.cta-banner__copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 16px; }
.cta-banner .eyebrow { color: var(--red-100); }
.cta-banner h2 { margin: 0; color: var(--white); font-size: clamp(30px, 3.4vw, 40px); }
.cta-banner p { margin: 0; font-size: 19px; }
@media (max-width: 640px) { .cta-banner { padding: 36px 24px; } }

/* ---- Interior pages ------------------------------------------------------ */
.page-hero { background: var(--neutral-50); border-bottom: 1.5px solid var(--border); }
.page-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-block: 72px 64px; }
.page-hero__copy { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.page-hero h1 { margin: 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.page-hero__excerpt { margin: 0; font-size: 20px; max-width: 40em; }
.page-hero__art { flex: 0 1 240px; display: flex; justify-content: flex-end; }
.page-hero__art img { width: 100%; max-width: 240px; }
@media (max-width: 700px) { .page-hero__art { display: none; } }
.breadcrumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--neutral-300); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); }

.page-body { padding-block: 64px 104px; }
.prose { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: 40px; margin: 1.6em 0 0.6em; }
.prose h2 { font-size: 32px; margin: 1.8em 0 0.6em; letter-spacing: -0.01em; }
.prose h3 { font-size: 24px; margin: 1.6em 0 0.5em; }
.prose h4 { font-size: 19px; margin: 1.4em 0 0.4em; }
.prose h2 a, .prose h3 a { color: inherit; text-decoration: none; }
.prose h2 a:hover, .prose h3 a:hover { color: var(--link); }
.prose p, .prose ul, .prose ol, .prose table, .prose pre, .prose blockquote, .prose figure { margin: 0 0 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--red-500); }
.prose hr { border: 0; border-top: 1.5px solid var(--border); margin: 3em 0; }
.prose img { display: block; margin: 1.5em auto; border-radius: 8px; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: 10px; text-align: center; font-size: 15px; color: var(--text-muted); }
.prose blockquote { padding: 4px 0 4px 24px; border-left: 3px solid var(--red-500); color: var(--text-strong); font-style: italic; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--neutral-100); color: var(--red-700); padding: 0.12em 0.4em; border-radius: 6px; }
.prose pre { background: #1f1416; color: #f3e7e8; padding: 20px 24px; border-radius: 12px; overflow-x: auto; font-size: 15px; line-height: 1.55; }
.prose pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.prose .highlight .c, .prose .highlight .c1, .prose .highlight .cm { color: #a89597; font-style: italic; }
.prose .highlight .s, .prose .highlight .s1, .prose .highlight .s2, .prose .highlight .sx { color: #ffb0ad; }
.prose .highlight .k, .prose .highlight .kd, .prose .highlight .kt, .prose .highlight .nt { color: #ff8783; }
.prose .highlight .mi, .prose .highlight .mf, .prose .highlight .kc { color: #f0c27b; }
.prose .highlight .na, .prose .highlight .nl, .prose .highlight .py { color: #e7d7d8; font-weight: 500; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--neutral-50); color: var(--text-strong); font-weight: 600; border-bottom: 1.5px solid var(--border-strong); }
.prose .callout, .prose .notice, .prose [class*="notice--"] { margin: 1.5em 0; padding: 20px 24px; border-radius: 12px; background: var(--neutral-50); border: 1.5px solid var(--border); }
.prose .callout--warning, .prose .notice--warning, .prose .notice--danger { background: var(--red-50); border-color: var(--red-100); }
.prose .callout > :last-child, .prose .notice > :last-child { margin-bottom: 0; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { border-top: 1.5px solid var(--border); background: var(--neutral-50); font-size: 15px; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 32px; padding-block: 48px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand img { width: 32px; height: 32px; object-fit: contain; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--text-body); }
.site-footer a:hover { color: var(--link); }

/* ---- Workshop landing ------------------------------------------------------ */
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-card); color: var(--text-strong); font-weight: 400; }
.checklist svg { flex: none; color: var(--white); background: var(--red-500); border-radius: 999px; padding: 4px; width: 28px; height: 28px; }
.checklist--plain li { padding: 0; background: none; border: 0; box-shadow: none; font-weight: 300; color: var(--text-body); }
.checklist--plain svg { background: var(--red-50); color: var(--red-600); }
.note { padding: 18px 20px; border-radius: 12px; background: var(--neutral-50); font-size: 16px; }
.units { display: flex; flex-direction: column; gap: 12px; }
.unit { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.unit[open] { box-shadow: var(--shadow-card); border-color: var(--border-strong); }
.unit summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 22px 24px; cursor: pointer; list-style: none; min-height: 44px; }
.unit summary::-webkit-details-marker { display: none; }
.unit__num { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-brand); min-width: 64px; }
.unit__title { flex: 1 1 320px; font-size: 21px; font-weight: 600; color: var(--text-strong); }
.unit__phase { font-size: 13px; font-weight: 500; color: var(--text-muted); background: var(--neutral-100); padding: 4px 12px; border-radius: 999px; }
.unit__chevron { color: var(--text-muted); transition: transform 200ms var(--ease); }
.unit[open] .unit__chevron { transform: rotate(180deg); }
.unit__topics { margin: 0; padding: 4px 24px 24px; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 10px 32px; }
.unit__topics li { display: flex; gap: 12px; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--neutral-100); }
.tag { flex: none; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--neutral-100); color: var(--neutral-700); min-width: 92px; text-align: center; }
.tag--exercise { background: var(--red-500); color: var(--white); }
.tag--lecture { background: var(--red-50); color: var(--red-600); }
.format { gap: 12px; }
.format__audience { font-weight: 500; color: var(--text-strong) !important; }
.format__list { margin: 4px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.format__list li::marker { color: var(--red-500); }
.trek-divider { display: flex; justify-content: center; padding-block: 64px 32px; }
.trek-divider img { width: 100%; max-width: 640px; opacity: 0.9; }
.cta-banner a:not(.btn) { color: var(--white); text-decoration: underline; }
.cta-banner a:not(.btn):hover { color: var(--red-100); }
.format__cta { margin-top: auto; align-self: flex-start; }
.format .format__list { margin-bottom: 8px; }
.prose .playbook-link { display: inline-block; font-weight: 500; text-decoration: none; margin-top: -0.2em; }
.prose .playbook-link:hover { text-decoration: underline; }
.prose h2 a { color: inherit; }
