/* ==========================================================================
   HQDM: one-off pages: services / case study hubs (v5 hover cards with SEO mini-scenes), case study lists,
   about, contact (+ Fluent Forms on the dark glass), legal text, background video.
   Static glass: hover only on what is a link (Milan). Review cards live in reviews.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page heroes (hubs, blog, reviews): glow bar under the H1, extra lede lines quieter
   -------------------------------------------------------------------------- */
.hq-hero--page .hq-glowbar { margin-top: var(--sp-5); }
.hq-hero--page .hq-glowbar + .hq-lede { margin-top: var(--sp-6); }
.hq-hero--page .hq-lede--more { margin-top: var(--sp-3); font-size: 1rem; line-height: 1.65; color: var(--c-text-muted); max-width: var(--measure-prose); }

/* --------------------------------------------------------------------------
   Hub cards (/services, /case-studies): orbitly hover cards made for SEO.
   Medal + title, text, CTA, then a wordless mini-scene at the bottom. The whole card is the link
   (a.hq-card on /case-studies; on /services the CTA link is stretched over the card because the card
   text holds its own links). Only the scene animates (card never moves); press = scale .99.
   --on (0 rest, 1 active) drives every scene; phones and reduced motion show the end state.
   -------------------------------------------------------------------------- */
.hq-hub-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sp-5); }
.hq-hub-grid > * { margin: 0 !important; }
.hq-hub-grid--services > :first-child { grid-column: span 7; grid-row: span 2; }
.hq-hub-grid--services > :not(:first-child) { grid-column: span 5; }
.hq-hub-grid--cases > :is(:nth-child(4n + 1), :nth-child(4n)) { grid-column: span 5; }
.hq-hub-grid--cases > :is(:nth-child(4n + 2), :nth-child(4n + 3)) { grid-column: span 7; }

.hq-hub-card {
	--on: 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: var(--sp-6) var(--sp-6) var(--sp-2);
	overflow: hidden;
	color: var(--c-text);
	text-decoration: none;
	transition: box-shadow var(--d-2) var(--ease), transform var(--d-1) var(--ease-out);
}
.hq-hub-card > * { margin: 0 !important; }
.hq-hub-card__head { display: flex; align-items: center; gap: var(--sp-4); }
.hq-hub-card__head > * { margin: 0 !important; }
.hq-hub-card__title { font-family: var(--ff-heading); font-size: var(--fs-h3); font-weight: var(--fw-heading-sm); line-height: 1.2; letter-spacing: -.014em; color: var(--c-text-strong); text-wrap: balance; }
.hq-hub-card__text { display: block; margin-top: var(--sp-4) !important; max-width: var(--measure-prose); color: var(--c-text-muted); line-height: 1.65; text-wrap: pretty; }
.hq-hub-card__text a { position: relative; z-index: 2; color: var(--c-text-strong); text-decoration: underline; text-decoration-color: var(--cyan-35); text-underline-offset: .2em; }
@media (hover: hover) { .hq-hub-card__text a:hover { text-decoration-color: var(--c-cyan); } }
.hq-hub-card__actions, .hq-hub-card__cta { margin-top: var(--sp-5) !important; }

/* CTA: outlined pill + violet disc with an arrow (the v5 secondary look, sized for a card) */
.hq-hub-card__cta, .hq-hub-card__actions .wp-block-button__link {
	position: static;
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: var(--sp-3);
	min-height: 44px;
	padding: 4px 4px 4px 1.125rem;
	font-size: var(--fs-ui);
	font-weight: 500;
	line-height: 1.2;
	color: var(--c-text-strong);
	border-radius: var(--r-pill);
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(221, 218, 231, .26);
	transition: box-shadow var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
}
.hq-hub-card__cta::after, .hq-hub-card__actions .wp-block-button__link::before {
	content: "";
	order: 2;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") 50% 50% / 18px 18px no-repeat,
		linear-gradient(180deg, #8a5cf7 0%, #7140e4 55%, #6534d6 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
	transition: transform var(--d-2) var(--ease-out);
}
/* stretched link: the CTA covers the whole card (services) */
.hq-hub-card__actions .wp-block-button { position: static; }
.hq-hub-card__actions .wp-block-button__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-3); }
.hq-hub-card__actions .wp-block-button__link:active { transform: none; }
.hq-hub-card__actions .wp-block-button__link:focus-visible { outline: none; }
.hq-hub-card:has(.hq-hub-card__actions a:focus-visible), a.hq-hub-card:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.hq-hub-card:has(.hq-hub-card__actions a:active) { transform: scale(.99); }

