/* ============================================================
   AI with Adele — landing page
   Implemented from Figma (node 11:4692)
   ============================================================ */

/* ---------- Fonts (local) ---------- */
@font-face {
  font-family: "Original Burger"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/OriginalBurger.otf") format("opentype");
}
@font-face {
  font-family: "Pretendard"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/Pretendard/Pretendard-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Pretendard"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/Pretendard/Pretendard-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Pretendard"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/Pretendard/Pretendard-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Pretendard"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/Pretendard/Pretendard-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Pretendard"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("fonts/Pretendard/Pretendard-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Neue Montreal"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/Neue Montreal/NeueMontreal-Regular.otf") format("opentype");
}
@font-face {
  font-family: "Neue Montreal"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/Neue Montreal/NeueMontreal-Medium.otf") format("opentype");
}

:root {
  --cream: #fffdf6;   /* page background */
  --tan:   #f5eee2;   /* alternate section background */
  --blue:  #3964ff;   /* brand blue */
  --yellow:#ffe396;   /* highlight / YouTube */
  --ink:   #000000;
  --line:  #000000;   /* divider / hairline colour — black across the site */

  --font-display: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Neue Montreal", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1440px;
  --pad: 40px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 24px;
  border-radius: 50px;
  border: 1px solid var(--ink);     /* every button gets a black outline */
  font-family: var(--font-display);
  font-weight: 600;                 /* consistent, not super-bold */
  font-size: 14px;
  letter-spacing: .6px;
  text-transform: uppercase;        /* all CTAs in caps */
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .dot {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.btn .dot--blue { background: var(--blue); }

.btn--blue {
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--ink);
}
.btn--blue:hover { box-shadow: 0 6px 18px rgba(57, 100, 255, .35); }
.btn--blue .dot { background: #fff; }
.nav-cta .dot { background: var(--yellow); }

.btn--outline {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
}
.wordmark img {
  height: 30px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.site-nav > a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.site-nav > a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
/* friendly rounded hamburger — three bars with fully-rounded (pill) caps */
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .2s ease, background .2s ease;
}
.nav-toggle[aria-expanded="true"] span { background: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 692;   /* match the Figma hero frame */
  overflow: hidden;
  background: #d9d4cc;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 66%;   /* framed higher on the staircase, less balcony above */
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .18);
  mix-blend-mode: soft-light;
}
.hero__content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 9.5vw, 137px);
  line-height: 0.95;
  letter-spacing: -3px;
  color: var(--ink);
  text-align: right;
}

/* ============================================================
   SUB-HERO
   ============================================================ */
.subhero {
  background: var(--cream);
}
.subhero__inner {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 100px;
}
.subhero__title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 75px);
  line-height: 1.0;
  letter-spacing: -2px;
}
/* forced 2-line wrap on desktop; mobile wraps naturally */
.br-desktop { display: none; }
@media (min-width: 901px) { .br-desktop { display: inline; } }

/* ---------- AI "selection" chips ---------- */
.chip {
  --bg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--bg);
  border: 1px solid var(--yellow);
}
.chip--black { --bg: #000; }
.chip--img   { --bg: #fff; }
.chip--claude{ --bg: #f0eee5; }
.chip--yellow{ --bg: var(--yellow); }

.chip__icon { width: 28px; height: 28px; object-fit: contain; }
.chip__icon--fill { width: 100%; height: 100%; object-fit: cover; }

.chip .cnr {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--yellow);
}
.chip .c1 { top: -4px;  left: -4px; }
.chip .c2 { top: -4px;  right: -4px; }
.chip .c3 { bottom: -4px; left: -4px; }
.chip .c4 { bottom: -4px; right: -4px; }

.chip--pos {
  position: absolute;
  top: var(--top);
  left: var(--left);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  padding-block: 10px;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
}
.marquee__track .star { color: #fff; font-size: 18px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.skills__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 96px);
}
.skills__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 60px);   /* match .guides__title */
  line-height: 1.0;
  letter-spacing: -2px;
}
/* "skills" marker (matches Figma): pale 40% fill, full-height solid bar on
   the left with a ball at the top, mirrored bar on the right with a ball at
   the bottom. Sizes are in em so they track the heading font size. */
.skills__title mark.hl {
  position: relative;
  background: rgba(255, 227, 150, 0.4);
  color: inherit;
  padding: 0 .2em;
  isolation: isolate;
  white-space: nowrap;
}
.hl-pin {
  position: absolute;
  top: 0; bottom: 0;          /* full height of the highlight */
  width: .12em;
  background: var(--yellow);  /* solid nib bar */
}
.hl-pin::before {             /* round marker head */
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: .38em;
  height: .38em;
  border-radius: 50%;
  background: var(--yellow);
}
.hl-pin--tl { left: -.03em; }
.hl-pin--tl::before { top: -.09em; }        /* ball peeks above, top-left */
.hl-pin--br { right: -.03em; }
.hl-pin--br::before { bottom: -.09em; }     /* ball peeks below, bottom-right */
.skills__desc {
  margin: 0 0 30px;
  max-width: 535px;
  font-size: 22px;   /* Adele: section description size */
  line-height: 1.15;
}
.skills__cta { margin-top: 4px; }

.skills__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.photo-stack {
  position: relative;
  width: min(400px, 80%);
  aspect-ratio: 397 / 530;
}
.photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  border: 1px solid var(--ink);
  border-radius: 30px;
}
.photo--back  { transform: rotate(-5.5deg); }
.photo--front { transform: rotate(2.2deg); }

