/* RayNova Biotechnologies: design system */
:root {
  --ink: #141a3a;
  --ink-soft: #4b5170;
  --muted: #6c7189;
  --brand: #47559c;
  --brand-deep: #20285a;
  --brand-tint: #e9ebf6;
  --accent: #1d9a86;
  --accent-tint: #dff3ee;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --line: #e4e2db;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 26, 58, .04), 0 12px 32px -12px rgba(20, 26, 58, .18);
  --shadow-lg: 0 30px 60px -30px rgba(20, 26, 58, .45);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 104px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* The logo always shows in its own cream and pale-cyan colours, so it sits on brand blue or a photo. */
.logo-mark { display: block; width: 230px; aspect-ratio: 1600 / 570; background: url('/images/logo.png') center / contain no-repeat; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(71, 85, 156, .7); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .08); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--brand); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); color: #fff; background: rgba(71, 85, 156, .97); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(20, 26, 58, .7); }
.has-hero .site-header { position: fixed; left: 0; right: 0; }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; color: #fff; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { color: inherit; display: flex; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; transition: background .2s; }
.nav-link:hover, .has-menu.is-open > .nav-link { background: rgba(255, 255, 255, .14); }
.nav-link[aria-current="page"], .has-menu.is-active > .nav-link { box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.nav-link .icon { transition: transform .2s; }
.has-menu.is-open > .nav-link .icon { transform: rotate(180deg); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-menu:hover .mega, .has-menu.is-open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-card { display: flex; flex-direction: column; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mega-card:hover, .mega-card[aria-current="page"] { background: var(--brand-tint); }
.mega-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.mega-card strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.mega-card span span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* The header button is white so it stands out on the blue header. */
.site-header .header-cta { background: #fff; color: var(--brand-deep); box-shadow: 0 8px 20px -10px rgba(14, 18, 48, .6); }
.site-header .header-cta:hover { background: var(--accent-tint); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; background: none; border: 1px solid currentColor; color: inherit; cursor: pointer; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(20, 26, 58, .45); backdrop-filter: blur(4px); }
.mobile-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--bg); padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; animation: slide-in .28s var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin: -20px -24px 0; padding: 18px 24px; background: var(--brand); }
.mobile-menu-top .logo-mark { width: 170px; }
.menu-close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { padding: 14px 0; font-family: var(--font-display); font-size: 26px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu nav a.mobile-sub { font-size: 20px; padding-left: 18px; color: var(--ink-soft); }
.mobile-menu nav a[aria-current="page"] { color: var(--brand); }
.mobile-group { margin-top: 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mobile-menu-contact { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-contact a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-soft); font-size: 15px; }

/* Shared section styles */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 24px; height: 1px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(34px, 4.6vw, 54px); }
.section-lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.7; color: var(--ink-soft); }

/* Home hero */
.hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.04); animation: hero-zoom 14s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 48, .55) 0%, rgba(14, 18, 48, .25) 35%, rgba(14, 18, 48, .85) 100%), linear-gradient(90deg, rgba(14, 18, 48, .65), transparent 70%); }
.hero-content { padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(56px, 9vw, 110px); max-width: 860px; }
.hero .eyebrow { color: #9fe3d5; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.6vw, 84px); line-height: 1.04; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: #c9d0ff; }
.hero-lead { margin-top: 24px; max-width: 620px; font-size: clamp(17px, 1.8vw, 20px); color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -1px; background: var(--brand-deep); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 34px 28px; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(36px, 4vw, 48px); font-weight: 500; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .7); }

/* Platform cards */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.platform-card { position: relative; display: flex; flex-direction: column; min-height: 520px; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.platform-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.platform-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 18, 48, 0) 30%, rgba(14, 18, 48, .88) 100%); }
.platform-card:hover img { transform: scale(1.05); }
.platform-card-body { margin-top: auto; padding: 34px; }
.platform-card .tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); font-size: 13px; font-weight: 500; margin-bottom: 16px; }
.platform-card h3 { color: #fff; font-size: clamp(30px, 3vw, 38px); }
.platform-card p { margin-top: 12px; color: rgba(255, 255, 255, .85); max-width: 460px; }
.platform-card .link-arrow { margin-top: 22px; color: #fff; }

/* Vision and mission */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.statement + .statement { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.statement h3 { font-size: clamp(32px, 3.4vw, 44px); color: var(--ink); margin-bottom: 16px; }
.statement p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.7; color: var(--ink-soft); }
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }
.media-frame::before { content: ''; position: absolute; inset: 24px -24px -24px 24px; border-radius: 22px; background: var(--accent-tint); z-index: -1; }

/* Pillars */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { padding: 34px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-tint); color: var(--brand); margin-bottom: 24px; }
.pillar h3 { font-size: 24px; margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 16px; }

/* Sector rail on home */
.sector-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sector-tile { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.sector-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.sector-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(14, 18, 48, .85)); }
.sector-tile:hover img { transform: scale(1.07); }
.sector-tile span { position: absolute; left: 14px; right: 14px; bottom: 14px; font-weight: 500; font-size: 15px; line-height: 1.3; }