/* active state: pointer over the card, or keyboard focus inside it */
.hq-hub-card:focus-visible, .hq-hub-card:has(.hq-hub-card__actions a:focus-visible) { --on: 1; }
@media (hover: hover) and (pointer: fine) {
	.hq-hub-card:hover { --on: 1; --rim: var(--glass-rim-hover); box-shadow: var(--glass-shadow-hover); transition-duration: var(--d-hover); }
	.hq-hub-card:hover :is(.hq-hub-card__cta, .hq-hub-card__actions .wp-block-button__link) { background-color: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(196, 173, 255, .6); transition-duration: var(--d-hover); }
	.hq-hub-card:hover .hq-hub-card__cta::after, .hq-hub-card:hover .hq-hub-card__actions .wp-block-button__link::before { transform: rotate(-45deg); }
	.hq-hub-card:hover .hq-node { color: #fff; }
}
.hq-hub-card:has(.hq-hub-card__actions a:focus-visible) .hq-hub-card__actions .wp-block-button__link::before, a.hq-hub-card:focus-visible .hq-hub-card__cta::after { transform: rotate(-45deg); }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .hq-hub-card { --on: 1; } }
/* the scene well inside a hub card (scenes.css draws the scenes; this places the well at the card bottom) */
.hq-hub-card .hq-scene { flex: 1 0 auto; min-height: 212px; margin: var(--sp-6) calc(-1 * (var(--sp-6) - var(--sp-2))) 0 !important; }
.hq-hub-card .hq-scene--devices { min-height: 232px; }
.hq-hub-card:has(.hq-hub-card__actions a:focus-visible) .hq-node, a.hq-hub-card:focus-visible .hq-node { color: #fff; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .hq-hub-card .hq-node { color: #fff; } }

/* hub layouts on smaller screens */
@media (max-width: 1023px) {
	.hq-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hq-hub-grid > * { grid-column: auto !important; grid-row: auto !important; }
	.hq-hub-grid--services > :first-child { grid-column: 1 / -1 !important; }
}
@media (max-width: 700px) {
	.hq-hub-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
	.hq-hub-card { padding: var(--sp-5) var(--sp-5) var(--sp-2); }
	.hq-hub-card .hq-scene { margin-inline: calc(-1 * (var(--sp-5) - var(--sp-2))) !important; min-height: 188px; }
}
/* the SEO well is a size container: it needs the height of its results window (search + 4 rows + padding) */
.hq-hub-card .hq-scene--serp { min-height: 264px; }

/* case hub */
/* /case-studies (round 2, agent B): a compact left-aligned hero, the intro in two columns (lede + first example
   paragraph left, the rest right; same text, same order), so the four category cards start inside the first
   screen at 1440 x 900. One column under 900px. */
.hq-hero--cases { padding-top: clamp(104px, 8.6vw, 124px); padding-bottom: var(--sp-6); text-align: left; }
.hq-hero--cases .hq-breadcrumbs ol { justify-content: flex-start; margin-bottom: var(--sp-3); }
.hq-hero--cases .hq-hero__content { justify-items: start; }
.hq-hero--cases .hq-title { margin-inline: 0; max-width: 18ch; }
.hq-hero--cases .hq-glowbar { margin-top: var(--sp-5); margin-inline: 0; }
.hq-case-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: baseline; column-gap: clamp(40px, 6vw, 96px); width: 100%; margin-top: var(--sp-6) !important; }   /* both columns' first lines share a baseline */
.hq-case-intro > * { margin: 0 !important; }   /* both columns start on the same line (no flow-layout gap) */
.hq-hero--cases .hq-breadcrumbs + .hq-hero__content { margin-top: var(--sp-4) !important; }
.hq-case-intro__col { display: grid; align-content: start; gap: var(--sp-4); }
.hq-case-intro__col > * { margin: 0 !important; }
.hq-hero--cases .hq-case-intro .hq-lede { margin: 0; max-width: 30em; color: var(--c-text-strong); font-size: var(--fs-lead); line-height: 1.5; text-wrap: pretty; }
.hq-case-intro__p { max-width: 33em; color: var(--c-text-muted); line-height: 1.65; text-wrap: pretty; }
.hq-hero--cases + .hq-hub { padding-top: var(--sp-5); }
@media (max-width: 899px) {
	.hq-case-intro { grid-template-columns: minmax(0, 1fr); row-gap: var(--sp-4); }
}
/* /case hub */