.chip--float {
  position: absolute;
  top: -6%;
  left: -8%;
  z-index: 3;
}

/* ============================================================
   FREE GUIDES
   ============================================================ */
.guides {
  background: var(--tan);
}
.guides .container { padding-block: clamp(48px, 7vw, 86px); }
.guides__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.guides__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 60px);
  line-height: 1;
  letter-spacing: -2px;
}
.guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 17px;
  padding: 30px 28px;
  min-height: 383px;
}
.card__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  line-height: 1.0;
  letter-spacing: -1px;
}
.card__desc {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.44;
}
.card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social { background: var(--cream); }
.social__title {
  margin: 0;
  padding-top: clamp(40px, 6vw, 64px);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 60px);
  line-height: 1;
  letter-spacing: -2px;
}
.social__title + .social__inner { padding-top: clamp(24px, 3vw, 36px); }
.social__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-block: clamp(40px, 6vw, 64px);
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 96px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 22px);
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.social-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.social-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  flex: none;
}
.social-pill--cream  { background: var(--tan); color: var(--ink); }
.social-pill--cream  .social-ic { background: #fff; color: var(--ink); }
.social-pill--yellow { background: var(--yellow); color: var(--ink); }
.social-pill--yellow .social-ic { background: #fff; color: #ff0000; }
.social-pill--blue   { background: var(--blue); color: #fff; }
.social-pill--blue   .social-ic { background: #fff; color: var(--ink); }

/* ============================================================
   VIDEO STRIP
   ============================================================ */
.videos { background: var(--tan); }
.videos .container { padding-block: clamp(44px, 6vw, 70px); }
.videos__strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1vw, 13px);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.vthumb {
  display: block;
  aspect-ratio: 264 / 354;
  border-radius: 6px;
  overflow: hidden;
  background: #ccc;
}
.vthumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.vthumb:hover img { transform: scale(1.04); }
.videos__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 60px);   /* section-heading level */
  line-height: 1.0;
  letter-spacing: -2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--tan);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(20px, 3vw, 36px) 0 22px;
}
.footer__wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: lowercase;
  color: var(--blue);
  font-size: clamp(3.5rem, 19.6vw, 283px);
  line-height: 0.9;
  letter-spacing: clamp(-6px, -1.4vw, -20px);
  white-space: nowrap;
}
.footer__copy {
  margin: 14px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .5);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root { --pad: 22px; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px var(--pad) 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 10px 0; font-size: 16px; }
  .nav-cta { margin-top: 8px; }

  .skills__inner { grid-template-columns: 1fr; }
  .skills__media { order: -1; }
  /* Mobile: single full-width upright image, no stacked/rotated cards */
  .photo-stack { width: 100%; margin-inline: auto; aspect-ratio: 4 / 3; }
  .photo--back { display: none; }
  .photo--front { transform: none; }

  .guides__grid { grid-template-columns: 1fr; }
  .guides__head { flex-direction: column; align-items: flex-start; }

  .social__inner { grid-template-columns: 1fr; }
  .social-pill { height: 78px; }

  .videos__strip {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 46%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .vthumb { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  .hero { height: 62vh; }
  .hero__content { justify-content: center; align-items: flex-end; padding-bottom: 34px; }
  .hero__title { text-align: center; }
}

/* ============================================================
   SUB-PAGES: Skills & Playbooks (listing) + article
   ============================================================ */

/* ---------- shared bits ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}
.card__badge {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 50px;
  background: #e9edff;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* ---------- page intro ---------- */
.page-intro { background: var(--cream); border-bottom: 1px solid var(--line); }
.page-intro .container { padding-block: clamp(48px, 7vw, 96px); }
.page-intro__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 76px);   /* page hero level (matches .guide-hero__title) */
  line-height: 0.98;
  letter-spacing: -2px;
}
.page-intro__lead {
  margin: 0 0 34px;
  max-width: 620px;
  font-size: clamp(1.05rem, 1.7vw, 22px);
  line-height: 1.4;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.filter:hover { transform: translateY(-1px); }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- catalog grid ---------- */
.catalog-section { background: var(--cream); }
.catalog-section .container { padding-block: clamp(40px, 6vw, 72px); }
.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.card--link {
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.card--link:hover,
.card--link:active,
.card--link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(57, 100, 255, .28);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.card--link:hover .card__badge,
.card--link:active .card__badge,
.card--link:focus-visible .card__badge { background: rgba(255, 255, 255, .22); color: #fff; }
.card--link:hover .card__more,
.card--link:active .card__more,
.card--link:focus-visible .card__more { color: #fff; }

/* hidden cards must actually hide (overrides .card's display:flex) */
.card[hidden] { display: none !important; }
.card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}
.card--link:hover .card__more span,
.card--link:active .card__more span,
.card--link:focus-visible .card__more span { transform: translateX(3px); }
.card__more span { transition: transform .15s ease; }
.catalog-empty {
  text-align: center;
  padding: 40px 0;
  font-size: 18px;
  color: rgba(0,0,0,.55);
}

/* ---------- article ---------- */
.article { background: var(--cream); }
.article__wrap { max-width: 820px; padding-block: clamp(32px, 5vw, 64px); }
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
}
.backlink:hover { text-decoration: underline; }
.article__head { margin-bottom: 32px; }
.article__title {
  margin: 6px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 52px);
  line-height: 1.02;   /* .article__title — in-body guide H1, kept distinct */
  letter-spacing: -1.5px;
}
.article__meta { margin: 0; font-size: 15px; color: rgba(0,0,0,.55); }
.article__media {
  margin-bottom: 40px;
  border: 1px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.article__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- prose ---------- */
.prose { font-size: 18px; line-height: 1.7; }
.prose__lead { font-size: 22px; line-height: 1.5; font-weight: 500; }
.prose h2 {
  margin: 40px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 30px);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.prose p { margin: 0 0 20px; }
.steps { margin: 0 0 24px; padding-left: 24px; }
.steps li { margin-bottom: 14px; padding-left: 6px; }
.callout {
  margin: 28px 0;
  padding: 22px 26px;
  background: rgba(255, 227, 150, 0.35);
  border-left: 5px solid var(--yellow);
  border-radius: 12px;
}
.callout p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  margin-top: 56px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--tan);
  border-radius: 24px;
  text-align: center;
}
.cta-band__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 40px);
  letter-spacing: -1px;
}
.cta-band__text { margin: 0 0 24px; font-size: 18px; }
.cta-band .btn { margin-inline: auto; }

