/*
 * Compute Nordic: base styles, ported from the approved design mockup (design/style.css).
 * Tokens first, then components (type, buttons, links, header, footer), then the home page
 * sections, then motion. Square corners, Lexend, Nordic Purple text, Ice Cyan accents.
 */

:root {
	/* palette shortcuts */
	--purple: var(--wp--preset--color--purple);
	--ice: var(--wp--preset--color--ice-cyan);
	--sky: var(--wp--preset--color--sky-blue);
	--fjord: var(--wp--preset--color--fjord-blue);
	--frost: var(--wp--preset--color--frost);
	--glacier: var(--wp--preset--color--glacier-line);
	--ink: var(--wp--preset--color--ink);
	--deep: var(--wp--preset--color--deep);

	/* surfaces and text (light direction) */
	--bg: var(--wp--preset--color--white);
	--bg-2: var(--frost);
	--fg: var(--purple);
	--fg-2: rgba(86, 61, 110, 0.85); /* AU-H1: 6.05:1 on white, 5.60 on Frost, 4.95 on Ice Cyan (0.72 failed AA) */
	--fg-3: rgba(86, 61, 110, 0.5);
	--line: rgba(86, 61, 110, 0.16);
	--line-strong: rgba(86, 61, 110, 0.45);
	--card: var(--wp--preset--color--white);
	--icon: var(--fjord);
	--accent: var(--ice);
	--emph: var(--fjord);
	--btn-bg: var(--purple);
	--btn-fg: #ffffff;
	--btn-hover-bg: var(--ice);
	--btn-hover-fg: var(--purple);

	/* layout */
	--w: var(--wp--style--global--wide-size, 1440px);
	--gutter: clamp(20px, 3.2vw, 56px);
	--gap: var(--wp--preset--spacing--gap);
	--section: var(--wp--preset--spacing--section);
	--header-h: 88px;
	--cn-header-height: 88px;
	--ease: cubic-bezier(0.2, 0.65, 0.2, 1);

	/* type */
	--t-hero: var(--wp--preset--font-size--hero);
	--t-display: var(--wp--preset--font-size--display);
	--t-figure: var(--wp--preset--font-size--figure);
	--t-h2: var(--wp--preset--font-size--heading-2);
	--t-h3: var(--wp--preset--font-size--heading-3);
	--t-statement: var(--wp--preset--font-size--statement);
	--t-intro: var(--wp--preset--font-size--intro);
	--t-body: var(--wp--preset--font-size--body);
	--t-small: var(--wp--preset--font-size--small);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	border-radius: 0 !important;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--ice);
	color: var(--purple);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

h1, h2 {
	letter-spacing: -0.02em;
}

p,
li {
	overflow-wrap: anywhere;
}

ul {
	list-style: square;
}

li::marker {
	color: var(--sky);
}

/* Focus: 2px outline in the text colour; cyan on dark bands, purple on cyan ones. */
:focus-visible {
	outline: 2px solid var(--fg);
	outline-offset: 4px;
}

.hero :focus-visible,
.story :focus-visible,
.statement-band :focus-visible,
.cn-footer :focus-visible,
.is-style-section-purple :focus-visible,
.wp-block-cover :focus-visible,
.cn-header--overlay:not(.is-solid) :focus-visible, /* AU-M13: the header over the dark hero and banners */
.wp-block-navigation__responsive-container.is-menu-open :focus-visible {
	outline-color: var(--ice);
}

.ticker :focus-visible,
.cta__panel :focus-visible,
.is-style-section-ice-cyan :focus-visible,
.is-style-section-sky-blue :focus-visible {
	outline-color: var(--purple);
}

/* Skip link (WordPress adds it for the <main> element). */
.skip-link.screen-reader-text:focus {
	background: var(--purple);
	color: #fff;
	font-weight: 500;
	padding: 1rem 1.5rem;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 100000;
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	text-decoration: none;
	outline-color: var(--ice);
}

.cn-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* The header part, main and footer part sit flush: the fixed header overlays the hero and the footer
   meets the photo band, so the editor's block gap between them would show as white strips. */
.wp-site-blocks > * {
	margin-block: 0;
}

.cn-main {
	min-height: 50vh;
}

/* Running text links: hairline underline, Fjord Blue on hover. */
.cn-main :is(p, li, dd, td) a:not(.wp-block-button__link, .wp-element-button, .footer__mail) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.25s;
}

.cn-main :is(p, li, dd, td) a:not(.wp-block-button__link, .wp-element-button):hover {
	color: var(--fjord);
}

.is-style-section-purple :is(p, li) a:not(.wp-block-button__link):hover,
.story :is(p, li) a:not(.wp-block-button__link):hover {
	color: var(--ice);
}

/* Full-bleed sections sit flush: the editor block gap is for in-flow content only. */
.home .cn-main > .entry-content,
.cn-main .entry-content > :is(.ticker, .cn-section, .story, .statement-band) {
	margin-block: 0;
}

/* Paragraph rhythm. */
.entry-content > p + p,
.wp-block-group p + p {
	margin-top: var(--wp--preset--spacing--30);
}

/* --------------------------------------------------------------------------
   Layout helpers used by the patterns and template parts
   -------------------------------------------------------------------------- */
.wp-block-group.container {
	width: min(100% - 2 * var(--gutter), var(--w));
	margin-inline: auto;
}

.wp-block-group.grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--gap);
}

/* Inside the full-bleed sections and the footer, containers and decorative layers (shade, circles,
   glow, grid lines) sit flat: the editor's block gap would otherwise push an absolutely positioned
   layer 20px down and leave an unshaded strip at the top of the hero. */
.wp-block-group:is(.hero, .ticker, .cn-section, .story, .statement-band, .cta) > *,
.cn-footer > * {
	margin-block: 0;
}

/* Our own layout containers set their own gaps: cancel the flow layout's margins inside them.
   This rule is (0,2,0): a rule that gives a direct child of one of these groups a margin must
   out-rank it (for example `.hero .hero__bar`, `.figure .figure__l`), or it silently loses. */
.wp-block-group:is(.grid, .container, .hero__in, .hero__text, .figures, .figure, .bento, .card, .card__top, .section__head, .intro-block, .story__grid, .story__media, .story__steps, .step, .step__n, .security__text, .security__badges, .badge, .badge__top, .statement-band__text, .cta__panel, .cta__actions, .footer__top, .footer__brand, .footer__col, .footer__legal, .ticker__track) > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