/* --------------------------------------------------------------------------
   Case study list (hqdm/case-list): image, industry, name, "Learn More"; the whole card is the link
   -------------------------------------------------------------------------- */
.hq-case-hub > * { max-width: var(--wide); }
.hq-case-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--sp-5); padding: 0; margin-block: 0; list-style: none; }
.hq-case-list li { margin: 0; display: flex; }
.hq-case-card { position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden; font-size: 1rem; border-radius: var(--r-3); background: var(--spot), var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); color: var(--c-text); text-decoration: none; transition: box-shadow var(--d-2) var(--ease), --so var(--d-2) var(--ease), transform var(--d-1) var(--ease-out); }
.hq-case-card::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--rim, var(--glass-rim)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.hq-case-card__media { display: block; overflow: hidden; aspect-ratio: 458 / 160; }   /* same ratio as the old site (Milan 02.11) */
.hq-case-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; filter: brightness(.86); transition: filter var(--d-3) var(--ease), transform var(--d-3) var(--ease-out); }
.hq-case-card__body { display: grid; gap: var(--sp-2); padding: var(--sp-5); flex: 1; align-content: start; }
.hq-case-card__industry { color: var(--c-text-faint); font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.hq-case-card__name { font-family: var(--ff-heading); font-size: var(--fs-h4); font-weight: var(--fw-heading-sm); line-height: 1.3; letter-spacing: -.008em; color: var(--c-text-strong); }
.hq-case-card__more { margin-top: var(--sp-3); color: var(--c-accent); font-size: var(--fs-ui); font-weight: 500; }
.hq-case-card__more::after { content: "→"; display: inline-block; margin-left: .3em; transition: transform var(--d-2) var(--ease); }
@media (hover: hover) {
	.hq-case-card:hover { --so: 1; --rim: var(--glass-rim-hover); box-shadow: var(--glass-shadow-hover); transition-duration: var(--d-hover); }
	.hq-case-card:hover .hq-case-card__media img { filter: brightness(1); transform: scale(1.04); }
	.hq-case-card:hover .hq-case-card__more::after { transform: translateX(3px); }
}
.hq-case-card:active { transform: scale(.99); }

/* contact (agent D owns this fence: .hq-contact*, .hq-people / .hq-person, the Fluent Forms skin) */
/* --------------------------------------------------------------------------
   Contact: intro + the two people left, the form on a HUD glass card right
   -------------------------------------------------------------------------- */
.hq-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding-top: var(--hero-top); padding-inline: max(var(--gutter), calc((100% - var(--wide)) / 2)); isolation: isolate; }
.hq-contact::before { content: ""; position: absolute; inset: 0 0 auto; height: 90%; background: var(--light-l), radial-gradient(36% 50% at 86% 46%, rgba(58, 209, 255, .09), transparent 72%); z-index: -1; pointer-events: none;  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.hq-contact > * { max-width: none; margin: 0 !important; }
.hq-contact__intro { position: sticky; top: 120px; }
.hq-contact__intro > * { margin-block: 0; }
.hq-contact__intro .hq-glowbar { margin: var(--sp-5) 0 0; transform-origin: 0 50%; }
.hq-contact__intro .hq-lede { margin-top: var(--sp-6); }
.hq-people { display: grid; gap: var(--sp-3); margin-top: var(--sp-8); max-width: 420px; }
.hq-person { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4) var(--sp-3) var(--sp-3); color: var(--c-text); text-decoration: none; transition: box-shadow var(--d-2) var(--ease), transform var(--d-1) var(--ease-out); }
.hq-person__photo { display: block; width: 56px; height: 56px; padding: 3px; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03)); box-shadow: 0 0 0 1px rgba(103, 232, 249, .28), 0 0 18px -6px var(--cyan-60); }
.hq-person__photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hq-person__text { display: grid; gap: 2px; min-width: 0; }
.hq-person__name { font-family: var(--ff-heading); font-weight: var(--fw-heading-sm); font-size: 1.0625rem; line-height: 1.3; color: var(--c-text-strong); letter-spacing: -.01em; }
.hq-person__role { font-size: var(--fs-ui); color: var(--c-text-faint); }
.hq-person__more { font-size: var(--fs-ui); font-weight: 500; color: var(--c-accent); white-space: nowrap; }
.hq-person__more::after { content: "→"; display: inline-block; margin-left: .3em; transition: transform var(--d-2) var(--ease-out); }
@media (hover: hover) { .hq-person:hover .hq-person__more::after { transform: translateX(3px); } }

