:root {
  --color-cyan: #00AFF0;
  --color-cyan-hover: #0099d6;
  --color-slate-900: #0F172A;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-200: #E2E8F0;
  --color-slate-50: #F8FAFC;
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --container-max: 80rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
#about-us {
  scroll-margin-top: 6rem;
}

/* Scroll reveal */

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: header-reveal 0.5s ease-out;
  }

  @keyframes header-reveal {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-slate-900);
  background: #fff;
}

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

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

/* Skip link */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-cyan);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0 0 0.25rem 0;
}

.skip-link:focus {
  left: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--color-slate-200);
}

.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
}

@media (min-width: 640px) {
  .site-header__inner {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding: 0 2rem;
  }
}

.site-header__logo img {
  height: 10rem;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  color: var(--color-slate-900);
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--color-cyan);
}

.site-header__social {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-header__social {
    display: flex;
  }
}

.site-header__social a {
  color: var(--color-slate-900);
  transition: color 0.2s;
}

.site-header__social a:hover {
  color: var(--color-cyan);
}

.site-header__social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.menu-toggle {
  display: inline-flex;
  background: none;
  border: 0;
  color: var(--color-slate-900);
  padding: 0.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  display: none;
  padding: 1rem;
  background: #fff;
}

.mobile-nav.is-open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  display: block;
  color: var(--color-slate-900);
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--color-cyan);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  transition: background-color 0.2s, color 0.2s;
}

.btn--primary {
  background: var(--color-cyan);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.btn--primary:hover {
  background: var(--color-cyan-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--color-slate-900);
  border: 2px solid var(--color-slate-900);
}

.btn--secondary:hover {
  background: var(--color-slate-900);
  color: #fff;
}

.btn--sm {
  padding: 0.75rem 2rem;
  font-weight: 500;
  font-size: 1rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 5rem 0;
}

@media (min-width: 640px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: contrast(1.2) brightness(0.9);
}

.hero__content {
  position: relative;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero__content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    padding: 0 2rem;
  }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero__lead {
  font-size: 1.25rem;
  color: var(--color-slate-700);
  max-width: 48rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero__lead {
    font-size: 1.5rem;
  }
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero__ctas {
    flex-direction: row;
  }
}

.hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  color: var(--color-slate-700);
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__badges svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-cyan);
  flex-shrink: 0;
}

/* Shared layout helpers */

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.container--narrow {
  max-width: 56rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  text-align: center;
  margin: 0 0 4rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3rem;
  }
}

/* Founders / Meet the Team */

.founders {
  padding: 5rem 0;
  background: var(--color-slate-50);
}

.founders__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* From tablet up the cards wrap in a centred flex row, so an
   incomplete last row is centred for any number of team members.
   Two cards per row: Mia and Nate on top, Alex and Fric below. */
@media (min-width: 768px) {
  .founders__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .founders__grid > .team-card {
    width: calc((100% - 3rem) / 2);
  }
}


.team-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.team-card__photo {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 1.5rem;
}

.team-card__name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-slate-900);
  text-align: center;
  margin: 0 0 0.5rem;
}

.team-card__title {
  font-weight: 500;
  color: var(--color-cyan);
  text-align: center;
  margin: 0 0 1rem;
}

.team-card__expertise {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  text-align: center;
  margin: -0.5rem 0 1rem;
}

.team-card__bio {
  color: var(--color-slate-700);
  line-height: 1.625;
  margin: 0;
}

.team-card__credentials {
  color: var(--color-slate-700);
  line-height: 1.625;
  margin: 1rem 0 0;
}

.team-card__bio a {
  color: var(--color-cyan);
  transition: color 0.2s;
}

.team-card__bio a:hover {
  color: var(--color-cyan-hover);
}

/* Who We Serve */

.who-we-serve {
  padding: 5rem 0;
  background: #fff;
  text-align: center;
}

.who-we-serve .section-title {
  margin-bottom: 2rem;
}

.who-we-serve__text {
  font-size: 1.25rem;
  color: var(--color-slate-700);
  line-height: 1.625;
}

/* Services / What We Do */

.services {
  padding: 5rem 0;
  background: var(--color-slate-50);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
  color: var(--color-cyan);
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin: 0 0 0.75rem;
}

.service-card p {
  color: var(--color-slate-700);
  line-height: 1.625;
  margin: 0;
}

.service-card p.service-card__note {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-top: 0.75rem;
}

.services__disclosure {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  text-align: center;
  margin: 2rem 0 0;
}

.services__disclosure a {
  color: var(--color-cyan);
  transition: color 0.2s;
}

.services__disclosure a:hover {
  color: var(--color-cyan-hover);
}

/* Pricing */

.pricing {
  padding: 5rem 0;
  background: #fff;
}

.pricing__title {
  margin-bottom: 3rem;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pricing-card--featured {
  box-shadow: 0 0 0 2px var(--color-cyan);
}

.pricing-card__badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cyan);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-card__name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin: 0 0 0.5rem;
}

