:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-2: #eef7f8;
  --text: #2a3440;
  --muted: #64748b;
  --line: #dbe5e7;
  --teal: #2f7e8e;
  --deep: #1f4f5b;
  --aqua: #8fd6de;
  --shadow: 0 16px 40px rgba(31, 79, 91, .10);
  --radius: 24px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65
}

a {
  color: inherit;
  text-decoration: none
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line)
}

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

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: .9rem
}

.brand img,
.footer-brand img {
  width: auto
}

.brand-title {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--deep)
}

.brand .site-logo,
.footer-brand .site-logo {
  height: 80px;
  width: auto;
  max-width: none;
}

.credentials {
  margin-top: 1.5rem;
}

.ukcp-logo {
  height: 70px;
  width: auto;
  margin-top: 10px;
}

.brand-sub {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  color: var(--teal);
  margin-top: .25rem
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap
}

.nav a {
  font-weight: 600;
  color: #425466
}

.nav a.active,
.nav a:hover {
  color: var(--teal)
}

.hero {
  padding: 4.25rem 0 2rem;
  background: linear-gradient(180deg, #eaf8fb 0%, #ffffff 35%, var(--bg) 100%)
}

.hero-grid,
.two-col,
.grid-2,
.grid-3 {
  display: grid;
  gap: 1.5rem
}

.hero-grid,
.two-col {
  grid-template-columns: 1.15fr .85fr;
  align-items: center
}

.page-hero .two-col {
  align-items: start;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.sublead {
  font-size: 1rem;
  color: var(--muted);
  margin-top: .5rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .23em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: .8rem
}

h1,
h2,
h3 {
  font-family: Georgia, serif;
  line-height: 1.1;
  margin: 0 0 .8rem;
  color: var(--deep)
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem)
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem)
}

h3 {
  font-size: 1.35rem
}

.tagline {
  font-size: 1.55rem;
  color: var(--teal);
  font-weight: 700;
  margin: .2rem 0 1rem
}

.lead {
  font-size: 1.1rem;
  color: #415265;
  max-width: 62ch
}

.button-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem
}

.btn {
  display: inline-block;
  padding: .95rem 1.25rem;
  border-radius: 16px;
  font-weight: 700;
  border: 1px solid var(--line)
}

.btn.primary {
  background: var(--deep);
  color: white;
  border-color: var(--deep)
}

.btn.secondary {
  background: white;
  color: var(--deep)
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow)
}

.panel {
  padding: 1.5rem
}

.hero-card {
  overflow: hidden
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.section {
  padding: 4rem 0
}

.dark {
  background: var(--deep);
  color: white
}

.dark h2,
.dark h3 {
  color: white
}

.dark .panel {
  background: white;
  color: var(--text)
}

.footer {
  border-top: 1px solid var(--line);
  background: white;
  padding: 1.25rem 0;
  margin-top: 1rem
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap
}

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

.list {
  padding-left: 1.1rem;
  margin: .5rem 0 0
}

.list li {
  margin: .45rem 0
}

.page-hero {
  padding: 3rem 0 1rem
}

.page-hero .card {
  padding: 2rem
}

.image-collage {
  display: grid;
  gap: 16px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.dark .card h3 {
  color: var(--deep);
}

.location-wrap {
  align-items: stretch;
}

.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-height: 100%;
  background: transparent;
  border: none;
  box-shadow: none;

}

.location-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.location-section {
  padding-top: 1.5rem;
}

.footer {
  border-top: 1px solid var(--line);
  background: white;
  padding: 1.25rem 0;
  margin-top: 1rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social a {
  color: var(--deep);
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--teal);
}

.dock-image-section {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.dock-image-section img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.image-caption {
  text-align: center;
  color: var(--muted);
  margin-top: 1rem;
  font-size: 0.95rem;
}

@media (max-width:900px) {

  .hero-grid,
  .two-col,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr
  }

  .nav {
    display: none
  }

  .hero {
    padding-top: 2.5rem
  }

  .logo-card {
    display: none;
  }

}