.hq-contact__form { --hud-g: 10px; --hud-s: 16px; padding: clamp(24px, 4vw, 48px); background: radial-gradient(80% 55% at 50% -12%, rgba(151, 71, 255, .16), transparent 70%), var(--glass-bg); --rim: var(--glass-rim-cyan); }
@media (max-width: 900px) {
	.hq-contact { grid-template-columns: 1fr; }
	.hq-contact__intro { position: static; }
	.hq-people { margin-top: var(--sp-6); }
}
@media (max-width: 1100px) { .hq-contact { padding-top: calc(var(--hero-top) - var(--sp-6)); } .hq-contact__form { padding: var(--sp-6); } }
@media (max-width: 600px) { .hq-contact__form { padding: var(--sp-5); } .hq-person { grid-template-columns: 48px minmax(0, 1fr); } .hq-person__photo { width: 48px; height: 48px; } .hq-person__more { grid-column: 2; } }

/* Fluent Forms on the dark glass (Styling = Inherit Theme Style, button = No style) */
.frm-fluent-form { margin: 0; container-type: inline-size; }
.frm-fluent-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; column-gap: var(--sp-4); }
.frm-fluent-form fieldset > * { flex: 1 1 100%; min-width: 0; }
.frm-fluent-form fieldset > .wpr-half { flex: 1 1 calc(50% - var(--sp-4)); }
@container (max-width: 520px) { .frm-fluent-form fieldset > .wpr-half { flex-basis: 100%; } }
.frm-fluent-form .ff-el-group { margin-bottom: 18px; }
.frm-fluent-form .ff-el-input--label { margin-bottom: var(--sp-2); }
.frm-fluent-form .ff-el-input--label label { font-size: var(--fs-ui); font-weight: 500; color: var(--c-text-strong); }
.frm-fluent-form .ff-el-is-required.asterisk-right label::after { content: " *"; color: var(--c-accent); }
.frm-fluent-form .ff-el-form-control {
	width: 100%;
	min-height: 52px;
	padding: 14px 18px;
	font: inherit;
	font-size: 1rem;
	color: var(--c-text-strong);
	background: rgba(10, 4, 24, .55);
	border: 0;
	border-radius: var(--r-2);
	box-shadow: inset 0 0 0 1px var(--c-line-2), inset 0 1px 2px rgba(0, 0, 0, .4);   /* edge visible at rest (audit P3) */
	transition: box-shadow var(--d-2) var(--ease), background-color var(--d-2) var(--ease);
	appearance: none;
}
.frm-fluent-form textarea.ff-el-form-control { min-height: 128px; resize: vertical; }
.frm-fluent-form .ff-el-form-control::placeholder { color: var(--c-text-faint); opacity: 1; }
@media (hover: hover) { .frm-fluent-form .ff-el-form-control:not(:focus):hover { box-shadow: inset 0 0 0 1px rgba(221, 218, 231, .32), inset 0 1px 2px rgba(0, 0, 0, .4); } }
/* focus: cyan edge + soft cyan ring (intellix contact form); the submit stays violet (no cyan on purple buttons) */
.frm-fluent-form .ff-el-form-control:focus { outline: none; background: rgba(10, 4, 24, .75); box-shadow: inset 0 0 0 1px var(--c-cyan), 0 0 0 3px var(--cyan-35); }
.frm-fluent-form .ff-el-is-error .ff-el-form-control { box-shadow: inset 0 0 0 1.5px #ff7a90; }
.frm-fluent-form .error.text-danger { display: block; margin-top: 6px; color: #ff9aab; font-size: .8125rem; font-weight: 500; }
/* consent checkbox: the phase 2 custom box (base.css); Fluent nests it in a span, so the label gets the 44px target here */
.frm-fluent-form .ff_t_c { margin: 0; }
.frm-fluent-form .ff-el-form-check.ff-el-tc label.ff_tc_label { display: flex; align-items: flex-start; gap: var(--sp-3); min-height: 44px; padding-block: var(--sp-2); color: var(--c-text-muted); font-size: var(--fs-ui); line-height: 1.55; text-wrap: pretty; cursor: pointer; }
/* r2: the consent sentence wraps to 2-3 lines; the box sits on its first line, the Terms link reads as a link */
.frm-fluent-form .ff-el-tc .ff_tc_checkbox { margin-top: calc((1.55em - 20px) / 2); }
.frm-fluent-form .ff-el-tc .ff_t_c a { color: var(--c-text-strong); text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: .22em; }
@media (hover: hover) { .frm-fluent-form .ff-el-tc .ff_t_c a:hover { color: var(--c-accent); } }
.frm-fluent-form .ff-el-tc .ff_t_c a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 2px; }
.frm-fluent-form .ff-el-form-check.ff-el-tc .ff_tc_checkbox, .frm-fluent-form .ff-el-form-check.ff-el-tc .ff_t_c { display: block; padding: 0; }
.frm-fluent-form .ff_tc_checkbox { flex: none; display: grid; line-height: 0; }
/* Fluent sets the box to inline-block, which hides the base.css check mark (::before needs a grid box) */
.frm-fluent-form input.ff-el-form-check-input { display: inline-grid; place-content: center; margin: 0; }
.frm-fluent-form .ff_submit_btn_wrapper { margin-top: var(--sp-2); }
.frm-fluent-form .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 1rem 2rem;
	border: 0;
	border-radius: var(--r-pill);
	font: 600 1.0625rem/1.2 var(--ff-body);
	color: #fff;
	cursor: pointer;
	background: linear-gradient(180deg, #8a5cf7 0%, #7140e4 55%, #6534d6 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -10px 18px -10px rgba(36, 8, 104, .75), 0 0 0 1px rgba(151, 71, 255, .6), 0 10px 28px -12px rgba(151, 71, 255, .85);
	transition: box-shadow var(--d-2) var(--ease-out), background var(--d-2) var(--ease), transform var(--d-1) var(--ease-out);
}
@media (hover: hover) { .frm-fluent-form .ff-btn-submit:hover { background: linear-gradient(180deg, #9b72ff 0%, #7a48ee 55%, #6a38dc 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 1px rgba(196, 173, 255, .9), 0 0 0 5px rgba(151, 71, 255, .2), 0 14px 36px -12px rgba(151, 71, 255, 1); transition-duration: var(--d-hover); } }
.frm-fluent-form .ff-btn-submit:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.frm-fluent-form .ff-btn-submit:active { transform: scale(.97); }
.frm-fluent-form .ff-btn-submit:disabled { opacity: .6; cursor: wait; }
.ff-message-success { padding: var(--sp-5) var(--sp-6); border-radius: var(--r-2); background: rgba(151, 71, 255, .12); box-shadow: inset 0 0 0 1px rgba(196, 173, 255, .3); color: var(--c-text-strong); font-weight: 500; }
.ff-errors-in-stack { margin-top: var(--sp-4); color: #ff9aab; }
/* /contact */

/* Legal pages: one reading column */
.hq-legal .hq-prose { max-width: var(--read); }
.hq-legal .hq-prose h2 { margin-top: var(--sp-8); }
.hq-legal .hq-prose h3 { margin-top: var(--sp-6); }

/* Background video (googleads): full container width, rounded like the rest of the glass */
.hq-bgvideo video { width: 100%; aspect-ratio: 1440 / 500; object-fit: cover; border-radius: var(--r-3); display: block; }

/* ==========================================================================
   About v5: editorial story under a lit hairline, HUD mission panel, beliefs 2x2, How we work as three lit
   steps, leadership portraits in glass mounts. Only the team cards are links (hover + press).
   ========================================================================== */
.hq-about-kicker { margin: 0 !important; }

/* r2 (agent A): Our Story growth orbit (home_v5.about_orbit, replaces the hand-and-star icon). Three rings around
   the HQDM core: 2019, 2023 and a belt of 250 points (one per brand). Default = final frame (no JS, reduced motion);
   space.js arms it (.is-armed) and plays it once in view (.is-in): rings draw from their node, nodes pop, the belt
   fills point by point clockwise, then the belt turns very slowly (paused off-screen). */
.hq-about-orbit { position: relative; justify-self: end; width: min(100%, 440px); margin: 0; }
.hq-about-orbit svg { display: block; width: 100%; height: auto; overflow: visible; }
.hq-about-orbit__track { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.hq-about-orbit__ring { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; stroke-dashoffset: 0; }
.hq-about-orbit__pts { fill: none; stroke: rgba(185, 246, 253, .62); stroke-width: 2.2; stroke-linecap: round; }   /* 225 points: one per brand */
.hq-about-orbit__ticks { fill: none; stroke: var(--c-cyan); stroke-width: 1.5; stroke-linecap: round; }   /* every tenth brand */
.hq-about-orbit__sweep { fill: none; stroke: #fff; stroke-width: 44; stroke-dashoffset: 0; }
.hq-about-orbit__brands { transform-box: view-box; transform-origin: 50% 50%; }
.hq-about-orbit__halo { fill: var(--c-bg); stroke: var(--cyan-60); stroke-width: 1; }   /* solid: no ring line behind the node */
.hq-about-orbit__dot { fill: var(--c-cyan); }
.hq-about-orbit__node { transform-box: fill-box; transform-origin: center; }
.hq-about-orbit__num { font-family: var(--ff-heading); font-size: 17px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; fill: var(--c-text-muted); text-anchor: middle; dominant-baseline: central; }
.hq-about-orbit__num--b { fill: var(--c-text); }
.hq-about-orbit__num--c { font-size: 30px; letter-spacing: -.02em; fill: var(--c-text-strong); text-anchor: end; }
.hq-about-orbit__glow { fill: url(#hqa-glow); }
.hq-about-orbit__core { fill: url(#hqa-core); }
.hq-about-orbit__rim { fill: none; stroke: url(#hqa-rim); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
	.hq-about-orbit.is-armed .hq-about-orbit__ring { stroke-dashoffset: var(--len); }
	.hq-about-orbit.is-armed :is(.hq-about-orbit__node, .hq-about-orbit__num) { opacity: 0; }
	.hq-about-orbit.is-armed .hq-about-orbit__node { scale: .5; }
	.hq-about-orbit.is-armed .hq-about-orbit__sweep { stroke-dashoffset: var(--len); }
	.hq-about-orbit.is-in .hq-about-orbit__ring { stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms var(--ease-out) calc(120ms + var(--i) * 260ms); }
	.hq-about-orbit.is-in .hq-about-orbit__node { opacity: 1; scale: 1; transition: opacity 240ms var(--ease) calc(120ms + var(--i) * 260ms), scale 420ms var(--ease-out) calc(120ms + var(--i) * 260ms); }
	.hq-about-orbit.is-in .hq-about-orbit__num { opacity: 1; transition: opacity 500ms var(--ease) calc(420ms + var(--i, 2) * 260ms); }
	.hq-about-orbit.is-in .hq-about-orbit__sweep { stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--ease-in-out) 560ms; }
	.hq-about-orbit.is-in .hq-about-orbit__brands { animation: hq-about-belt 240s linear 2.2s infinite; }
	.hq-about-orbit.is-offscreen .hq-about-orbit__brands { animation-play-state: paused; }
	@keyframes hq-about-belt { to { rotate: 360deg; } }
}
/* story: kicker + the first statement (fills on scroll) + the second sentence, the illustration orb beside them,
   then the rest as two reading columns under a hairline */
.hq-about-story { isolation: isolate; }
.hq-about-story::before { content: ""; position: absolute; inset: 0 0 auto; height: 100%; background: var(--light-l), radial-gradient(30% 40% at 80% 30%, rgba(58, 209, 255, .08), transparent 70%); z-index: -1; pointer-events: none;  -webkit-mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.hq-about-story__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--sp-7) clamp(40px, 6vw, 96px); align-items: center; }
.hq-about-story__top > * { margin: 0 !important; }
.hq-about-story__intro > * { margin: 0 !important; }
.hq-about-story__intro .hq-about-lead { margin-top: var(--sp-6) !important; max-width: 24ch; }
.hq-about-lead2 { margin-top: var(--sp-5) !important; max-width: var(--measure-prose); font-size: var(--fs-lead); line-height: 1.6; color: var(--c-text-muted); }
.hq-about-story__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) clamp(32px, 5vw, 72px); margin-top: var(--sp-8) !important; padding-top: var(--sp-7); border-top: 1px solid rgba(255, 255, 255, .07); }
.hq-about-story__cols > * { margin: 0 !important; }
.hq-about-body { font-size: var(--fs-prose); line-height: 1.75; color: var(--c-text); max-width: var(--measure-prose); }

/* mission: manifesto on a HUD panel */
.hq-about-mission__panel { --hud-i: -8px; position: relative; text-align: center; padding: clamp(48px, 8vw, 104px) clamp(24px, 6vw, 96px); border-radius: var(--r-3); background: radial-gradient(70% 90% at 50% 0%, rgba(151, 71, 255, .28), transparent 70%), radial-gradient(40% 60% at 100% 100%, var(--cyan-8), transparent 70%), var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); }
.hq-about-mission__panel::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; background: var(--glass-rim-cyan); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
.hq-about-mission__panel > * { margin-inline: auto !important; }
.hq-about-mission__panel > .hq-about-kicker { margin-bottom: var(--sp-6) !important; }
.hq-about-manifesto { max-width: 22ch; margin-bottom: 0 !important; font-family: var(--ff-heading); font-size: var(--fs-h2); font-weight: var(--fw-heading); line-height: 1.1; letter-spacing: -.024em; color: var(--c-text-strong); text-wrap: balance; }
.hq-about-mission__panel .hq-glowbar { margin-top: var(--sp-6) !important; margin-bottom: var(--sp-6) !important; }
.hq-about-mission__panel .hq-about-body { max-width: var(--measure-prose); }

/* beliefs: 2 x 2 glass cards, a medal per belief, the bold lead as the card title */
.hq-about-believe .hq-head { max-width: 760px !important; }
ul.hq-beliefs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
ul.hq-beliefs > li { display: grid; align-content: start; gap: var(--sp-5); margin: 0; padding: var(--sp-6); }
.hq-about-believe ul.hq-beliefs > li { max-width: none; }   /* r2 (Milan): the global p/li prose cap (33em) made a 84px gutter; now the site card gap (24px) */
.hq-beliefs__text { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--c-text-muted); }
.hq-beliefs__text strong { display: block; margin-bottom: var(--sp-2); font-family: var(--ff-heading); font-size: var(--fs-h3); font-weight: var(--fw-heading-sm); line-height: 1.2; letter-spacing: -.014em; color: var(--c-text-strong); }
ul.hq-beliefs > li:nth-child(odd):last-child { grid-column: 1 / -1; }

/* how we work: three steps on a cyan line that draws as the panel scrolls into view, CTA centred */
.hq-about-how__panel { display: grid; justify-items: center; gap: var(--sp-7); padding: clamp(32px, 5vw, 64px); text-align: center; }
.hq-about-how__panel > * { margin: 0 !important; }
/* r2 (Milan): heading at H2 scale in normal case, framed by two symmetric rails that end in a node at the heading;
   the three steps centred as one group; every marker is opaque so the connecting line never shows through. */
.hq-about-how__head { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.4vw, 28px); width: 100%; }
.hq-about-how__head > * { margin: 0 !important; }
.hq-about-how__title { max-width: none; font-size: var(--fs-h2); line-height: 1.1; white-space: nowrap; }
.hq-about-how__rail { position: relative; flex: 0 1 140px; min-width: 12px; height: 1px; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .55)); }
.hq-about-how__rail::after { content: ""; position: absolute; right: -3px; top: -2.5px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 0 3px var(--cyan-18); }
.hq-about-how__rail:last-child { scale: -1 1; }
.hq-about-how__steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6) clamp(24px, 4vw, 56px); width: min(100%, 1000px); margin-inline: auto !important; justify-content: center; text-align: center; }
.hq-about-how__steps > * { margin: 0 !important; }
.hq-about-how__line { position: absolute; z-index: 0; left: calc((100% - 2 * clamp(24px, 4vw, 56px)) / 6); right: calc((100% - 2 * clamp(24px, 4vw, 56px)) / 6); top: 23.5px; height: 1px; background: linear-gradient(90deg, var(--cyan-35), var(--c-cyan) 50%, var(--cyan-35)); transform-origin: 0 50%; }
.hq-about-how__step { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--sp-5); align-content: start; }
.hq-about-how__step > * { margin: 0 !important; }
.hq-about-how__step .hq-medal { background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, .1), transparent 60%), #140b2d; }   /* opaque: the line stops at the ring */
.hq-about-how__p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--c-text); max-width: 30ch; text-align: left; }   /* critic m9: no ragged centred paragraphs */
.hq-about-how__actions { justify-content: center; }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.hq-about-how__line { animation: hq-draw linear both; animation-timeline: view(); animation-range: entry 40% cover 45%; }
		@keyframes hq-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
	}
}

