/* Ash Taherian · Revolut People — shared site styles */
:root {
  color-scheme: light;
  --ink: #0a0a0b;
  --ink-2: #191c1f;
  --muted: #5c6570;
  --muted-2: #8a929c;
  --line: #e6e8eb;
  --line-2: #d0d4d9;
  --bg: #f7f8f9;
  --surface: #ffffff;
  --accent: #1a56db;
  --accent-hover: #1347b8;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(10, 10, 11, 0.04), 0 4px 16px rgba(10, 10, 11, 0.04);
  --shadow-md: 0 2px 4px rgba(10, 10, 11, 0.05), 0 12px 32px rgba(10, 10, 11, 0.06);
  --max: 1100px;
  --article: 720px;
  --nav-h: 64px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; height: auto; }

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--accent); }

/* ——— Layout ——— */
.site-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.article-wrap {
  max-width: var(--article);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}
.section--tight { padding: 48px 0; }
.section--flush { padding-top: 32px; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--ink);
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 28px;
  max-width: 640px;
}

/* ——— Sticky nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.2;
  flex-shrink: 0;
}
.nav-brand:hover { color: var(--ink); }
.nav-brand__name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.nav-brand__tag {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(10, 10, 11, 0.04);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 12px 24px 20px;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile__ctas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.nav-mobile__ctas .btn { width: 100%; text-align: center; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  font-size: 0.925rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  border-radius: 10px;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
  white-space: normal;
}
.btn--primary {
  background: var(--ink);
  color: #fff !important;
}
.btn--primary:hover {
  background: var(--ink-2);
  color: #fff !important;
  box-shadow: var(--shadow);
}
.btn--secondary {
  background: var(--surface);
  color: var(--ink) !important;
  border-color: var(--line-2);
}
.btn--secondary:hover {
  border-color: var(--ink);
  color: var(--ink) !important;
  background: var(--surface);
}
.btn--accent {
  background: var(--accent);
  color: #fff !important;
}
.btn--accent:hover {
  background: var(--accent-hover);
  color: #fff !important;
}
.btn--sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

/* ——— Hero ——— */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(26, 86, 219, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(10, 10, 11, 0.03), transparent 50%),
    var(--bg);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 18ch;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 540px;
  line-height: 1.6;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.hero__proof li {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}
.hero__proof strong {
  color: var(--ink);
  font-weight: 600;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px 48px;
  align-items: center;
}
.hero__copy .hero__sub { margin-bottom: 20px; }
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__cover-link picture { display: block; width: 100%; }
.hero__cover-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hero__cover-link:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 12px 28px rgba(10, 10, 11, 0.12));
  color: inherit;
}
.hero__cover {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  aspect-ratio: 900 / 506;
  object-fit: contain;
  margin: 0 auto;
  border-radius: var(--radius);
}
.hero__banner picture { display: block; width: 100%; }
.hero__banner {
  margin: 36px 0 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.hero__banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  vertical-align: middle;
  background: var(--bg);
}