/* CTA band */
.cta-band { border-radius: 26px; padding: clamp(40px, 6vw, 72px); background: radial-gradient(120% 140% at 100% 0%, #2f3c86 0%, var(--brand-deep) 55%, #121737 100%); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(29, 154, 134, .55), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .78); max-width: 560px; }
.cta-band .btn { position: relative; z-index: 1; background: #fff; color: var(--brand-deep); }
.cta-band .btn:hover { background: var(--accent-tint); }

/* Inner page hero */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(64px, 9vw, 120px); color: #fff; isolation: isolate; overflow: hidden; }
.page-hero img.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 18, 48, .88) 0%, rgba(14, 18, 48, .55) 55%, rgba(14, 18, 48, .25) 100%); }
.page-hero .eyebrow { color: #9fe3d5; }
.page-hero h1 { color: #fff; font-size: clamp(40px, 6vw, 72px); max-width: 820px; }
.page-hero p { margin-top: 22px; max-width: 640px; font-size: clamp(17px, 1.7vw, 20px); color: rgba(255, 255, 255, .85); }
.page-hero.plain { color: var(--ink); padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero.plain::after { display: none; }
.page-hero.plain h1 { color: var(--ink); }
.page-hero.plain p { color: var(--ink-soft); }
.page-hero.plain .eyebrow { color: var(--accent); }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro-grid h2 { font-size: clamp(30px, 3.6vw, 42px); }

/* Enzyme Technologies sectors */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.sector-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 110px); transition: box-shadow .3s; }
.sector-card:hover { box-shadow: var(--shadow); }
.sector-card-media { position: relative; }
.sector-card-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sector-index { position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 13px; font-weight: 600; color: var(--brand-deep); }
.sector-card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 18px; }
.sector-card h3 { font-size: 28px; }
.sector-card p { color: var(--ink-soft); font-size: 16px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.enzyme-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.enzyme-tag { padding: 5px 12px; border-radius: 999px; background: var(--accent-tint); color: #0f6b5c; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 12px; font-size: 16px; color: var(--ink); }
.check-list .icon { width: 20px; height: 20px; color: var(--accent); margin-top: 3px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.person img { width: 160px; height: 160px; margin: 28px 26px 0; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 4px solid var(--brand-tint); }
.person-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.person h2 { font-size: 26px; }
.person h2 small { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.person .role { color: var(--brand); font-weight: 500; font-size: 15px; }
.person p.excerpt { color: var(--ink-soft); font-size: 15px; }
.person .btn { margin-top: auto; align-self: flex-start; }
dialog.bio { width: min(760px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 22px; box-shadow: var(--shadow-lg); background: var(--surface); color: var(--ink); }
dialog.bio::backdrop { background: rgba(14, 18, 48, .55); backdrop-filter: blur(4px); }
dialog.bio[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bio-inner { display: grid; grid-template-columns: 240px 1fr; }
.bio-inner img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bio-text { padding: 36px 36px 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.bio-text h2 { font-size: 30px; padding-right: 40px; }
.bio-text p { color: var(--ink-soft); font-size: 16px; }
.bio-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
a.contact-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.contact-card .pillar-icon { margin: 0; width: 46px; height: 46px; }
.contact-card strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-card span { font-size: 17px; color: var(--ink); overflow-wrap: anywhere; }
.form-card { padding: clamp(28px, 4vw, 44px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 30px; margin-bottom: 8px; }
.form-card > p { color: var(--ink-soft); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; padding: 24px 16px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 16px; color: var(--muted); pointer-events: none; transition: transform .18s var(--ease), font-size .18s, color .18s, top .18s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px rgba(71, 85, 156, .14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 12px; color: var(--brand); }
.field .req { color: var(--accent); }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: #b42318; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d92d20; }
.field.is-invalid .field-error { display: block; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; display: none; }
.form-status.is-error { display: block; background: #fef3f2; color: #b42318; }
.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success .pillar-icon { margin: 0 auto 18px; background: var(--accent-tint); color: var(--accent); }
.form-success h2 { margin-bottom: 10px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Justified body text */
main p, main li > span, .bio-text p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
main .eyebrow, main .label, main .role, main .form-note, main .stat span, main .form-status { text-align: left; hyphens: manual; }
/* Short lead text reads better left-aligned; justifying two lines stretches the word spacing. */
.hero p, .page-hero p, .platform-card p, .cta-band p { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* Footer */
.site-footer { margin-top: clamp(72px, 10vw, 120px); background: #121737; color: rgba(255, 255, 255, .72); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-top: 72px; padding-bottom: 56px; }
.footer-brand .logo-mark { width: 300px; }
.footer-title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-links a, .footer-contact a { text-decoration: none; font-size: 15px; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 3px; color: #9fe3d5; }
.footer-base { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

/* Scroll reveal: content is visible by default and only animates once JS has run. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .sector-rail { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 88px; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .platform-grid, .split, .intro-grid, .contact-grid, .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-card { min-height: 440px; }
  .pillar-grid, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid { max-width: 520px; }
  .cta-band { grid-template-columns: 1fr; }
  .media-frame img { aspect-ratio: 4 / 3; }
  .media-frame::before { inset: 16px -12px -16px 12px; }
  .bio-inner { grid-template-columns: 1fr; }
  .bio-inner img { aspect-ratio: 16 / 10; height: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .logo-mark { width: 180px; }
  .footer-brand .logo-mark { width: 240px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat:first-child { border-top: 0; }
  .sector-rail { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sector-card-body { padding: 22px 22px 26px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .bio-text { padding: 26px 22px 28px; }
}
