/* Asset Hosting stylesheet. Linked with ?v=YYYYMMDD: bump the version in tools/build-site.mjs
   and rebuild when this file changes. Text colours meet WCAG 2.2 AA: use --teal-text and
   --ocean-text for coloured text on light backgrounds, --teal for text on navy. */

@font-face { font-family: 'Outfit'; src: url('/fonts/outfit-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/fonts/dm-sans-latin.woff2') format('woff2'); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --navy: #1E2D5A;
  --navy-deep: #141e3d;
  --navy-mid: #243266;
  --teal: #3ABFBF;
  --teal-text: #12716f;
  --mint: #5DD9A4;
  --ocean: #1A7FBF;
  --ocean-text: #14649a;
  --btn-a: #11706e;
  --btn-b: #145f94;
  --white: #ffffff;
  --off-white: #f5f8fb;
  --lt-grey: #e3e8f0;
  --muted: #5d6987;
  --text: #2c3a5a;
  --text-lt: #4e5d7c;
  --on-navy: rgba(255,255,255,0.86);
  --on-navy-soft: rgba(255,255,255,0.72);
  --fd: 'Outfit', system-ui, sans-serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px;
  --sh-card: 0 4px 24px rgba(30,45,90,0.08);
  --sh-hover: 0 12px 40px rgba(30,45,90,0.16);
  --ease: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); font-size: 1.0625rem; color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); }
a:hover { color: var(--navy); }
svg.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 96px 0; }
h1, h2, h3, h4 { font-family: var(--fd); font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { color: var(--text-lt); }
.label { display: block; font-family: var(--fd); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible, .site-nav :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .mob-menu :focus-visible { outline-color: var(--mint); }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--white); color: var(--navy); font-family: var(--fd); font-weight: 600; padding: 0.7rem 1rem; border-radius: var(--r-sm); box-shadow: var(--sh-hover); }
.skip-link:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--fd); font-size: 1rem; font-weight: 600; border-radius: var(--r-sm); padding: 0.85rem 1.6rem; min-height: 44px; cursor: pointer; border: none; transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease); text-decoration: none; letter-spacing: 0.01em; }
.btn-primary { background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); color: var(--white); box-shadow: 0 4px 18px rgba(17,112,110,0.3); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,112,110,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn-outline:hover { color: var(--white); background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

/* Navigation */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: padding var(--ease), box-shadow var(--ease); }
/* The blur sits on a pseudo-element: backdrop-filter on the nav itself would make it the
   containing block for the fixed mobile menu. */
.site-nav::before { content: ''; position: absolute; inset: 0; background: rgba(20,30,61,0.97); opacity: 0; transition: opacity var(--ease); z-index: -1; }
.site-nav.scrolled, .site-nav.solid { padding: 0.6rem 0; box-shadow: 0 2px 24px rgba(0,0,0,0.2); }
.site-nav.scrolled::before, .site-nav.solid::before { opacity: 1; backdrop-filter: blur(16px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { display: block; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-family: var(--fd); font-size: 0.95rem; font-weight: 500; color: var(--on-navy); text-decoration: none; padding: 0.4rem 0; transition: color var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--mint); }
.nav-links a.btn { color: var(--white); padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1.5px solid rgba(255,255,255,0.35); border-radius: var(--r-sm); color: var(--white); cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }

.mob-menu { display: none; position: fixed; inset: 0; background: rgba(20,30,61,0.99); z-index: 1100; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem; }
.mob-menu.open { display: flex; }
.mob-menu a { font-family: var(--fd); font-size: 1.5rem; font-weight: 600; color: var(--white); text-decoration: none; padding: 0.3rem 1rem; }
.mob-menu a:hover { color: var(--mint); }
.mob-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--white); background: none; border: 1.5px solid rgba(255,255,255,0.35); border-radius: var(--r-sm); cursor: pointer; }
.mob-close svg { width: 24px; height: 24px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); padding: 150px 0 96px; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(58,191,191,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(58,191,191,0.06) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25; pointer-events: none; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--ocean), transparent); top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, var(--teal), transparent); bottom: -120px; left: -120px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(58,191,191,0.12); border: 1px solid rgba(58,191,191,0.35); border-radius: 100px; padding: 0.4rem 1rem; margin-bottom: 1.75rem; font-family: var(--fd); font-size: 0.85rem; font-weight: 500; color: var(--mint); }
.hero-badge svg { width: 16px; height: 16px; }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-lead { font-size: 1.15rem; color: var(--on-navy); max-width: 600px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 0.75rem 1.75rem; margin-top: 2.75rem; flex-wrap: wrap; list-style: none; }
.hero-trust li { display: flex; align-items: center; gap: 0.5rem; font-family: var(--fd); font-size: 0.92rem; color: var(--on-navy-soft); }
.hero-trust svg { width: 18px; height: 18px; color: var(--teal); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% center; border-radius: 160px 24px 24px 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.hero-photo::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid rgba(93,217,164,0.45); border-radius: 170px 28px 28px 28px; }