/* ——— Cards ——— */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card--cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.card--cta p { color: rgba(255,255,255,0.8); }
.card--cta strong { color: #fff; }
.card--cta a:not(.btn) { color: #fff; }
.card--cta .btn--primary {
  background: #fff;
  color: var(--ink) !important;
}
.card--cta .btn--primary:hover { background: #f0f0f0; }
.card--cta .btn--secondary {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.35);
}
.card--cta .btn--secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
.card--cta .note { color: rgba(255,255,255,0.65); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.feature-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.feature-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 10px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.feature-card:hover .feature-card__link { color: var(--accent); }

.story-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.story-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.story-card a {
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}
.story-card a:hover { text-decoration: underline; color: var(--accent); }
.story-card .note { margin: 6px 0 0; display: block; }

.press-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.press-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.press-list a {
  font-weight: 600;
  text-decoration: none;
}
.press-list a:hover { text-decoration: underline; color: var(--accent); }
.press-list .note { display: block; margin-top: 4px; }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
}
.blog-card a.title {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 6px;
}
.blog-card a.title:hover { color: var(--accent); }
.blog-card .week-tag,
.video-card .week-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* ——— Framework steps (homepage) ——— */
.steps {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  align-items: start;
}
.step__num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.step p, .step ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.step ul { padding-left: 1.15rem; margin-top: 6px; }

.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.source-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.15s;
}
.source-list a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.source-list a::after {
  content: "→";
  color: var(--muted-2);
  font-weight: 400;
}
.source-list a:hover::after { color: var(--accent); }

.upcoming-list {
  color: var(--muted);
  padding-left: 1.2rem;
}
.upcoming-list li { margin: 6px 0; }

/* ——— Article pages ——— */
.article-header {
  padding: 48px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.article-header .week-tag,
.article-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.article-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.article-header .byline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.article-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
  line-height: 1.3;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 16px; font-size: 1.05rem; }
.article-body ul, .article-body ol {
  padding-left: 1.25rem;
  margin: 0 0 16px;
}
.article-body li {
  margin: 6px 0;
  font-size: 1.02rem;
}
.article-body li strong { color: var(--ink); }

.quote {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 20px;
  margin: 24px 0;
  color: var(--ink-2);
  font-size: 1.05rem;
}
.quote p { margin: 0; }

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  margin: 8px 0 24px;
  border-bottom: 1px solid var(--line);
}
.cta-bar--bottom {
  border-bottom: none;
  border-top: 1px solid var(--line);
  margin: 40px 0 0;
  padding-top: 24px;
}

.related {
  margin: 40px 0 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.related h2 {
  font-size: 1rem;
  margin: 0 0 12px;
}
.related ul {
  margin: 0;
  padding-left: 1.15rem;
}
.related li { margin: 6px 0; font-size: 0.95rem; }

.video-wrap {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 28px auto;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: -12px 0 28px;
}

.note { color: var(--muted); font-size: 0.925rem; }

.page-main {
  min-height: 50vh;
  padding-bottom: 64px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 48px 0 40px;
  margin-top: auto;
  font-size: 0.925rem;
}
.site-footer a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-brand__name {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.footer-brand__title {
  margin: 0 0 12px;
  line-height: 1.45;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin: 0 0 8px; }
.footer-cite {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.footer-cite em { color: rgba(255,255,255,0.7); }


/* ——— Hub commercial (ashtaherian.net only) ——— */
[data-hub-commercial][hidden] { display: none !important; }

.commercial {
  max-width: 420px;
  margin: 0 0 28px;
}

.commercial__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0a0a0b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.commercial__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a0b;
}

.commercial__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 10, 11, 0.28);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease;
}
.commercial__play:hover,
.commercial__play:focus-visible {
  background: rgba(10, 10, 11, 0.4);
  outline: none;
}
.commercial__play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.commercial__play-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.commercial__frame.is-playing .commercial__play { display: none; }
.commercial__frame.is-playing .commercial__video { cursor: pointer; }

.commercial__caption {
  text-align: left;
  margin: 12px 0 0;
}

@media (max-width: 560px) {
  .commercial { max-width: 100%; }
}

/* ——— Utilities ——— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-ctas .btn--secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero { padding: 48px 0 40px; }
  .hero h1 { max-width: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__cover { max-width: min(320px, 88vw); width: 100%; height: auto; }
  .hero__banner { margin-top: 28px; }
  .section { padding: 48px 0; }
}

@media (max-width: 560px) {
  .nav { padding: 0 16px; }
  .site-wrap, .article-wrap { padding: 0 16px; }
  .footer-inner { padding: 0 16px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .cta-bar { flex-direction: column; align-items: stretch; }
  .cta-bar .btn { width: 100%; text-align: center; }
  .card-grid { grid-template-columns: 1fr; }
  .nav-ctas .btn--sm { padding: 8px 12px; font-size: 0.8rem; }
}

/* Jenny Revolut People ad — native controls, square */
#jenny-rp-ad .commercial__video {
  object-fit: contain;
  background: #0B1F3A;
}
#jenny-rp-ad .commercial__frame {
  background: #0B1F3A;
}