/* ---------- related ---------- */
.related { background: var(--tan); }
.related .container { padding-block: clamp(48px, 7vw, 86px); }
.related__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 60px);   /* section-heading level (matches guides/social) */
  letter-spacing: -2px;
}

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

/* ============================================================
   SUB-PAGES: About + Contact
   ============================================================ */

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 90px);
}
.about__media {
  border: 1px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__body h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 44px);
  letter-spacing: -1px;
}

/* ---------- Stat band ---------- */
.stat-band { background: var(--blue); color: #fff; }
.stat-band__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-block: clamp(40px, 5vw, 64px);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 64px);
  line-height: 1;
  letter-spacing: -2px;
}
.stat__label { font-size: clamp(0.95rem, 1.4vw, 18px); opacity: .9; }

/* ---------- generic CTA section wrapper ---------- */
.cta-section { background: var(--cream); }
.cta-section .container { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(40px, 6vw, 80px);
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(57, 100, 255, .18);
}
.form .btn { align-self: flex-start; margin-top: 4px; }
.hidden-field { position: absolute; left: -9999px; }

.contact-block { margin-bottom: 36px; }
.contact-block__label {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-block__link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 30px);
  letter-spacing: -0.5px;
}
.contact-block__link:hover { color: var(--blue); }
.contact-block__note { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: rgba(0,0,0,.6); }
.contact-socials { display: flex; flex-direction: column; gap: 12px; }
.contact-socials .social-pill { height: 64px; font-size: clamp(1rem, 1.6vw, 20px); }
.contact-socials .social-ic { width: 38px; height: 38px; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .stat-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SKILLS & PLAYBOOKS — filters, search, sort, copy-prompt, flags
   ============================================================ */
.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 52px);
}
.control-row { display: flex; align-items: flex-start; gap: 12px; }
.control-label {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .45);
  min-width: 62px;
  padding-top: 11px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 auto; }
/* AI-tool pills: icon in a circle on the left, text on the right (same height as .filter) */
.tool-filter {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 18px 5px 6px;
  border-radius: 50px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease, border-color .15s ease;
}
.tool-filter--text { padding: 10px 22px; }   /* "All tools" has no icon */
.tool-filter:hover { transform: translateY(-1px); }
.tool-filter.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tool-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex: none;
}
.tool-ic img { width: 20px; height: 20px; object-fit: contain; display: block; }

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.search-wrap { position: relative; flex: 1; min-width: 240px; max-width: 440px; }
.search-ic {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: rgba(0, 0, 0, .4); pointer-events: none;
}
.search {
  width: 100%; height: 48px;
  padding: 0 18px 0 44px;
  border: 1px solid var(--ink);
  border-radius: 50px;
  background: #fff;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
}
.search:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(57,100,255,.18); }
.toolbar-right { display: flex; align-items: center; gap: 18px; }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.sort {
  height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}
.count { font-size: 14px; color: rgba(0, 0, 0, .55); white-space: nowrap; }

