/* ============================================================
   Nottingham Ventures - Homepage Concept
   Design language: Classic Authority (type/spacing/composition)
   Palette: extracted from nottinghamdevelopment.com (steel blues)
   ============================================================ */

:root {
  /* Backgrounds */
  --deep-navy:   #10222e;
  --navy:        #19364a;
  --navy-2:      #1f4159;
  --mist:        #f5f7f9;
  --pearl:       #e9edf1;
  --white:       #ffffff;

  /* Brand (from their site) */
  --steel:       #2b5672;
  --steel-hover: #234a63;
  --steel-muted: rgba(43, 86, 114, 0.14);
  --sky:         #5aa9dd;
  --sky-muted:   rgba(90, 169, 221, 0.3);

  /* Text */
  --text-dark:   #22303a;
  --text-body:   #46545e;
  --text-muted:  #6d7c86;
  --text-light:  rgba(255, 255, 255, 0.82);
  --text-light-muted: rgba(255, 255, 255, 0.55);

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "Lato", -apple-system, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width: min(90%, 1160px);
  --nav-height: 84px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--mist);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

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

/* ---------- Shared ---------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

section[id] { scroll-margin-top: 90px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--steel);
  opacity: 0.7;
}

.on-dark .eyebrow { color: var(--sky); }
.on-dark .eyebrow::before { background: var(--sky); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.14;
}

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}

.btn__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.btn__icon svg { width: 13px; height: 13px; }

.btn:hover .btn__icon { transform: translateX(4px); }

.btn--solid {
  background: var(--steel);
  color: #fff;
}
.btn--solid:hover { background: var(--steel-hover); }
.btn--solid .btn__icon { background: rgba(255, 255, 255, 0.16); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--outline .btn__icon { background: rgba(255, 255, 255, 0.14); }

.btn--outline-dark {
  background: transparent;
  color: var(--steel);
  border-color: rgba(43, 86, 114, 0.45);
}
.btn--outline-dark:hover { background: var(--steel-muted); border-color: var(--steel); }
.btn--outline-dark .btn__icon { background: var(--steel-muted); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(16, 34, 46, 0.55), rgba(16, 34, 46, 0));
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(16, 34, 46, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav__inner {
  width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo img { height: 40px; width: auto; }

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.3s var(--ease);
}

.nav__links a:hover { color: #fff; }

.nav__cta {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav__cta:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Hamburger */

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

body.menu-open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu overlay */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--deep-navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

body.menu-open .mobile-menu { opacity: 1; visibility: visible; }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: #fff;
  padding: 0.45rem 0;
  transition: color 0.3s var(--ease);
}

.mobile-menu a:hover { color: var(--sky); }

.mobile-menu__divider {
  width: 56px;
  height: 1px;
  background: var(--sky-muted);
  margin: 1.4rem 0;
}

.mobile-menu__phone {
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky) !important;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: -6% 0;
  background: url("../images/hero.jpg") center / cover no-repeat;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 34, 46, 0.62) 0%, rgba(16, 34, 46, 0.4) 45%, rgba(16, 34, 46, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 1.5rem;
}

.hero__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  color: #fff;
  margin-bottom: 1.6rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--sky);
}

.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 2.4rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--sky), transparent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- Intro ---------- */

.intro { background: var(--mist); }

.intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.intro__grid h2 { max-width: 15ch; }

.intro__body p + p { margin-top: 1.2rem; }

.intro__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid rgba(43, 86, 114, 0.18);
  border-bottom: 1px solid rgba(43, 86, 114, 0.18);
}

.intro__cred {
  flex: 1 1 200px;
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.intro__cred + .intro__cred { border-left: 1px solid rgba(43, 86, 114, 0.18); }

.intro__cred strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--steel);
  margin-bottom: 0.3rem;
}

.intro__cred span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Mission (signature section) ---------- */

.mission {
  background: var(--deep-navy);
  position: relative;
  overflow: hidden;
}

.mission__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.mission__head .eyebrow { justify-content: center; }
.mission__head .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--sky);
  opacity: 0.7;
}

.mission__head p { color: var(--text-light-muted); margin-top: 1.2rem; }

.mission__panels {
  display: flex;
  gap: 4px;
  min-height: 480px;
}

.mission__panel {
  position: relative;
  flex: 1;
  background: var(--navy);
  border: 1px solid rgba(90, 169, 221, 0.14);
  padding: clamp(1.8rem, 3vw, 2.8rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.7s var(--ease), background 0.7s var(--ease);
}

.mission__panel.active {
  flex: 2.4;
  background: var(--navy-2);
}

.mission__numeral {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  color: rgba(90, 169, 221, 0.14);
  transition: color 0.7s var(--ease);
}

.mission__panel.active .mission__numeral { color: rgba(90, 169, 221, 0.32); }

.mission__panel h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 0.9rem;
}

.mission__rule {
  width: 42px;
  height: 1px;
  background: var(--sky);
  margin-bottom: 1.1rem;
  transition: width 0.7s var(--ease);
}

.mission__panel.active .mission__rule { width: 84px; }

.mission__panel p {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  max-width: 46ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s var(--ease), opacity 0.7s var(--ease);
}

.mission__panel.active p {
  max-height: 300px;
  opacity: 1;
}

