:root {
  --navy: #0b1c36;
  --navy-2: #13294b;
  --brand: #20448e;
  --cyan: #269ad7;
  --paper: #f4f7fb;
  --ink: #152033;
  --muted: #4c5b70;
  --line: #d5deea;
  --white: #fff;
  --ok: #135e3d;
  --err: #8a1f1f;
  --shadow: 0 16px 40px rgba(11, 28, 54, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--brand); }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--cyan);
  color: var(--navy);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 28, 54, 0.96);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand { color: inherit; display: flex; align-items: center; }
.brand img { display: block; width: 198px; height: auto; color: #fff; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #d7e4f5;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a[aria-current="page"],
.site-nav a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-cta .tel { color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #3a5278;
  color: #fff;
  width: 2.6rem;
  height: 2.6rem;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: #fff;
  position: relative;
  margin: 0 auto;
  content: "";
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.hero .btn-ghost { color: #fff; border-color: #7aa4c9; }
.btn-light { background: #fff; color: var(--navy); }

.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(38, 154, 215, 0.28), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #1a3f72 100%);
  color: #e8f1fb;
  padding: 4.2rem 0 3.6rem;
}

.hero h1,
.prose h1,
h1 {
  font-family: var(--serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: inherit;
}

.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); color: #fff; max-width: 18ch; }
.lead { font-size: 1.15rem; max-width: 58ch; color: #c9d8ea; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 0 0.7rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 2.4rem;
  align-items: end;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

.hero-aside {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  padding: 1.2rem 1.3rem;
}

.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.fact-list strong,
.fact-list dt { color: #fff; font-weight: 600; }
.fact-list dd { margin: 0.2rem 0 0; color: #c9d8ea; }

.section { padding: 4rem 0; }
.section.alt { background: var(--paper); }
.section h2,
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}

.section-lead { max-width: 62ch; color: var(--muted); margin: 0 0 1.6rem; }

.card-grid {
  display: grid;
  gap: 1rem;
}
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: block;
}

.card h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.city-card { min-height: 14rem; background: linear-gradient(180deg, #fff, #eef5fb); }
.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--cyan);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.prose-wrap { background: #fff; }
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.7rem); color: var(--navy); }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.7rem; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); }

.steps { display: grid; gap: 0.8rem; padding: 0; margin: 1rem 0; list-style: none; }
.steps li {
  border-left: 3px solid var(--cyan);
  padding: 0.4rem 0 0.4rem 0.9rem;
}

.cta-band {
  background: var(--brand);
  color: #fff;
  padding: 3rem 0;
}
.cta-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.cta-band h2 { font-family: var(--serif); margin: 0 0 0.4rem; }
.cta-band p { margin: 0; color: #d5e4f7; max-width: 52ch; }

.faq-list { display: grid; gap: 0.6rem; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 0.6rem 0 0; color: var(--muted); }

.site-footer {
  background: #081525;
  color: #c5d2e3;
  padding: 3rem 0 1.4rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr 1.1fr;
  gap: 1.6rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: #fff; margin: 0 0 0.4rem; }
.site-footer h2 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a, .site-footer button.text-link { color: #9ec9ea; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #1d2c42;
  margin-top: 2rem;
  padding-top: 1rem;
  color: #8ea0b8;
}

.cg-form { display: grid; gap: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cg-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.cg-form input,
.cg-form select,
.cg-form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
}
.banner { padding: 0.9rem 1rem; border-radius: 0.7rem; }
.banner-ok { background: #e5f6ee; color: var(--ok); }
.banner-err { background: #fdecec; color: var(--err); }
.form-note { color: var(--muted); font-size: 0.88rem; }
.hp { display: none !important; }

.search-form { display: flex; gap: 0.6rem; margin: 1rem 0 1.6rem; }
.search-form input { flex: 1; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 0.6rem; font: inherit; }
.result-list { list-style: none; padding: 0; display: grid; gap: 1rem; }
.empty-state { padding: 2rem 0 3rem; max-width: 56ch; }

.cg-consent {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #081c33;
  color: #e7eef7;
  border-bottom: 3px solid var(--cyan);
  padding: 0.9rem 0;
}
.cg-consent.is-hidden,
.cg-consent[hidden] { display: none !important; }
.cg-consent-panel {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.cg-consent h2 { font-size: 1.05rem; margin: 0 0 0.3rem; font-family: var(--serif); color: #fff; }
.cg-consent p { margin: 0; font-size: 0.92rem; color: #c5d3e4; max-width: 72ch; }
.cg-consent-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cg-consent .btn-ghost { color: #fff; border-color: #6d86a6; }

@media (max-width: 980px) {
  .hero-grid,
  .card-grid.three,
  .card-grid.five,
  .footer-grid,
  .cta-inner,
  .form-grid { grid-template-columns: 1fr; }
  .card-grid.two { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 4.4rem 0 auto;
    background: var(--navy);
    padding: 1rem 1.2rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .cg-consent-panel { flex-direction: column; align-items: stretch; }
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.7fr);
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 980px) {
  .portal-layout { grid-template-columns: 1fr; }
}

.game-shell {
  background: #081525;
  color: #d5e4f4;
  border-radius: 1.1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}
.game-meta {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}
.game-meta span { color: #8fb4d4; margin-right: 0.3rem; }
#cg-invaders {
  width: 100%;
  height: auto;
  display: block;
  background: #081525;
  border-radius: 0.6rem;
}
.game-touch {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.8rem;
}
.game-touch button {
  font: inherit;
  font-weight: 700;
  padding: 0.85rem 0.4rem;
  border: 0;
  border-radius: 0.7rem;
  background: #20448e;
  color: #fff;
}
.game-help, .game-status { text-align: center; color: #9eb6ce; }
.voucher-code {
  font-size: 1.2rem;
}
.voucher-code kbd {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border: 1px dashed var(--cyan);
  border-radius: 0.4rem;
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .game-touch { display: grid; }
}

@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.4rem; }
  .section { padding: 2.6rem 0; }
  .footer-base { flex-direction: column; }
}

/* Photography, carousels and interactive sections */
img { max-width: 100%; height: auto; }

.hero.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; filter: saturate(0.8); }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 28, 54, 0.97) 0%, rgba(11, 28, 54, 0.85) 45%, rgba(19, 41, 75, 0.55) 100%);
}
.hero-aside.is-photo { padding: 0; border: 0; background: none; align-self: center; }
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-slides { position: relative; aspect-ratio: 4 / 3; border-radius: 1.2rem; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.8s ease; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 2.6rem;
  background: rgba(11, 28, 54, 0.82);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.hero-slide figcaption a { color: #fff; text-decoration: none; }
.hero-slide figcaption a::after { content: " \2192"; color: var(--cyan); }
.hero-slide-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0.9rem; display: flex; justify-content: center; gap: 0.45rem; }
.hero-slide-dots button {
  width: 0.65rem; height: 0.65rem; border-radius: 999px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: width 0.3s, background 0.3s;
}
.hero-slide-dots button[aria-selected="true"] { width: 1.8rem; background: var(--cyan); }

.prose-figure { margin: 2rem 0; }
.prose-figure img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow); }

.inline-cta {
  margin: 2.4rem 0 0.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--navy), var(--brand));
  color: #e8f1fb;
  display: grid;
  gap: 1rem;
}
.inline-cta p { margin: 0; color: #c9d8ea; }
.inline-cta .inline-cta-title { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 0 0 0.3rem; }
.inline-cta .btn-ghost { color: #fff; border-color: #7aa4c9; }
.inline-cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.prose .inline-cta a { text-decoration: none; }

.media-split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.media-split.is-reverse .media-split-img { order: 2; }
.media-split-img { margin: 0; }
.media-split-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.2rem; box-shadow: var(--shadow); }
.media-split-body p { color: var(--muted); max-width: 54ch; }
.media-split .btn-ghost { color: var(--navy); }
.tick-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.5rem; }
.tick-list li { padding-left: 1.7rem; position: relative; }
.tick-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

.carousel-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.carousel-nav { display: flex; gap: 0.5rem; margin-bottom: 1.6rem; }
.carousel-btn {
  width: 2.8rem; height: 2.8rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow);
}
.carousel-btn:hover:not(:disabled) { background: var(--navy); color: #fff; }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(17rem, calc((100% - 2rem) / 3));
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.3rem 0.2rem 1rem;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 1rem; }
.carousel-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.carousel-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(11, 28, 54, 0.16); }
.carousel-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform 0.5s ease; }
.carousel-card:hover img { transform: scale(1.04); }
.carousel-card-body { padding: 1rem 1.15rem 1.2rem; display: grid; gap: 0.4rem; }
.carousel-card-body strong { font-size: 1.12rem; color: var(--navy); }
.carousel-card-body > span:not(.text-link) { color: var(--muted); }
.carousel-progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; max-width: 14rem; }
.carousel-progress span { display: block; height: 100%; width: 12%; background: var(--cyan); transition: width 0.2s; }