/* card restructure */
.card--link { position: relative; }
.card__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.card__badges .card__badge { margin-bottom: 0; }
.card__flag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 50px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-size: 12px; letter-spacing: .4px; text-transform: uppercase;
}
.card--link:hover .card__flag,
.card--link:active .card__flag,
.card--link:focus-visible .card__flag { background: #fff; color: var(--blue); }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }  /* stretched link */
.card__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px;
}
.card__copy {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 50px;
  background: transparent; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.card__copy:hover { background: var(--ink); color: #fff; }
.card--link:hover .card__copy { border-color: rgba(255, 255, 255, .55); color: #fff; }
.card--link:hover .card__copy:hover { background: #fff; color: var(--blue); border-color: #fff; }
.card__copy.is-copied { background: var(--blue); color: #fff; border-color: var(--blue); }
.card--link:hover .card__copy.is-copied { background: #fff; color: var(--blue); border-color: #fff; }

@media (max-width: 620px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: none; }
  .toolbar-right { justify-content: space-between; }
}

/* ============================================================
   GUIDE / PLAYBOOK PAGE — blue hero, breadcrumbs, callouts, copy blocks
   ============================================================ */
.guide-hero { background: var(--blue); color: #fff; }
.guide-hero .container {
  max-width: 900px;
  text-align: center;
  padding-block: clamp(44px, 7vw, 90px);
}
.breadcrumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.breadcrumbs a { color: rgba(255, 255, 255, .8); }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs .sep { color: rgba(255, 255, 255, .45); }
.breadcrumbs [aria-current] { color: #fff; }
.guide-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.6vw, 76px);   /* page hero level (matches .page-intro__title) */
  line-height: 1.0;
  letter-spacing: -2px;
}
.guide-hero__sub {
  max-width: 660px;
  margin: 0 auto 26px;
  font-size: clamp(1.05rem, 1.9vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
}
.guide-hero__meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* ---------- guide author byline ---------- */
.guide-hero__byline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}
.byline__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid rgba(255, 255, 255, .6);
}
.byline__meta { display: flex; flex-direction: column; align-items: flex-start; text-align: left; line-height: 1.3; }
.byline__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; }
.byline__links { font-size: 13px; }
.byline__links a { color: rgba(255, 255, 255, .82); text-decoration: underline; }
.byline__links a:hover { color: #fff; }
.byline__dot { color: rgba(255, 255, 255, .5); margin: 0 6px; }
.byline__pdf {
  margin-left: 6px;
  padding: 9px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.byline__pdf:hover { background: #fff; color: var(--blue); }

/* subtle "save as PDF" placed by the skill block */
.guide-pdf-row { display: flex; justify-content: center; margin: 26px 0 8px; }
.guide-pdf-btn {
  padding: 11px 20px;
  border-radius: 50px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.guide-pdf-btn:hover { background: var(--ink); color: #fff; }

/* ---------- credibility stat hook ---------- */
.stat-hook {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
  padding: 22px 26px;
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 16px;
}
.stat-hook__num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 54px);
  line-height: 1;
  letter-spacing: -2px;
}
.stat-hook__text { font-size: 17px; line-height: 1.45; }
.stat-hook__text a { color: var(--ink); text-decoration: underline; }

/* ---------- two install paths ---------- */
.install-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0;
}
.install-path {
  display: flex;
  gap: 14px;
  padding: 20px 22px;
  background: var(--tan);
  border: 1px solid var(--ink);
  border-radius: 16px;
}
.install-path__num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.install-path__text strong { display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 4px; }
.install-path__text p { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(0, 0, 0, .7); }

/* ---------- boundaries / "where the line is" ---------- */
.boundaries {
  margin: 8px 0 0;
  padding: 22px 26px;
  background: rgba(57, 100, 255, .06);
  border: 1px solid var(--ink);
  border-radius: 16px;
}
.boundaries ul { margin: 0; padding-left: 20px; }
.boundaries li { margin-bottom: 12px; font-size: 16px; line-height: 1.5; }
.boundaries li:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .install-paths { grid-template-columns: 1fr; }
  .stat-hook { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ---------- print / Save as PDF: content only ---------- */
@media print {
  .site-header, .site-footer, .related, .byline__pdf, .guide-pdf-row, .nav-toggle { display: none !important; }
  body { background: #fff !important; }
  .guide-hero { background: #fff !important; padding: 0 0 12px !important; }
  .guide-hero__title, .guide-hero__sub, .breadcrumbs, .breadcrumbs a,
  .byline__name, .byline__links a, .stat-hook__text a, a { color: #000 !important; }
  .hero-badge { background: #eee !important; color: #000 !important; }
  .stat-hook { background: #fff !important; }
  .copyblock, .install-path, .stat-hook, .boundaries, .callout, .steps li { break-inside: avoid; }
}

/* callout title + warning variant */
.callout__title {
  margin: 0 0 6px !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
}
.callout--warn {
  background: rgba(57, 100, 255, .08);
  border-left-color: var(--blue);
}

/* copy / skill blocks */
.copyblock {
  margin: 30px 0;
  border: 1px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.copyblock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 12px 18px;
  background: var(--tan);
  border-bottom: 1px solid var(--line);
}
.copyblock__label { font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.copyblock__type {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(0, 0, 0, .14);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  vertical-align: middle;
}
.copyblock__type--skill { background: var(--blue); color: #fff; }
.copyblock__actions { display: flex; gap: 8px; }
.copyblock__copy,
.copyblock__dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  border-radius: 50px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.copyblock__copy:hover,
.copyblock__dl:hover { background: var(--ink); color: #fff; }
.copyblock__copy.is-done,
.copyblock__dl.is-done { background: var(--blue); color: #fff; border-color: var(--blue); }
.copyblock--skill .copyblock__bar { background: #eef1ff; }
.copyblock__body {
  margin: 0;
  padding: 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 360px;
  overflow: auto;
  color: #1a1a1a;
}

/* keep article links branded */
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { text-decoration: none; }

/* ---------- Instagram feed slot (Behold embed-ready) ---------- */
.ig-embed { min-height: 180px; }
.ig-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 20px;
  border: 2px dashed rgba(0, 0, 0, 0.18);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.02);
}
.ig-placeholder__text {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 22px);
  color: rgba(0, 0, 0, 0.55);
}

/* Homepage guide cards: larger headline + clickable arrow CTA */
#guides .card__title,
#catalog .card__title,
.related .card__title { font-size: clamp(32px, 2.9vw, 38px); line-height: 1.05; }
#guides .card__desc,
#catalog .card__desc,
.related .card__desc { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.35; }

/* equal-height cards across all rows */
.guides__grid,
.catalog { grid-auto-rows: 1fr; }

/* blue hero variant for the page intro (catalog page) */
.page-intro--blue { background: var(--blue); border-bottom: 0; color: #fff; }
.page-intro--blue .eyebrow { color: rgba(255, 255, 255, .85); }
.page-intro--blue .page-intro__title { color: #fff; }
.page-intro--blue .page-intro__lead { color: rgba(255, 255, 255, .92); }

/* dark icon circle (Grok's white mark needs a dark background) */
.tool-ic--dark { background: #000; border-color: #000; }
a.card__more { text-decoration: none; }
a.card__more:hover span { transform: translateX(3px); }

/* ---------- black section dividers (single line, top-only to avoid doubles) ---------- */
.marquee { border-top: 1px solid var(--line); }
.skills { border-top: 1px solid var(--line); }
.social { border-top: 1px solid var(--line); }
.related { border-top: 1px solid var(--line); }
.videos { border-top: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); }

/* ============================================================
   ABOUT (simple: zooming portrait hero + story) + CONTACT reach
   ============================================================ */
.about-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #111;
}
.about-hero__media { position: absolute; inset: 0; }
.about-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform-origin: 50% 42%;
  will-change: transform;   /* JS scales this on scroll */
}
.about-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.04) 48%, rgba(0,0,0,.22));
}
.about-hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 7vw, 90px);
  color: #fff;
  will-change: transform, opacity;
}
.about-hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px; letter-spacing: 1.8px; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.about-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 9.5vw, 137px);   /* match .hero__title (display level) */
  line-height: .92; letter-spacing: -3px;
}
.about-hero__sub {
  margin: 0; max-width: 560px;
  font-size: clamp(1.1rem, 2.1vw, 26px); line-height: 1.35;
  color: rgba(255,255,255,.92);
}
.about-hero__cue {
  margin-top: 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.8);
  display: inline-flex; align-items: center; gap: 8px;
}
.about-hero__cue span { animation: cuebounce 1.6s ease-in-out infinite; font-size: 16px; }
@keyframes cuebounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.story { background: var(--cream); }
.story__inner { max-width: 760px; margin-inline: auto; padding-block: clamp(64px, 9vw, 120px); }
.story__eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue);
}
.story__lead {
  margin: 0 0 32px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 40px); line-height: 1.12; letter-spacing: -1px;
}
.story__body { font-size: 19px; line-height: 1.75; }
.story__body p { margin: 0 0 22px; }
.story__sign {
  margin: 8px 0 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 30px); letter-spacing: -1px;
}

.reach { background: var(--cream); }
.reach__inner { max-width: 820px; margin-inline: auto; padding-block: clamp(48px, 7vw, 96px); }
.reach__email {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5vw, 60px); letter-spacing: -2px;
  line-height: 1.05;
}
.reach__email:hover { color: var(--blue); }
.reach__note { margin: 18px 0 40px; max-width: 560px; font-size: 18px; line-height: 1.5; color: rgba(0,0,0,.6); }
.reach__socials { display: flex; flex-wrap: wrap; gap: 14px; }
.reach__socials .social-pill { height: 64px; font-size: clamp(1rem, 1.6vw, 20px); }
.reach__socials .social-ic { width: 38px; height: 38px; }

