:root {
  --royal: #07182b;
  --royal-2: #102c4a;
  --ink: #172331;
  --muted: #667383;
  --gold: #b88a3d;
  --gold-soft: #e6d2a9;
  --ivory: #fbfaf6;
  --pearl: #f4f0e8;
  --blue: #146fa6;
  --teal: #0d817b;
  --line: #e1d8c7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 24, 43, 0.12);
  --max: 1160px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(184, 138, 61, 0.42);
  outline-offset: 3px;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid rgba(184, 138, 61, 0.26);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--royal);
  text-decoration: none;
  min-width: 205px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: var(--royal);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--royal);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  position: relative;
  background: currentColor;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.nav-links a {
  padding: 9px 8px;
  color: #28394c;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 760;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--royal);
  background: rgba(184, 138, 61, 0.12);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  color: var(--royal);
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(7, 24, 43, 0.1);
}

.button-primary {
  color: var(--white);
  background: var(--royal);
  border-color: var(--royal);
}

.button-gold {
  color: var(--royal);
  background: linear-gradient(135deg, #f0ddb2, var(--gold-soft));
  border-color: var(--gold);
}

.button-small {
  min-height: 38px;
  padding: 10px 14px;
  font-size: 0.84rem;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(251, 250, 246, 0.98) 0 54%, rgba(251, 250, 246, 0.78) 72%, rgba(7, 24, 43, 0.12)),
    url("../../../images/personal-photo.jpeg") right center / min(48vw, 760px) auto no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(184, 138, 61, 0.42);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.55fr);
  gap: 38px;
  align-items: end;
  padding-block: 76px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--royal);
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 760;
}

.hero h1 {
  font-size: clamp(3.2rem, 7.4vw, 7.1rem);
  max-width: 920px;
}

.hero-subtitle,
.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  max-width: 760px;
}

.hero-subtitle {
  margin: 24px 0 0;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.royal-card {
  padding: 24px;
  color: var(--white);
  background: rgba(7, 24, 43, 0.94);
  border: 1px solid var(--gold);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.royal-card h2,
.royal-card h3 {
  color: var(--white);
}

.royal-card p,
.royal-card span {
  color: #dce6ec;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credential {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
}

.credential:last-child {
  border-right: 0;
}

.credential strong {
  display: block;
  color: var(--royal);
  font-size: 1.08rem;
}

.credential span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-block: 90px;
}

.section-ivory {
  background: var(--ivory);
}

.section-pearl {
  background: var(--pearl);
}

.section-royal {
  color: var(--white);
  background: var(--royal);
}

.section-royal h2,
.section-royal h3 {
  color: var(--white);
}

.section-royal p,
.section-royal li {
  color: #d9e3ea;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .section-kicker {
  justify-content: center;
}

.section h2,
.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
}

.service-cell {
  min-height: 175px;
  padding: 24px;
  background: var(--ivory);
}

.service-cell h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

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

.card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 48px;
  align-items: center;
}

.portrait-frame {
  position: relative;
  padding: 16px;
  background: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 4.85;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
}

.image-duo {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 16px;
  align-items: end;
}

.image-duo img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--gold-soft);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(7, 24, 43, 0.08);
}

.image-duo img:first-child {
  aspect-ratio: 4 / 5;
}

.image-duo img:last-child {
  aspect-ratio: 4 / 3;
}

.check-list,
.plain-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: #3f5062;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 13px;
  height: 13px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.page-hero {
  position: relative;
  padding-block: 80px 64px;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(7, 24, 43, 0.96), rgba(16, 44, 74, 0.86)),
    url("../../../images/honorary-professor-appointmant-at-bradford.jpeg") center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(184, 138, 61, 0.46);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 880px;
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #dbe7ee;
  font-size: 1.08rem;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  color: #d6e2e8;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.process {
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: 74px;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 26px;
  top: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--royal);
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.timeline-date {
  color: var(--gold);
  font-weight: 900;
}

.notice {
  padding: 24px;
  color: var(--royal);
  background: #fff8e8;
  border: 1px solid var(--gold-soft);
  border-left: 4px solid var(--gold);
  border-radius: 18px;
}

.notice p {
  margin: 0;
  color: var(--royal);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--royal);
  font-weight: 850;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.reference-list {
  display: grid;
  gap: 12px;
}

.reference-list a {
  display: block;
  padding: 16px 18px;
  color: var(--royal);
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.reference-list a:hover {
  border-color: var(--gold);
}

.legal-content {
  max-width: 880px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.55rem;
}

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

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  color: var(--white);
  background: var(--royal);
  border: 1px solid var(--gold);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.cta-panel p {
  color: #dce6ec;
  margin: 10px 0 0;
}

.site-footer {
  color: var(--white);
  background: var(--royal);
  border-top: 1px solid var(--gold);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
}

.footer-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 760;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #dce6ec;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-note {
  color: #bdcad3;
  font-size: 0.86rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1080px) {
  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: grid;
    gap: 16px;
    justify-content: stretch;
    padding: 18px 20px 22px;
    background: rgba(251, 250, 246, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .nav-links,
  .nav-actions {
    display: grid;
    gap: 8px;
  }

  .nav-links {
    white-space: normal;
  }

  .nav-links a {
    padding: 11px 4px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(251, 250, 246, 0.98), rgba(251, 250, 246, 0.9)),
      url("../../../images/personal-photo.jpeg") right top / 58vw auto no-repeat;
  }

  .hero-grid,
  .split,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .credentials,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  :root {
    --header: 70px;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .brand-sub {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    background: var(--ivory);
  }

  .hero::before,
  .page-hero::after {
    inset: 14px;
  }

  .hero-grid {
    padding-block: 56px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .section {
    padding-block: 58px;
  }

  .credentials,
  .service-list,
  .grid-2,
  .grid-3,
  .grid-4,
  .image-duo {
    grid-template-columns: 1fr;
  }

  .credential {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
