/* The Corporate Action Company — site stylesheet (vertical layout, top nav).
   The 2026 look follows the links page, the flyer cover and the showreel: navy, Inter, cyan and orange. */

:root {
	--bg0: #0a1824;
	--bg1: #0f2333;
	--bg-deep: #050d14;
	--glow: #183e56;
	--on-dark: #c6d4de;
	--cyan: #3fd0d4;
	--orange: #fc7700;
	--line: rgba(255, 255, 255, 0.18);
	--grad-glow: radial-gradient(ellipse 80% 60% at 85% 0%, var(--glow), transparent 70%) var(--bg1);
	/* The 1px frame is part of the shadow, so an inline box-shadow: none drops both (cut-out art such as the CATS workstation). */
	--shadow: 0 0 0 1px var(--line), 0 10px 30px rgba(0, 0, 0, 0.45);
	--mono: "JetBrains Mono", ui-monospace, monospace;
	--radius: 14px;
	--max: 72rem;
	--gutter: 1.5rem;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font: 400 1.0625rem/1.65 "Inter", system-ui, sans-serif; font-optical-sizing: auto;
	color: var(--on-dark);
	background: var(--bg0);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.75rem; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
h1, h2 { font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
strong { color: #fff; }
p, ul, ol { margin: 0 0 1.25rem; }
.lead { font-size: 1.25rem; font-weight: 300; }
small { font-size: 0.9rem; color: var(--on-dark); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 46rem; margin-inline: auto; }
.text-center { text-align: center; }
.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; color: var(--bg0); padding: 0.5rem 1rem; z-index: 200; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.kicker, .date { display: block; font: 700 0.75rem/1.45 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); }
.kicker { margin-bottom: 1rem; }
.date { margin-bottom: 0.25rem; }

/* Header + navigation: navy glass with the links-page glow behind the menu and a cyan glow line below. */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background:
		radial-gradient(ellipse 45% 160% at 82% 0%, rgba(30, 90, 120, 0.75), transparent 70%),
		radial-gradient(ellipse 30% 120% at 12% 0%, rgba(24, 62, 86, 0.6), transparent 70%),
		rgba(10, 24, 36, 0.9);
	border-bottom: 1px solid rgba(63, 208, 212, 0.3);
	box-shadow: 0 1px 24px rgba(63, 208, 212, 0.12);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header .container {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 4.5rem; gap: 1rem;
}
.brand { display: block; line-height: 0; }
.brand img { height: 3rem; width: auto; }
.nav-toggle {
	display: none; background: none; color: #fff; cursor: pointer;
	border: 2px solid rgba(255, 255, 255, 0.6); border-radius: 0.25rem;
	padding: 0.4rem 0.6rem; font-size: 1.25rem;
}
.nav-list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0.25rem; }
.nav-list a {
	display: block; color: #fff; text-decoration: none; font-weight: 600;
	padding: 0.6rem 0.8rem; border-radius: 999px; white-space: nowrap;
}
.nav-list a:hover, .nav-list a:focus-visible { background: rgba(255, 255, 255, 0.08); }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-list .nav-cta a { background: var(--orange); color: var(--bg-deep); border-radius: 999px; box-shadow: none; margin-left: 0.5rem; }
.nav-list .nav-cta a:hover, .nav-list .nav-cta a:focus-visible { background: #ff8a24; }
.has-sub { position: relative; }
.has-sub > a::after { content: " \25BE"; font-size: 0.8em; }
.sub {
	display: none; position: absolute; top: 100%; left: 0; min-width: 16rem;
	list-style: none; margin: 0; padding: 0.5rem 0;
	background: var(--bg1); border-radius: 10px;
	box-shadow: var(--shadow);
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { font-weight: 400; border-radius: 0; padding: 0.5rem 1rem; }

@media (max-width: 62rem) {
	.nav-toggle { display: block; }
	.site-header .container { flex-wrap: wrap; }
	.site-nav { display: none; width: 100%; }
	.site-nav.open { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; padding-bottom: 1rem; }
	.nav-list a { white-space: normal; }
	.has-sub > a::after { content: ""; }
	.sub { display: block; position: static; box-shadow: none; background: rgba(0, 0, 0, 0.15); padding-left: 1rem; }
	.nav-list .nav-cta a { margin: 0.5rem 0 0; text-align: center; }
}

/* Hero: each photo becomes a navy duotone, faded in from the left like the flyer cover.
   The orange bar from the links page sits above the headline. */

.hero {
	position: relative; color: #fff; padding: 6rem 0;
	background: var(--bg0) center / cover no-repeat;
	background-blend-mode: luminosity;
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, var(--bg0) 30%, rgba(10, 24, 36, 0.8) 60%, rgba(10, 24, 36, 0.45)),
		radial-gradient(ellipse 80% 60% at 85% 0%, rgba(24, 62, 86, 0.6), transparent 70%);
}
.hero .container { position: relative; }
.hero-text { max-width: 40rem; }
.hero-text::before { content: ""; display: block; width: 44px; height: 4px; background: var(--orange); margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.02; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; font-weight: 300; color: var(--on-dark); }
.hero em { font-style: normal; color: var(--cyan); }
.hero .kicker { font-size: 0.75rem; font-weight: 700; color: var(--cyan); margin-bottom: 0.75rem; }
.hero-lg { padding: 9rem 0; }
.hero-sm { padding: 4rem 0; }

/* Home hero: the links-page tiger, unblended so the orange eye stays, its edges faded into the navy. */

.hero-home {
	--tiger: min(48vw, 40rem);
	min-height: var(--tiger); display: flex; align-items: center; padding-block: 4rem;
	background-blend-mode: normal;
	background-image: radial-gradient(closest-side, transparent 62%, var(--bg0)), url('../../images/links-cover-tiger.jpg');
	background-size: var(--tiger) var(--tiger), var(--tiger) var(--tiger);
	background-position: right 4% center, right 4% center;
}
.hero-home > .container { width: 100%; }
.hero-home::before { background: radial-gradient(ellipse 80% 50% at 85% 0%, rgba(24, 62, 86, 0.7), transparent 70%); }
@media (max-width: 62rem) {
	.hero-home { min-height: 0; padding-block: 6rem; background-image: url('../../images/links-cover-tiger.jpg'); background-size: cover; background-position: 60% 35%; }
	.hero-home::before { background: linear-gradient(rgba(10, 24, 36, 0.55), var(--bg0) 85%); }
}

/* Bands (page sections): navy and lifted navy in turn, glowing navy for the old teal and orange bands. */

.band { padding: 4.5rem 0; }
.band-alt { background: var(--bg1); }
.band-teal, .band-green { background: var(--grad-glow); }
.band-orange { background: radial-gradient(ellipse 70% 90% at 50% 120%, rgba(252, 119, 0, 0.22), transparent 70%) var(--bg1); border-top: 1px solid var(--line); }
.band-dark { background: var(--bg-deep); }
.on-dark { color: var(--on-dark); }
.on-dark a { color: #fff; }
.on-dark .lead { font-weight: 400; }
.on-dark small { color: rgba(255, 255, 255, 0.8); }
.band-title { text-align: center; max-width: 46rem; margin: 0 auto 3rem; }
.band-title h2::after, .accent::after {
	content: ""; display: block; width: 44px; height: 4px;
	background: var(--orange); margin: 0.85rem auto 0;
}
.accent::after { margin-left: 0; }

/* Grids and cards */

.grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.feature .fa { font-size: 2.25rem; color: var(--cyan); margin-bottom: 0.75rem; display: block; }
.feature .fa, .feature h3 { text-align: center; }
.feature-inline { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; align-items: start; }
.feature-inline .fa { grid-row: 1 / span 2; margin: 0.15rem 0 0; text-align: left; }
.feature-inline h3, .feature-inline p { grid-column: 2; text-align: left; }
.feature h3 { margin-bottom: 0.4rem; }
.feature > :last-child { margin-bottom: 0; }
.card {
	background: rgba(255, 255, 255, 0.04); color: var(--on-dark); padding: 1.75rem;
	border: 1px solid var(--line); border-radius: var(--radius);
}
.card .fa { color: var(--cyan); }
.card > :last-child { margin-bottom: 0; }
.split { display: grid; gap: 3rem; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.split-top { align-items: start; }
.split img, .shadow { border-radius: var(--radius); box-shadow: var(--shadow); }
.stats { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); text-align: center; }
.stats strong { display: block; font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--orange); margin-bottom: 0.5rem; }
.logos { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; justify-content: center; }
/* Certificate and partner logos are drawn for white paper, so they keep a white tile. */
.logos img { max-height: 10rem; width: auto; background: #fff; padding: 0.6rem; border-radius: 10px; }

/* Lists */

.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; }
.check li::before { font-family: FontAwesome; content: "\f058"; position: absolute; left: 0; color: var(--cyan); }
.cols-3 { columns: 3; column-gap: 2rem; padding-left: 1.2rem; }
.cols-3 li { break-inside: avoid; }
@media (max-width: 48rem) { .cols-3 { columns: 2; } }

/* Buttons and pager: pills, as on the links page. Orange takes dark text (white on orange fails contrast). */

.btn {
	display: inline-block; padding: 0.8rem 1.6rem; border-radius: 999px; line-height: 1.2;
	font: inherit; font-weight: 600; text-decoration: none;
	border: 1px solid transparent; cursor: pointer; color: inherit; background: transparent;
	transition: border-color .15s, background-color .15s;
}
.btn-primary, .btn-accent { background: var(--orange); border-color: var(--orange); color: var(--bg-deep); }
.btn-primary:hover, .btn-primary:focus-visible, .btn-accent:hover, .btn-accent:focus-visible { background: #ff8a24; }
.btn-ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.06); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--cyan); background: rgba(63, 208, 212, 0.1); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); padding: 2rem 0; }
.pager a { text-decoration: none; font-weight: 600; color: var(--cyan); }
.pager .next { margin-left: auto; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Tables */

table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; }
td, th { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
td:first-child { font-weight: 700; white-space: nowrap; }

/* Forms */

.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
input, textarea {
	width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 10px;
	font: inherit; color: #fff; background: rgba(255, 255, 255, 0.06);
}
input:focus, textarea:focus { outline: none; border-color: var(--cyan); }

/* News */

.news-item { display: grid; gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--line); align-items: start; }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-item > :last-child:not(.news-media) { margin-bottom: 0; }
.news-media img { max-height: 20rem; width: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.news-media .logos { justify-content: flex-start; }
.news-media .logos img { max-height: 8rem; box-shadow: none; border-radius: 10px; }
@media (min-width: 48rem) { .news-item.with-media { grid-template-columns: 1fr minmax(14rem, 20rem); } }

/* Footer: the deepest navy, mono headings, cyan links. */

.site-footer { background: var(--bg-deep); color: var(--on-dark); border-top: 1px solid var(--line); padding: 3rem 0 2rem; font-size: 0.95rem; }
.site-footer .container { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer h4 { font: 700 0.75rem/1.45 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 0.75rem; }
.site-footer a { color: var(--cyan); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer img { height: 2.5rem; width: auto; margin-bottom: 1rem; }
.footer-bottom {
	grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
	border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem;
	font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.04em;
}

/* CATS at a Glance */

.steps { list-style: none; margin: 0 auto; padding: 0; }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.25rem; align-items: start; position: relative; padding-bottom: 2rem; }
.steps li::before { content: ""; position: absolute; left: 1.7rem; top: 3.5rem; bottom: 0; width: 2px; background: linear-gradient(var(--orange), var(--line)); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::before { display: none; }
.step-icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--bg1); border: 2px solid var(--orange); color: var(--cyan); font-size: 1.4rem; }
.steps h3 { margin: 0.6rem 0 0.4rem; }
.steps p { margin: 0; }
.card.feature .fa { font-size: 1.75rem; }
/* The pressure: two by two, so each title fits one line and the justified text fills each column (Dave, 21 Oct). */
.pressure { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 60rem; margin-inline: auto; column-gap: 4rem; row-gap: 2.5rem; }
@media (max-width: 47.99rem) { .pressure { grid-template-columns: 1fr; } }
.pressure p { text-align: justify; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; list-style: none; margin: 0; padding: 0; }
.badges li { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.05em; }
.badges .fa { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 0.6rem; background: var(--bg1); border: 1px solid var(--line); color: var(--cyan); font-size: 1.25rem; }
.badges.certs img { width: 4rem; height: 4rem; border-radius: 0.6rem; }
/* Lifecycle tags and the closed tender offer, as on the flyer (r16). Seafoam = done, as in the showreel. */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.chip { font-size: 0.8125rem; font-weight: 600; line-height: 1; padding: 0.4rem 0.75rem; border-radius: 999px; color: #cfe9ee; border: 1px solid rgba(63, 208, 212, 0.35); background: rgba(0, 137, 155, 0.14); }
.closed { margin: 2.5rem auto 0; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--bg1); border: 1px solid rgba(110, 193, 169, 0.45); }
.closed .top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.closed .ev { font-weight: 700; color: #fff; }
.closed .pill { font: 700 0.75rem/1 var(--mono); letter-spacing: 0.12em; color: #050d14; background: #6ec1a9; padding: 0.35rem 0.6rem; border-radius: 0.3rem; }
.closed .mini { display: flex; justify-content: space-between; margin-top: 1.25rem; position: relative; }
.closed .mini::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0.3rem; height: 2px; background: #6ec1a9; opacity: 0.7; }
.closed .mini span { position: relative; padding-top: 1.1rem; font-size: 0.75rem; color: #cfe9ee; text-align: center; }
.closed .mini span::before { content: ""; position: absolute; left: 50%; top: 0; margin-left: -0.3rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #6ec1a9; }
.closed p { margin: 1rem 0 0; }
@media (max-width: 30rem) { .closed { padding: 1rem; } .closed .mini span { font-size: 0.5625rem; } .closed .mini::before { left: 1rem; right: 1rem; } }

/* Video page */

.video { display: block; width: 100%; max-width: 72rem; margin: 2rem auto 1rem; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