/* ============================================================
   MOBILE PASS (logo, marquee, sub-hero icons, filters, nav drawer)
   ============================================================ */
.subhero__chips { display: contents; }   /* desktop: transparent wrapper so chips stay scattered */

@media (max-width: 900px) {
  /* smaller logo */
  .wordmark img { height: 24px; }

  /* smaller marquee */
  .marquee { padding-block: 7px; }
  .marquee__track { font-size: 12.5px; gap: 18px; }
  .marquee__track .star { font-size: 10px; }

  /* sub-hero: compact; small AI chips scattered around the heading */
  .subhero__inner { min-height: 224px; padding-block: 18px; }
  .subhero__title { font-size: clamp(1.6rem, 6.8vw, 2.3rem); line-height: 1.1; }
  .subhero .chip { width: 28px; height: 28px; }
  .subhero .chip__icon { width: 16px; height: 16px; }
  /* mobile shows all six — gemini, chatgpt, kimi up top; grok, notion,
     deepseek down low — staggered so none sit beside the heading text */
  .desktop-only { display: none; }
  .subhero__chips .ch-gemini   { top: 14%; left: 9%;   right: auto; bottom: auto; }
  .subhero__chips .ch-chatgpt  { top: 15%; right: 6%;  left: auto;  bottom: auto; }
  .subhero__chips .ch-notion.mobile-only { display: none; }
  .subhero__chips .ch-kimi     { top: 17%; right: 22%; left: auto;  bottom: auto; }
  .subhero__chips .ch-grok     { top: 66%; left: 6%;   right: auto; bottom: auto; }
  .subhero__chips .ch-notion   { top: 70%; left: 24%;  right: auto; bottom: auto; }
  .subhero__chips .ch-deepseek { top: 65%; right: 8%;  left: auto;  bottom: auto; }

  /* guide CTA: hide the top one, show a centred one under the cards */
  .guides__cta--top { display: none; }
  .guides__cta--bottom { display: flex; width: fit-content; margin: 30px auto 0; }

  /* Claude float chip: smaller and kept inside the frame */
  .chip--float { top: -14px; left: auto; right: 6px; }

  /* filter controls: label on its own line, chips wrap tidily */
  .control-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .control-label { width: auto; min-width: 0; padding-top: 0; margin-bottom: 2px; }
  .catalog-controls { gap: 20px; }

  /* nav drawer: bubbly rounded card */
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) {
    padding: 15px 16px;
    border-radius: 14px;
    font-size: 14px;
  }
  .site-nav > a:not(.btn):hover { background: var(--tan); color: var(--ink); }
  .site-nav .nav-cta { margin-top: 8px; justify-content: center; }
}

/* guide-section CTA: bottom variant is mobile-only (desktop uses the head one) */
@media (min-width: 901px) { .guides__cta--bottom { display: none; } }