/* team: portrait in a glass mount (full card height, duotone off), name, role pill, excerpt, "View Profile" at the bottom */
.hq-team-cards--about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); max-width: var(--wide) !important; margin-top: var(--sp-8) !important; padding: 0; }
.hq-team-card--about, .hq-team-card--about + .hq-team-card--about { display: grid; grid-template-columns: minmax(150px, 42%) minmax(0, 1fr); gap: var(--sp-6); align-items: stretch; width: auto; padding: var(--sp-3) var(--sp-6) var(--sp-3) var(--sp-3); text-align: left; justify-items: stretch; border-radius: var(--r-3); transform: none; transition: box-shadow var(--d-2) var(--ease), --so var(--d-2) var(--ease), transform var(--d-1) var(--ease-out); }
.hq-team-card__photo { display: block; overflow: hidden; min-height: 100%; padding: 4px; border-radius: calc(var(--r-3) - var(--sp-3) + 4px); background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02) 40%, rgba(103, 232, 249, .18)); }
.hq-team-card--about .hq-team-card__photo img { display: block; width: 100%; height: 100%; min-height: 260px; margin: 0; object-fit: cover; object-position: 50% 20%; border-radius: calc(var(--r-3) - var(--sp-3)); box-shadow: var(--photo-rim); filter: var(--photo-filter); transition: transform var(--d-3) var(--ease-out); }   /* phase 4 photo treatment */
.hq-team-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-1); padding-block: var(--sp-5); }
.hq-team-card--about .hq-team-card__name { font-size: var(--fs-h3); line-height: 1.2; white-space: normal; }
.hq-team-card--about .hq-team-card__title { margin-top: var(--sp-2); padding: 4px 12px; border-radius: var(--r-pill); font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-strong); background: rgba(151, 71, 255, .16); box-shadow: inset 0 0 0 1px rgba(196, 173, 255, .25); }
.hq-team-card__excerpt { margin-top: var(--sp-4); color: var(--c-text-muted); font-size: .9375rem; line-height: 1.7; }
.hq-team-card--about .hq-team-card__more { margin-top: auto; padding-top: var(--sp-5); }
@media (hover: hover) {
	.hq-team-card--about:hover, .hq-team-card--about + .hq-team-card--about:hover { transform: none; }
	.hq-team-card--about:hover .hq-team-card__photo img { transform: scale(1.04); }
}
.hq-team-card--about:active, .hq-team-card--about + .hq-team-card--about:active { transform: scale(.99); transition-duration: 100ms; }