.pricing-card__price {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin: 0 0 1.5rem;
}

.pricing-card__for {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-slate-600);
  margin: -0.75rem 0 1.5rem;
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  color: var(--color-slate-700);
}

.pricing-card__features svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-cyan);
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.pricing__closer {
  text-align: center;
}

.pricing__closer p {
  color: var(--color-slate-700);
  margin: 0 0 1rem;
}

/* A La Carte Services */

.a-la-carte {
  padding: 5rem 0;
  background: var(--color-slate-50);
}

.a-la-carte__groups {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.rate-group__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin: 0 0 1rem;
}

.rate-group__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-slate-700);
}

.rate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.rate-row__price {
  font-weight: 500;
  white-space: nowrap;
}

.rate-group__note {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  font-style: italic;
  margin: 0.75rem 0 0;
}

/* Meet Fric */

.meet-fric {
  padding: 5rem 0;
  background: #fff;
  text-align: center;
}

.meet-fric__title {
  margin-bottom: 1rem;
}

.meet-fric__subtitle {
  font-size: 1.25rem;
  color: var(--color-slate-600);
  margin: 0 0 3rem;
}

.meet-fric__photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.meet-fric__photo {
  width: 16rem;
  height: 16rem;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.meet-fric__blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: left;
}

.meet-fric__block {
  background: var(--color-slate-50);
  padding: 2rem;
  border-radius: 1rem;
}

.meet-fric__block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin: 0 0 1rem;
}

.meet-fric__block p {
  color: var(--color-slate-700);
  line-height: 1.625;
  margin: 0;
}

/* About Us */

.about {
  padding: 5rem 0;
  background: var(--color-slate-50);
}

.about__title {
  margin-bottom: 3rem;
}

.about__prose p {
  color: var(--color-slate-700);
  line-height: 1.625;
  margin: 0 0 1.5rem;
}

.about__quote {
  border-left: 4px solid var(--color-cyan);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--color-slate-50);
  border-radius: 0 0.5rem 0.5rem 0;
}

.about__quote p {
  color: var(--color-slate-700);
  line-height: 1.625;
  font-style: italic;
  margin: 0 0 0.75rem;
}

.about__quote footer {
  color: var(--color-slate-900);
  font-weight: 600;
}

.about__prose a {
  color: var(--color-cyan);
  transition: color 0.2s;
}

.about__prose a:hover {
  color: var(--color-cyan-hover);
}

/* Media Appearances */

.media {
  padding: 5rem 0;
  background: #fff;
}

/* A single row of cards that drifts slowly sideways on its own
   (js/main.js). It pauses while the mouse is over it or a card has
   keyboard focus, and can still be swiped on phones. Visitors who
   ask their device for reduced motion get a still, scrollable row. */
.media__banner {
  position: relative;
}

.media__list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0.25rem 1rem;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.media__list::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .media__list {
    scrollbar-width: thin;
  }

  .media__list::-webkit-scrollbar {
    display: block;
    height: 6px;
  }
}

.media-item {
  display: flex;
  flex: 0 0 85%;
}

@media (min-width: 768px) {
  .media-item {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (min-width: 1024px) {
  .media-item {
    flex-basis: calc((100% - 3rem) / 3);
  }
}

.media-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.media-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.media-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* For pictures where the subject sits near the top */
.media-card__image--top {
  object-position: center 15%;
}

/* Whole picture shown (for title cards with text), on a matching background */
.media-card__image--contain {
  object-fit: contain;
}

.media-card__image--black {
  background: #000;
}

.media-card__image--grey {
  background: #4b4c4d;
}

.media-card__credit {
  font-size: 0.75rem;
  color: var(--color-slate-600);
  margin-top: 0.25rem;
}

/* Grey box shown until a real picture is added */
.media-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-slate-50);
  border-bottom: 1px solid var(--color-slate-200);
  color: var(--color-slate-600);
  font-size: 0.875rem;
}

.media-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.media-card__title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-cyan);
  transition: color 0.2s;
}

.media-card:hover .media-card__title {
  color: var(--color-cyan-hover);
}

.media-item__source {
  font-size: 0.875rem;
  color: var(--color-slate-600);
}

/* Contact */

.contact {
  padding: 5rem 0;
  background: var(--color-slate-50);
  text-align: center;
}

.contact__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact__options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-option {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-option__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-slate-900);
  margin: 0 0 1.25rem;
}

.contact-option__note,
.contact-option__text {
  color: var(--color-slate-600);
  margin: 1rem 0 0;
}

.contact-option__text {
  margin: 0 0 0.5rem;
}

.contact-option__email {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-cyan);
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.contact-option__email:hover {
  color: var(--color-cyan-hover);
}

/* Footer */

.site-footer {
  background: #fff;
  color: var(--color-slate-900);
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-slate-200);
}

