@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Spectral:wght@500;600;700&display=swap');

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef3ff;
  --text: #121a2b;
  --muted: #56607a;
  --accent: #1354e2;
  --accent-strong: #0c3aa4;
  --highlight: #17b890;
  --border: rgba(16, 28, 62, 0.12);
  --ring: rgba(19, 84, 226, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 70px rgba(18, 26, 43, 0.14);
  --shadow-md: 0 12px 35px rgba(18, 26, 43, 0.1);
  --content-width: min(1140px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 8% 12%, rgba(23, 184, 144, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 90% 6%, rgba(19, 84, 226, 0.14) 0%, transparent 42%),
    linear-gradient(180deg, #f9fbff 0%, #f3f6fd 48%, #eff3fb 100%);
}

a {
  color: inherit;
}

a:hover {
  color: var(--accent-strong);
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 99;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(249, 251, 255, 0.86);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: max-content;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(18, 26, 43, 0.16);
}

.logo span {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  border-color: rgba(19, 84, 226, 0.35);
}

.nav-link.active {
  color: var(--text);
  border-color: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 14px;
  cursor: pointer;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 84px 0 54px;
}

.hero-slim {
  padding-top: 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: 'Spectral', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
  line-height: 1.12;
}

.display {
  margin: 0;
  font-family: 'Spectral', serif;
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero-text p {
  margin: 0 0 14px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-art,
.hero-image img,
.hero-gallery img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-art {
  min-height: 380px;
  background:
    linear-gradient(140deg, rgba(10, 34, 96, 0.62), rgba(9, 20, 44, 0.45)),
    url('../images/greenwich.jpg') center/cover no-repeat;
}

.hero-art-education {
  background:
    linear-gradient(150deg, rgba(9, 27, 77, 0.66), rgba(20, 89, 118, 0.5)),
    url('../images/big-ben.jpg') center/cover no-repeat;
}

.hero-image img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-gallery img {
  height: 215px;
  object-fit: cover;
}

.hero-gallery img:first-child {
  grid-column: 1 / -1;
  height: 230px;
}

.about-hero {
  padding-bottom: 40px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: start;
  gap: 34px;
}

.about-hero-text {
  max-width: 64ch;
}

.about-lead {
  font-size: 1.08rem;
  color: #2a3f73;
}

.about-keypoints {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.about-keypoints li + li {
  margin-top: 7px;
}

.about-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  gap: 14px;
}

.about-collage::before {
  content: '';
  position: absolute;
  inset: 16px -14px -18px 24px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(19, 84, 226, 0.14), rgba(23, 184, 144, 0.16));
  z-index: -1;
}

.about-collage figure {
  margin: 0;
}

.about-collage-main {
  grid-row: 1 / 3;
}

.about-collage img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-collage-main img {
  height: 456px;
}

.about-collage-side img {
  height: 220px;
}

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(19, 84, 226, 0.3);
  background: var(--accent-strong);
  color: #fff;
}

.button.ghost {
  background: transparent;
  color: var(--accent-strong);
  border-color: rgba(19, 84, 226, 0.3);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(19, 84, 226, 0.08);
  box-shadow: none;
}

.section {
  padding: 64px 0;
}

.section-tight {
  padding: 50px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.9));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  margin: 0 0 22px;
  font-family: 'Spectral', serif;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

.section-lead {
  margin: -6px 0 24px;
  color: var(--muted);
  max-width: 68ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  line-height: 1.35;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.inline-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.inline-list li + li {
  margin-top: 4px;
}

.metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 84, 226, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
}

.metric strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.15;
}

.metric span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.callout {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 0% 0%, rgba(19, 84, 226, 0.09), transparent 45%),
    radial-gradient(circle at 95% 80%, rgba(23, 184, 144, 0.12), transparent 48%),
    #f9fbff;
}

.callout-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pillar {
  background: linear-gradient(180deg, #ffffff, #f3f6ff);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.pillar h2 {
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.lead {
  margin: 0;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 15px 16px 15px 52px;
  color: var(--muted);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.3vw, 36px);
  box-shadow: var(--shadow-md);
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4,
.prose h5 {
  color: #142447;
  font-family: 'Spectral', serif;
  margin-top: 1.5em;
  margin-bottom: 0.55em;
  line-height: 1.25;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul,
.prose ol {
  padding-left: 21px;
}

.prose li + li {
  margin-top: 6px;
}

.legal {
  max-width: 920px;
}

.legal p {
  margin: 0 0 12px;
}

.legal .wp-block-heading {
  margin-top: 1.45em;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  color: var(--muted);
}

.contact-list span {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #edf2fb;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 20px;
  align-items: start;
}

.footer-brand {
  font-family: 'Spectral', serif;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.footer-muted {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links a {
  color: #25355d;
  text-decoration: none;
}

.footer-copy {
  border-top: 1px solid rgba(16, 28, 62, 0.1);
  margin-top: 22px;
  padding-top: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 1040px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 4vw;
    width: min(310px, 88vw);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    display: none;
  }

  .nav[data-open='true'] {
    display: flex;
  }

  .nav-link {
    width: 100%;
    border-bottom: 0;
    border-radius: 9px;
    padding: 7px 10px;
  }

  .nav-link.active,
  .nav-link:hover,
  .nav-link:focus-visible {
    background: rgba(19, 84, 226, 0.08);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-collage {
    grid-template-columns: 1fr 1fr;
  }

  .about-collage-main {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .about-collage-main img {
    height: 300px;
  }

  .about-collage-side img {
    height: 190px;
  }

  .hero-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-gallery img:first-child {
    grid-column: auto;
    height: 215px;
  }

  .card-grid,
  .pillars,
  .contact-grid,
  .footer-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 56px 0 42px;
  }

  .hero-text h1 {
    font-size: clamp(1.95rem, 8vw, 2.7rem);
  }

  .button {
    width: 100%;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .hero-image img {
    min-height: 275px;
  }

  .about-collage::before {
    inset: 10px -8px -12px 10px;
    border-radius: 18px;
  }

  .about-collage-main img {
    height: 250px;
  }

  .about-collage-side img {
    height: 150px;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-gallery img,
  .hero-gallery img:first-child {
    height: 170px;
  }

  .section {
    padding: 52px 0;
  }

  .prose {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
