:root {
  --bg-deep: #001c20;
  --bg-top: #013137;
  --card-bg: #012f36;
  --card-border: #2b5d61;
  --mint: #bff7ee;
  --teal: #36a39d;
  --white: #ffffff;
  --page-width: 1180px;
}

.footer-top.office-footer {
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.45fr);
  gap: clamp(48px, 10vw, 190px);
  align-items: start;
}

.office-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 10vw, 190px);
  row-gap: 8px;
  max-width: 1120px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.95vw, 16px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.25;
}

.office-contact strong,
.office-contact .office-name {
  grid-column: 1 / -1;
}

.office-contact strong {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.office-contact .office-name {
  width: max-content;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.office-contact span {
  margin: 0;
}

@media (max-width: 760px) {
  .office-contact {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg-deep);
  color: var(--white);
  font-family: "Funnel Sans", "Segoe UI", sans-serif;
}

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

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

.jump-site {
  min-height: 100vh;
  background:
    var(--bg-deep) url("assets/home-background-jump.png") top center / 100% auto no-repeat;
}

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

.hero-panel,
.services-panel,
.site-footer {
  background: transparent;
}

.hero-panel {
  position: relative;
  min-height: 794px;
}

.hero-inner {
  position: relative;
  min-height: 794px;
  padding-top: 67px;
}

.site-header {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
}

.logo {
  width: 118px;
  height: 26px;
  object-fit: contain;
}

.hero-copy {
  width: min(560px, 100%);
  padding-top: 302px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 560px;
  color: #ffffff;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy p {
  width: min(505px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.24;
}

.nav-row {
  position: sticky;
  top: 22px;
  z-index: 10;
  width: 588px;
  max-width: calc(100% - 32px);
  margin: -24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pill-nav {
  flex: 0 0 480px;
  width: 480px;
  height: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 7px 7px 7px 3px;
  background: #ffffff;
  color: #00272b;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.pill-nav a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  color: inherit;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pill-nav a:hover {
  transform: translateY(-1px);
}

.pill-nav .spark-link {
  width: 58px;
  min-width: 58px;
  padding: 0;
}

.pill-nav .spark-link img {
  width: 56px;
  height: 56px;
}

.pill-nav .is-active {
  min-height: 34px;
  background: var(--mint);
}

.nav-row > .contact-pill {
  min-width: 96px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 247, 238, 0.28);
  border-radius: 999px;
  background: rgba(7, 62, 69, 0.9);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.nav-row > .contact-pill:hover {
  transform: translateY(-1px);
}

.services-panel {
  min-height: 2228px;
  padding: 96px 0 130px;
}

.section-kicker {
  width: 147px;
  height: 38px;
  margin: 0 auto;
  border-radius: 999px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #073e45;
  color: #54f6ed;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 520px;
  margin: 44px auto 0;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 54px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p {
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.16;
}

.service-grid {
  margin-top: 168px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 362px));
  gap: 57px 48px;
}

.service-card {
  min-height: 447px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--card-border);
  border-radius: 25px;
  padding: 38px 42px 38px;
  background: var(--card-bg);
  color: #fefefe;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.service-card:hover {
  border-color: rgba(191, 247, 238, 0.48);
  background: #073d44;
  transform: translateY(-4px);
}

.service-icon {
  width: 68px;
  height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #006f73;
  flex: 0 0 68px;
}

.service-icon img {
  display: block;
  width: 39px;
  height: 39px;
  object-fit: contain;
  object-position: center;
}

.service-icon-accounting img,
.service-icon-secretary img {
  width: 45px;
  height: 45px;
}

.service-icon-referral img {
  transform: translateX(2px);
}

.service-card h3 {
  min-height: 63px;
  margin: 20px 0 0;
  font-family: "Funnel Display", "Funnel Sans", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.service-card p {
  width: min(286px, 100%);
  margin: auto 0 0;
  color: rgba(254, 254, 254, 0.88);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.11;
}

.site-footer {
  min-height: 720px;
  overflow: hidden;
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(108px, 140px));
  align-items: start;
  gap: clamp(42px, 7vw, 112px);
}

.footer-top p,
.footer-top address {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.27;
}

.footer-top p {
  max-width: 330px;
  line-height: 1.1;
}

.footer-top span,
.footer-top strong,
.footer-top a {
  display: block;
}

.footer-top span {
  margin-bottom: 44px;
  font-weight: 300;
}

.footer-top strong {
  margin-bottom: 12px;
  font-weight: 600;
}

.footer-logo {
  display: block;
  width: min(84vw, 1420px);
  height: auto;
  margin: 296px auto 0;
}

.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-inner {
  display: none !important;
}

@media (max-width: 980px) {
  .home-container {
    width: min(100% - 56px, 760px);
  }

  .hero-panel,
  .hero-inner {
    min-height: 680px;
  }

  .hero-copy {
    padding-top: 240px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 8vw, 56px);
  }

  .services-panel {
    min-height: auto;
  }

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

  .service-card h3 {
    margin-top: 6px;
  }

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

@media (max-width: 640px) {
  .home-container {
    width: calc(100% - 32px);
  }

  .hero-panel,
  .hero-inner {
    min-height: 620px;
  }

  .hero-inner {
    padding-top: 34px;
  }

  .hero-copy {
    padding-top: 240px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p {
    margin-top: 28px;
    font-size: 14px;
    line-height: 1.24;
  }

  .nav-row {
    position: relative;
    top: auto;
    width: min(100% - 32px, 560px);
    margin: -24px auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .pill-nav {
    flex: 0 1 auto;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 24px;
  }

  .pill-nav a {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  .pill-nav .spark-link {
    width: 44px;
    min-width: 44px;
  }

  .pill-nav .spark-link img {
    width: 38px;
    height: 38px;
  }

  .nav-row > .contact-pill {
    min-width: 92px;
    min-height: 40px;
    font-size: 10px;
  }

  .services-panel {
    padding: 84px 0 88px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading p {
    font-size: 14px;
  }

  .service-grid {
    margin-top: 72px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card {
    min-height: 310px;
    border-radius: 18px;
    padding: 28px;
  }

  .service-card h3 {
    min-height: 0;
    margin-top: 6px;
    font-size: 27px;
  }

  .service-card p {
    margin-top: 28px;
  }

  .site-footer {
    min-height: 540px;
    padding-top: 56px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-top span {
    margin-bottom: 10px;
  }

  .footer-logo {
    width: min(88vw, 620px);
    margin-top: 90px;
  }
}

.footer-top .office-contact {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(12px, 0.95vw, 16px);
  font-style: normal;
  font-weight: 300;
  line-height: 1.25;
}

.footer-top .office-contact strong {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(13px, 1.05vw, 17px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-top .office-contact .office-name {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-top .office-contact span {
  margin: 0;
}