@media (min-width: 640px) {
  .site-footer {
    padding: 2rem 0;
  }
}

.site-footer p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--color-slate-900);
  text-align: center;
  margin: 0 0 1rem;
}

@media (min-width: 640px) {
  .site-footer p {
    text-align: left;
  }
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--color-cyan);
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--color-cyan-hover);
}

/* =====================================================================
   Polish layer (branch polish-experiments, 2026-11-11)
   Everything below refines the look without changing colours or logos.
   It sits at the end so it can be reviewed, tuned, or removed in one place.
   ===================================================================== */

/* 1. Heading font: Playfair Display, stored on this site (no outside requests) */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-600.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -8px rgba(15, 23, 42, 0.10);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.05), 0 20px 40px -12px rgba(15, 23, 42, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1,
.section-title,
.team-card__name,
.service-card h3,
.pricing-card__name,
.pricing-card__price,
.rate-group__title,
.contact-option__title,
.meet-fric h3,
.about h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  /* Full-height numbers so prices line up */
  font-variant-numeric: lining-nums;
}

.hero h1 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* 1b. Body font: Jost, paired with Playfair (also stored on this site) */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-600.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Jost", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Jost runs slightly smaller than the device font, so nudge body text up */
body {
  font-size: 1.0625rem;
}

.site-nav a,
.mobile-nav a {
  letter-spacing: 0.02em;
}

.btn {
  letter-spacing: 0.02em;
}

.team-card__expertise,
.media-item__source,
.media-card__credit {
  letter-spacing: 0.02em;
}

/* 2. Hero: slow zoom on the photo, soft light wash behind the words */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 75%);
  pointer-events: none;
}

.hero__content {
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__bg {
    animation: hero-zoom 30s ease-in-out infinite alternate;
  }

  @keyframes hero-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
  }
}

/* 3. Section rhythm: two deep navy bands */

.who-we-serve,
.media {
  background: var(--color-slate-900);
  background-image: radial-gradient(ellipse 50% 80% at 85% 0%, rgba(0, 175, 240, 0.14), rgba(0, 175, 240, 0) 70%);
}

.who-we-serve .section-title,
.media .section-title {
  color: #fff;
}

.who-we-serve__text {
  color: #CBD5E1;
}

/* 4. Buttons: pill shape, soft glow, shimmer, sliding arrow */

.btn {
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out), background-position 0.6s var(--ease-out);
}

.btn--primary {
  background-color: var(--color-cyan);
  background-image: linear-gradient(110deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 65%);
  background-size: 250% 100%;
  background-position: 120% 0;
  box-shadow: 0 8px 20px -6px rgba(0, 175, 240, 0.45);
}

.btn--primary::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 0.25s var(--ease-out);
}

.btn--primary:hover {
  background-position: -20% 0;
  box-shadow: 0 12px 28px -6px rgba(0, 175, 240, 0.6);
}

.btn--primary:hover::after {
  transform: translateX(4px);
}

.btn--secondary:hover {
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

/* 5. Thin cyan rule under every section title */

.section-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 2px;
  margin: 1.25rem auto 0;
  background: var(--color-cyan);
  border-radius: 2px;
}

/* 6. Card frames: hairline border, soft shadow, gentle lift on hover */

.team-card,
.service-card,
.pricing-card,
.contact-option,
.media-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.team-card:hover,
.service-card:hover,
.pricing-card:hover,
.contact-option:hover,
.media-card:hover {
  box-shadow: var(--shadow-lift);
}

.pricing-card--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--color-cyan), var(--shadow-soft);
}

.pricing-card--featured:hover {
  box-shadow: 0 0 0 2px var(--color-cyan), var(--shadow-lift);
}

@media (prefers-reduced-motion: no-preference) {
  .team-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .contact-option:hover,
  .media-card:hover {
    transform: translateY(-4px);
  }
}

/* 7. Scroll reveals: longer, smoother rise; cards in a row arrive one after another
      (the delays are set in js/main.js) */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  }
}

/* 8. Header: slims down with a soft shadow once you scroll */

.site-header {
  box-shadow: none;
  border-bottom-color: transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background-color 0.3s;
}

.site-header__inner {
  transition: height 0.3s var(--ease-out);
}

.site-header__logo img {
  transition: transform 0.3s var(--ease-out);
  transform-origin: left center;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 6px 24px -12px rgba(15, 23, 42, 0.25);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.site-header.is-scrolled .site-header__inner {
  height: 4.5rem;
}

.site-header.is-scrolled .site-header__logo img {
  transform: scale(0.8);
}

/* 9. Team photos: thin cyan ring */

.team-card__photo {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--color-cyan), 0 10px 24px -8px rgba(15, 23, 42, 0.3);
}

/* Media banner on navy: room for the hover lift, and soft fades at the edges */
.media__list {
  padding-top: 0.75rem;
  padding-bottom: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