.mission__hint {
  text-align: center;
  margin-top: 1.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* ---------- Services ---------- */

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

.services__head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.services__head p { margin-top: 1.2rem; }

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.service + .service { margin-top: clamp(3rem, 6vw, 5.5rem); }

.service:nth-child(even) .service__media { order: 2; }

.service__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.service:hover .service__media img { transform: scale(1.04); }

.service__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--steel);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.9rem;
}

.service__num::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--steel);
  opacity: 0.5;
  vertical-align: middle;
  margin-left: 0.9rem;
}

.service h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 1.1rem; }

.service p { max-width: 50ch; }

/* ---------- Leadership ---------- */

.leadership { background: var(--navy); }

.leadership__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.leadership__creds {
  border: 1px solid rgba(90, 169, 221, 0.22);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.leadership__creds h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  font-size: 0.74rem;
  margin-bottom: 1.4rem;
}

.leadership__creds ul { list-style: none; }

.leadership__creds li {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: #fff;
  padding: 0.95rem 0;
  line-height: 1.4;
}

.leadership__creds li + li { border-top: 1px solid rgba(90, 169, 221, 0.16); }

.leadership__body h2 { margin-bottom: 1.4rem; }

.leadership__body p { color: var(--text-light-muted); }

.leadership__body p + p { margin-top: 1.2rem; }

.leadership__name {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(90, 169, 221, 0.16);
}

.leadership__name strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
}

.leadership__name span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ---------- Values ---------- */

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

.values__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.2rem, 4vw, 3.5rem);
}

.values__head .eyebrow { justify-content: center; }
.values__head .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--steel);
  opacity: 0.7;
}

.values__head p { margin-top: 1.1rem; }

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(43, 86, 114, 0.2);
  border-left: 1px solid rgba(43, 86, 114, 0.2);
}

.values__item {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-right: 1px solid rgba(43, 86, 114, 0.2);
  border-bottom: 1px solid rgba(43, 86, 114, 0.2);
  background: transparent;
  transition: background 0.4s var(--ease);
}

.values__item:hover { background: rgba(255, 255, 255, 0.65); }

.values__letter {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--steel);
  opacity: 0.4;
  line-height: 1;
  display: block;
  margin-bottom: 0.8rem;
}

.values__item h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

.values__item p { font-size: 0.92rem; }

/* ---------- Testimonials ---------- */

.testimonials { background: var(--deep-navy); }

.testimonials__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.testimonials__head .eyebrow { justify-content: center; }
.testimonials__head .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--sky);
  opacity: 0.7;
}

.testimonials__head p { color: var(--text-light-muted); margin-top: 1.1rem; }

.quote--feature {
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.quote--feature blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: #fff;
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--sky);
  opacity: 0.55;
  display: block;
  margin-bottom: 1.4rem;
}

.quote__name {
  margin-top: 1.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky);
}

.quote__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 900px;
  margin: 0 auto;
}

.quote--small {
  border: 1px solid rgba(90, 169, 221, 0.18);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}

.quote--small blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: -6% 0;
  background: url("../images/cta.jpg") center / cover no-repeat;
  will-change: transform;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 34, 46, 0.82);
}

.cta__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7.5rem) 1.5rem;
}

.cta .eyebrow { justify-content: center; }
.cta .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--sky);
  opacity: 0.7;
}

.cta h2 { margin-bottom: 1.2rem; }

.cta p { color: var(--text-light-muted); margin-bottom: 2.2rem; }

.cta__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta__meta {
  margin-top: 2.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(90, 169, 221, 0.14);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.footer__logo { height: 110px; width: auto; margin-bottom: 1.2rem; }

.footer__brand p {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  max-width: 34ch;
}

.footer h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.2rem;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 0.7rem; }

.footer li a, .footer li span {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}

.footer li a:hover { color: #fff; }

.footer__bottom {
  border-top: 1px solid rgba(90, 169, 221, 0.12);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

/* ---------- 404 ---------- */

.error-section {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}

.error__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1;
  color: rgba(90, 169, 221, 0.22);
}

.error__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin: 1rem 0 1.2rem;
}

.error__body {
  color: var(--text-light-muted);
  max-width: 46ch;
  margin: 0 auto 2.4rem;
}

/* ---------- Reveal (GSAP) ---------- */

.reveal { opacity: 0; }

html.no-js .reveal, body.no-gsap .reveal { opacity: 1; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .intro__grid,
  .leadership__grid { grid-template-columns: 1fr; }

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

  .mission__panels {
    flex-direction: column;
    min-height: 0;
  }

  .mission__panel { min-height: 150px; }

  .mission__panel p { max-width: none; }

  .service,
  .service:nth-child(even) { grid-template-columns: 1fr; }

  .service:nth-child(even) .service__media { order: 0; }

  .service__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 768px) {
  .footer li { margin-bottom: 0; }
  .footer li a { display: inline-block; padding-block: 0.65rem; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }

  .hero:not([style]) {
    height: auto;
    min-height: 100svh;
    padding-top: 7rem;
    padding-bottom: 5.5rem;
  }

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

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

@media (max-width: 640px) {
  .values__grid { grid-template-columns: 1fr; }

  .intro__cred { flex-basis: 100%; }
  .intro__cred + .intro__cred { border-left: none; border-top: 1px solid rgba(43, 86, 114, 0.18); }
}

@media (max-width: 480px) {
  .hero:not([style]) { padding-top: 6rem; }

  .btn { padding: 0.95rem 1.5rem; }

  .nav__logo img { height: 34px; }
  .nav__logo-text { font-size: 1rem; }
}