/* Group strip */
.group-strip { background: var(--navy); padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.group-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; }
.group-text { font-family: var(--fd); font-size: 0.98rem; color: var(--on-navy); max-width: 620px; }
.group-text a { color: var(--white); font-weight: 600; }
.group-text a:hover { color: var(--mint); }
.group-links { display: flex; align-items: center; gap: 0.5rem 1.4rem; flex-wrap: wrap; list-style: none; }
.group-links a { font-family: var(--fd); font-size: 0.92rem; color: var(--on-navy); }
.group-links a:hover { color: var(--mint); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { margin-bottom: 1.1rem; }
.about-photo img { border-radius: var(--r-xl); box-shadow: var(--sh-hover); aspect-ratio: 3 / 2; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; list-style: none; }
.facts li { display: flex; align-items: center; gap: 0.75rem; background: var(--off-white); border: 1px solid var(--lt-grey); border-radius: var(--r-md); padding: 1rem 1.1rem; font-family: var(--fd); font-size: 0.98rem; font-weight: 600; color: var(--navy); line-height: 1.35; }
.facts svg { width: 22px; height: 22px; color: var(--teal-text); }

/* Section headings */
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.sec-head h2 { margin-bottom: 1rem; }
.sec-head p { font-size: 1.1rem; }

/* Services */
.services { background: var(--off-white); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; }
.svc-card { background: var(--white); border-radius: var(--r-lg); padding: 1.9rem; border: 1px solid var(--lt-grey); transition: box-shadow var(--ease), transform var(--ease); }
.svc-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.svc-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: linear-gradient(135deg, rgba(58,191,191,0.16), rgba(26,127,191,0.16)); display: flex; align-items: center; justify-content: center; color: var(--teal-text); margin-bottom: 1.2rem; }
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { margin-bottom: 0.6rem; }
.svc-card p { font-size: 1rem; margin-bottom: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; }
.tags li { font-family: var(--fd); font-size: 0.82rem; font-weight: 500; background: var(--off-white); border: 1px solid var(--lt-grey); color: var(--text-lt); border-radius: 4px; padding: 0.15rem 0.55rem; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; list-style: none; }
.work-card { background: var(--off-white); border-radius: var(--r-lg); border: 1px solid var(--lt-grey); overflow: hidden; display: flex; flex-direction: column; }
.work-head { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 1.6rem 1.8rem; display: flex; align-items: center; gap: 1rem; }
.work-head svg { width: 32px; height: 32px; color: var(--mint); }
.work-head h3 { color: var(--white); font-size: 1.15rem; }
.work-url { font-family: var(--fd); font-size: 0.9rem; color: var(--mint); }
.work-body { padding: 1.6rem 1.8rem; flex: 1; display: flex; flex-direction: column; gap: 1.1rem; }
.work-body p { font-size: 1rem; }
.work-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--fd); font-weight: 600; }
.work-link svg { width: 16px; height: 16px; }

/* Why */
.why { background: var(--navy-deep); position: relative; overflow: hidden; }
.why .grid-bg { -webkit-mask-image: none; mask-image: none; opacity: 0.6; }
.why .container { position: relative; z-index: 1; }
.why .label { color: var(--mint); }
.why .sec-head h2 { color: var(--white); }
.why .sec-head p { color: var(--on-navy); }
.why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); padding: 1.9rem; }
.why-card svg { width: 30px; height: 30px; color: var(--teal); margin-bottom: 1rem; }
.why-card h3 { color: var(--white); margin-bottom: 0.6rem; }
.why-card p { color: var(--on-navy-soft); font-size: 1rem; }