.cn-section {
	padding-block: var(--section);
	background: var(--bg);
	color: var(--fg);
}

.cn-section.is-style-section-frost {
	background: var(--bg-2);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.eyebrow,
.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: var(--t-small);
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fg-2);
}

.eyebrow::before,
.is-style-eyebrow::before {
	content: "";
	width: 40px;
	height: 2px;
	background: var(--accent);
	flex: none;
}

.statement,
.is-style-statement {
	font-size: var(--t-statement);
	font-weight: 300;
	line-height: 1.28;
	letter-spacing: -0.012em;
	text-wrap: pretty;
}

.statement strong,
.is-style-statement strong {
	font-weight: 400;
	color: var(--emph);
}

.intro,
.is-style-intro,
p.has-intro-font-size {
	font-size: var(--t-intro);
	font-weight: 300;
	line-height: 1.5;
	color: var(--fg-2);
	text-wrap: pretty;
}

.display,
.is-style-display,
.is-style-figure {
	font-size: var(--t-display);
	font-weight: 300;
	line-height: 0.9;
	letter-spacing: -0.045em;
	font-variant-numeric: tabular-nums;
}

.is-style-figure {
	font-size: var(--t-figure);
	line-height: 1;
	letter-spacing: -0.035em;
}

.muted {
	color: var(--fg-2);
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */
.logo {
	display: block;
	width: 150px;
	flex: none;
	text-decoration: none !important;
}

.logo img {
	width: 100%;
	display: block;
}

.logo .logo__colour {
	display: none;
}

.logo:focus-visible {
	outline-offset: 6px;
}

/* --------------------------------------------------------------------------
   Header: fixed, transparent over the hero, glass once scrolled
   -------------------------------------------------------------------------- */
.cn-header {
	position: fixed;
	inset: var(--cn-bar-offset, var(--wp-admin--admin-bar--height, 0px)) 0 auto 0;
	z-index: 1000;
	color: var(--fg);
	transition: background 0.35s, color 0.35s, box-shadow 0.35s;
}

.cn-header--overlay {
	color: #fff;
}

/* AU2-H1: over the banner photos the white menu links need their own backing; the covers' 50% purple
   overlay does not guarantee 4.5:1 for 16px text where the photo is bright. A scrim fades from ink
   at the top to nothing at twice the header height, and goes once the header turns solid. It paints
   behind the header's content inside the header's own stacking context. */
.cn-header--overlay::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: calc(var(--header-h) * 2);
	background: linear-gradient(to bottom, rgba(26, 18, 48, 0.82), rgba(26, 18, 48, 0.72) 30%, rgba(26, 18, 48, 0.4) 65%, rgba(26, 18, 48, 0));
	pointer-events: none;
	z-index: -1;
	transition: opacity 0.35s;
}

.cn-header--overlay.is-solid::before {
	opacity: 0;
}

.wp-block-group.header__in {
	display: flex;
	align-items: center;
	gap: 40px;
	height: var(--header-h);
}

.wp-block-group.header__in > * {
	margin-block: 0;
}

.cn-header.is-solid,
.cn-header--solid {
	background: color-mix(in srgb, var(--bg) 84%, transparent);
	color: var(--fg);
	box-shadow: inset 0 -1px 0 var(--line);
	backdrop-filter: blur(14px) saturate(1.3);
	-webkit-backdrop-filter: blur(14px) saturate(1.3);
}

/* RV-01 (review 23 Nov 2026): a backdrop-filter makes the header the containing block of its fixed
   descendants, so the open phone menu and its fixed button sized themselves to the header box as soon
   as the header was solid (Privacy policy, the 404, and every page once scrolled). The blur is pointless
   behind the full-screen menu, so it goes while the menu is open. */