/* ---------- MOBILE: compact, standardised card heights everywhere ---------- */
@media (max-width: 900px) {
  #guides .card__title,
  #catalog .card__title,
  .related .card__title { font-size: clamp(1.4rem, 6vw, 25px); line-height: 1.12; }

  #guides .card__desc,
  #catalog .card__desc,
  .related .card__desc { font-size: 17px; line-height: 1.4; }

  .guides__grid .card,
  .catalog .card { padding: 24px 22px; min-height: 0; }
  .guides__grid .card__title,
  .catalog .card__title { margin-bottom: 12px; }
  .guides__grid,
  .catalog { gap: 14px; }
}

/* ---------- MOBILE: section-heading sizes, dividers, nav, CTA ---------- */
@media (max-width: 900px) {
  /* consistent 32px section headings */
  .skills__title,
  .guides__title,
  .social__title,
  .related__title,
  .videos__title { font-size: 32px; letter-spacing: -1px; }
  .skills__desc { font-size: 17px; }

  /* shorter header bar (~2px trimmed top & bottom) */
  .header__inner { min-height: 78px; }

  /* Claude float chip (skills photo) — slightly smaller to match */
  .chip--float.chip { width: 34px; height: 34px; }
  .chip--float .chip__icon { width: 19px; height: 19px; }

  /* no hairlines hugging the blue marquee bands — the band is the divider */
  .marquee { border-top: 0; }
  .skills { border-top: 0; }
  .videos { border-top: 0; }

  /* tighter nav drawer — less empty height */
  .site-nav { padding: 8px; gap: 0; }
  .site-nav > a:not(.btn) { padding: 11px 14px; }
  .site-nav .nav-cta { margin-top: 6px; }

  /* invert the bottom "View all" CTA — solid blue with a white dot */
  .guides__cta--bottom {
    background: var(--blue);
    border-color: var(--ink);
    color: #fff;
  }
  .guides__cta--bottom .dot { background: #fff; }
}

/* breakpoint-specific decorative chips */
.subhero__chips .mobile-only { display: none; }
@media (max-width: 900px) { .subhero__chips .mobile-only { display: inline-flex; } }

/* ============================================================
   ABOUT v2 (dusk gradient hero + manifesto card + polaroid)
   ============================================================ */
.about2-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(64px, 11vw, 120px) 0 clamp(120px, 17vw, 190px);
  background: linear-gradient(180deg, #23387a 0%, var(--blue) 24%, #90a6ff 62%, var(--tan) 100%);
  color: #fff;
}
.about2-hero__sky {
  position: absolute; inset: 0; pointer-events: none; opacity: .85;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 24%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.4px 1.4px at 68% 16%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 42% 44%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.6px 1.6px at 83% 34%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 9% 54%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 55% 10%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 90% 12%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 30% 8%, rgba(255,255,255,.55), transparent);
}
.about2-hero__inner { position: relative; z-index: 1; }
.about2-hero__eyebrow {
  display: inline-block; padding: 7px 16px; border-radius: 50px;
  background: rgba(255,255,255,.18); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .5px;
  margin-bottom: 22px;
}
.about2-hero__title {
  margin: 0 0 18px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 7vw, 82px); line-height: 1.02; letter-spacing: -2px;
}
.about2-hero__sub {
  max-width: 540px; margin: 0 auto 30px;
  font-size: clamp(1rem, 1.8vw, 20px); line-height: 1.5; color: rgba(255,255,255,.92);
}
.about2-hero__cta.btn { background: #fff; color: var(--blue); border-color: #fff; }
.about2-hero__cta.btn:hover { background: var(--cream); color: var(--blue); }
.about2-hero__cue { display: block; margin-top: 32px; font-size: 22px; color: rgba(255,255,255,.8); }

.manifesto-wrap {
  position: relative;
  background: var(--cream);
  padding: 0 20px clamp(60px, 10vw, 110px);
}
.manifesto {
  position: relative; z-index: 1;
  max-width: 640px; margin: -78px auto 0;
  background: #fbf7ec;
  border: 1px solid var(--ink);
  border-radius: 20px;
  padding: clamp(34px, 5vw, 60px) clamp(26px, 5vw, 62px);
  box-shadow: 0 30px 60px rgba(0,0,0,.14);
}
.manifesto__eyebrow {
  text-align: center; margin: 0 0 6px;
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(0,0,0,.42);
}
.manifesto__title {
  text-align: center; margin: 0 0 26px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 40px); letter-spacing: -1px; color: rgba(0,0,0,.5);
}
.manifesto__body p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; }
.manifesto__body p:last-child { margin-bottom: 0; }
.manifesto__sign {
  margin: 24px 0 0; text-align: left;
  font-family: "Allison", "Snell Roundhand", cursive;
  font-size: clamp(48px, 6vw, 64px); line-height: 1; color: var(--ink);
}
.manifesto__signname {
  margin: 4px 0 0; text-align: right; font-family: var(--font-display); font-weight: 600;
  font-size: 14px; color: rgba(0,0,0,.6);
}

.polaroid {
  position: absolute; z-index: 2; width: 196px; margin: 0;
  background: #fff; padding: 12px 12px 0;
  box-shadow: 0 22px 44px rgba(0,0,0,.24);
  transform: rotate(-6deg);
}
.polaroid img { width: 100%; display: block; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: 50% 20%; }
.polaroid figcaption {
  text-align: center; padding: 12px 0 14px;
  font-family: "Original Burger", "Brush Script MT", cursive; font-size: 24px;
}
.polaroid--main { left: max(16px, calc(50% - 415px)); bottom: 96px; }