/* ——— Speed-to-lead overlay (post Tally submit) ——— */
.stl {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.stl__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(2px);
}
.stl__card {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--line, #e5e5e5);
  box-shadow: var(--shadow-md, 0 12px 40px rgba(0,0,0,0.18));
  padding: 28px 24px 22px;
}
.stl__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted, #666);
  cursor: pointer;
  padding: 4px 8px;
}
.stl__eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #1919e6);
}
.stl__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ink, #0a0a0b);
}
.stl__body {
  margin: 0 0 18px;
  color: var(--muted, #555);
  font-size: 0.95rem;
  line-height: 1.45;
}
.stl__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stl__btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.stl__btn--sms {
  display: none;
}
@media (max-width: 720px) {
  .stl__btn--sms { display: inline-flex; }
}
.stl__note {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--muted, #777);
  line-height: 1.4;
}

/* ——— Gamma hub cite cards + article hero (2026-10-05c) ——— */
.cite-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.cite-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cite-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.cite-card picture { display: block; width: 100%; }
.cite-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
  background: var(--ink);
}
.article-hero {
  margin: 0 0 28px;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.article-hero picture { display: block; width: 100%; }
.article-hero img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  vertical-align: middle;
  background: var(--ink);
}
@media (max-width: 720px) {
  .cite-card-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ——— Video blog: Jenny short films (2026-10-05e) ——— */
.article-video {
  margin: 0;
  padding: 0;
}
.article-video video,
.video-card video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-lg, 16px);
  background: #0b1f3a;
}
.article-video video {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.article-video figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}
.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.video-feature__body p { color: var(--muted); margin: 0 0 14px; }
.video-feature__body .section-title { margin-bottom: 12px; }
.video-bridge strong,
.video-feature__body p strong { color: var(--ink); }
.video-transcript {
  margin: 12px 0;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 12px);
  background: var(--bg);
  font-size: 0.9rem;
}
.video-transcript summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.video-transcript p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.video-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card video { border-radius: 0; }
.video-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.video-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 6px 0 8px;
}
.video-card__body .note { margin: 0 0 4px; }
.video-card__link {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.video-promo {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 20px 0 0;
  padding: 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg, 16px);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease;
}
.video-promo:hover { color: #fff; transform: translateY(-2px); }
.video-promo img {
  display: block;
  width: 120px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}
.video-promo__tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9db8ff;
  margin-bottom: 4px;
}
.video-promo__title { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.video-promo__note { display: block; margin-top: 4px; color: rgba(255,255,255,0.72); font-size: 0.925rem; }
@media (max-width: 900px) {
  .video-feature { grid-template-columns: 1fr; gap: 24px; }
  .video-feature .article-video { max-width: 560px; }
}
@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-promo { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .video-promo img { width: 80px; }
}

/* ——— Video blog: ranking + podcast (2026-10-05f) ——— */
.article-video video.is-portrait,
.video-card video.is-portrait {
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  margin-inline: auto;
}
.video-feature--portrait {
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}
.video-feature--portrait .article-video {
  max-width: 360px;
  margin-inline: auto;
}
.video-grid--portrait {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
}
.video-grid--portrait .video-card video {
  max-height: min(56vh, 480px);
}
.video-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.video-grid--compact .video-card video {
  aspect-ratio: 1 / 1;
  max-height: 280px;
}
.podcast-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 28px 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow);
}
.podcast-card h2 { margin: 0 0 4px; }
.podcast-card p { color: var(--muted); margin: 0 0 8px; }
.podcast-card video {
  width: 100%;
  border-radius: 12px;
  background: #0b1220;
  margin: 8px 0 4px;
}
.podcast-card .podcast-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1220;
  margin: 8px 0 4px;
}
.podcast-card .podcast-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
}
.podcast-card audio {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
}
.podcast-card .podcast-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 4px;
  font-size: 0.9rem;
}
.podcast-card .podcast-meta a { font-weight: 600; }
@media (max-width: 900px) {
  .video-feature--portrait { grid-template-columns: 1fr; }
  .video-feature--portrait .article-video { max-width: 320px; }
}
@media (max-width: 720px) {
  .video-grid--portrait { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .video-grid--compact { grid-template-columns: 1fr; }
}

/* ——— Thanks book-first handoff (2026-10-06) ——— */
.btn--lg {
  padding: 18px 28px;
  font-size: 1.15rem;
  border-radius: 12px;
  min-height: 56px;
  box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.12));
}
.btn-row--book {
  margin: 20px 0 8px;
}
.btn-row--book .btn--lg {
  width: 100%;
  max-width: 420px;
}
.book-embed__hint {
  margin: 8px 0 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted, #555);
}
.book-embed {
  margin: 0 0 24px;
  border: 1px solid var(--line, #e5e5e5);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow, 0 4px 16px rgba(0,0,0,0.06));
}
.book-embed iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 0;
  background: #fff;
}
.thanks-alt {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted, #666);
  line-height: 1.5;
}
.thanks-alt a {
  color: var(--ink, #0a0a0b);
  font-weight: 500;
}
@media (max-width: 560px) {
  .btn-row--book .btn--lg { max-width: none; }
  .book-embed iframe { min-height: 640px; }
}

/* CONV-20261007: booking-first microcopy, "what you get" block, tour link, facts table, shorts */
.cta-micro { margin: 8px 0 0; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.tour-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.tour-link:hover { color: var(--accent); }
.wyg { margin: 18px 0 8px; padding: 18px 20px; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.wyg__title { margin: 0 0 10px; font-size: 1.02rem; }
.wyg__list { list-style: none; margin: 0; padding: 0; }
.wyg__list li { position: relative; padding-left: 1.6rem; margin: 0 0 8px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }
.wyg__list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: #0a7c3e; }
.wyg__proof { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); font-style: italic; }
.wyg__proof a { font-style: normal; }
.facts-table { width: 100%; max-width: 640px; border-collapse: collapse; margin: 12px 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.95rem; }
.facts-table th, .facts-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { width: 48%; font-weight: 600; color: var(--ink-2); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.shorts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 12px 0 8px; }
.short-card { margin: 0; }
.short-embed { position: relative; width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.short-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short-card figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }
.lp-hero { padding: 40px 0 16px; }
.lp-hero h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.15; margin: 0 0 12px; max-width: 760px; }
.lp-section { padding: 16px 0 40px; }
.lp-section h2 { font-size: 1.35rem; margin: 0 0 8px; }
.lp-source { font-size: 0.8rem; color: var(--muted-2); margin: 8px 0 0; }

/* Responsive QA pass 2026-10-12: mobile readability + 44px tap targets */
@media (max-width: 720px) {
  body { font-size: 16px; }
  p, li, .note, .cta-micro, .footer-brand__title, .byline, .footer-cite, figcaption, blockquote footer { font-size: 1rem !important; }
  .section-label, .hero__eyebrow, .eyebrow { font-size: 0.875rem !important; }
  .btn, .btn--sm, .nav-ctas .btn--sm { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-ctas .btn--sm { font-size: 0.9rem; padding: 10px 14px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .nav-brand { min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; }
  .breadcrumbs a, .story-card > a, .nav-mobile a, .footer-col a { display: inline-block; min-height: 44px; line-height: 44px; }
  .card-grid { grid-template-columns: 1fr !important; }
  img, video, iframe { max-width: 100%; }
  #about-ash .site-wrap { flex-direction: column; align-items: flex-start; }
}

/* Responsive QA pass 2 (2026-10-12): table scroll + remaining tap targets */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { min-width: 100%; }
@media (max-width: 720px) {
  .hub-card h3 a, .blog-card .title, .video-card__link, .podcast-meta a { display: inline-flex; align-items: center; min-height: 44px; }
  .podcast-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
}

/* Button wrap fix 2026-10-12: no clipped CTA text on narrow Android screens */
.btn, .btn--sm, .btn--primary, .btn--secondary, .btn--accent, .card--cta .btn, .nav-ctas .btn, .nav-mobile__ctas .btn, .btn-row .btn {
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  height: auto;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .btn, .card--cta .btn, .btn-row .btn, .nav-mobile__ctas .btn { padding: 12px 16px; }
  .nav-ctas .btn--sm { padding: 10px 12px; max-width: 46vw; }
  .btn-row { align-items: stretch; }
  .btn-row .btn { width: 100%; flex: 1 1 100%; }
}