.cn-header:has(.wp-block-navigation__responsive-container.is-menu-open) {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.cn-header:not(.cn-header--overlay) .logo .logo__colour,
.cn-header.is-solid .logo .logo__colour {
	display: block;
}

.cn-header:not(.cn-header--overlay) .logo .logo__white,
.cn-header.is-solid .logo .logo__white {
	display: none;
}

/* Pages without the overlay header need room for the fixed bar. */
.cn-main.has-fixed-header {
	padding-top: var(--header-h);
}

.cn-header .wp-block-buttons {
	margin: 0;
	flex: none;
}

.cn-header .wp-block-button__link {
	min-height: 48px;
	padding: 0 22px;
	font-size: 1rem;
	white-space: nowrap;
}

.cn-header--overlay:not(.is-solid) .wp-block-button__link {
	--b-bg: var(--ice);
	--b-fg: var(--purple);
	--b-hbg: #fff;
	--b-hfg: var(--purple);
}

/* Buttons over the hero and in the open menu are Ice Cyan. */
.hero .wp-block-button:not(.is-style-ghost, .is-style-arrow-link) .wp-block-button__link {
	--b-bg: var(--ice);
	--b-fg: var(--purple);
	--b-hbg: #fff;
	--b-hfg: var(--purple);
}

/* Scroll progress line, inserted by header.js. */
.progress {
	position: fixed;
	top: var(--cn-bar-offset, var(--wp-admin--admin-bar--height, 0px));
	left: 0;
	z-index: 1001;
	height: 2px;
	width: var(--sp, 0%);
	background: var(--ice);
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer: Nordic Purple, white wordmark, glow and circles, legal line
   -------------------------------------------------------------------------- */
.cn-footer {
	background: var(--purple);
	color: #fff;
	padding: var(--section) 0 36px;
	position: relative;
	overflow: hidden;
}

body.has-cta .cn-footer {
	padding-top: calc(var(--cta-h, calc(var(--cta-up) + 200px)) - var(--cta-up) + var(--section) * 0.7);
}

.cn-footer .circles {
	position: absolute;
	right: -14vw;
	bottom: -30vw;
	width: 56vw;
	opacity: 0.25;
	pointer-events: none;
	animation: breathe-2 18s ease-in-out infinite alternate;
}

.cn-footer > .container {
	position: relative;
	z-index: 1;
}

.wp-block-group.footer__top {
	padding-bottom: 64px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.wp-block-group.footer__brand {
	grid-column: 1 / span 4;
	display: grid;
	gap: 28px;
	align-content: start;
}

.footer__brand .logo {
	width: 170px;
}

.footer__brand p {
	max-width: 32ch;
	color: rgba(255, 255, 255, 0.75);
	font-size: var(--t-intro);
	line-height: 1.4;
}

.wp-block-group.footer__col {
	grid-column: span 2;
}

.wp-block-group.footer__col--wide {
	grid-column: span 4;
}

/* AU-L3: the column labels are h2 (they were h4, a jump from each page's last h2 or h3). */
.cn-footer h4.wp-block-heading,
.cn-footer h2.wp-block-heading.footer__label {
	font-size: var(--t-small);
	line-height: 1.6;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7); /* AU-H2: 5.46:1 on purple */
	font-weight: 400;
	margin-bottom: 22px;
}

.cn-footer :is(h2, h3, h4, p, li, a) {
	color: inherit;
}

/* The footer menu is a navigation block: it takes the footer's type, not the header's 16px Regular. */
.cn-footer .wp-block-navigation,
.cn-footer .wp-block-navigation-item__content {
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

.cn-footer ul,
.cn-footer .wp-block-navigation__container {
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0;
	display: block;
}

.cn-footer li,
.cn-footer .wp-block-navigation-item {
	margin: 0 0 10px;
	display: block;
}

.cn-footer li a,
.cn-footer .wp-block-navigation-item__content {
	position: relative;
	display: inline-block;
	text-decoration: none !important;
	transition: color 0.25s, transform 0.35s var(--ease);
}

.cn-footer li a::before,
.cn-footer .wp-block-navigation-item__content::before {
	content: "";
	position: absolute;
	left: -16px;
	top: 50%;
	width: 10px;
	height: 1px;
	background: var(--ice);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.cn-footer li a:hover,
.cn-footer .wp-block-navigation-item__content:hover {
	color: var(--ice);
	transform: translateX(16px);
}

.cn-footer li a:hover::before,
.cn-footer .wp-block-navigation-item__content:hover::before {
	transform: scaleX(1);
}

.cn-footer .footer__mail {
	font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.5rem);
	font-weight: 400;
	white-space: nowrap;
	overflow-wrap: normal;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.cn-footer .footer__mail::before {
	position: static;
	width: 24px;
	height: 24px;
	background: var(--ice);
	transform: none;
	-webkit-mask: var(--mail-icon) no-repeat center / contain;
	mask: var(--mail-icon) no-repeat center / contain;
}

.cn-footer .footer__mail--email {
	--mail-icon: url("../icons/email.svg");
}

.cn-footer .footer__mail--linkedin {
	--mail-icon: url("../icons/linkedin.svg");
}

.cn-footer .footer__mail:hover {
	transform: translateX(6px);
}

.wp-block-group.footer__legal {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 28px;
	font-size: var(--t-small);
	color: rgba(255, 255, 255, 0.75); /* AU-H2: 5.98:1 on purple */
}

.footer__legal a:hover {
	color: var(--ice);
}

/* --------------------------------------------------------------------------
   Decorative pieces: circles graphic, ambient glow
   -------------------------------------------------------------------------- */
.circles {
	pointer-events: none;
}

.has-circles {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

/* AU-M1 follow-up: page heroes and the 404 set their text left in an 860px column. The rings keep
   their size, place and look but never start left of that column plus a 40px gap (from 1440px
   down the outer ring ran through the lead, on phones through the title). */
.has-circles::after {
	--circles-w: clamp(420px, 60vw, 900px);
	content: "";
	position: absolute;
	z-index: 0;
	left: max(calc(100% + 18vw - var(--circles-w)), calc(max(48px, 50% - 720px) + 900px));
	top: 50%;
	width: var(--circles-w);
	aspect-ratio: 1;
	transform: translateY(-45%);
	background: url("../images/circles.svg") no-repeat center / contain;
	opacity: 0.9;
	pointer-events: none;
}

/* AU-M1: on a section with centred text the circles start beyond the 860px text column, so no line
   of text crosses them (they ran through the intro at 1920px and sat on it on phones). */
.has-circles:has(> .has-text-align-center)::after {
	left: calc(50% + 470px);
	right: auto;
}

/* Below 1100px the text fills the width and the header holds the top, so there is no empty
   space left for the rings beside left-aligned text. */
@media (max-width: 1099px) {
	.has-circles:not(:has(> .has-text-align-center))::after {
		display: none;
	}
}

.has-circles > * {
	position: relative;
	z-index: 1;
}

.glow {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.glow::before,
.glow::after {
	content: "";
	position: absolute;
	width: 48vw;
	height: 48vw;
	border-radius: 50% !important;
	filter: blur(70px);
	opacity: 0.3;
	background: radial-gradient(circle, var(--ice) 0%, transparent 62%);
	/* Design trim (audit): the glows stay still; they drifted forever. */
}

.glow::before {
	left: -16vw;
	top: -24vw;
}

.glow::after {
	right: -20vw;
	bottom: -28vw;
	background: radial-gradient(circle, var(--sky) 0%, transparent 62%);
}

/* AU-M10: endless loops (circles, ticker, map pulses) pause while their section is off screen;
   interact.js sets is-idle. */
.is-idle,
.is-idle *,
.is-idle *::before,
.is-idle *::after {
	animation-play-state: paused !important;
}

@keyframes drift {
	to { transform: translate(14vw, 10vw) scale(1.25); }
}

@keyframes breathe {
	to { transform: translateY(-50%) scale(1.08); }
}

@keyframes breathe-2 {
	to { transform: scale(1.1); }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.wp-block-group.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: end;
	color: #fff;
	background: var(--deep);
	overflow: hidden;
	isolation: isolate;
	margin-block: 0; /* WordPress sets the negative side margins that make .alignfull bleed past the root padding */
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
}

.hero__media video,
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06) translate(calc(var(--px, 0) * -12px), calc(var(--py, 0) * -12px));
	transition: transform 1s var(--ease);
}

.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(180deg, rgba(26, 18, 48, 0.45) 0%, rgba(26, 18, 48, 0.1) 35%, rgba(26, 18, 48, 0.55) 70%, rgba(26, 18, 48, 0.9) 100%),
		linear-gradient(90deg, rgba(26, 18, 48, 0.45) 0%, rgba(26, 18, 48, 0) 60%);
}

.hero__lines {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: min(100% - 2 * var(--gutter), var(--w));
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--gap);
	pointer-events: none;
}

.hero__lines span {
	border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.hero__lines span:last-child {
	border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.hero__circles {
	position: absolute;
	z-index: -1;
	pointer-events: none;
	right: -12vw;
	top: -18vw;
	width: 62vw;
	opacity: 0.55;
	transform: translate(calc(var(--px, 0) * 36px), calc(var(--py, 0) * 36px));
	transition: transform 1.4s var(--ease);
}

.wp-block-group.hero__in {
	position: relative;
	padding-top: calc(var(--header-h) + 8vh);
	padding-bottom: clamp(32px, 5vh, 56px);
	transform: translateY(calc(var(--hs, 0) * 160px));
	opacity: calc(1 - var(--hs, 0) * 1.5);
}

.wp-block-group.hero__text {
	grid-column: 1 / span 11;
}

.hero__text .eyebrow {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: clamp(24px, 3vh, 40px);
}

.wp-block-group.hero__text h1 {
	color: #fff;
	max-width: 26ch;
	margin-bottom: clamp(32px, 4vh, 48px);
	letter-spacing: -0.025em;
}

.hero__text .wp-block-buttons {
	gap: 14px;
}

.hero .hero__bar {
	grid-column: 1 / -1;
	margin-top: clamp(48px, 8vh, 96px);
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-size: var(--t-small);
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.78);
}

.hero__meta {
	display: flex;
	gap: 40px;
}

.hero__meta span {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero__meta i {
	width: 8px;
	height: 8px;
	border-radius: 50% !important;
	border: 1.5px solid var(--ice);
}

.scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none !important;
	transition: color 0.25s;
}

.scroll-cue:hover {
	color: var(--ice);
}

.scroll-cue svg {
	width: 18px;
	height: 18px;
	animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(6px); }
}

.hero__play {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #fff;
	padding: 0 16px 0 0;
	cursor: pointer;
	letter-spacing: 0.08em;
	font: inherit;
	font-size: var(--t-small);
}

.hero__play svg {
	width: 42px;
	height: 42px;
	padding: 11px;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.hero__play:hover {
	border-color: var(--ice);
	color: var(--ice);
}

.hero__play .i-play {
	display: none;
}

.hero__play.is-paused .i-play {
	display: block;
}

.hero__play.is-paused .i-pause {
	display: none;
}

/* Entrance: words rise out of a mask, then the rest follows (hero.js splits the words). */
.hero h1 .w {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	padding-bottom: 0.14em;
	margin-bottom: -0.14em;
}

.hero h1 .w > span {
	display: inline-block;
	transform: translateY(115%);
	transition: transform 1.1s var(--ease);
	transition-delay: calc(0.15s + var(--i, 0) * 0.05s);
}

.hero.is-ready h1 .w > span {
	transform: none;
}

.has-js .hero__text .eyebrow,
.has-js .hero__text .wp-block-buttons,
.has-js .hero__bar {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hero__text .wp-block-buttons {
	transition-delay: 0.9s;
}

.hero__bar {
	transition-delay: 1.15s;
}

.hero.is-ready .hero__text .eyebrow,
.hero.is-ready .hero__text .wp-block-buttons,
.hero.is-ready .hero__bar {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */
.wp-block-group.ticker {
	position: relative;
	background: var(--ice);
	color: var(--purple);
	overflow: hidden;
	margin-block: 0; /* WordPress sets the negative side margins that make .alignfull bleed past the root padding */
}

.wp-block-group.ticker__track {
	display: flex;
	width: max-content;
	animation: ticker 48s linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track,
.ticker.is-paused .ticker__track {
	animation-play-state: paused;
}

/* Pause and play, added by interact.js: a square at the right edge of the band. */
.ticker__toggle {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 56px;
	border: 0;
	border-left: 1px solid rgba(86, 61, 110, 0.18);
	background: var(--ice);
	color: var(--purple);
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}

.ticker__toggle::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	margin: auto;
	background-color: currentColor;
	-webkit-mask: url("../icons/ui-pause.svg") no-repeat center / contain;
	mask: url("../icons/ui-pause.svg") no-repeat center / contain;
	transition: transform 0.3s var(--ease);
}

.ticker__toggle[aria-pressed="true"]::before {
	-webkit-mask-image: url("../icons/ui-play.svg");
	mask-image: url("../icons/ui-play.svg");
}

.ticker__toggle:hover {
	background: var(--purple);
	color: var(--ice);
}

.ticker__toggle:hover::before {
	transform: scale(1.15);
}

.ticker__toggle:focus-visible {
	outline: 2px solid var(--purple);
	outline-offset: -4px;
}

.ticker ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* The second selector outranks the list block's `li + li` top margin, which otherwise
   stretches the first item and drops the rest 6px below it. */
.ticker li,
.ticker .wp-block-list li + li {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 20px 32px 20px 0;
	margin: 0;
	font-weight: 400;
	font-size: 1rem;
	white-space: nowrap;
	transition: color 0.3s;
}

.ticker li::after {
	content: "";
	width: 9px;
	height: 9px;
	border: 1.5px solid currentColor;
	border-radius: 50% !important;
	transition: background 0.3s;
}

.ticker li:hover {
	color: var(--fjord);
}

.ticker li:hover::after {
	background: currentColor;
}

@keyframes ticker {
	to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Section heads, intro and key figures
   -------------------------------------------------------------------------- */
.wp-block-group.section__head {
	margin-bottom: clamp(40px, 4.5vw, 64px);
}

/* The label sits on the first line of the heading beside it: half the heading's line box minus
   half its own (lh = the label's line height; the em value is the fallback for old browsers). */
.section__head .eyebrow,
.intro-block .eyebrow {
	grid-column: 1 / span 4;
	align-self: start;
	padding-top: 0.9em;
	padding-top: calc(var(--t-h2) * 1.08 / 2 - 0.5lh);
}

.intro-block .eyebrow {
	padding-top: calc(var(--t-statement) * 1.28 / 2 - 0.5lh);
}

.section__head h2 {
	grid-column: 5 / span 8;
	max-width: 20ch;
}

.intro-block .statement {
	grid-column: 5 / span 8;
}

.wp-block-group.figures {
	margin-top: clamp(48px, 5vw, 80px);
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.wp-block-group.figure {
	position: relative;
	padding: 40px 32px 0 0;
}

.figure + .figure {
	border-left: 1px solid var(--line);
	padding-left: 32px;
}

.figure::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	height: 2px;
	width: 64px;
	background: var(--accent);
	transform: scaleX(0); /* AU-M10: transform, not width, so the browser does not redo layout each frame */
	transform-origin: left;
	transition: transform 1.2s var(--ease) 0.2s;
}

.figure.in::before,
html:not(.has-js) .figure::before {
	transform: scaleX(1);
}

.figure + .figure::before {
	left: 32px;
}

.figure__n {
	font-size: var(--t-figure);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.035em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.figure__n small {
	font-size: 0.38em;
	font-weight: 300;
	margin-left: 0.15em;
	color: var(--fg-2);
	letter-spacing: 0;
}

.figure .figure__l {
	margin-top: 18px;
	font-weight: 500;
}

.figure .figure__s {
	color: var(--fg-2);
	font-size: var(--t-small);
	margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Bento: photo cell plus four cards
   -------------------------------------------------------------------------- */
.wp-block-group.bento {
	display: grid;
	grid-template-columns: 5fr 3.5fr 3.5fr;
	grid-template-rows: auto auto;
	gap: var(--gap);
}

.wp-block-image.bento__photo {
	grid-row: 1 / span 2;
	position: relative;
	min-height: 560px;
	overflow: hidden;
	background: var(--deep);
	margin: 0;
}

.wp-block-image.cn-tiles__photo {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	background: var(--deep);
	margin: 0;
}

.bento__photo img,
.cn-tiles__photo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.15);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease);
}

.bento__photo.in img,
.cn-tiles__photo.in img,
.in .cn-tiles__photo img,
html:not(.has-js) .bento__photo img,
html:not(.has-js) .cn-tiles__photo img {
	transform: scale(1);
	clip-path: inset(0);
}

.bento__photo.in:hover img,
.cn-tiles__photo:hover img {
	transform: scale(1.07);
}

.bento__photo figcaption,
.cn-tiles__photo figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 32px;
	color: #fff;
	text-align: left;
	font-size: inherit;
	padding-top: 72px; /* AU-H3: room for the fade above the label */
	background: linear-gradient(180deg, rgba(26, 18, 48, 0) 0%, rgba(26, 18, 48, 0.72) 35%, rgba(26, 18, 48, 0.85) 100%);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	opacity: 0;
	transition: opacity 0.8s var(--ease) 0.6s;
}

.bento__photo.in figcaption,
.cn-tiles__photo.in figcaption,
.in .cn-tiles__photo figcaption,
html:not(.has-js) .bento__photo figcaption,
html:not(.has-js) .cn-tiles__photo figcaption {
	opacity: 1;
}

/* The tiles' photo stacks its label over its line (the bento photo also has a figure beside them). */
.cn-tiles__photo figcaption {
	display: block;
}

.bento__photo figcaption .eyebrow,
.cn-tiles__photo figcaption .eyebrow {
	color: #fff; /* AU-H3 */
}

.bento__photo figcaption strong,
.cn-tiles__photo figcaption strong {
	font-size: var(--t-h3);
	font-weight: 400;
	display: block;
	max-width: 22ch;
	line-height: 1.2;
	margin-top: 6px;
}

.bento__temp {
	font-size: clamp(2.5rem, 2rem + 2vw, 4rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
	transition: transform 0.6s var(--ease), color 0.4s;
}

.bento__photo:hover .bento__temp {
	transform: translateY(-6px) scale(1.06);
	color: var(--ice);
}

/* Cards: lift, cursor spotlight, icons draw themselves, bullets stretch. */
.wp-block-group.card,
.wp-block-group.is-style-card {
	position: relative;
	background: var(--card);
	color: var(--fg);
	border: 1px solid var(--line);
	padding: clamp(28px, 2.6vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 22px;
	height: 100%;
	cursor: default;
	transition: border-color 0.35s, transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.wp-block-group.card::after,
.wp-block-group.is-style-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.45s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 240, 255, 0.2), transparent 60%);
}

.wp-block-group.card:hover,
.wp-block-group.is-style-card:hover {
	border-color: var(--emph);
}

/* Design trim (audit): only a card that leads somewhere lifts; on the others the lift promised a
   click that never came. */
.wp-block-group.card:has(a):hover,
.wp-block-group.is-style-card:has(a):hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 50px -30px rgba(43, 45, 66, 0.45);
}

.wp-block-group.card:hover::after,
.wp-block-group.is-style-card:hover::after {
	opacity: 1;
}

/* A card is a flex column: the constrained layout's auto side margins would centre each child
   at its own width. Everything in a card sits on the left. */
.wp-block-group.is-style-card > * {
	margin-inline: 0 !important;
	max-width: none !important;
	width: auto;
}

.wp-block-group.card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.card__idx {
	font-size: var(--t-small);
	letter-spacing: 0.14em;
	color: var(--fg-2);
	transition: color 0.3s;
}

.card:hover .card__idx {
	color: var(--emph);
}

.card .cn-icon,
.is-style-card .cn-icon {
	font-size: 56px;
	color: var(--icon);
	margin: 0;
	transition: transform 0.5s var(--ease);
}

.card .cn-icon svg,
.is-style-card .cn-icon svg {
	stroke-dasharray: 240;
	stroke-dashoffset: 240;
	transition: stroke-dashoffset 1.6s var(--ease) calc(0.25s + var(--i, 0) * 0.12s);
}

.card.in .cn-icon svg,
.is-style-card.in .cn-icon svg,
.in .is-style-card .cn-icon svg,
html:not(.has-js) .card .cn-icon svg,
html:not(.has-js) .is-style-card .cn-icon svg {
	stroke-dashoffset: 0;
}

.card:hover .cn-icon,
.is-style-card:hover .cn-icon {
	transform: translateY(-4px) scale(1.08);
}

.card h3,
.is-style-card h3 {
	font-size: var(--t-h3);
	font-weight: 500;
	line-height: 1.25;
	color: var(--fg);
}

.card ul,
.is-style-card ul {
	display: grid;
	gap: 10px;
	padding: 2px 0 0;
	margin: 0;
	list-style: none;
}

.card li,
.is-style-card li {
	position: relative;
	padding-left: 22px;
	margin: 0;
	color: var(--fg-2);
	line-height: 1.45;
}

.card li::before,
.is-style-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 8px;
	height: 8px;
	background: var(--accent);
	transform-origin: left;
	transition: transform 0.35s var(--ease); /* AU-M10: transform, not width */
}

.card:hover li::before,
.is-style-card:hover li::before {
	transform: scaleX(1.75);
}

.card:hover li:nth-child(2)::before {
	transition-delay: 0.06s;
}

.card:hover li:nth-child(3)::before {
	transition-delay: 0.12s;
}

/* --------------------------------------------------------------------------
   Story: sticky picture, steps, progress line
   -------------------------------------------------------------------------- */
.wp-block-group.story {
	background: var(--purple);
	color: #fff;
	padding-block: var(--section);
	position: relative;
	overflow: clip;
	margin-block: 0; /* WordPress sets the negative side margins that make .alignfull bleed past the root padding */
}

.story > .container {
	position: relative;
	z-index: 1;
}

.story .eyebrow {
	color: rgba(255, 255, 255, 0.75);
}

.story h2,
.story h3,
.story p {
	color: #fff;
}

.wp-block-group.story__media {
	grid-column: 1 / span 6;
	position: sticky;
	top: calc(var(--header-h) + 56px);
	align-self: start;
	aspect-ratio: 4 / 5;
	max-height: calc(100svh - var(--header-h) - 112px);
	overflow: hidden;
	background: var(--deep);
}

.story__media .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.story__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.9s var(--ease), transform 7s linear;
}

.story__media .is-active img {
	opacity: 1;
	transform: scale(1);
}

.story__count {
	position: absolute;
	left: 20px;
	bottom: 20px;
	font-size: var(--t-small);
	letter-spacing: 0.14em;
	display: flex;
	gap: 8px;
	color: rgba(255, 255, 255, 0.85);
	z-index: 1;
	padding: 8px 12px;
	background: rgba(26, 18, 48, 0.72); /* AU-H3: the counter sat on the photo with no backing */
}

.story__count b {
	font-weight: 400;
	color: #fff;
}

.wp-block-group.story__steps {
	grid-column: 8 / span 5;
	position: relative;
	padding-left: 44px;
}

.story__line {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.22);
}

