:root {
  --ink: #10243a;
  --navy: #174f8f;
  --sky: #3fa4dc;
  --deep-blue: #1e4d83;
  --blue: #2c72b8;
  --orange: #f36d23;
  --gold: #e3ae21;
  --paper: #f6f3ed;
  --white: #ffffff;
  --muted: #66727d;
  --line: #d9dfe3;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: #5f6670;
  background: var(--white);
  font-family: "HelveticaNeue-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 5;
  padding: 35px 0 0;
  color: var(--deep-blue);
  background: var(--white);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 35px;
  background:
    radial-gradient(ellipse 62% 180% at 50% 50%, #2f8fc5 0%, #176fa7 46%, #0c578a 100%);
  border-bottom: 4px solid #e8edf1;
}

.site-header::after {
  content: none;
}

.header-inner {
  min-height: 138px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 0;
}

.header-hero {
  min-width: 0;
  margin: 0 110px 0 auto;
  color: var(--deep-blue);
  font-family: "Century Gothic", Futura, Arial, sans-serif;
  font-size: clamp(1.32rem, 1.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
}

.hero-divider {
  display: inline-block;
  width: .8em;
}

.principle-band {
  min-height: 60px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(ellipse 62% 180% at 50% 50%, #2f8fc5 0%, #176fa7 46%, #0c578a 100%);
  border-top: 4px solid #e8edf1;
}

.principle-band p {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand {
  --brand-mark: 61.2px;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--brand-mark) * .098);
  text-decoration: none;
}

.brand img {
  width: calc(var(--brand-mark) * 1.06818 + 2.34px);
  height: auto;
  flex: 0 0 auto;
  transform: translate(0, 2px);
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: calc(var(--brand-mark) * .0275);
  line-height: .88;
  white-space: nowrap;
  transform: translateY(calc(var(--brand-mark) * -.028));
}

.brand-words > b {
  color: var(--deep-blue);
  font-family: "Century Gothic", Futura, Arial, sans-serif;
  font-size: calc(var(--brand-mark) * .443);
  font-weight: 700;
  letter-spacing: .003em;
  line-height: .88;
  transform: translateY(-1px);
}

.brand-lower {
  display: flex;
  align-items: baseline;
  gap: calc(var(--brand-mark) * .0811);
  margin-left: calc(var(--brand-mark) * .2695);
  color: var(--deep-blue);
  font-family: "Century Gothic", Futura, Arial, sans-serif;
  font-size: calc(var(--brand-mark) * .443);
  font-weight: 700;
  letter-spacing: .003em;
  line-height: .86;
  transform: translateY(2px);
}

.brand-lower strong,
.brand-lower em { color: inherit; font: inherit; letter-spacing: inherit; line-height: inherit; }
.brand-lower strong { color: #ea4b16; }
.brand-lower em { color: var(--deep-blue); font-style: normal; }

.header-link {
  color: var(--deep-blue);
  font-size: .78rem;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  width: 100%;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 16px max(24px, calc((100% - 1040px) / 2)) 14px;
  color: var(--white);
  background:
    radial-gradient(ellipse 54% 190% at 62% 128%, transparent 60%, rgba(255,255,255,.11) 60.5%, transparent 61.5%),
    linear-gradient(128deg, transparent 0 34%, rgba(255,255,255,.055) 34.2% 34.8%, transparent 35% 100%),
    radial-gradient(ellipse 64% 210% at 50% 50%, #2f8fc5 0%, #176fa7 44%, #0c578a 100%);
  border-bottom: 4px solid #e8edf1;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 36vw;
  height: 36vw;
  min-width: 360px;
  min-height: 360px;
  right: -8vw;
  bottom: -16vw;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 9vw rgba(255, 255, 255, .055), 0 0 0 18vw rgba(14, 73, 135, .07);
}

.eyebrow {
  margin: 0 0 8px;
  color: #ffe177;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1200px;
  margin: 0;
  font-size: clamp(1.35rem, 1.5vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.14;
}

.hero-arrow {
  display: inline-block;
  position: relative;
  width: 1.5em;
  height: .72em;
  margin-inline: .32em;
  color: transparent;
  font-size: 1em;
  line-height: 1;
  vertical-align: middle;
  transform: translateY(-1px);
}

.hero-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: .14em;
  top: 50%;
  height: .14em;
  background: var(--orange);
  transform: translateY(-50%);
}

.hero-arrow::after {
  content: "";
  position: absolute;
  right: .04em;
  top: 50%;
  width: .42em;
  height: .42em;
  border-top: .14em solid var(--orange);
  border-right: .14em solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

.hero-intro {
  max-width: 900px;
  margin: 0;
  color: #5f6670;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.hero-introduction { padding-block: 52px 58px; }

.quiet-link {
  display: inline-block;
  margin-top: 24px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(44, 114, 184, .45);
  color: var(--blue);
  font-size: .78rem;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.narrative { background: var(--white); }
.flow { padding-block: 50px 120px; }

.simple-body {
  max-width: 1040px;
  margin-top: 0;
  padding-block: 52px 72px;
  color: #5f6670;
}

.simple-body p,
.simple-body address {
  max-width: 960px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
}

.content-section p + p {
  margin-top: 1.25em;
}

.simple-body .focus-statement {
  margin-top: 1.25em;
}

.content-section h2 {
  max-width: 960px;
  margin: 0 auto 1.1em;
  color: #555e68;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.simple-body hr {
  height: 0;
  margin: 38px 0;
  border: 0;
  border-top: 1px solid #d8dce0;
}

.simple-body .opening-rule {
  max-width: 960px;
  margin: 0 auto 38px;
}

.simple-body strong { color: #555e68; }
.simple-body a { color: var(--blue); text-underline-offset: 4px; }
.location-simple a { overflow-wrap: anywhere; word-break: break-word; }

.simple-body .closing-principle strong {
  color: var(--deep-blue);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.inline-location-image {
  max-width: 960px;
  margin: 24px auto 0;
}

.inline-location-image img {
  width: 100%;
  height: auto;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 90px 0;
  border-bottom: 1px solid #cfd5d7;
}

.statement h2 {
  max-width: 800px;
  margin: 0 0 28px;
  color: var(--blue);
  font-size: clamp(1.45rem, 1.55vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.statement p:not(.section-index) {
  max-width: 740px;
  margin: 0;
  color: #5f6670;
  font-size: 1rem;
  line-height: 1.62;
}

.statement .emphasis-copy { color: var(--blue); font-size: clamp(1.08rem, 1.35vw, 1.3rem); }

.closing {
  padding: 132px 0 10px 25%;
}

.closing p {
  max-width: 640px;
  margin: 0 0 64px;
  color: #5f6670;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
}

.closing h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
}

.closing h2::before {
  content: "";
  display: block;
  width: 80px;
  height: 7px;
  margin-bottom: 34px;
  background: var(--gold);
}

.cambridge { background: var(--white); }

.location-simple { padding: 0; }

.location-simple p { margin-top: 24px; }

.location-image {
  width: calc(100% - max(24px, (100% - 1180px) / 2));
  margin-left: auto;
  max-height: 720px;
  overflow: hidden;
}

.location-image img {
  width: 100%;
  height: clamp(420px, 58vw, 720px);
  object-fit: cover;
  object-position: center;
}

.location-content { padding-block: 94px 100px; }

.location-announcement h2 {
  max-width: 980px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.55rem, 1.9vw, 2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 90px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

address { color: #445463; font-style: normal; }
address strong { color: var(--navy); }
.enquiries p { margin: 0 0 8px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.enquiries a { color: var(--blue); font-size: clamp(1rem, 1.8vw, 1.3rem); text-underline-offset: 5px; }

.site-footer {
  position: relative;
  min-height: 84px;
  padding: 29px 0 25px;
  overflow: hidden;
  color: #eaf5fb;
  background: radial-gradient(ellipse 68% 150% at 52% 42%, #2b8ac0 0%, #166da4 44%, #0c578a 100%);
  font-size: .78rem;
  letter-spacing: .06em;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background:
    radial-gradient(ellipse 48% 145% at 17% 112%, transparent 56%, rgba(255,255,255,.65) 56.5%, transparent 58%),
    linear-gradient(132deg, transparent 0 36%, rgba(255,255,255,.28) 36.2% 36.7%, transparent 37% 100%),
    radial-gradient(ellipse 52% 160% at 88% -54%, transparent 60%, rgba(255,255,255,.6) 60.5%, transparent 62%),
    linear-gradient(72deg, transparent 0 68%, rgba(255,255,255,.18) 68.2% 68.7%, transparent 69% 100%);
  pointer-events: none;
}

.site-footer::before {
  content: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 0;
}

.footer-inner a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-inner a span { margin-right: 5px; }

@media (min-width: 1500px) {
  :root { --shell: min(1440px, calc(100% - 96px)); }
  .simple-body { max-width: 1320px; }
  .simple-body p,
  .simple-body address,
  .content-section h2,
  .simple-body .opening-rule,
  .inline-location-image { max-width: 1240px; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .site-header { padding: 35px 0 0; }
  .site-header::before { height: 35px; }
  .header-inner {
    min-height: 166px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
  }
  .brand { --brand-mark: 52.8px; align-self: center; }
  .header-hero { align-self: stretch; margin: 0; font-size: 1.25rem; text-align: center; }
  .principle-band { min-height: 60px; }
  .principle-band p { width: min(100% - 32px, 960px); font-size: 1rem; }
  .header-link { display: none; }
  .hero { min-height: 126px; padding: 18px 16px 16px; }
  .hero h1 { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }
  .hero-introduction { padding-block: 42px 48px; }
  .quiet-link { margin-top: 28px; }
  .flow { padding-block: 20px 82px; }
  .simple-body { padding-block: 44px 52px; }
  .simple-body hr { margin-block: 30px; }
  .statement { grid-template-columns: 1fr; gap: 22px; padding: 66px 0; }
  .statement h2 { margin-bottom: 22px; }
  .closing { padding: 88px 0 0; }
  .closing p { margin-bottom: 48px; }
  .location-image { width: calc(100% - 16px); }
  .location-image img { height: 55vw; min-height: 300px; object-position: 58% center; }
  .location-content { padding-block: 70px; }
  .contact-grid { grid-template-columns: 1fr; margin-top: 64px; padding-top: 36px; }
  .enquiries a { overflow-wrap: anywhere; }
  .site-footer { min-height: 96px; padding-block: 24px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 0; }
}

@media (max-width: 480px) {
  :root { --shell: min(100% - 24px, 1180px); }
  .header-inner { min-height: 160px; gap: 20px; }
  .brand { --brand-mark: 48px; max-width: 100%; }
  .header-hero { max-width: 100%; font-size: 1.1rem; overflow-wrap: break-word; }
  .principle-band p { width: calc(100% - 24px); }
  .simple-body { padding-block: 32px 44px; }
  .simple-body p,
  .simple-body address { font-size: .96rem; line-height: 1.58; }
  .simple-body hr { margin-block: 26px; }
  .simple-body .closing-principle strong { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