@media (max-width: 900px) {
  .polaroid--main {
    position: static; width: 170px; margin: -60px auto 22px;
    transform: rotate(-4deg);
  }
  .manifesto { margin-top: 0; }
}

/* ============================================================
   ABOUT (Figma layout: blue->cream gradient, dotted card, polaroid)
   ============================================================ */
.about-fig {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #22357a 0%, #3964FF 24%, #90a6ff 64%, #F5EEE2 100%);
  padding: clamp(60px, 9vw, 120px) 0 clamp(64px, 9vw, 110px);
}
/* blurry starry-night glow across the top */
.about-fig::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 72%;
  z-index: 0; pointer-events: none; filter: blur(.5px);
  background-image:
    radial-gradient(circle at 10% 18%, rgba(255,255,255,.95), rgba(255,255,255,0) 4px),
    radial-gradient(circle at 22% 7%,  rgba(255,255,255,.7),  rgba(255,255,255,0) 3px),
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.55), rgba(255,255,255,0) 2.5px),
    radial-gradient(circle at 47% 13%, rgba(255,255,255,.85), rgba(255,255,255,0) 3.5px),
    radial-gradient(circle at 59% 25%, rgba(255,255,255,.5),  rgba(255,255,255,0) 2px),
    radial-gradient(circle at 71% 9%,  rgba(255,255,255,.9),  rgba(255,255,255,0) 4px),
    radial-gradient(circle at 84% 21%, rgba(255,255,255,.65), rgba(255,255,255,0) 3px),
    radial-gradient(circle at 92% 33%, rgba(255,255,255,.5),  rgba(255,255,255,0) 2.5px),
    radial-gradient(circle at 15% 38%, rgba(255,255,255,.5),  rgba(255,255,255,0) 2px),
    radial-gradient(circle at 65% 40%, rgba(255,255,255,.45), rgba(255,255,255,0) 2px),
    radial-gradient(circle at 5% 12%,  rgba(255,255,255,.7),  rgba(255,255,255,0) 2.5px),
    radial-gradient(circle at 27% 20%, rgba(255,255,255,.55), rgba(255,255,255,0) 2px),
    radial-gradient(circle at 41% 6%,  rgba(255,255,255,.65), rgba(255,255,255,0) 3px),
    radial-gradient(circle at 53% 33%, rgba(255,255,255,.5),  rgba(255,255,255,0) 2px),
    radial-gradient(circle at 76% 30%, rgba(255,255,255,.6),  rgba(255,255,255,0) 2.5px),
    radial-gradient(circle at 88% 7%,  rgba(255,255,255,.7),  rgba(255,255,255,0) 3px),
    radial-gradient(circle at 96% 24%, rgba(255,255,255,.55), rgba(255,255,255,0) 2px),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.5),  rgba(255,255,255,0) 2px),
    radial-gradient(circle at 62% 15%, rgba(255,255,255,.6),  rgba(255,255,255,0) 2.5px),
    radial-gradient(circle at 8% 27%,  rgba(255,255,255,.5),  rgba(255,255,255,0) 2px),
    radial-gradient(circle at 45% 40%, rgba(255,255,255,.45), rgba(255,255,255,0) 2px),
    radial-gradient(circle at 70% 37%, rgba(255,255,255,.5),  rgba(255,255,255,0) 2px),
    radial-gradient(circle at 38% 17%, rgba(255,255,255,.55), rgba(255,255,255,0) 2px),
    radial-gradient(circle at 30% 11%, rgba(255,255,255,.28), rgba(255,255,255,0) 24px),
    radial-gradient(circle at 80% 17%, rgba(255,255,255,.24), rgba(255,255,255,0) 28px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 42%, transparent 100%);
}
.about-fig__inner { position: relative; z-index: 2; text-align: center; }
.about-fig__title {
  max-width: 620px; margin: 0 auto;
  color: #fff; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 34px); line-height: 1.2; letter-spacing: -1px;
}
.about-fig__cta.btn {
  margin: clamp(26px, 4vw, 44px) auto 0;
  height: 56px; padding: 0 26px; font-size: 17px;
  background: #fff; color: var(--ink); border: 1px solid var(--ink);
}
.about-fig__cta.btn:hover { background: var(--cream); }
.about-fig__cta.btn .dot { background: var(--yellow); }

.about-fig__card {
  position: relative;
  max-width: 600px; margin: clamp(44px, 6vw, 74px) auto 0;
  background-color: #fbfbfb;
  background-image: radial-gradient(rgba(0, 0, 0, .13) 1.3px, transparent 1.3px);
  background-size: 24px 24px; background-position: 14px 14px;
  border: 1px solid var(--ink);
  border-radius: clamp(28px, 4.5vw, 67px);
  min-height: 0;
  padding: clamp(34px, 5vw, 60px) clamp(26px, 5vw, 54px) clamp(44px, 6vw, 72px);
  text-align: left;
}
.about-fig__paper { max-width: 100%; margin: 0; }

.polaroid--fig {
  position: absolute; margin: 0;
  width: clamp(150px, 17vw, 200px);
  padding: 12px 12px 0; background: #fff; border: 1px solid var(--ink);
  box-shadow: 0 2px 4px rgba(0,0,0,.18), 0 12px 22px rgba(0,0,0,.22), 0 32px 56px rgba(0,0,0,.30);
}
.polaroid--fig img { border: 1px solid var(--ink); aspect-ratio: 227 / 283; object-fit: cover; object-position: 50% 22%; }
.polaroid--fig figcaption { font-size: clamp(20px, 2.4vw, 30px); }
.polaroid--adele { left: clamp(-180px, -12vw, -152px); top: clamp(12px, 3vw, 40px); transform: rotate(-8deg); }
.polaroid--jack  { right: clamp(-180px, -12vw, -152px); bottom: clamp(24px, 3vw, 44px); transform: rotate(6deg); }
.polaroid--jack img { object-position: 50% 42%; }