.story__line i {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: var(--ice);
	transform: scaleY(var(--pn, 0)); /* AU-M10: transform, not height */
	transform-origin: top;
	transition: transform 0.15s linear;
}

.wp-block-group.step {
	min-height: 72svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	opacity: 0.8; /* dimmed steps are still content: with the 78% body text this keeps 4.6:1 on purple */
	transition: opacity 0.5s;
}

.step:first-child {
	min-height: 60svh;
}

.step.is-active,
html:not(.has-js) .step {
	opacity: 1;
}

.wp-block-group.step__n {
	font-size: var(--t-small);
	letter-spacing: 0.14em;
	color: var(--ice);
	display: flex;
	align-items: center;
	gap: 14px;
}

.step__n p {
	color: var(--ice);
	text-transform: uppercase;
}

.step__n .cn-icon {
	font-size: 28px;
	color: var(--ice);
}

/* AU-L8: a step that is not active yet shows its icon faintly instead of an empty space. */
.step__n .cn-icon svg {
	opacity: 0.4;
	transition: opacity 0.6s var(--ease);
}

.step.is-active .step__n .cn-icon svg,
html:not(.has-js) .step__n .cn-icon svg {
	opacity: 1;
}

.step h3 {
	font-size: clamp(1.875rem, 1.2rem + 1.9vw, 3.125rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.02em;
	transform: translateX(-12px);
	transition: transform 0.7s var(--ease);
}

.step.is-active h3,
html:not(.has-js) .step h3 {
	transform: none;
}

.step p {
	color: rgba(255, 255, 255, 0.78);
	max-width: 44ch;
}

.step .wp-block-buttons {
	margin: 0;
}

.step .wp-block-button__link {
	color: #fff;
}

.step__img {
	display: none;
}

/* --------------------------------------------------------------------------
   Security and ISO tiles
   -------------------------------------------------------------------------- */
.wp-block-group.security__text {
	grid-column: 1 / span 5;
	display: grid;
	gap: 28px;
	align-content: start;
}

.security__text p {
	max-width: 44ch;
}

.wp-block-group.security__badges {
	grid-column: 7 / span 6;
	display: grid;
	grid-template-columns: 1fr 1fr;
	border: 1px solid var(--line);
	background: var(--card);
}

.wp-block-group.badge {
	padding: clamp(24px, 2.4vw, 36px);
	display: grid;
	gap: 28px;
	cursor: default;
	transition: background 0.35s;
}

.badge:nth-child(odd) {
	border-right: 1px solid var(--line);
}

.badge:nth-child(-n + 2) {
	border-bottom: 1px solid var(--line);
}

.badge:hover {
	background: var(--bg-2);
}

.wp-block-group.badge__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: var(--t-small);
	letter-spacing: 0.14em;
	color: var(--fg-2);
}

