/* Frakshun — dark-only theme. Inter throughout. */
:root {
  color-scheme: dark;
  --bg: #08080a;
  --bg-2: #101014;
  --bg-3: #17171d;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f5f5f7;
  --muted: #a3a3ad;
  --faint: #6e6e78;
  /* GUESS: accent pulled from the existing magenta/violet particle artwork. Confirm with Michele. */
  --accent: #c24dff;
  --accent-2: #7a3dff;
  --accent-grad: linear-gradient(120deg, #6a35ff 0%, #b13dff 50%, #ff4fd8 100%);
  --radius: 4px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec: calc(clamp(80px, 11vw, 160px) - 25px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; }
.display {
  font-size: clamp(48px, 9.2vw, 136px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -0.04em; line-height: 1; }
.h2 { font-size: clamp(32px, 4.4vw, 60px); letter-spacing: -0.035em; line-height: 1.05; }
.h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--text); letter-spacing: -0.01em; }
.muted { color: var(--muted); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 500 13px/1 "Inter", sans-serif; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--text); background: transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--sm { padding: 12px 18px; font-size: 12px; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; }
.link-arrow:hover { border-color: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(8, 8, 10, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; color: var(--text); }
.logo svg { height: 26px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a:not(.btn) { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gutter);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .main-nav a:not(.btn) { font-size: 32px; color: var(--text); padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
  .main-nav .btn { margin-top: 28px; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--tight { padding: calc(var(--sec) * .6) 0; }
.sec--alt { background: var(--bg-2); }
.rule { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .h2 { max-width: 14ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, var(--bg), transparent); z-index: -1; }
.hero__inner { width: 100%; }
.hero__foot { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px 64px; margin-top: clamp(40px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); align-items: start; }
.hero__foot .lead { max-width: 34ch; }
.hero__foot .actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 100px; flex-direction: column; align-items: stretch; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__foot .actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 180px 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.page-hero .lead { max-width: 40ch; margin-top: 32px; }
.page-hero .actions { margin-top: 50px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .page-hero { padding-top: 130px; } }

/* ---------- Numbered value columns ---------- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.cols-3 > * { padding: 36px 40px 8px 0; }
.cols-3 > * + * { padding-left: 40px; border-left: 1px solid var(--line); }
.num { font-size: 13px; color: var(--accent); letter-spacing: .1em; font-weight: 500; display: block; margin-bottom: 40px; font-variant-numeric: tabular-nums; }
.cols-3 h3 { margin-bottom: 16px; }
.cols-3 p { color: var(--muted); }
@media (max-width: 860px) {
  .cols-3 { grid-template-columns: 1fr; }
  .cols-3 > *, .cols-3 > * + * { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .num { margin-bottom: 20px; }
}

/* ---------- Text + image split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__body .h2 { margin-bottom: 32px; }
.split__body .lead { margin-bottom: 24px; }
.split__body p:not(.lead) { color: var(--muted); }
.split__body .btn, .split__body .link-arrow { margin-top: 24px; }
.split__media { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(closest-side, rgba(194,77,255,.12), transparent); }
.split__media img { position: absolute; width: 72%; }
.split__media img:first-child { left: 0; top: 4%; }
.split__media img:nth-child(2) { right: 0; bottom: 4%; width: 58%; }
.split__media--single img { position: static; width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* ---------- Mid banner ---------- */
.banner { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: calc(clamp(96px, 13vw, 180px) - 25px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.banner__art { position: absolute; z-index: -1; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .38; }
.banner__art img { width: min(1400px, 140%); max-width: none; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8,8,10,.25), rgba(8,8,10,.9) 70%); }
.banner .h1 { max-width: 16ch; margin: 0 auto 24px; }
.banner .lead { max-width: 38ch; margin: 0 auto 40px; color: var(--muted); }

/* ---------- Slider (roles) ---------- */
.slider-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.slider-nav { display: flex; gap: 8px; flex-shrink: 0; }
.slider-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.slider-nav button:hover { background: var(--text); color: var(--bg); }
.slider-nav button:disabled { opacity: .3; pointer-events: none; }
.slider { display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 84vw); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin-right: calc(50% - 50vw); padding-right: calc(50vw - 50%); scroll-padding-left: 0; }
.slider::-webkit-scrollbar { display: none; }
.role { scroll-snap-align: start; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; min-height: 560px; transition: border-color .3s; }
.role:hover { border-color: rgba(194,77,255,.55); }
.role__abbr { font-size: 64px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin-bottom: 8px; }
.role__title { font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.role h3 { font-size: 22px; margin-bottom: 16px; }
.role > p { color: var(--muted); font-size: 16px; }
.role__list { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--line); }
.role__list strong { display: block; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.role ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.role li { padding: 7px 0 7px 22px; position: relative; }
.role li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 1px; background: var(--text); }

/* ---------- Posts ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); margin-bottom: 24px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); filter: saturate(.9); }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; font-weight: 500; }
.post-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; letter-spacing: -0.02em; }
.post-card p { color: var(--muted); font-size: 16px; }
.post-card__meta { margin-top: 20px; font-size: 14px; color: var(--faint); }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.filters button { background: none; border: 1px solid var(--line-strong); color: var(--muted); padding: 10px 16px; border-radius: 999px; font: 500 14px "Inter", sans-serif; cursor: pointer; }
.filters button[aria-pressed="true"], .filters button:hover { color: var(--bg); background: var(--text); border-color: var(--text); }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { list-style: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 18%; }
.logos img { max-height: 46px; width: auto; opacity: .62; transition: opacity .3s; }
.logos li:hover img { opacity: 1; }
.logos { margin: 0; padding: 0; }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, 1fr); } .logos img { max-height: 34px; } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Comparison (frameworks) ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: var(--bg-2); }
.compare__card--hl { border-color: transparent; background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--accent-grad) border-box; border: 1px solid transparent; }
.compare__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.compare__card--hl .compare__label { color: var(--accent); }
.compare__eq { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 32px; }
.compare__eq span { display: block; color: var(--muted); }
.compare ul { list-style: none; margin: 0; padding: 0; }
.compare li { padding: 14px 0 14px 34px; border-top: 1px solid var(--line); position: relative; }
.compare li::before { position: absolute; left: 0; top: 14px; font-size: 16px; }
.compare__card--hl li::before { content: "✓"; color: var(--accent); }
.compare__card:not(.compare__card--hl) li { color: var(--muted); }
.compare__card:not(.compare__card--hl) li::before { content: "–"; color: var(--faint); }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); counter-reset: p; }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; padding: 40px 40px 40px 0; border-bottom: 1px solid var(--line); }
.pillar:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line); }
.pillar .num { margin: 6px 0 0; }
.pillar h3 { font-size: 22px; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar:nth-child(even) { padding: 28px 0; border-left: 0; grid-template-columns: 48px 1fr; } }

/* ---------- Feature list (about) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.feature h3 { font-size: 22px; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 16px; }
.feature .num { margin-bottom: 48px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

.statement { font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1.2; max-width: 26ch; }

/* ---------- Article / prose ---------- */
.article-head { padding: 170px 0 56px; }
.article-head .h1 { font-size: clamp(36px, 5vw, 68px); max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; color: var(--muted); font-size: 15px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 72px; aspect-ratio: 16/8; background: var(--bg-3); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: #d6d6dc; }
.prose h2, .prose h3, .prose h4 { color: var(--text); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; margin: 2.2em 0 .7em; }
.prose h2 { font-size: 26px; }
.prose h3, .prose h4 { font-size: 22px; }
.prose h4 strong, .prose h2 strong { font-weight: 500; }
.prose li h4 { font-size: inherit; font-weight: 400; color: #d6d6dc; margin: 0; line-height: inherit; letter-spacing: 0; }
.prose li h4 strong, .prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .4em 0; }
.prose li p { margin: 0 0 .5em; }
.prose a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose--legal { font-size: 16px; max-width: 820px; margin: 0; }
.prose--legal h2 { font-size: 20px; padding-top: 1.6em; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 720px; margin-left: auto; margin-right: auto; }
.tags span { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

/* ---------- Footer ---------- */
.site-footer { background: #101014; border-top: 1px solid var(--line); padding-top: calc(clamp(80px, 10vw, 140px) - 25px); }
.footer-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding-bottom: calc(clamp(64px, 8vw, 112px) - 25px); border-bottom: 1px solid var(--line); }
.footer-cta .h1 { max-width: 12ch; }
.footer-cta .actions { justify-self: end; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 64px 0; }
.footer-cols h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 20px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 0 0 10px; }
.footer-cols a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer-cols a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 20px; font-size: 15px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.footer-bottom a { color: var(--faint); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
.footer-bottom nav { display: flex; gap: 24px; }
@media (max-width: 860px) {
  .footer-cta { grid-template-columns: 1fr; }
  .footer-cta .actions { justify-self: start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Subscribe band (accent) */
.subscribe { background: var(--accent-grad); color: #fff; padding: 44px 0; }
.subscribe .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.subscribe h2 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.subscribe form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; flex: 1 1 420px; justify-content: flex-end; }
.subscribe input[type="email"] { flex: 1 1 240px; max-width: 360px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.5); color: #fff; padding: 15px 16px; border-radius: var(--radius); font: 16px "Inter", sans-serif; }
.subscribe input::placeholder { color: rgba(255,255,255,.75); }
.subscribe input[type="email"]:focus { outline: none; border-color: #fff; background: rgba(0,0,0,.28); }
.subscribe label.check { display: flex; gap: 8px; align-items: center; font-size: 14px; width: 100%; justify-content: flex-end; order: 3; }
.subscribe .btn { background: #fff; color: #120a1f; border-color: #fff; }
.subscribe .btn:hover { background: #120a1f; color: #fff; border-color: #120a1f; }
.subscribe .form-note { width: 100%; text-align: right; font-size: 14px; order: 4; min-height: 1em; }
@media (max-width: 760px) { .subscribe form { justify-content: flex-start; } .subscribe label.check, .subscribe .form-note { justify-content: flex-start; text-align: left; } }

/* Reveal on scroll */
.anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Small-screen refinements */
@media (max-width: 600px) {
  .display { font-size: clamp(34px, 9.6vw, 60px); letter-spacing: -0.04em; }
  .slider-head { flex-direction: column; align-items: flex-start; }
  .role { min-height: 0; padding: 28px; }
  .role__abbr { font-size: 52px; }
}

/* Home hero: sized so "Drive Transformation." stays on one line */
.display--hero { font-size: clamp(24px, 6.9vw, 100px); line-height: calc(0.94em + 10px); }
.display--hero .nowrap { white-space: nowrap; }

/* Hero artwork sits in its own row above the headline, so text never overlaps it (contrast). */
.hero-art { display: flex; justify-content: flex-end; height: clamp(180px, 34vh, 400px); margin-bottom: clamp(24px, 4vh, 48px); pointer-events: none; }
.hero-art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; animation: float 14s ease-in-out infinite; }
.page-hero { padding-top: clamp(140px, 18vh, 200px); }
.hero { min-height: 0; padding-top: clamp(160px, 22vh, 240px); }
@media (max-width: 860px) { .page-hero, .hero { padding-top: 130px; } }

/* Text-only split sections (artwork removed) */
.split--text { grid-template-columns: 1fr; }
.split--text .split__body { max-width: 780px; }

/* All large headings (page titles and section headings) use the accent gradient */
.h1, .h2 { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; max-width: 100%; }
.banner .h1 { margin-left: auto; margin-right: auto; }

/* Mobile menu: same translucent blur as the scrolled header.
   The open menu covers the whole screen (including behind the header bar) and the header drops its own
   blur while open, because a blurred parent would trap the fixed menu and stop its blur from working. */
@media (max-width: 860px) {
  .main-nav {
    inset: 0; padding-top: calc(76px + 24px);
    background: rgba(8, 8, 10, 0.78);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .site-header .logo, .nav-toggle { position: relative; z-index: 2; }
  body.nav-open .site-header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
}

/* Keep descenders (y, g, p) inside the gradient: background-clip:text only paints within the element's box. */
.h1, .h2 { padding-bottom: 0.14em; }
.grad-text { padding-bottom: 0.12em; }

/* One line on desktop, one sentence per line on mobile */
.h2--oneline { white-space: nowrap; font-size: min(50px, 3.3vw); }
.h2--oneline span { display: inline; }
@media (max-width: 860px) {
  .h2--oneline { white-space: normal; font-size: clamp(32px, 8vw, 48px); }
  .h2--oneline span { display: block; }
}

/* Hero titles: title case, Inter Bold (matches michelebevilacqua.ca) */
.display--hero { text-transform: none; font-weight: 700; letter-spacing: -0.025em; line-height: calc(1.05em + 10px); font-size: clamp(30px, 8.5vw, 100px); }

/* Banner headings: one line on desktop */
@media (min-width: 861px) {
  .banner .h1 { max-width: none; white-space: nowrap; font-size: min(76px, 5vw); }
}
.logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.logos li { min-width: 0; }
.logos img { max-width: 100%; height: auto; }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.banner--strategy { padding: calc(clamp(96px, 13vw, 180px) - 40px) 0; }
.statement { max-width: none; }
@media (max-width: 860px) { .br-desk { display: none; } }
/* Footer CTA heading matches the banner heading size */
@media (min-width: 861px) { .footer-cta .h1 { font-size: min(76px, 5vw); } }
.nowrap { white-space: nowrap; }
/* Section heads: heading and intro text share a top line */
.sec-head { align-items: start; }

/* Every page title (H1) uses the same weight as the hero H1 (Inter Bold) */
h1, h1.display { font-weight: 700; }

/* Button chevrons (replaced the → arrow) */
.btn .arrow { display: inline-flex; align-items: center; }
.btn .arrow svg { display: block; }

/* Header button: no chevron on desktop. In the mobile menu it matches the hero buttons (full size, solid, chevron). */
.main-nav .btn .arrow { display: none; }
@media (max-width: 860px) {
  .main-nav .btn { padding: 17px 28px; font-size: 13px; background: var(--text); color: var(--bg); border-color: var(--text); }
  .main-nav .btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
  .main-nav .btn .arrow { display: inline-flex; }
}

/* Large gradient headings (banners, footer, sections) match the H1 weight */
.h1, .h2 { font-weight: 700; }
.link-arrow .arrow { display: inline-flex; transition: transform .25s var(--ease); }
.link-arrow .arrow svg { display: block; }
.link-arrow:hover .arrow { transform: translateX(4px); }