/* giant wordmark footer band */
.wordmark-band { background: var(--cream); overflow: hidden; text-align: center; padding: clamp(16px, 3vw, 30px) 0 clamp(6px, 1vw, 12px); }
.wordmark-band__text {
  margin: 0; color: var(--blue);
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.2rem, 19vw, 283px); line-height: .82; letter-spacing: -3px;
  white-space: nowrap; text-transform: lowercase;
}

/* about chips: yellow corners + border on the blue gradient */
.about-fig__chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.about-fig__chips .chip { position: absolute; border-color: var(--yellow); }
.about-fig__chips .chip .cnr { background: var(--yellow); }
.af-claude  { top: 9%;  right: 20%; }
.af-grok    { top: 15%; left: 17%; }
.af-chatgpt { top: 23%; left: 22%; }

@media (max-width: 760px) {
  .about-fig__chips { display: none; }
  /* breathing room under the hanging polaroids before the ticker */
  .about-fig { padding-bottom: clamp(48px, 13vw, 80px); }
  /* leave room under the card for the two hanging polaroids */
  .about-fig__card { padding-bottom: clamp(140px, 44vw, 224px); }
  .polaroid--fig {
    position: absolute; top: auto; margin: 0;
    width: clamp(135px, 45vw, 190px);
    bottom: clamp(-44px, -11vw, -28px);
  }
  .polaroid--adele { left: 1%; right: auto; transform: rotate(-6deg); z-index: 1; }
  .polaroid--jack  { right: 1%; left: auto; bottom: clamp(-30px, -7vw, -18px); transform: rotate(5deg); z-index: 2; }
}

/* ============================================================
   AI GLOSSARY (scoped)
   ============================================================ */
.glossary-azbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.glossary-az {
  min-width: 34px;
  padding: 7px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 9px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.glossary-az:hover { background: var(--tan); }
.glossary-az.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.glossary-az:disabled { opacity: .32; cursor: default; }
.glossary-az:disabled:hover { background: var(--cream); }

/* ---- Glossary: centred, lighter layout ---- */
.glossary-container { max-width: var(--maxw); }

/* long, centred search */
.glossary-searchbar {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto clamp(18px, 2.4vw, 26px);
}
.glossary-searchbar__ic {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: rgba(0, 0, 0, .4); pointer-events: none;
}
.glossary-searchbar__input {
  width: 100%; height: 60px;
  padding: 0 24px 0 54px;
  border: 1px solid var(--ink);
  border-radius: 50px;
  background: #fff;
  font-family: var(--font-body); font-size: 17px; color: var(--ink);
}
.glossary-searchbar__input:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(57, 100, 255, .18);
}

/* quick chips */
.glossary-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto clamp(16px, 2vw, 22px);
}
.glossary-search-wrap {
  max-width: 640px;
  margin: 0 auto clamp(14px, 2vw, 20px);
}
.glossary-missing {
  margin: clamp(30px, 4vw, 50px) 0 0;
  text-align: center;
  font-size: 18px;
  color: #000000b5;
}
.glossary-missing a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* white chips, otherwise identical to the skills page .filter pill */
.glossary-chip.filter { background: #fff; }
.glossary-chip.filter:hover { background: var(--yellow); }
.glossary-chip.filter.is-active { background: var(--ink); color: #fff; }
/* reference has no A-Z bar, no count row */
.glossary-container .glossary-azbar--secondary { display: none !important; }
.glossary-count { display: none; }

/* A-Z bar, kept secondary */
.glossary-azbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.glossary-azbar--secondary {
  justify-content: center;
  gap: 5px;
  margin-bottom: clamp(14px, 1.8vw, 20px);
}
.glossary-az {
  min-width: 30px;
  padding: 5px 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  background: transparent;
  color: rgba(0, 0, 0, .6);
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.glossary-az:hover { background: var(--tan); color: var(--ink); }
.glossary-az.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.glossary-az:disabled { opacity: .3; cursor: default; }
.glossary-az:disabled:hover { background: transparent; color: rgba(0, 0, 0, .6); }

.glossary-count {
  text-align: center;
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.glossary-section-title {
  margin: 0 0 clamp(14px, 1.6vw, 18px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  text-align: left;
}
.glossary-block { margin-bottom: clamp(40px, 5vw, 60px); }

/* lighter, compact cards */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(18px, 2vw, 28px);
}
.glossary-card[hidden] { display: none !important; }
.glossary-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--ink);
  border-radius: 17px;
  min-height: 383px;
  padding: 30px 28px;
}
.glossary-card__term {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -.6px;
}
.glossary-card__def {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.5;
}
.glossary-card__meta {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.4;
  color: #000000b5;
}
.glossary-card__meta:last-child { margin-bottom: 0; margin-top: auto; }
.glossary-card__label {
  display: inline;
  margin-right: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--blue);
}

.glossary-intro-note {
  margin-top: 14px;
  font-size: 15px;
}
.glossary-intro-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .glossary-grid { grid-template-columns: 1fr; }
  .glossary-searchbar__input { height: 54px; }
}