.badge__top p {
	font-size: var(--t-small);
	letter-spacing: 0.14em;
}

.badge__top .cn-icon {
	font-size: 88px;
	color: var(--icon);
	margin: 0;
	transition: transform 0.6s var(--ease);
}

.badge:hover .badge__top .cn-icon {
	transform: rotate(-12deg) scale(1.08);
}

.badge__top .cn-icon svg {
	stroke-dasharray: none;
	stroke-dashoffset: 0;
}

.badge__n {
	font-size: clamp(2.5rem, 1.5rem + 2.6vw, 4.25rem);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.03em;
	transition: color 0.3s, transform 0.5s var(--ease);
}

.badge:hover .badge__n {
	color: var(--emph);
	transform: translateX(8px);
}

.badge__l {
	color: var(--fg-2);
	font-size: var(--t-small);
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Statement band: the giant figure
   -------------------------------------------------------------------------- */
.wp-block-group.statement-band {
	background: var(--purple);
	color: #fff;
	position: relative;
	overflow: hidden;
	padding-block: var(--section);
	margin-block: 0; /* WordPress sets the negative side margins that make .alignfull bleed past the root padding */
}

.statement-band > .container {
	position: relative;
	z-index: 1;
}

/* AU-M1 follow-up: no ring may cross a line of text. The rings keep their size, motion and
   right-hand place, but never start left of the 40ch text column plus a clear gap (they reached
   the text when the band stacks, 768 to 900px). */
.statement-band .circles {
	position: absolute;
	left: max(calc(100% - 42vw), calc(var(--gutter) + 480px));
	top: 50%;
	transform: translateY(-50%);
	width: 48vw;
	opacity: 0.6;
	animation: breathe 14s ease-in-out infinite alternate;
}

/* Beside the giant figure the text runs to the right edge of the grid, so from 1181px the rings
   are centred on the empty bottom right corner, sized to clear the text while they breathe.
   top: 100% with the translateY(-50%) of the breathe animation puts their centre on the edge. */
@media (min-width: 1181px) {
	.statement-band:has(.display) .circles {
		--ring: clamp(96px, 24vw - 176px, 340px);
		left: auto;
		right: calc(var(--ring) * -1);
		top: 100%;
		width: calc(var(--ring) * 2);
	}
}

/* Phones: the text fills the width, so the rings are centred on the empty top right corner beside
   the figure or the short heading. */
@media (max-width: 767px) {
	/* CR-1: under 768px the video does not play and the bright still photo shows, so the shade
	   behind the headline deepens (the headline sat on sky at 1.7 to 2.4:1). */
	.hero__shade {
		background:
			linear-gradient(180deg, rgba(26, 18, 48, 0.35) 0%, rgba(26, 18, 48, 0.68) 28%, rgba(26, 18, 48, 0.84) 62%, rgba(26, 18, 48, 0.95) 100%),
			linear-gradient(90deg, rgba(26, 18, 48, 0.35) 0%, rgba(26, 18, 48, 0) 70%);
	}

	.statement-band .circles {
		--ring: clamp(72px, min(60vw - 112px, 38vw - 18px), 260px);
		left: auto;
		right: calc(var(--ring) * -1);
		top: 0;
		width: calc(var(--ring) * 2);
	}
}

/* Design trim (audit): solid Ice Cyan. The gradient text with a moving shine was the strongest
   template tell on the site. */
.statement-band .display {
	grid-column: 1 / span 7;
	color: var(--ice);
}

.wp-block-group.statement-band__text {
	grid-column: 8 / span 5;
	align-self: end;
	display: grid;
	gap: 20px;
}

.statement-band__text:first-child {
	grid-column: 1 / span 8;
}

.statement-band h2,
.statement-band p {
	color: #fff;
}

.statement-band__text p {
	color: rgba(255, 255, 255, 0.78);
	max-width: 40ch;
}

.statement-band__text p + p {
	margin-top: var(--wp--preset--spacing--30);
}

/* --------------------------------------------------------------------------
   Photo band and the contact panel that straddles it and the footer
   -------------------------------------------------------------------------- */
.wp-block-cover.band {
	min-height: 72vh;
	margin-block: 0; /* WordPress sets the negative side margins that make .alignfull bleed past the root padding */
}

:root {
	--cta-up: 220px; /* how far the panel reaches up into the band above */
}

.wp-block-group.cta {
	position: relative;
	z-index: 2;
	margin-top: 0;
	/* The footer starts where the band ends: the group's bottom margin cancels all of the panel
	   below the overlap, so no page background shows between the band and the footer. */
	margin-bottom: calc(var(--cta-up) - var(--cta-h, calc(var(--cta-up) + 200px)));
}

.band + .cta,
.wp-block-cover + .cta {
	margin-top: calc(-1 * var(--cta-up));
}

.wp-block-group.cta__panel {
	grid-column: 1 / span 8;
	background: var(--ice);
	color: var(--purple);
	padding: clamp(36px, 5vw, 72px);
	display: grid;
	gap: 28px;
}

.cta__panel .eyebrow {
	color: var(--purple); /* AU-H1: 75% purple was 4.04:1 on Ice Cyan */
}

.cta__panel .eyebrow::before {
	background: var(--purple);
}

.cta__panel h2 {
	font-size: clamp(1.5rem, 1rem + 1.6vw, 2.75rem);
	max-width: 24ch;
	color: var(--purple);
}

.cta__panel .wp-block-buttons {
	align-items: center;
	gap: 28px;
}

.cta__panel .wp-block-button__link {
	--b-hbg: #fff;
	--b-hfg: var(--purple);
}

.cta__panel .is-style-arrow-link .wp-block-button__link {
	font-size: var(--t-body);
}

/* --------------------------------------------------------------------------
   Motion: reveal on scroll (reveal.js adds "in")
   -------------------------------------------------------------------------- */
.has-js .reveal,
.has-js .reveal-2,
.has-js .reveal-3,
.has-js .reveal-4 {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.has-js .reveal-2 { transition-delay: 0.1s; }
.has-js .reveal-3 { transition-delay: 0.2s; }
.has-js .reveal-4 { transition-delay: 0.3s; }

/* Design trim (audit): headings fade up without the blur. */

.has-js :is(.reveal, .reveal-2, .reveal-3, .reveal-4).in {
	opacity: 1;
	transform: none;
	filter: blur(0);
}

/* The photo cell reveals with a clip instead of a fade. */
.has-js .reveal-clip {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
	.section__head .eyebrow,
	.intro-block .eyebrow {
		grid-column: 1 / -1;
		padding-top: 0;
		margin-bottom: 20px;
	}

	.section__head h2,
	.intro-block .statement {
		grid-column: 1 / -1;
		max-width: none;
	}

	.wp-block-group.figures {
		grid-template-columns: repeat(2, 1fr);
	}

	.wp-block-group.figure {
		padding-right: 24px;
	}

	.figure + .figure {
		padding-left: 24px;
	}

	.figure:nth-child(3) {
		border-left: 0;
		padding-left: 0;
	}

	.figure:nth-child(3)::before {
		left: 0;
	}

	.figure:nth-child(n + 3) {
		border-top: 1px solid var(--line);
		margin-top: 32px;
	}

	.wp-block-group.bento {
		grid-template-columns: 1fr 1fr;
	}

	.wp-block-image.bento__photo {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 420px;
	}

	.wp-block-group.story__media {
		display: none;
	}

	.wp-block-group.story__steps {
		grid-column: 1 / -1;
		padding-left: 0;
	}

	.story__line {
		display: none;
	}

	.wp-block-group.step {
		min-height: 0;
		opacity: 1;
		padding-block: 24px;
	}

	/* AU-M6: one column and no sticky picture here, so every step reads as active. */
	.step h3 {
		transform: none;
	}

	.step__n .cn-icon svg {
		opacity: 1;
	}

	.step .step__img {
		display: block;
		margin: 0 0 8px;
	}

	.step__img img {
		aspect-ratio: 16 / 10;
		object-fit: cover;
		width: 100%;
	}

	.wp-block-group.security__text,
	.wp-block-group.security__badges {
		grid-column: 1 / -1;
	}

	.statement-band .display,
	.wp-block-group.statement-band__text {
		grid-column: 1 / -1;
	}

	.wp-block-group.cta__panel {
		grid-column: 1 / -1;
	}

	.wp-block-group.footer__brand {
		grid-column: 1 / -1;
	}

	.wp-block-group.footer__col,
	.wp-block-group.footer__col--wide {
		grid-column: span 4;
	}
}

@media (max-width: 720px) {
	:root {
		--header-h: 72px;
		--cn-header-height: 72px;
		--section: 80px;
	}

	.wp-block-group.hero__text h1 {
		max-width: none;
	}

	.hero__bar {
		flex-wrap: wrap;
	}

	.hero__meta {
		display: none;
	}

	.wp-block-group.figures {
		grid-template-columns: 1fr;
	}

	.wp-block-group.figure,
	.figure + .figure {
		padding-left: 0;
		padding-right: 0;
		border-left: 0;
		border-top: 1px solid var(--line);
		margin-top: 24px;
		padding-top: 24px;
	}

	.figure + .figure::before {
		left: 0;
	}

	.figure:first-child {
		border-top: 0;
		margin-top: 0;
		padding-top: 40px;
	}

	.wp-block-group.bento {
		grid-template-columns: 1fr;
	}

	.wp-block-image.bento__photo {
		min-height: 320px;
	}

	/* AU-H4: the figure stays on phones, under the caption text (it was hidden, leaving the caption
	   without its number). */
	.bento__photo figcaption {
		flex-direction: column;
		align-items: flex-start;
	}

	.bento__temp {
		font-size: 2.25rem;
	}

	.wp-block-group.security__badges {
		grid-template-columns: 1fr;
	}

	.badge:nth-child(odd) {
		border-right: 0;
	}

	.badge:nth-child(-n + 3) {
		border-bottom: 1px solid var(--line);
	}

	:root {
		--cta-up: 120px;
	}

	body.has-cta .cn-footer {
		padding-top: calc(var(--cta-h, calc(var(--cta-up) + 200px)) - var(--cta-up) + var(--section) * 0.7);
	}

	/* The e-mail link must not break mid-word on a phone. */
	.cta__panel .is-style-arrow-link .wp-block-button__link {
		font-size: var(--t-small);
		white-space: nowrap;
		overflow-wrap: normal;
	}

	/* AU2-L5: Pages and Offices side by side on phones; the footer was about 1,000px tall in one column. */
	.wp-block-group.footer__col {
		grid-column: span 6;
	}

	.wp-block-group.footer__col--wide {
		grid-column: 1 / -1;
	}
}

/* AU2-L2: no single word alone on a last line; headings break evenly. Browsers without text-wrap
   ignore it. */
.cn-main :is(p, li, dd, figcaption),
.wp-block-post-excerpt__excerpt {
	text-wrap: pretty;
}

.cn-main :is(h2, h3, h4) {
	text-wrap: balance;
}

/* AU2-L3: Lexend 300 draws as a hairline below 16px on 1x screens, so small text is set in 400. */
.hero .hero__bar,
.figure .figure__s,
.card__idx,
.story__count,
.wp-block-group.step__n,
.badge__top p,
.badge__l,
.wp-block-group.footer__legal {
	font-weight: 400;
}

/* AU2-L10: the legal link reaches a 24px hit area. */
.footer__legal a {
	display: inline-block;
	padding-block: 4px;
}

/* Privacy policy and Cookie settings (Compute Nordic Core reopens the banner from the second). */
.footer__legal .footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
}

/* --------------------------------------------------------------------------
   Reduced motion: everything is visible and still
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.has-js :is(.reveal, .reveal-2, .reveal-3, .reveal-4),
	.has-js .hero__text .eyebrow,
	.has-js .hero__text .wp-block-buttons,
	.has-js .hero__bar,
	.hero h1 .w > span {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}

	.wp-block-group.hero__in {
		transform: none;
		opacity: 1;
	}

	.hero__media video,
	.hero__media img,
	.hero__circles {
		transform: none;
	}

	.wp-block-group.ticker__track {
		animation: none;
		width: auto;
		flex-wrap: wrap;
	}

	.ticker ul {
		flex-wrap: wrap;
	}

	.ticker ul[aria-hidden] {
		display: none;
	}

	/* AU-M11 follow-up: the ring sets are styled as ".statement-band .circles" and
	   ".cn-footer .circles", which outranked a bare ".circles" here and kept them breathing. */
	.scroll-cue svg,
	.glow::before,
	.glow::after,
	.statement-band .display,
	.circles,
	:is(.statement-band, .cn-footer, .hero, .has-circles) :is(.circles, .hero__circles) {
		animation: none;
	}

	.card .cn-icon svg,
	.is-style-card .cn-icon svg,
	.step__n .cn-icon svg {
		stroke-dasharray: none;
		stroke-dashoffset: 0;
	}

	.bento__photo img,
	.cn-tiles__photo img {
		clip-path: none;
		transform: none;
	}

	.bento__photo figcaption,
	.cn-tiles__photo figcaption,
	.step {
		opacity: 1;
	}

	.figure::before {
		transform: none;
	}

	.story__media img {
		transition: opacity 0.3s;
	}

	.wp-block-cover.has-parallax {
		background-attachment: scroll;
	}

	.card:hover,
	.is-style-card:hover,
	.wp-block-button__link {
		transform: none !important;
	}
}

/* --------------------------------------------------------------------------
   Parallax bands on touch devices, print, 404
   -------------------------------------------------------------------------- */
@media (max-width: 991px), (hover: none) {
	.wp-block-cover.has-parallax,
	.wp-block-cover .has-parallax {
		background-attachment: scroll;
	}
}

.cn-404 .wp-block-list {
	columns: 4; /* AU2-L6: seven links fill the wide box instead of leaving two thirds of it empty */
	column-gap: var(--wp--preset--spacing--50);
}

/* group.css reserves the 860px measure with a right padding on text blocks in sections; the link box
   is a directory, not running text, so it keeps its own 40px on the right. */
.wp-block-group[class*="is-style-section-"].is-layout-constrained.cn-404 > .wp-block-list:not(.has-text-align-center):not(.alignwide):not(.alignfull) {
	padding-right: var(--wp--preset--spacing--40);
}

@media (max-width: 1099px) {
	.cn-404 .wp-block-list {
		columns: 2;
	}
}

@media (max-width: 767px) {
	.cn-404 .wp-block-list {
		columns: 1;
	}
}

@media print {
	.cn-header,
	.progress,
	.cn-footer .wp-block-navigation,
	.hero__bar {
		display: none !important;
	}
}