@media (max-width: 1023px) {
	.hq-team-cards--about { grid-template-columns: 1fr; max-width: 720px !important; }
}
@media (max-width: 781px) { .hq-about-story__cols { grid-template-columns: 1fr; margin-top: var(--sp-7) !important; padding-top: var(--sp-6); } }
@media (max-width: 900px) {
	.hq-about-story__top { grid-template-columns: 1fr; }
	.hq-about-orbit { justify-self: center; width: min(100%, 380px); }
	.hq-about-how__steps { grid-template-columns: 1fr; padding-left: 0; width: min(100%, 560px); text-align: left; }
	.hq-about-how__line { left: 23.5px; right: auto; top: 24px; bottom: 24px; width: 1px; height: auto; background: linear-gradient(180deg, var(--cyan-35), var(--c-cyan) 50%, var(--cyan-35)); transform-origin: 50% 0; }
	.hq-about-how__step { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; align-items: start; }
	.hq-about-how__rail { flex-basis: 48px; }
	/* phones: one connector per step, from its marker down to the next one (never past the last marker) */
	.hq-about-how__line { display: none; }
	.hq-about-how__step:not(:last-child)::before { content: ""; position: absolute; z-index: -1; left: 23.5px; top: 24px; width: 1px; height: calc(100% + var(--sp-6)); background: linear-gradient(180deg, var(--c-cyan), var(--cyan-35)); }
	@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .hq-about-how__line { animation-name: hq-draw-y; } @keyframes hq-draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } } } }
}
@media (max-width: 600px) {
	ul.hq-beliefs { grid-template-columns: 1fr; }
	ul.hq-beliefs > li { padding: var(--sp-5); }
	.hq-team-card--about, .hq-team-card--about + .hq-team-card--about { grid-template-columns: 1fr; padding: var(--sp-3) var(--sp-3) var(--sp-2); }
	.hq-team-card--about .hq-team-card__photo img { aspect-ratio: 4 / 3; min-height: 0; }
	.hq-team-card__body { padding: var(--sp-2) var(--sp-3) var(--sp-4); }
}

/* Round 3 (agent F): legal pages on phones: bare URLs ("...can be viewed at https://...") ran 55-60px past the text
   column; long strings may break anywhere, words stay whole */
.hq-legal .hq-prose :is(p, li) { overflow-wrap: anywhere; }
