:root {
  --ink: #07131f;
  --ink-soft: #182737;
  --text: #233044;
  --muted: #66758a;
  --line: #dfe8ef;
  --paper: #ffffff;
  --soft: #f3f8fb;
  --cyan: #00a7c8;
  --cyan-dark: #087f9a;
  --gold: #f6b840;
  --shadow: 0 24px 70px rgba(7, 19, 31, .14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 16px 50px rgba(7, 19, 31, .10);
  backdrop-filter: blur(14px);
}

.header-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
}

.brand img {
  width: 184px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(7, 19, 31, .12));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.section {
  padding: 104px 0;
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.05;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -.03em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: -.025em;
}

h3 {
  margin-bottom: 14px;
  font-size: 26px;
  letter-spacing: -.015em;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 96px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("../assets/img/slide-one.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 167, 200, .28), transparent 28%),
    linear-gradient(90deg, rgba(7, 19, 31, .94), rgba(7, 19, 31, .75) 46%, rgba(7, 19, 31, .30));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 42px;
}

.hero-lead {
  max-width: 650px;
  color: rgba(255, 255, 255, .86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 16px 34px rgba(246, 184, 64, .28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffd06a;
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .10);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, .18);
}

.btn-secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.full {
  width: 100%;
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, .08);
}

.hero-panel strong {
  display: block;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
}

.two-column,
.agenda-grid,
.contact-grid,
.location-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.section-intro p,
.section-head p,
.copy-block p,
.quality-band p {
  color: var(--muted);
  font-size: 18px;
}

.copy-block {
  columns: 1;
}

.inline-media {
  width: 100%;
  max-height: 260px;
  margin-top: 22px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(7, 19, 31, .10);
}

.quality-band {
  margin-top: 68px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f8fcfe, #edf7fb);
}

.quality-band h3 {
  margin-bottom: 0;
}

.section-head {
  max-width: 780px;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
}

.services {
  background: var(--soft);
}

.service-tabs {
  margin-top: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}

.tab-button {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.tab-button:last-child {
  border-right: 0;
}

.tab-button i {
  color: var(--cyan-dark);
  font-size: 22px;
}

.tab-button.active {
  color: #fff;
  background: var(--ink);
}

.tab-button.active i {
  color: var(--gold);
}

.tab-panel {
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  padding: 48px;
}

.tab-panel.active {
  display: grid;
}

.panel-copy {
  min-width: 0;
}

.panel-image {
  width: 100%;
  max-height: 250px;
  margin-top: 22px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan-dark);
  box-shadow: 0 0 0 5px rgba(0, 167, 200, .12);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.agenda {
  position: relative;
  overflow: hidden;
}

.agenda::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 167, 200, .18), transparent 48%);
  pointer-events: none;
}

.agenda-grid {
  position: relative;
  align-items: center;
}

.agenda-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .08);
}

.agenda-card p {
  margin-bottom: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(7, 19, 31, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.team-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.team-card p {
  margin-bottom: 22px;
  color: var(--muted);
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.credential-list li {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.team-card .text-link {
  margin-top: 14px;
}

.social-band {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) 1.2fr;
  align-items: center;
  gap: 28px;
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 167, 200, .08), rgba(224, 181, 93, .08)),
    #fff;
  box-shadow: 0 14px 34px rgba(7, 19, 31, .07);
}

.social-band h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.social-band p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.social-chips {
  display: grid;
  gap: 8px;
}

.social-chips a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.social-band .social-chips {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.social-band .social-chips a {
  background: rgba(255, 255, 255, .78);
}

.social-chips a:hover,
.social-chips a:focus-visible {
  border-color: rgba(0, 167, 200, .36);
  background: #f7fcfe;
}

.team-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.location {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.location-grid {
  align-items: center;
}

.location-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location-photo img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.location-copy p {
  color: var(--muted);
  font-size: 18px;
}

.contact {
  background:
    linear-gradient(120deg, rgba(7, 19, 31, .94), rgba(7, 19, 31, .84)),
    url("../assets/img/homeoffice.jpg") center/cover no-repeat;
}

.contact h2,
.contact h3 {
  color: #fff;
}

.contact-info p,
.info-list a,
.info-list p {
  color: rgba(255, 255, 255, .82);
}

.info-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.info-list p {
  display: flex;
  gap: 14px;
  margin: 0;
}

.info-list i {
  width: 22px;
  color: var(--gold);
  padding-top: 4px;
}

.info-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cddae4;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan-dark);
  box-shadow: 0 0 0 4px rgba(0, 167, 200, .12);
}

.form-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--cyan-dark);
  font-weight: 800;
}

.form-feedback.error {
  color: #b3261e;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, .72);
  background: #050b12;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer img {
  width: 150px;
  height: auto;
  margin-bottom: 12px;
  filter: brightness(1.35);
}

.site-footer p {
  max-width: 440px;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, .78);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 13px 12px;
  }

  .hero-grid,
  .two-column,
  .agenda-grid,
  .contact-grid,
  .location-grid,
  .quality-band,
  .tab-panel.active {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 620px;
  }

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

  .social-band {
    grid-template-columns: 1fr;
  }

  .social-band .social-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-shell {
    min-height: 76px;
  }

  .brand img {
    width: 150px;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 72px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 19, 31, .96), rgba(7, 19, 31, .74));
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .social-band {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .quality-band,
  .tab-panel,
  .agenda-card,
  .contact-form {
    padding: 24px;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .tab-button {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tab-button:last-child {
    border-bottom: 0;
  }
}
