/* ==========================================================================
   /home-new/ — the new homepage (AIO-99), src/pages/home-new.astro.
   Figma "Anatta Website - Ash", frame "Final Homepage" (1914:3359) on the
   "Anatta LP · Design system" (1673:2133). Every class is `hn-` so nothing
   here can reach another page. Values are the file's, at its 1440 frame:
   40px page margin, 1360 content, 108/96 section padding.
   Desktop first pass: tablet and phone rules are still to come (see the PR).
   ========================================================================== */

@font-face { font-family: 'HN Publico'; src: url('/fonts/PublicoBanner-Regular-lp.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HN Plex Mono'; src: url('/fonts/IBMPlexMono-Regular-lp.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'HN Plex Mono'; src: url('/fonts/IBMPlexMono-Medium-lp.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

/* Design tokens (names as in the design system frame) */
.hn, .hn-footer {
  --hn-ink: #111111;
  --hn-white: #ffffff;
  --hn-n100: #f4f4f4;
  --hn-n200: #e6e6e6;
  --hn-n250: #d0d0d0;
  --hn-n300: #b8b8b8;
  --hn-n400: #8c8c8c;
  --hn-n600: #5c5c5c;
  --hn-n700: #3d3d3d;
  --hn-n800: #262626;
  --hn-red: #d41f1f;
  --hn-red-bright: #ff322e;
  --hn-red-soft: #eba9a9;
  --hn-blush: #fadedd;
  --hn-serif: 'HN Publico', 'Publico Banner', Georgia, serif;
  --hn-sans: Calibre, 'Hanken Grotesk', system-ui, sans-serif;
  --hn-mono: 'HN Plex Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --hn-ease: cubic-bezier(.22, 1, .36, 1);
}

.hn { background: var(--hn-white); color: var(--hn-ink); font-family: var(--hn-sans); font-size: 16px; line-height: 1.5; padding-top: 76px; overflow-x: clip; }
.hn *, .hn *::before, .hn *::after { box-sizing: border-box; }
.hn :where(h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
.hn :where(ul, ol) { list-style: none; }
.hn img { display: block; max-width: 100%; }
:where(.hn) a { color: inherit; text-decoration: none; }
.hn a:focus-visible, .hn button:focus-visible { outline: 3px solid var(--hn-red); outline-offset: 3px; }
.hn-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hn-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.hn-sec { padding-top: 108px; padding-bottom: 108px; }

/* ---------- type ramp ---------- */
.hn-display { font-family: var(--hn-serif); font-weight: 400; font-size: 96px; line-height: .95; letter-spacing: -.03em; }
.hn-h2 { font-family: var(--hn-serif); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -.03em; }
.hn-h36 { font-family: var(--hn-serif); font-weight: 400; font-size: 36px; line-height: 1.25; }
.hn-num52 { font-family: var(--hn-serif); font-weight: 400; font-size: 52px; line-height: 1.1; letter-spacing: -.02em; color: #e62d29; }
.hn-num80 { font-family: var(--hn-serif); font-weight: 400; font-size: 80px; line-height: 1.1; letter-spacing: -.03em; }
.hn-body18 { font-size: 18px; line-height: 1.5; }
.hn-body18 p + p { margin-top: 0; }
.hn-eyebrow { font-family: var(--hn-mono); font-weight: 400; font-size: 14px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; color: var(--hn-n300); }
.hn-eyebrow__mark { color: var(--hn-red); }
.hn-eyebrow--ink { color: var(--hn-n700); font-weight: 500; }
.hn-eyebrow--white { color: var(--hn-white); font-weight: 500; }
.hn-eyebrow--soft { color: var(--hn-n300); font-weight: 500; }
/* Neutral 600 label (case studies, who we are, delivery methodology, solutions, partners, resources); the "/." mark stays red */
.hn-eyebrow--n600 { color: var(--hn-n600); }
.hn-eyebrow .hn-eyebrow__mark { color: var(--hn-red); }
/* the numbers band is red itself, so its mark stays white to stay visible */
.hn-numbers .hn-eyebrow .hn-eyebrow__mark { color: inherit; }
.hn-label { font-family: var(--hn-mono); font-weight: 500; font-size: 14px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; color: var(--hn-n400); }
.hn-label12 { font-family: var(--hn-mono); font-weight: 500; font-size: 12px; line-height: 1.25; color: var(--hn-ink); }

/* section head: a rule, the "/." eyebrow, the H2 */
.hn-head { border-top: 1px solid var(--hn-n250); padding-top: 21px; }
.hn-head .hn-eyebrow { margin-bottom: 8px; }
.hn-head--tight .hn-h2 { margin-top: 16px; }

/* ---------- buttons: label + a round arrow chip ---------- */
.hn-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: 999px; font-family: var(--hn-sans); font-weight: 600; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.hn-btn--lg { min-height: 64px; padding: 11px 11px 11px 28px; font-size: 18px; line-height: 1.25; }
.hn-btn--md { min-height: 52px; padding: 8px 8px 8px 28px; font-size: 16px; line-height: 1.25; }
.hn-btn--sm { min-height: 52px; padding: 8px 8px 8px 24px; font-size: 16px; line-height: 1.25; }
.hn-btn__dot { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; transition: transform .3s var(--hn-ease); }
.hn-btn--sm .hn-btn__dot, .hn-btn--md .hn-btn__dot { width: 36px; height: 36px; }
.hn-btn__l { position: relative; top: 3px; } /* Calibre sits high in its line box; this centres the caps in the pill as drawn */
/* the story-card pill carries its label a touch higher */
.hn-story__btn .hn-btn__l { top: 3.5px; }
.hn-btn--sm .hn-btn__l, .hn-btn--md .hn-btn__l { top: 3.25px; }
/* hover: the arrow flies out top-right and back in from bottom-left (as on /lp/shopify-design/) */
.hn-btn__dot { overflow: hidden; }
.hn-btn:hover .hn-btn__dot svg, .hn-btn:focus-visible .hn-btn__dot svg,
.hn-story__btn:hover .hn-btn__dot svg, .hn-story__btn:focus-visible .hn-btn__dot svg { animation: hnArrow .6s cubic-bezier(.22, 1, .36, 1); }
@keyframes hnArrow { 0% { transform: translate(0, 0); opacity: 1; } 38% { transform: translate(150%, -150%); opacity: 0; } 39% { transform: translate(-150%, 150%); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
.hn-btn--red { background: var(--hn-red); color: var(--hn-white); }
.hn-btn--red .hn-btn__dot { background: var(--hn-white); color: var(--hn-red); }
.hn-btn--red-bright { background: var(--hn-red-bright); color: var(--hn-white); }
.hn-btn--red-bright .hn-btn__dot { background: var(--hn-white); color: var(--hn-ink); }
.hn-btn--ink { background: var(--hn-ink); color: var(--hn-white); }
.hn-btn--ink .hn-btn__dot { background: var(--hn-white); color: var(--hn-ink); }
.hn-btn--outline { background: var(--hn-white); color: var(--hn-ink); box-shadow: inset 0 0 0 1px var(--hn-ink); }
.hn-btn--outline .hn-btn__dot { background: var(--hn-ink); color: var(--hn-white); }
.hn-btn--white { background: var(--hn-white); color: var(--hn-ink); }
.hn-btn--white .hn-btn__dot { background: var(--hn-ink); color: var(--hn-white); }
.hn-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hn-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 16px; line-height: 1.5; }
.hn-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hn-ico--red { color: var(--hn-red); }
.hn-link--white { color: var(--hn-white); }

/* round carousel buttons */
.hn-nb { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; background: none; transition: opacity .25s ease, transform .25s ease; }
.hn-nb:hover { transform: scale(1.06); }
.hn-nb[aria-disabled="true"] { opacity: .35; cursor: default; transform: none; }
.hn-nb--outline { box-shadow: inset 0 0 0 1px var(--hn-n250); color: var(--hn-ink); }
.hn-nb--ink-outline { box-shadow: inset 0 0 0 1px var(--hn-ink); color: var(--hn-ink); }
.hn-nb--ink { background: var(--hn-ink); color: var(--hn-white); }
.hn-nb--red { background: var(--hn-red); color: var(--hn-white); }
.hn-counter { font-family: var(--hn-mono); font-weight: 500; font-size: 14px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }

/* ---------- Shopify Diamond Partner lockup ---------- */
.hn-lockup { display: inline-flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; font-family: var(--hn-mono); font-weight: 500; font-size: 14px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.hn-lockup img { width: 32px; height: auto; }
.hn-lockup--glass { position: absolute; left: 24px; top: 21px; color: var(--hn-white); background: rgb(255 255 255 / .15); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hn-lockup--frost { flex: 0 0 auto; align-self: flex-start; color: var(--hn-ink); padding: 11px 19px 11px 11px; border: 1px solid transparent;
  background:
    conic-gradient(from 90deg at 87% 51%, rgb(185 185 185 / .47), rgb(255 255 255 / .5) 70%, rgb(237 237 237 / .49) 75%, rgb(185 185 185 / .47)) padding-box,
    url(/images/home-new/diamond-surface.webp) center / cover padding-box,
    linear-gradient(90deg, #fff, #c9cfdd, #fff) border-box;
  background-blend-mode: overlay, normal, normal; }
.hn-lockup--frost img { width: 43px; }
.hn-hero__row > .hn-lockup--frost { min-width: 229px; min-height: 75px; }
.hn-lockup--pill { min-height: 88px; padding: 12px 20px; font-size: 16px; line-height: 1.25; }

/* ==================================================== hero */
.hn-hero__media { position: relative; width: calc(100% - 80px); max-width: 1840px; height: 700px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #1a0a0a; }
.hn-hero__controls { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.hn-hero__controls[hidden] { display: none; }
.hn-hero__ctl { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: var(--hn-white); background: rgb(17 17 17 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); cursor: pointer; opacity: .8; transition: opacity .2s ease, background-color .2s ease; }
.hn-hero__ctl:hover, .hn-hero__ctl:focus-visible { opacity: 1; background: rgb(17 17 17 / .7); }
.hn-hero__ctl:focus-visible { outline: 3px solid var(--hn-white); outline-offset: 3px; }
.hn-hero__ctl .hn-ico-on, .hn-hero__ctl[aria-pressed="true"] .hn-ico-off { display: none; }
.hn-hero__ctl[aria-pressed="true"] .hn-ico-on { display: block; }
.hn-hero__media > img, .hn-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hn-hero__media .hn-lockup { z-index: 1; }
.hn-hero__row { display: flex; justify-content: space-between; gap: 48px; margin-top: 48px; }
.hn-hero__copy { max-width: 1010px; }
.hn-hero__lead { max-width: 672px; min-height: 102px; margin-top: 24px; font-size: 18px; line-height: 1.5; }
.hn-hero__lead strong { font-weight: 600; line-height: 1.25; display: block; }
.hn-hero .hn-ctas { margin-top: 24px; }

/* ==================================================== featured success stories */
.hn-stories .hn-head { border-top-color: var(--hn-n250); }
.hn-rail { margin-top: 56px; }
.hn-rail__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(40px, calc((100vw - 1360px) / 2)); scroll-padding: 0 max(40px, calc((100vw - 1360px) / 2)); }
.hn-rail__track::-webkit-scrollbar { display: none; }
.hn-story { position: relative; flex: 0 0 328px; height: 472px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; color: var(--hn-white); border-radius: 20px 20px 32px 32px; overflow: hidden; }
.hn-story__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hn-ease); }
.hn-story:hover .hn-story__bg { transform: scale(1.03); }
.hn-story__top, .hn-story__bottom { position: relative; }
.hn-story__top { padding: 16px 16px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hn-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: 12px; background: var(--brand); color: var(--hn-white); font-family: var(--hn-mono); font-weight: 500; font-size: 12px; line-height: 1.25; text-transform: uppercase; }
.hn-story__logo { height: 40px; width: auto; max-width: 164px; object-fit: contain; object-position: left center; }
.hn-story__wordmark { font-weight: 600; font-size: 24px; line-height: 1.2; }
.hn-story__stat { padding: 0 16px; font-family: var(--hn-sans); font-weight: 600; font-size: 18px; line-height: 1.25; }
.hn-story__text { padding: 0 16px; font-size: 16px; line-height: 1.5; color: rgb(255 255 255 / .8); }
.hn-story__btn { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; min-height: 64px; padding: 0 8px 0 20px; border-radius: 999px; background: var(--brand); color: var(--hn-white); font-weight: 600; font-size: 16px; line-height: 1.25; }
.hn-story__btn .hn-btn__dot { width: 48px; height: 48px; background: var(--hn-white); color: var(--hn-ink); }
.hn-story__btn::after { content: ''; position: absolute; inset: 0; } /* the whole card is the link */
.hn-rail__controls { display: flex; align-items: center; gap: 24px; margin-top: 56px; }
.hn-progress { flex: 1; height: 2px; border-radius: 2px; background: var(--hn-n200); overflow: hidden; }
.hn-progress span { display: block; height: 100%; width: 0; background: var(--hn-ink); border-radius: 2px; transition: width .4s var(--hn-ease); }
.hn-logos { margin-top: 56px; }
.hn-stories { padding-bottom: 22px; }
/* the live band's logos are white for a dark ground: repaint them ink, at the comp's grey */
.hn-logos .marquee-mask-wrapper { padding: 0 !important; }
.hn-logos .marquee-logo { height: 46px !important; width: auto !important; filter: brightness(0); opacity: .45; }

/* ==================================================== Anatta at a glance */
.hn-glance .hn-head { margin-bottom: 50px; }
.hn-glance__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hn-tier { position: relative; display: flex; flex-direction: column; min-height: 565px; padding: 32px 32px 40px; border-radius: 24px; }
.hn-tier .hn-h36 { margin-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hn-red-bright); }
.hn-tier__list { margin-top: 24px; display: flex; flex-direction: column; }
.hn-tier__list li { display: flex; gap: 10px; padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid rgb(0 0 0 / .08); font-size: 18px; line-height: 24px; }
.hn-check { flex: 0 0 auto; margin-top: 4px; color: var(--hn-red-bright); }
.hn-tier .hn-btn { margin-top: auto; align-self: flex-start; min-width: 320px; gap: 16px; }
.hn-tier--light { background: var(--hn-n100); color: #000; }
.hn-tier--dark { background: #000; color: var(--hn-white); }
.hn-tier--dark .hn-tier__list li { border-bottom-color: var(--hn-n700); }
.hn-tier--outline { background: var(--hn-white); box-shadow: inset 0 0 0 1px var(--hn-ink); }
.hn-tier--outline .hn-label { color: var(--hn-n600); }
.hn-tier--outline .hn-h36 { border-bottom-color: var(--hn-n800); }
.hn-tier--outline .hn-tier__list li { border-bottom-color: var(--hn-n250); }
.hn-tier--outline .hn-check { color: var(--hn-ink); }

/* ==================================================== what clients say */
.hn-voices { background: var(--hn-ink); color: var(--hn-white); padding: 96px 0; }
/* the LP's container: 1200 of content inside 40px gutters */
.hn-voices__wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.hn-voices__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 16px; border-top: 1px solid var(--hn-n600); }
.hn-voices__top .hn-eyebrow { font-weight: 500; }
/* Figma 2030:647 tabs: 32px apart, each logo in a 40px slot with its 2px underline 16px below it.
   Unselected: logo at 45%, underline n700. Selected: logo and underline white. */
.hn-voices__tabs { display: flex; align-items: flex-start; gap: 32px; }
.hn-tab { display: inline-flex; align-items: center; box-sizing: border-box; height: 66px; padding: 8px 0 16px; background: none; border: 0; border-bottom: 2px solid var(--hn-n700); border-radius: 0; cursor: pointer; transition: border-color .3s ease; }
.hn-tab img { display: block; max-height: 40px; width: auto; opacity: .45; transition: opacity .3s ease; }
.hn-tab:hover img { opacity: .8; }
.hn-tab:hover { border-bottom-color: var(--hn-n400); }
.hn-tab[aria-selected="true"] { border-bottom-color: var(--hn-white); }
.hn-tab[aria-selected="true"] img { opacity: 1; }
.hn-tab:focus-visible { outline: 2px solid var(--hn-white); outline-offset: 4px; }
.hn-voices__hint { display: none; color: var(--hn-n400); font-family: var(--hn-mono); font-weight: 500; font-size: 14px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.hn-voices__panels { display: grid; margin-top: 46px; }
.hn-voice { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 80px; /* 80 between the quote and the image (requester) */ opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }
.hn-voice.is-on { opacity: 1; visibility: visible; }
.hn-voice__copy { display: flex; flex-direction: column; gap: 32px; min-height: 600px; }
.hn-voice__fig { margin: 0; display: flex; flex-direction: column; gap: 42px; }
/* client row: 64×64 thumbnail, name + role left-aligned 16px to its right */
.hn-voice__who { margin: 0; display: flex; align-items: center; gap: 16px; text-align: left; }
.hn-voice__thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--hn-n700); color: var(--hn-white); font-family: var(--hn-mono); font-weight: 500; font-size: 16px; line-height: 1.3; }
.hn-voice__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hn-voice__id { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hn-voice__name { display: block; font-family: var(--hn-serif); font-size: 24px; line-height: 1.1; }
.hn-voice__role { display: block; margin-top: 5px; color: var(--hn-n300); font-size: 16px; line-height: 1.5; }
/* 40/44 Publico; border/padding reset beats the Webflow base blockquote (5px grey left rule) */
.hn-voice__quote { margin: 0; padding: 0; border: 0; font-family: var(--hn-serif); font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.hn-voice__qm { color: var(--hn-red); }
/* words fill from grey to white as the quote rises through the viewport */
.hn-tw { color: var(--hn-n600); transition: color .3s ease; }
.hn-tw.is-lit { color: var(--hn-white); }
.hn-voice__copy > .hn-btn { margin-top: auto; align-self: flex-start; font-size: 16px; }
.hn-voice__media { position: relative; min-height: 600px; border-radius: 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hn-voice__media img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: contain; padding: 28px 24px 56px; }
.hn-voice__media.is-cover img { position: absolute; inset: 0; max-height: none; object-fit: cover; padding: 0; }
.hn-voice__media.is-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgb(0 0 0 / 0), rgb(0 0 0 / .325)); }
.hn-voice__caption { position: absolute; z-index: 1; left: 24px; bottom: 20px; color: var(--hn-n300); font-size: 16px; line-height: 1.5; }
.hn-voice__media.is-cover .hn-voice__caption { color: var(--hn-white); }

/* ==================================================== AOS */
.hn-aos { display: flex; justify-content: space-between; align-items: flex-end; gap: 49px; }
.hn-aos__copy { flex: 0 1 671px; display: flex; flex-direction: column; gap: 32px; }
.hn-aos .hn-head { border-top: 0; padding-top: 0; position: relative; }
.hn-aos .hn-head::before { content: ''; position: absolute; left: 0; top: 0; width: calc(1360px); max-width: calc(100vw - 80px); border-top: 1px solid var(--hn-n250); }
.hn-aos .hn-head { padding-top: 21px; }
.hn-aos .hn-body18 { max-width: 640px; color: var(--hn-n800); }
.hn-aos__stats { display: grid; grid-template-columns: 213px 229px 230px; padding: 24px 0; }
.hn-aos__stats .hn-label12 { min-height: 22px; }
.hn-aos__stats li { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; }
.hn-aos__stats li:first-child { padding-left: 0; }
.hn-aos__copy > .hn-btn { align-self: flex-start; gap: 40px; padding: 4px 8px 4px 24px; }
.hn-aos__copy > .hn-btn .hn-btn__dot { width: 48px; height: 48px; color: var(--hn-ink); }
.hn-aos__frame { display: contents; } /* phones only: a crop box */
.hn-aos__img { flex: 0 0 571px; width: 571px; height: 625px; object-fit: cover; }

/* ==================================================== built on the AOS */
.hn-cases { padding: 0 0 116px; }
.hn-cases__head { position: relative; }
.hn-cases .hn-head { border-top-color: var(--hn-ink); padding-top: 17px; }
.hn-cases__controls { position: absolute; right: 104px; top: 121px; display: flex; align-items: center; gap: 12px; }
.hn-cases__controls .hn-counter { margin-right: 7px; font-weight: 400; font-size: 16px; letter-spacing: 0; }
.hn-cases__viewport { margin-top: 35px; overflow: hidden; }
.hn-cases__track { display: flex; gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 max(40px, calc((100vw - 1360px) / 2)); scroll-padding: 0 max(40px, calc((100vw - 1360px) / 2)); }
.hn-cases__track::-webkit-scrollbar { display: none; }
.hn-case { flex: 0 0 917px; height: 464px; scroll-snap-align: start; display: flex; gap: 24px; padding: 32px; border-radius: 24px; }
.hn-case__media { position: relative; flex: 0 0 542px; height: 400px; border-radius: 24px; overflow: hidden; }
.hn-case__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hn-case__bento { position: absolute; object-fit: contain; }
.hn-case__copy { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hn-case__logo { max-width: 214px; margin: 4px; }
.hn-case__text { margin-top: 12px; color: var(--hn-n800); font-size: 18px; line-height: 1.5; }
.hn-case__stat { display: flex; flex-direction: column; gap: 4px; margin-top: auto; }
.hn-case__n { font-family: var(--hn-serif); font-weight: 400; font-size: 48px; line-height: 1.1; letter-spacing: -.02em; color: var(--hn-ink); }
/* Figma 2051:541: a 1px rule under label + arrow by default; it clears on hover */
.hn-case .hn-link { align-self: flex-start; margin-top: 24px; min-height: 0; border-bottom: 1px solid currentColor; text-decoration: none; transition: border-color .2s ease; }
.hn-case .hn-link:hover { border-bottom-color: transparent; text-decoration: none; }

/* ==================================================== solutions */
.hn-solutions--muted { background: var(--hn-n100); padding-bottom: 76px; }
.hn-solutions--white { background: var(--hn-white); padding-bottom: 119px; }
.hn-solutions__head { margin-bottom: 72px; }
.hn-solutions__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-top: 32px; }
.hn-statcard { flex: 0 0 329px; min-height: 128px; display: flex; align-items: center; gap: 16px; padding: 16px; margin-top: 2px; border-radius: 12px; background: var(--hn-white); }
.hn-solutions--white .hn-statcard { background: var(--hn-n100); }
.hn-statcard .hn-num52 { color: var(--hn-red); flex: 0 0 auto; }
.hn-statcard .hn-label { font-weight: 400; color: var(--hn-n600); }
.hn-pillar + .hn-pillar { margin-top: 80px; }
.hn-pillar__head { display: flex; gap: 12px; padding-bottom: 20px; border-bottom: 2px solid var(--hn-ink); }
.hn-pillar__n { flex: 0 0 53px; font-family: var(--hn-mono); font-size: 44px; line-height: 1; color: var(--hn-red); }
.hn-pillar__t { font-family: var(--hn-mono); font-weight: 500; font-size: 16px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.hn-pillar__d { margin-top: 8px; color: var(--hn-n600); font-size: 16px; line-height: 1.5; }
.hn-svc { position: relative; display: grid; grid-template-columns: 688px 573px 1fr; align-items: start; min-height: 108px; padding: 32px 0 20px; border-bottom: 1px solid var(--hn-n200); }
.hn-svc__name { max-width: 557px; font-family: var(--hn-serif); font-size: 36px; line-height: 1.25; transition: color .2s ease; }
.hn-svc__desc { padding-top: 2px; color: var(--hn-n600); font-size: 18px; line-height: 1.5; }
.hn-svc__arrow { justify-self: end; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -4px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hn-n250); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.hn-svc:hover .hn-svc__name { color: var(--hn-red); }
.hn-svc:hover .hn-svc__arrow { background: var(--hn-ink); color: var(--hn-white); box-shadow: none; }

/* ==================================================== not listed? band */
.hn-band { display: flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 148px; margin: 3px 0 108px; padding: 32px 40px; border-radius: 24px; background: var(--hn-ink); color: var(--hn-white); }
.hn-band > div { flex: 1; }
.hn-band .hn-body18 { margin-top: 8px; max-width: 800px; }
.hn-band .hn-btn { gap: 20px; font-size: 16px; line-height: 1.25; }

/* ==================================================== by the numbers */
.hn-numbers { background: var(--hn-red); color: var(--hn-white); padding: 120px 0 108px; }
.hn-numbers__ink { color: var(--hn-ink); }
.hn-numbers__intro { display: flex; justify-content: space-between; gap: 48px; }
.hn-numbers__copy { max-width: 680px; }
.hn-numbers__copy .hn-display { margin-top: 24px; }
.hn-numbers__copy .hn-body18 { margin-top: 24px; }
.hn-partner-card { flex: 0 0 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 28px; border-radius: 24px; background: var(--hn-ink); }
.hn-partner-card__lockup { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--hn-n600); font-family: var(--hn-mono); font-weight: 500; font-size: 16px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; }
.hn-partner-card ul { display: flex; flex-direction: column; gap: 24px; }
.hn-partner-card li { display: flex; align-items: center; gap: 12px; color: var(--hn-n300); font-size: 16px; line-height: 1.5; }
.hn-partner-card li strong { color: var(--hn-white); font-weight: 600; }
.hn-partner-card .hn-check { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px; padding: 5px 4px; border-radius: 50%; background: var(--hn-white); color: var(--hn-ink); }
/* Figma 1986:486: a 1px white rule under label + arrow, not a text underline */
.hn-partner-card .hn-link { align-self: flex-start; min-height: 0; padding-bottom: 0; border-bottom: 1px solid var(--hn-white); line-height: 1.25; text-decoration: none; }
.hn-partner-card .hn-link .hn-ico { width: 18px; height: 18px; }
.hn-numbers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 48px; margin: 80px 0 0; }
.hn-numbers__grid > div { display: flex; flex-direction: column; gap: 12px; padding-top: 32px; border-top: 1px solid var(--hn-red-soft); }
.hn-numbers__grid dd { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.25; }

/* ==================================================== partners */
.hn-partners { background: var(--hn-blush); }
.hn-partners .hn-h2 { max-width: 904px; margin-left: auto; margin-right: auto; }
.hn-center-head { max-width: 1000px; margin: 0 auto; text-align: center; }
.hn-center-head .hn-h2 { margin-top: 16px; }
.hn-center-head .hn-body18 { max-width: 720px; margin: 16px auto 0; color: var(--hn-n700); }
.hn-partners__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 16px; max-width: 1300px; margin: 48px auto 0; }
.hn-pill { position: relative; display: flex; align-items: center; justify-content: center; min-width: 160px; height: 88px; padding: 0 36px; border-radius: 24px; background: rgb(255 255 255 / .5); }
/* white logo files from the live homepage, drawn in ink on this light band; 56px tall as on the live wall */
.hn-pill img { display: block; width: auto; height: 56px; filter: brightness(0); }
.hn-pill__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: var(--hn-red); color: var(--hn-white); font-family: var(--hn-mono); font-weight: 500; font-size: 12px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
/* AIO-46: the wall links to /technology-partners/, which lists the same set with a line each */
.hn-partners__more { margin: 40px 0 0; text-align: center; font-family: var(--hn-mono); font-weight: 500; font-size: 14px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.hn-partners__more a { color: var(--hn-ink); text-decoration: underline; text-decoration-color: var(--hn-red); text-underline-offset: 4px; }
.hn-partners__more a:hover { color: var(--hn-red); }

/* ==================================================== resources */
.hn-resources { margin-top: 32px; padding: 96px 0 111px; }
.hn-resources__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.hn-res { position: relative; display: flex; flex-direction: column; min-height: 600px; border-radius: 24px; overflow: hidden; background: var(--hn-n100); }
.hn-res__img { position: relative; height: 260px; background: var(--hn-n200); }
.hn-res__img img, .hn-res__img video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hn-res__tag { position: absolute; left: 20px; top: 20px; padding: 4px 14px; border-radius: 999px; background: var(--hn-n600); color: var(--hn-white); font-family: var(--hn-mono); font-weight: 500; font-size: 12px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.hn-res__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0; padding: 32px; }
.hn-res__t { font-family: var(--hn-sans); font-weight: 600; font-size: 24px; line-height: 30px; letter-spacing: 0; } /* Calibre 24 semibold (requester) */
.hn-res__t a::after { content: ''; position: absolute; inset: 0; } /* the whole card is the link */
.hn-res:hover .hn-res__t { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.hn-res__d { margin-top: 16px; color: var(--hn-n600); font-size: 16px; line-height: 1.5; }
.hn-res__author { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--hn-n200); }
.hn-res__avatar { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hn-blush); font-weight: 600; font-size: 16px; }
.hn-res__author strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.25; }
.hn-res__author strong + span { display: block; margin-top: 2px; color: var(--hn-n600); font-size: 14px; line-height: 1.5; }
.hn-resources__more { display: flex; justify-content: center; margin-top: 36px; }
.hn-resources__more .hn-btn { gap: 20px; }

/* ==================================================== closing CTA + footer */
.hn-cta { position: relative; z-index: 1; background: var(--hn-red); color: var(--hn-white); border-radius: 32px 32px 0 0; padding: 108px 0 148px; }
.hn-cta__inner { display: flex; align-items: center; gap: 180px; }
.hn-cta__copy { flex: 0 1 787px; display: flex; flex-direction: column; gap: 16px; }
.hn-cta__copy .hn-body18 { max-width: 680px; min-height: 64px; }
.hn-cta__outcomes { display: grid; grid-template-columns: repeat(3, 256px); gap: 16px; padding-top: 32px; border-top: 1px solid var(--hn-red-soft); }
.hn-cta__outcomes li { display: flex; flex-direction: column; gap: 12px; max-width: 240px; font-size: 14px; line-height: 1.5; }
.hn-cta__outcomes .hn-num52 { color: var(--hn-white); }
.hn-cta__copy > .hn-btn { align-self: flex-start; margin-top: 24px; /* Figma: the outcomes row carries 24px under it */ gap: 20px; font-size: 16px; line-height: 1.25; }
.hn-cta__anim { flex: 0 0 391px; width: 391px; height: 391px; object-fit: cover; }
/* Footer (Figma 1989:6097): #111 ground drawn 64px up over the red card's foot,
   square-cornered; the slash-and-sphere sits behind the copy at the right edge
   of the 1360 grid. */
.hn-foot { position: relative; z-index: 2; margin-top: -64px; overflow: hidden; background: var(--hn-ink); color: var(--hn-white); font-family: var(--hn-sans); }
.hn-foot p, .hn-foot ul { margin: 0; padding: 0; list-style: none; }
.hn-foot__art { position: absolute; z-index: 0; top: 108px; right: max(40px, calc(50% - 680px)); width: 685px; height: auto; pointer-events: none; }
.hn-foot__top, .hn-foot__cols { position: relative; z-index: 1; }
.hn-foot__top { display: flex; flex-direction: column; gap: 16px; padding-top: 108px; padding-bottom: 40px; border-bottom: 0; }
.hn-foot__top::after { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 0; border-top: 1px solid var(--hn-n700); }
.hn-foot__statement { max-width: 786px; font-family: var(--hn-serif); font-weight: 400; font-size: 36px; line-height: 1.25; }
.hn-foot__statement a { color: var(--hn-red); text-decoration: none; }
.hn-foot__statement a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hn-foot__legal { max-width: 786px; font-size: 16px; line-height: 1.5; color: var(--hn-n400); }
.hn-foot__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hn-foot__legal a:hover { color: var(--hn-white); }
.hn-foot__cols { display: flex; gap: 16px; padding-top: 40px; padding-bottom: 108px; }
.hn-foot__col { flex: 0 0 213px; display: flex; flex-direction: column; gap: 32px; }
.hn-foot__cols { align-items: flex-start; }
.hn-foot__grp { display: flex; flex-direction: column; gap: 12px; }
.hn-foot__col:last-child .hn-foot__grp { gap: 8px; }
.hn-foot__h { font-family: var(--hn-mono); font-weight: 500; font-size: 14px; line-height: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--hn-n400); }
.hn-foot__grp ul { display: flex; flex-direction: column; gap: 8px; }
.hn-foot__grp a { color: var(--hn-white); text-decoration: none; font-size: 16px; line-height: 1.5; }
.hn-foot__grp li { white-space: nowrap; } /* the comp's breaks are explicit */
.hn-foot__grp a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hn-foot a:focus-visible { outline: 2px solid var(--hn-white); outline-offset: 2px; }
/* strip: [line · mark] x4, doubled so a -50% translate loops seamlessly */
.hn-foot__mq { position: relative; z-index: 1; height: 100px; overflow: hidden; border-top: 1px solid var(--hn-n700); }
.hn-foot__mq-track { display: flex; width: max-content; animation: hnFootMq 26s linear infinite; }
.hn-foot__mq-row { display: flex; align-items: center; height: 100px; }
.hn-foot__mq-t { padding: 0 48px; font-family: var(--hn-serif); font-weight: 400; font-size: 32px; line-height: 35px; letter-spacing: -.02em; white-space: nowrap; }
.hn-foot__mq-row img { display: block; width: 33px; height: 40px; }
@keyframes hnFootMq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hn-foot__mq-track { animation: none; } }

@media (prefers-reduced-motion: reduce) {
  .hn *, .hn *::before, .hn *::after { transition: none !important; }
  .hn-btn .hn-btn__dot svg, .hn-story__btn .hn-btn__dot svg { animation: none !important; }
  .hn-rail__track, .hn-cases__track { scroll-behavior: auto; }
}

/* ==================================================== narrower screens (interim)
   The comp is desktop only (1440). Until the tablet and phone designs land these rules only keep
   the page readable: fixed Figma columns become fluid below 1360px, and everything stacks on phones. */
@media (max-width: 1359px) {
  .hn-svc { grid-template-columns: minmax(0, 41fr) minmax(0, 42fr) 48px; column-gap: 24px; }
  .hn-aos__img { flex-basis: 42%; width: 42%; height: auto; }
  .hn-cta__inner { gap: 64px; }
  .hn-cta__anim { flex-basis: 30%; width: 30%; height: auto; }
}
@media (max-width: 1100px) {
  .hn-display { font-size: 72px; }
  .hn-h2 { font-size: 56px; }
  .hn-glance__grid, .hn-resources__grid { grid-template-columns: minmax(0, 1fr); }
  .hn-voices__top { flex-direction: column; }
  .hn-voice { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); gap: 40px; }
  .hn-voice__quote { font-size: 40px; }
  .hn-numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-numbers__intro, .hn-aos, .hn-hero__row, .hn-solutions__row, .hn-band, .hn-cta__inner { flex-direction: column; align-items: flex-start; }
  .hn-aos__img, .hn-cta__anim { width: 100%; max-width: 571px; flex-basis: auto; }
  .hn-partner-card, .hn-statcard { flex-basis: auto; width: 100%; max-width: 420px; }
  .hn-foot__art { right: -160px; width: 520px; opacity: .6; }
}
/* ==================================================== phones: Figma "Homepage · Mobile 390" (2058:663, rev. 18 Nov 09:49)
   16px gutters, 64px section rhythm, 36/45 section titles; rails scroll sideways from the gutter. */
@media (max-width: 760px) {
  .hn-wrap, .hn-voices__wrap { padding: 0 16px; }
  .hn-sec { padding-top: 64px; padding-bottom: 64px; }
  .hn-h2 { font-size: 36px; line-height: 1.25; letter-spacing: 0; }
  .hn-h36 { font-size: 28px; }
  .hn-head { padding-top: 12px; }
  .hn-head .hn-eyebrow { margin-bottom: 12px; }
  .hn-btn { white-space: normal; }
  /* comp buttons: 56 tall, 28px in, a 42px chip 11-12px from the right edge */
  .hn-btn--lg, .hn-btn--md { min-height: 56px; padding: 7px 11px 7px 28px; font-size: 16px; line-height: 1.25; }
  .hn-btn--lg .hn-btn__dot, .hn-btn--md .hn-btn__dot { width: 42px; height: 42px; }

  /* hero: 358×316 reel with the Diamond lockup on it; semibold lead line, regular second paragraph */
  .hn-hero { position: relative; padding-bottom: 64px; }
  .hn-hero__media { width: calc(100% - 32px); height: 316px; }
  .hn-hero__row { margin-top: 32px; position: static; }
  .hn-hero .hn-display { font-size: 40px; line-height: 1; letter-spacing: -.02em; }
  .hn-hero__lead { min-height: 0; margin-top: 21px; font-size: 16px; line-height: 24px; }
  .hn-hero__lead strong { line-height: 20px; }
  .hn-hero .hn-ctas { flex-direction: column; gap: 12px; margin-top: 21px; }
  .hn-hero .hn-ctas .hn-btn { width: 100%; padding-right: 12px; }
  .hn-hero__row > .hn-lockup--frost { position: absolute; z-index: 2; top: 12px; left: 28px; min-width: 0; min-height: 44px; gap: 7px; padding: 5px 12px; border-radius: 8px; font-size: 11px; line-height: 13.8px; }
  .hn-hero__row > .hn-lockup--frost img { width: 27px; }

  /* featured success stories */
  .hn-stories { padding-top: 0; padding-bottom: 0; }
  .hn-stories .hn-head .hn-eyebrow { margin-bottom: 18px; }
  .hn-rail { margin-top: 24px; }
  .hn-rail__track { padding: 0 16px; scroll-padding: 0 16px; }
  .hn-story__btn { min-height: 56px; padding: 0 6px 0 20px; }
  .hn-story__btn .hn-btn__dot { width: 44px; height: 44px; }
  .hn-rail__controls { gap: 16px; min-height: 32px; margin-top: 24px; }
  .hn-rail__controls .hn-nb { display: none; }
  .hn-rail__controls .hn-counter { font-weight: 400; }
  .hn-logos { margin-top: 24px; }
  .hn-logos .marquee-logo { height: 40px !important; }

  /* at a glance: 358×458 cards */
  .hn-glance .hn-head { margin-bottom: 24px; }
  .hn-tier { min-height: 458px; padding: 26px 24px; border-radius: 24px; }
  .hn-tier .hn-label { font-weight: 400; font-size: 12px; letter-spacing: .06em; }
  .hn-tier .hn-h36 { margin-top: 8px; padding-bottom: 16px; font-size: 28px; line-height: 1.1; }
  .hn-tier__list { margin-top: 20px; }
  .hn-tier__list li { gap: 8px; padding-bottom: 12px; margin-bottom: 12px; font-size: 14.6px; line-height: 19.4px; }
  .hn-tier__list .hn-check { margin-top: 3px; }
  .hn-tier .hn-btn { align-self: stretch; min-width: 0; min-height: 56px; margin-top: auto; padding: 7px 7px 7px 24px; }
  .hn-tier .hn-btn .hn-btn__dot { width: 42px; height: 42px; }

  /* testimonials: logos at 60% in 40px tabs, then image, quote, person, button */
  .hn-voices { padding: 64px 0; }
  .hn-voices__wrap { display: flex; flex-direction: column; }
  .hn-voices__top { display: contents; }
  .hn-voices__top .hn-eyebrow { order: 0; padding-top: 12px; border-top: 1px solid var(--hn-n600); font-weight: 400; }
  .hn-voices__tabs { order: 1; gap: 24px; margin: 40px -16px 0; padding: 0 16px; max-width: none; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 16px; }
  .hn-voices__tabs::-webkit-scrollbar { display: none; }
  .hn-tab { flex: 0 0 auto; height: 40px; padding: 6px 0 8px; scroll-snap-align: start; }
  .hn-tab img { height: calc(var(--lh, 40px) * .6); max-height: 24px; }
  .hn-voices__panels { order: 2; margin-top: 24px; }
  .hn-voices__hint { display: none; }
  /* panels share one grid cell sized by the longest quote; the copy row fills it so the CTA sits on the section's 64px bottom padding */
  .hn-voice { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 24px; }
  .hn-voice__media { order: -1; min-height: 0; height: 280px; }
  .hn-voice__media img { max-height: none; padding: 20px 20px 44px; }
  .hn-voice__caption { left: 16px; bottom: 12px; font-size: 14px; }
  .hn-voice__copy { min-height: 0; gap: 24px; }
  .hn-voice__fig { gap: 24px; }
  .hn-voice__quote { order: 0; font-size: 28px; letter-spacing: -.02em; }
  .hn-voice__who { order: 1; gap: 12px; }
  .hn-voice__thumb { flex-basis: 48px; width: 48px; height: 48px; }
  .hn-voice__name { font-family: var(--hn-sans); font-weight: 600; font-size: 18px; line-height: 22.5px; }
  .hn-voice__role { margin-top: 0; line-height: 20px; }
  .hn-voice__copy > .hn-btn { align-self: stretch; margin-top: auto; } /* gap above it flexes, min 24px */

  /* AOS: head, 300-tall sphere, body, outcome rows, button */
  .hn-aos { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding-bottom: 0; }
  .hn-aos__copy { display: contents; }
  .hn-aos .hn-head { padding-top: 12px; }
  .hn-aos .hn-head::before { width: 100%; max-width: none; border-top-color: var(--hn-n300); }
  /* Figma 2060:701 crops the 1920×1080 sphere to x 24.6–75.4%, y 14.9–87.9% */
  .hn-aos__frame { order: 1; display: block; position: relative; height: 300px; overflow: hidden; }
  .hn-aos__img { position: absolute; left: -48.5%; top: -20.35%; width: 197%; max-width: none; height: 136.95%; object-fit: cover; }
  .hn-aos .hn-body18, .hn-aos__stats, .hn-aos__copy > .hn-btn { order: 2; }
  .hn-aos .hn-body18 { font-size: 16px; line-height: 24px; }
  .hn-aos__stats { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .hn-aos__stats li, .hn-aos__stats li:first-child { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--hn-n250); }
  .hn-aos__stats .hn-num52 { font-size: 48px; }
  .hn-aos__stats .hn-label12 { flex: 0 0 150px; min-height: 0; text-align: right; text-transform: uppercase; font-weight: 400; }
  .hn-aos__copy > .hn-btn { align-self: stretch; gap: 16px; padding: 6px 6px 6px 24px; }
  .hn-aos__copy > .hn-btn .hn-btn__dot { width: 44px; height: 44px; }

  /* built on the AOS: 326-wide cards, the bento collage scaled into a 294×217 media box */
  .hn-cases { padding: 64px 0; }
  .hn-cases .hn-head { padding-top: 12px; }
  .hn-cases__controls { display: none; }
  .hn-cases__viewport { margin-top: 32px; }
  .hn-cases__track { gap: 16px; padding: 0 16px; scroll-padding: 0 16px; }
  .hn-case { flex: 0 0 326px; height: auto; flex-direction: column; gap: 20px; padding: 16px 16px 32px; }
  .hn-case__media { flex-basis: auto; width: 100%; height: auto; aspect-ratio: 542 / 400; border-radius: 12px; }
  .hn-case__bento { border-radius: 6px; }
  .hn-case__copy { gap: 24px; justify-content: flex-start; }
  .hn-case__logo { max-height: 40px; width: auto; max-width: 160px; }
  .hn-case__text { margin-top: 0; font-size: 16px; line-height: 1.5; }
  .hn-case__stat { gap: 0; margin-top: 0; }
  .hn-case__n { font-size: 36px; line-height: 45px; letter-spacing: 0; }
  .hn-case__stat .hn-label12 { line-height: 22px; }
  .hn-case .hn-link { margin-top: 0; }

  /* solutions bands: compact stat row, pillar descriptions hidden */
  .hn-solutions--muted { padding: 64px 0; }
  .hn-solutions--white { padding: 64px 0 0; }
  .hn-solutions__head .hn-eyebrow { padding-top: 16px; }
  .hn-solutions__head { margin-bottom: 40px; }
  .hn-solutions__row { gap: 16px; margin-top: 16px; }
  .hn-statcard { flex-basis: auto; width: auto; max-width: none; align-self: flex-start; min-height: 64px; margin-top: 0; padding: 8px 16px; }
  .hn-statcard .hn-num52 { font-size: 36px; line-height: 45px; letter-spacing: 0; }
  .hn-solutions .hn-h2 br { display: none; }
  .hn-statcard .hn-label { max-width: 224px; font-size: 12px; line-height: 15px; letter-spacing: 0; text-transform: none; }
  .hn-pillar + .hn-pillar { margin-top: 40px; }
  .hn-pillar__head { align-items: flex-start; gap: 12px; padding-bottom: 16px; }
  .hn-pillar__n { flex: 0 0 44px; font-size: 36px; }
  .hn-pillar__t { font-size: 14px; line-height: 18.2px; }
  .hn-pillar__d { display: none; }
  .hn-svc { grid-template-columns: minmax(0, 1fr) 40px; column-gap: 16px; row-gap: 6px; min-height: 0; padding: 20px 0; }
  .hn-pillar__rows li:first-child .hn-svc { padding-top: 24px; }
  .hn-svc__name { grid-column: 1; grid-row: 1; font-size: 24px; line-height: 1.1; }
  .hn-svc__desc { grid-column: 1; grid-row: 2; padding-top: 0; font-size: 16px; line-height: 1.5; }
  .hn-svc__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 40px; height: 40px; margin-top: 0; box-shadow: inset 0 0 0 1px var(--hn-n300); }

  /* "not listed?" band */
  .hn-band { gap: 16px; min-height: 0; margin: 64px 0; padding: 32px 24px; align-items: stretch; }
  .hn-band .hn-h36 { font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
  .hn-band .hn-body18 { margin-top: 16px; color: var(--hn-n300); font-size: 16px; line-height: 1.5; }
  .hn-band .hn-btn { width: 100%; }

  /* by the numbers */
  .hn-numbers { padding: 64px 0; }
  .hn-numbers__intro { gap: 32px; }
  .hn-numbers .hn-display { margin-top: 16px; font-size: 48px; line-height: 1.1; letter-spacing: -.02em; }
  .hn-numbers__copy .hn-body18 { margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .hn-partner-card { max-width: none; gap: 16px; padding: 24px 24px 32px; }
  .hn-partner-card ul { gap: 16px; }
  .hn-numbers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin-top: 32px; }
  .hn-numbers__grid > div { gap: 8px; padding: 20px 0 28px; border-top-color: var(--hn-ink); }
  .hn-numbers__grid dt { font-size: 48px; letter-spacing: -.02em; }
  .hn-numbers__grid dd { font-size: 16px; line-height: 1.25; }

  /* partners + resources: left-aligned heads */
  .hn-center-head { text-align: left; }
  .hn-center-head .hn-h2 { margin-top: 16px; }
  .hn-center-head .hn-body18 { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
  .hn-partners__pills { justify-content: flex-start; gap: 18px 10px; margin-top: 32px; }
  .hn-pill { min-width: 0; height: 55px; padding: 0 12px; border-radius: 15px; }
  .hn-pill img { height: 38px; }
  .hn-pill__badge { top: -8px; padding: 4px 12px; font-size: 10px; line-height: 1.25; }
  .hn-lockup--pill { min-height: 55px; gap: 7px; padding: 7px 12px; border-radius: 10px; font-size: 12px; line-height: 15px; }
  .hn-lockup--pill img { width: 27px; }
  .hn-resources { margin-top: 0; padding: 64px 0; }
  .hn-resources__grid { display: flex; gap: 16px; margin: 32px -16px 0; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .hn-resources__grid::-webkit-scrollbar { display: none; }
  .hn-res { flex: 0 0 334px; min-height: 600px; scroll-snap-align: start; }
  .hn-res__body { padding: 24px 24px 32px; }
  .hn-res__author { padding-top: 16px; }
  .hn-resources__more { margin-top: 32px; }
  .hn-resources__more .hn-btn { width: 100%; padding-right: 8px; }

  /* closing CTA: cube on top, then copy, ruled outcome rows, button */
  .hn-cta { padding: 64px 0 80px; border-radius: 16px 16px 0 0; } /* 64 + the 16 the footer's corners sit over */
  .hn-cta__inner { gap: 24px; }
  .hn .hn-cta__anim { order: -1; flex: none; width: 100%; max-width: none; height: 220px; object-fit: contain; } /* whole cube, uncropped */
  .hn-cta__copy { flex: none; gap: 0; }
  .hn-cta__copy .hn-body18 { min-height: 0; margin-top: 12px; font-size: 18px; line-height: 27px; }
  .hn-cta__outcomes { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 24px; padding-top: 0; border-top: 0; }
  .hn-cta__outcomes li { flex-direction: row; align-items: flex-start; gap: 16px; max-width: none; padding: 16px 0; border-top: 1px solid var(--hn-red-soft); font-size: 16px; line-height: 22px; }
  .hn-cta__outcomes .hn-num52 { flex: 0 0 44px; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
  .hn-cta__copy > .hn-btn { align-self: stretch; margin-top: 24px; }

  /* footer: statement, legal, link groups two-up, full-size marquee */
  .hn-foot { margin-top: -16px; border-radius: 16px 16px 0 0; } /* red CTA shows under the corners */
  .hn-foot__art { display: none; }
  .hn-foot__top { padding-top: 64px; padding-bottom: 0; }
  .hn-foot__statement { font-size: 24px; line-height: 1.1; }
  .hn-foot .hn-foot__legal { margin-top: 8px; } /* + the column's 16px gap = 24 */
  .hn-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; width: auto; margin: 24px 16px 0; padding: 24px 0 40px; border-top: 1px solid var(--hn-n700); }
  .hn-foot__col { display: contents; }
  .hn-foot__grp li { white-space: normal; font-size: 15px; line-height: 22.5px; }
  .hn-foot .hn-foot__h { margin: 0; }
  .hn-foot__grp { gap: 10px; }
  .hn-foot .hn-foot__grp ul { gap: 0; }
  .hn-foot__grp a { font-size: 15px; line-height: 22.5px; }
}