.tab-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.tab-list button {
  font: inherit; font-weight: 600; padding: 0.6rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tab-list button:hover { border-color: var(--cyan); }
.tab-list button[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2rem; align-items: center;
  background: var(--paper); border-radius: 1.2rem; padding: 1.2rem; animation: cg-fade 0.35s ease;
}
.tab-panel[hidden] { display: none; }
.tab-panel figure { margin: 0; }
.tab-panel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0.9rem; }
.tab-panel h3 { font-family: var(--serif); font-size: 1.6rem; margin: 0 0 0.6rem; color: var(--navy); }
.tab-panel p { color: var(--muted); }
.tab-panel .btn-ghost { color: var(--navy); }
@keyframes cg-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.photo-card {
  position: relative; display: block; border-radius: 1.2rem; overflow: hidden; min-height: 20rem;
  color: #fff; text-decoration: none; box-shadow: var(--shadow);
}
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-card:hover img { transform: scale(1.05); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 28, 54, 0) 25%, rgba(11, 28, 54, 0.92) 100%); }
.photo-card-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.4rem; display: grid; gap: 0.35rem; }
.photo-card-body strong { font-family: var(--serif); font-size: 1.8rem; }
.photo-card-body span { color: #dce8f5; max-width: 44ch; }
.photo-card-body small { color: #9fc3e3; }
.city-hq { margin-top: 1.25rem; }

.game-teaser { background: radial-gradient(800px 300px at 20% 0%, rgba(38, 154, 215, 0.25), transparent 60%), #071326; color: #dbe8f6; padding: 4.5rem 0; }
.game-teaser-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.game-teaser h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; margin: 0 0 0.8rem; }
.game-teaser p { color: #b9cde3; max-width: 52ch; }
.game-teaser .game-teaser-note { font-size: 0.92rem; color: #87a8c8; }
.game-teaser .btn-ghost { color: #fff; border-color: #7aa4c9; }
.game-teaser-img { position: relative; display: block; border-radius: 1.2rem; overflow: hidden; box-shadow: 0 0 0 1px rgba(38, 154, 215, 0.4), 0 30px 70px rgba(0, 0, 0, 0.5); }
.game-teaser-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s ease; }
.game-teaser-img:hover img { transform: scale(1.04); }
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 4.5rem; height: 4.5rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--cyan); color: var(--navy); font-size: 1.6rem; padding-left: 0.25rem;
  box-shadow: 0 0 0 0 rgba(38, 154, 215, 0.6); animation: cg-pulse 2s infinite;
}
@keyframes cg-pulse { 70% { box-shadow: 0 0 0 1.2rem rgba(38, 154, 215, 0); } 100% { box-shadow: 0 0 0 0 rgba(38, 154, 215, 0); } }

.process-steps { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.process-steps li { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.3rem; box-shadow: var(--shadow); position: relative; }
.process-steps strong { display: block; font-size: 1.15rem; color: var(--navy); margin: 0.6rem 0 0.3rem; }
.process-steps p { margin: 0; color: var(--muted); }
.process-num {
  width: 2.4rem; height: 2.4rem; border-radius: 999px; display: grid; place-items: center;
  background: var(--cyan); color: var(--navy); font-weight: 700;
}
.process.section { background: linear-gradient(180deg, #fff, var(--paper)); }
.process .btn-ghost { color: var(--navy); }

.card { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s; }
a.card:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: 0 22px 50px rgba(11, 28, 54, 0.14); }

.cg-reveal-ready .cg-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.cg-reveal-ready .cg-reveal.is-visible { opacity: 1; transform: none; }

.mobile-cta { display: none; }

@media (max-width: 980px) {
  .media-split-grid, .tab-panel, .game-teaser-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .media-split.is-reverse .media-split-img { order: 0; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel { grid-auto-columns: minmax(15rem, 70%); }
  .hero-aside.is-photo, .hero-slides { max-width: 34rem; }
}

@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .carousel { grid-auto-columns: 84%; }
  .carousel-head { align-items: start; flex-direction: column; }
  .carousel-nav { margin-bottom: 0.8rem; }
  .photo-card { min-height: 17rem; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 0.3rem;
    position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
    padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
    background: rgba(11, 28, 54, 0.96); box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  }
  .mobile-cta a {
    text-align: center; padding: 0.65rem 0.2rem; border-radius: 0.6rem; color: #fff;
    text-decoration: none; font-weight: 600; font-size: 0.9rem; background: rgba(255, 255, 255, 0.08);
  }
  .mobile-cta a.is-primary { background: var(--cyan); color: var(--navy); }
  body { padding-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide, .carousel-card, .carousel-card img, .photo-card img, .game-teaser-img img, .card { transition: none; }
  .play-badge, .tab-panel { animation: none; }
}

/* Footer accreditation badges */
.footer-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  border-top: 1px solid #1d2c42;
  margin-top: 2rem;
  padding-top: 1.4rem;
}
.footer-badges h2 { margin: 0; }
.footer-badges ul { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.footer-badges img { display: block; width: auto; height: 72px; }
.footer-badges + .footer-base { margin-top: 1.4rem; }

@media (max-width: 640px) {
  .footer-badges { flex-direction: column; align-items: flex-start; }
  .footer-badges ul { gap: 0.9rem; }
  .footer-badges img { height: 60px; }
}

/* ==========================================================================
   Brand logo (header lockup, footer stacked logo)
   ========================================================================== */
.brand picture { display: block; line-height: 0; }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 40px; max-width: 100%; }
.footer-brand picture { display: block; line-height: 0; }
.footer-brand img { display: block; width: auto; height: 104px; max-width: 100%; }
@media (max-width: 1180px) {
  .brand img { height: 34px; }
}
@media (max-width: 980px) {
  .brand img { height: 44px; }
}
@media (max-width: 640px) {
  .brand img { height: 38px; }
  .footer-brand img { height: 88px; }
}

/* ==========================================================================
   Blockmark Cyber Essentials certificate widget (footer accreditations)
   ========================================================================== */
.footer-badges-blockmark { display: flex; align-items: center; flex: 0 0 auto; }
.footer-badges-blockmark iframe { display: block; max-width: 100%; }

/* ==========================================================================
   Light header (full-colour logo)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  color: var(--navy);
  border-bottom: 1px solid #e3e9f2;
  box-shadow: 0 6px 20px rgba(11, 28, 54, 0.08);
}
.brand img { height: 40px; }
.site-nav { gap: 1.1rem; }
.site-nav ul { gap: 0.9rem; }
.site-nav a { color: var(--navy); white-space: nowrap; }
.site-nav ul a { display: inline-block; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--brand); }
.site-nav ul a:hover { border-bottom-color: var(--cyan); }
.site-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--cyan); }
.nav-cta .tel { color: var(--navy); }
.nav-cta .tel:hover { color: var(--brand); }
.nav-cta .btn-primary { color: var(--navy); }
.nav-toggle { border-color: #c9d4e3; color: var(--navy); }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after { background: var(--navy); }

@media (max-width: 1240px) {
  .brand img { height: 36px; }
  .site-nav { gap: 0.9rem; }
  .site-nav ul { gap: 0.7rem; }
  .site-nav a { font-size: 0.88rem; }
  .nav-cta { gap: 0.6rem; }
  .nav-cta .btn { padding-left: 0.95rem; padding-right: 0.95rem; }
}
@media (max-width: 1080px) {
  .brand img { height: 32px; }
  .site-nav { gap: 0.7rem; }
  .site-nav ul { gap: 0.55rem; }
  .site-nav a { font-size: 0.84rem; }
  .nav-cta .btn { padding-left: 0.8rem; padding-right: 0.8rem; font-size: 0.84rem; }
}
@media (max-width: 980px) {
  .brand img { height: 42px; }
  .site-nav {
    background: #fff;
    border-bottom: 1px solid #e3e9f2;
    box-shadow: 0 18px 30px rgba(11, 28, 54, 0.12);
  }
  .site-nav a { font-size: 1rem; }
  .site-nav ul a { display: block; padding: 0.55rem 0; border-bottom: 1px solid #eef2f7; }
  .site-nav ul a:hover,
  .site-nav a[aria-current="page"] { border-bottom-color: #eef2f7; box-shadow: inset 3px 0 0 var(--cyan); padding-left: 0.7rem; }
  .nav-cta { margin-top: 0.6rem; }
  .nav-cta .tel { padding: 0.4rem 0; }
}
@media (max-width: 640px) {
  .brand img { height: 36px; }
}

/* ==========================================================================
   Taller header so the full stacked logo has room
   ========================================================================== */
html { scroll-padding-top: 7.5rem; }
.header-inner { min-height: 7.25rem; padding-block: 0.5rem; }
.brand img { width: auto; height: 100px; max-width: none; }
@media (max-width: 1240px) {
  .brand img { height: 94px; }
}
@media (max-width: 1080px) {
  .header-inner { min-height: 6.75rem; }
  .brand img { height: 88px; }
}
@media (max-width: 980px) {
  html { scroll-padding-top: 6.25rem; }
  .header-inner { min-height: 6rem; padding-block: 0.4rem; }
  .brand img { height: 76px; }
  .site-nav { inset: 6rem 0 auto; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 5.5rem; }
  .header-inner { min-height: 5.25rem; padding-block: 0.35rem; }
  .brand img { height: 68px; max-width: 60vw; object-fit: contain; }
  .site-nav { inset: 5.25rem 0 auto; }
}

/* ==========================================================================
   Footer white logo
   ========================================================================== */
.site-footer .footer-brand {
  display: block;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 0 1rem;
}
.site-footer .footer-brand img { height: 96px; width: auto; max-width: 100%; }
@media (max-width: 640px) {
  .site-footer .footer-brand img { height: 76px; }
}

/* ==========================================================================
   Mobile friendly fixes (phones and small tablets, up to 980px)
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.contact-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll > table { margin: 0; }

@media (max-width: 980px) {
  h1, h2, h3, .hero h1, .prose h1 { overflow-wrap: break-word; }
  .prose a, .site-footer a, .site-footer address, .card a, .inline-cta a,
  a[href^="mailto:"], a[href^="tel:"] { overflow-wrap: anywhere; }
  [id] { scroll-margin-top: 6.25rem; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  /* Menu: scroll inside itself when taller than the screen */
  .site-nav {
    max-height: calc(100vh - 6rem);
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav ul a { padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .nav-cta .tel { display: block; padding: 0.7rem 0; }
  .nav-cta .btn { min-height: 2.9rem; }

  /* Inputs at 16px so iOS does not zoom on focus; full width */
  .cg-form input, .cg-form select, .cg-form textarea,
  .search-form input, #loginform input[type="text"], #loginform input[type="password"] {
    font-size: 16px; width: 100%; min-height: 2.9rem;
  }
  .cg-form .btn, .search-form .btn, .search-form button { min-height: 2.9rem; }
  #loginform p { margin: 0 0 0.9rem; }
  #loginform label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
  #loginform input[type="text"], #loginform input[type="password"] {
    display: block; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 0.6rem; font-family: inherit;
  }
  #loginform .login-remember label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; min-height: 2.75rem; }
  #loginform input[type="checkbox"] { width: 1.25rem; height: 1.25rem; }
  #loginform input[type="submit"] {
    width: 100%; min-height: 2.9rem; font: inherit; font-weight: 600; font-size: 16px; border: 0;
    border-radius: 999px; background: var(--cyan); color: var(--navy); cursor: pointer;
  }

  /* Larger tap targets */
  .faq summary { padding: 0.55rem 0; }
  .faq { padding-top: 0.45rem; padding-bottom: 0.45rem; }
  .faq[open] { padding-bottom: 0.9rem; }
  .card .text-link, .carousel-card .text-link { display: inline-block; padding: 0.55rem 0; }
  .site-footer button.text-link { min-height: 2.75rem; }
  .site-footer ul a { display: inline-block; padding: 0.5rem 0; }
  .hero-slide figcaption { padding-top: 0; padding-bottom: 0; }
  .hero-slide figcaption a { display: inline-block; padding: 0.6rem 0; }
  .hero-slide-dots { gap: 0; bottom: 0.45rem; }
  .hero-slide-dots button { box-sizing: content-box; border: 0.55rem solid transparent; background-clip: padding-box; }
  .pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem;
    padding: 0 0.7rem; border: 1px solid var(--line); border-radius: 0.6rem; text-decoration: none;
  }
  .pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

  /* Tabs scroll sideways instead of wrapping onto many rows */
  .tab-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding: 0.2rem 1rem; scroll-padding-inline: 1rem; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: 0 0 auto; min-height: 2.75rem; }
  .carousel { overscroll-behavior-x: contain; }
  .cta-inner .btn { flex-shrink: 0; white-space: nowrap; }

  /* Footer: two columns on tablets */
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-badges ul { padding: 0; }

  /* Game: bigger canvas and touch buttons that do not zoom or select text */
  .game-shell { padding: 0.75rem; }
  .game-touch button {
    min-height: 3.4rem; touch-action: manipulation; user-select: none; -webkit-user-select: none;
    -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent;
  }
  .game-touch button:active { background: var(--cyan); color: var(--navy); }

  /* Cookie banner becomes a compact bottom sheet */
  .cg-consent {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; z-index: 70;
    border-bottom: 0; border-top: 3px solid var(--cyan);
    padding: 0.8rem 0 calc(0.8rem + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.3);
    max-height: 60vh; overflow-y: auto;
  }
  .cg-consent-panel { flex-direction: row; align-items: center; gap: 0.9rem; }
  .cg-consent h2 { font-size: 0.98rem; margin-bottom: 0.2rem; }
  .cg-consent p { font-size: 0.84rem; line-height: 1.45; }
  .cg-consent-actions .btn { min-height: 2.75rem; padding: 0.55rem 1.2rem; }
  .cg-consent-open .mobile-cta { display: none; }
}

@media (max-width: 640px) {
  .contact-grid { gap: 1.5rem; }
  .cta-band { padding: 2.4rem 0; }
  .cta-inner { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .cta-inner .btn { align-self: flex-start; }
  .photo-card-body small { font-size: 0.875rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer ul { columns: 2; column-gap: 1rem; }
  .site-footer ul li { break-inside: avoid; }
  .footer-badges ul { columns: auto; }
  .footer-base { gap: 0.4rem; }
  .game-shell { padding: 0.5rem; border-radius: 0.9rem; }
  .game-meta { gap: 1rem; }

  /* Fixed quick-contact bar: keep the footer colour behind it */
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(5.4rem + env(safe-area-inset-bottom)); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; }

  .cg-consent-panel { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .cg-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .cg-consent-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide-dots button, .carousel-progress span { transition: none; }
}

.answer-band { background: var(--paper); border-bottom: 1px solid var(--line); }
.answer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 2rem;
  padding: 1.4rem 0;
}
.page-answer {
  margin: 0;
  max-width: 78ch;
  font-size: 1.05rem;
  color: var(--ink);
  border-left: 3px solid var(--cyan);
  padding-left: 1rem;
}
.page-updated { margin: 0; font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