/* News cards */
.news { background: var(--off-white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; }
.news-card { position: relative; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--lt-grey); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--ease), transform var(--ease); }
.news-card:hover { box-shadow: var(--sh-hover); transform: translateY(-3px); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-body { padding: 1.5rem 1.6rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.news-cat { font-family: var(--fd); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 0.6rem; }
.news-card h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: 0.7rem; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a::after { content: ''; position: absolute; inset: 0; }
.news-card h3 a:hover { color: var(--teal-text); }
.news-card p { font-size: 0.98rem; margin-bottom: 1.1rem; flex: 1; }
.news-date { font-family: var(--fd); font-size: 0.9rem; color: var(--muted); }
.news-more { text-align: center; margin-top: 3rem; }
.news-featured { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 1.5rem; }
.news-featured img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.news-featured .news-body { padding: 2.2rem; justify-content: center; }
.news-featured h3 { font-size: 1.6rem; margin-bottom: 0.9rem; line-height: 1.3; }
.news-featured h3 a { color: var(--navy); text-decoration: none; }
.news-featured h3 a::after { content: ''; position: absolute; inset: 0; }
.news-featured p { flex: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-left h2 { margin-bottom: 1.2rem; }
.contact-left > p { margin-bottom: 1rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0; list-style: none; }
.contact-details li { display: flex; align-items: center; gap: 0.75rem; font-family: var(--fd); font-weight: 500; color: var(--navy); }
.c-icon { width: 42px; height: 42px; background: linear-gradient(135deg, rgba(58,191,191,0.16), rgba(26,127,191,0.16)); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--teal-text); flex-shrink: 0; }
.c-icon svg { width: 20px; height: 20px; }
.contact-photo img { border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.form-card { background: var(--off-white); border: 1px solid var(--lt-grey); border-radius: var(--r-xl); padding: 2.4rem; }
.form-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.form-card > p { font-size: 1rem; margin-bottom: 1.5rem; }
.form-status { display: none; padding: 0.85rem 1rem; border-radius: var(--r-sm); margin-bottom: 1.25rem; font-family: var(--fd); font-size: 1rem; font-weight: 500; line-height: 1.45; }
.form-status.success { display: block; background: #e6f5f2; border: 1px solid #7cc6bb; color: #0f5a52; }
.form-status.error { display: block; background: #fbeaea; border: 1px solid #e0a3a3; color: #8b2020; }
.form-status.loading { display: block; background: #e8f1f8; border: 1px solid #9cc2de; color: var(--ocean-text); }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-family: var(--fd); font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.req { color: #b02a2a; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid #9aa6bd; border-radius: var(--r-sm); font-family: var(--fb); font-size: 1rem; color: var(--navy); background: var(--white); transition: border-color var(--ease), box-shadow var(--ease); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E2D5A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(18,113,111,0.25); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.92rem; margin: 0.25rem 0 1rem; }
.btn-submit { width: 100%; margin-top: 0.25rem; }
.btn-submit:disabled { opacity: 0.7; cursor: wait; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 1rem; min-height: 65px; }

/* Footer */
.site-footer { background: var(--navy-deep); padding: 3.5rem 0 2rem; color: var(--on-navy-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-brand img { height: 48px; width: auto; margin-bottom: 1rem; }
.foot-brand p { color: var(--on-navy-soft); font-size: 0.98rem; max-width: 340px; }
.site-footer h2 { font-family: var(--fd); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; font-size: 0.98rem; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; padding-top: 1.5rem; font-size: 0.92rem; }
.foot-bottom p { color: var(--on-navy-soft); }

/* Inner page header */
.page-hero { background: var(--navy-deep); padding: 150px 0 72px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-inner { max-width: 820px; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.22; margin-bottom: 1.2rem; }
.page-hero .lead { color: var(--on-navy); font-size: 1.15rem; }
.breadcrumb { margin-bottom: 1.4rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; font-family: var(--fd); font-size: 0.92rem; color: var(--on-navy-soft); }
.breadcrumb li + li::before { content: '›'; margin-right: 0.5rem; color: var(--on-navy-soft); }
.breadcrumb a { color: var(--on-navy); }
.breadcrumb a:hover { color: var(--mint); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-family: var(--fd); font-size: 0.95rem; color: var(--on-navy-soft); }
.article-meta .cat { color: var(--mint); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.85rem; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 4.5rem; padding: 72px 0 96px; align-items: start; }
.article-image { border-radius: var(--r-lg); margin-bottom: 2.25rem; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.prose h2 { font-size: 1.55rem; margin: 2.4rem 0 1rem; line-height: 1.3; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.75rem; }
.prose p, .prose li { font-size: 1.07rem; color: var(--text); line-height: 1.8; }
.prose p { margin-bottom: 1.3rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.4rem; }
.prose li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.prose strong { color: var(--navy); font-weight: 600; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose .lead { font-size: 1.2rem; line-height: 1.75; border-left: 3px solid var(--teal); padding-left: 1.25rem; margin-bottom: 2rem; }
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card { background: var(--off-white); border: 1px solid var(--lt-grey); border-radius: 16px; padding: 1.6rem; }
.sidebar-card h2 { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.sidebar-card p { font-size: 0.98rem; margin-bottom: 1.1rem; }
.sidebar-card .btn { width: 100%; }
.related { list-style: none; }
.related li + li { border-top: 1px solid var(--lt-grey); }
.related a { display: block; padding: 0.65rem 0; font-family: var(--fd); font-size: 0.98rem; font-weight: 500; color: var(--navy); line-height: 1.4; text-decoration: none; }
.related a:hover { color: var(--teal-text); text-decoration: underline; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--lt-grey); }
.article-nav a { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1.2rem; border: 1px solid var(--lt-grey); border-radius: var(--r-md); text-decoration: none; }
.article-nav a:hover { border-color: var(--teal-text); }
.article-nav .next { text-align: right; grid-column: 2; }
.article-nav span { font-family: var(--fd); font-size: 0.88rem; color: var(--muted); }
.article-nav strong { font-family: var(--fd); color: var(--navy); line-height: 1.4; font-weight: 600; }

/* Legal pages */
.legal { max-width: 800px; padding: 72px 1.5rem 96px; }
.legal .updated { font-family: var(--fd); color: var(--muted); margin-bottom: 2rem; }
.consent-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0.5rem 0 1.5rem; }
.consent-state { font-weight: 600; color: var(--navy); }

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .code { font-family: var(--fd); font-size: clamp(4.5rem, 14vw, 8rem); font-weight: 800; color: var(--mint); line-height: 1; margin-bottom: 1rem; }
.notfound .hero-actions { margin-top: 2rem; }

/* Cookie consent banner */
.consent-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1200; background: var(--navy-deep); border: 1px solid rgba(58,191,191,0.4); border-radius: var(--r-md); box-shadow: 0 12px 48px rgba(0,0,0,0.35); }
.consent-inner { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.25rem; flex-wrap: wrap; max-width: 1120px; margin: 0 auto; }
.consent-text { flex: 1 1 320px; font-size: 0.98rem; line-height: 1.55; color: var(--on-navy); }
.consent-text strong { color: var(--white); }
.consent-text a { color: var(--mint); }
.consent-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.consent-actions .btn { padding: 0.55rem 1.1rem; font-size: 0.95rem; }

/* Scroll reveal: only hidden once the script has run, so content shows without JavaScript */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .card-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 3rem; }
  .article-sidebar { position: static; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 768px) {
  section { padding: 68px 0; }
  .hero { padding: 120px 0 64px; }
  .page-hero { padding: 120px 0 52px; }
  .hero-photo { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-grid, .news-grid, .work-grid, .facts { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 1.6rem; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-logo img { height: 42px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-nav, .mob-menu, .consent-banner, .hero-photo, .article-sidebar, .form-card, .grid-bg, .orb { display: none !important; }
  .hero, .page-hero, .why, .site-footer { background: #fff !important; padding: 1rem 0 !important; }
  .hero h1, .page-hero h1, .why h2, .why h3 { color: #000 !important; }
  .hero-lead, .why p, .site-footer p, .page-hero .lead { color: #333 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
