/* Zoom Bahrain (.com) — Events, Advertising, Software, Technology, Sports */

:root {
  --zoom-dark: #065274;
  --zoom-light: #019cdf;
  --navy: #043b54;
  --medium: #087eac;
  --soft: #66c5ec;
  --pale: #d9f2fc;
  --palest: #f1fafe;
  --charcoal: #3b3b3b;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --paper: #f7f8f9;
  --white: #ffffff;
  --ink: #3b3b3b;
  --header-h: 80px;
  --radius-lg: 28px;
  --shadow-lg: 0 30px 80px rgba(4, 59, 84, 0.16);
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

iframe {
  display: block;
  border: 0;
}

h1,
h2,
h3,
h4,
p,
li,
td,
th,
label,
figcaption {
  overflow-wrap: break-word;
}

figure {
  margin: 0;
}

a {
  color: var(--zoom-dark);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 12px;
  color: #fff;
  outline: 2px solid #f58220;
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #f58220;
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zoom-dark);
}

.eyebrow-on-dark {
  color: var(--soft);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  color: var(--charcoal);
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
}

.section {
  position: relative;
  z-index: 2;
  padding: 72px 0;
  background: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.section-head .lead {
  margin-bottom: 0;
}

.section-muted {
  background: var(--paper);
}

.section-pale {
  background: var(--palest);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p,
.section-dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--zoom-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy);
  color: #fff;
}

.btn-dark {
  background: var(--zoom-dark);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--zoom-dark);
  border-color: #fff;
}

.btn-line {
  background: transparent;
  color: var(--zoom-dark);
  border-color: #c5dce6;
}

.btn-line:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: inherit;
  min-width: 0;
}

.logo:hover {
  color: inherit;
}

.logo img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.logo-word {
  display: grid;
  gap: 1px;
  line-height: 1.05;
  min-width: 0;
}

.logo-zoom {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 20px;
  color: var(--zoom-dark);
}

.logo-group {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a,
.nav-links button.has-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links button.has-menu:hover,
.nav-links a[aria-current="page"] {
  color: var(--zoom-dark);
}

.has-menu svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s var(--ease);
}

.has-sub.open .has-menu svg,
.has-sub:hover .has-menu svg,
.has-sub:focus-within .has-menu svg {
  transform: rotate(180deg);
}

.has-sub.dismissed .has-menu svg {
  transform: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--navy);
}

.dropdown {
  display: none;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }

  .header-cta .btn {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .has-sub {
    position: relative;
  }

  .has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 360px;
    height: 16px;
  }

  .dropdown {
    display: grid;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 20;
    width: 360px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(4, 59, 84, 0.1);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  }

  .has-sub:hover .dropdown,
  .has-sub:focus-within .dropdown,
  .has-sub.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .has-sub.dismissed .dropdown,
  .has-sub.dismissed:hover .dropdown,
  .has-sub.dismissed:focus-within .dropdown,
  .has-sub.dismissed.open .dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
  }

  .dropdown a {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    color: var(--navy);
    font-weight: 600;
  }

  .dropdown a small {
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0;
  }

  .dropdown a:hover {
    background: var(--palest);
    color: var(--zoom-dark);
  }
}

/* Mobile navigation */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 999;
  background: #fff;
  overflow: auto;
  padding: 12px 20px 40px;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .mobile-nav {
  display: block;
}

.mobile-nav a:not(.btn),
.mobile-nav button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--navy);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mobile-sub {
  display: none;
  padding: 0 0 8px 12px;
}

.mobile-group.open .mobile-sub {
  display: block;
}

.mobile-sub a {
  font-weight: 500;
  color: var(--charcoal);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 20px;
  color: #fff;
}

@media (min-width: 960px) {
  .mobile-nav,
  body.nav-open .mobile-nav {
    display: none;
  }

  body.nav-open {
    overflow: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  z-index: 0;
  min-height: 0;
  display: grid;
  align-items: end;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.hero:has(.hero-bg) {
  min-height: min(calc(100svh - var(--header-h)), 820px);
}

.hero-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 124%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  transform-origin: center center;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 59, 84, 0.62);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 56px 0 44px;
  max-width: 44rem;
}

.hero:has(.hero-bg) .hero-copy {
  padding: 72px 0 56px;
}

.hero-plain {
  align-items: center;
}

.hero-plain::after {
  display: none;
}

.js .hero-copy {
  animation: hero-copy-in 0.85s var(--ease) both;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1,
.hero p {
  color: #fff;
}

.hero p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.88);
}

.hero-split {
  display: grid;
  background: var(--navy);
  color: #fff;
}

.hero-split .hero-copy {
  padding: 88px 0 56px;
}

.hero-split .hero-copy h1,
.hero-split .hero-copy p {
  color: #fff;
}

.hero-split .hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-split {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 560px;
  }

  .hero-split .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0;
  }

  .hero-split .hero-copy .wrap {
    width: min(560px, calc(100% - 48px));
    margin-left: auto;
    margin-right: 48px;
  }

  .hero-split .hero-media img {
    min-height: 560px;
  }
}

.page-hero {
  position: relative;
  z-index: 0;
  padding: 48px 0 40px;
  background: var(--palest);
  border-bottom: 1px solid var(--line);
}

.hero + .section,
.page-hero + .section {
  box-shadow: 0 -28px 60px rgba(4, 59, 84, 0.1);
}

.page-hero p {
  margin-bottom: 0;
}

/* Our Businesses — photo carousel */
.businesses-section {
  overflow: hidden;
}

.businesses-section .section-head {
  max-width: 40rem;
}

.businesses-section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.businesses-section .eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.biz-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-left: max(16px, calc((100% - var(--max)) / 2));
  overflow-anchor: none;
  scrollbar-width: none;
}

.biz-carousel::-webkit-scrollbar {
  display: none;
}

.biz-carousel:has(.is-js-loop) {
  overflow: hidden;
}

.biz-carousel-track {
  display: flex;
  width: max-content;
}

.biz-carousel-track:not(.is-js-loop):has(.biz-carousel-group + .biz-carousel-group) {
  animation: biz-carousel-loop 56s linear infinite;
}

.biz-carousel-group {
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  padding-inline-end: 16px;
  width: max-content;
}

.biz-bento-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  flex: 0 0 var(--slide-w, min(var(--max), calc(100vw - 32px)));
  width: var(--slide-w, min(var(--max), calc(100vw - 32px)));
  min-width: var(--slide-w, min(var(--max), calc(100vw - 32px)));
  height: 680px;
}

.biz-bento-slide > * {
  min-width: 0;
}

.biz-carousel:hover .biz-carousel-track,
.biz-carousel:focus-within .biz-carousel-track {
  animation-play-state: paused;
}

.biz-carousel-track.is-js-loop {
  animation: none;
}

@keyframes biz-carousel-loop {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.biz-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(4, 59, 84, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.biz-tile.is-featured {
  grid-row: 1 / 3;
}

.biz-tile.is-featured h3 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.biz-tile-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.biz-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 59, 84, 0.12) 32%, rgba(4, 59, 84, 0.78) 100%);
}

.biz-tile-mark {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(4, 59, 84, 0.12);
}

.biz-tile-mark img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 240px;
}

.biz-tile-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  margin-top: auto;
  padding: 26px 24px 24px;
}

.biz-tile-index {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--soft);
}

.biz-tile h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: clamp(1.28rem, 2vw, 1.85rem);
}

.biz-tile p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0;
  max-width: 42ch;
}

.biz-tile .desc {
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.biz-tile .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.biz-tile .more::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.biz-tile:hover,
.biz-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.biz-tile:hover .biz-tile-photo,
.biz-tile:focus-visible .biz-tile-photo {
  transform: scale(1.06);
}

.biz-tile:hover .more::after,
.biz-tile:focus-visible .more::after {
  transform: translateX(4px);
}

.biz-tile:not(.is-featured) .biz-tile-body {
  padding: 18px 18px 16px;
}

.biz-tile:not(.is-featured) h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.biz-tile:not(.is-featured) p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.biz-tile:not(.is-featured) p:not(.desc) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.biz-tile:not(.is-featured) .more {
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .biz-bento-slide {
    height: 560px;
  }

  .biz-tile:hover,
  .biz-tile:focus-visible {
    transform: none;
  }
}

@media (max-width: 699px) {
  .biz-carousel {
    padding-left: 16px;
  }

  .biz-bento-slide {
    grid-template-columns: 1fr;
    grid-template-rows: 340px 230px 230px;
    height: auto;
    gap: 12px;
    flex-basis: var(--slide-w, min(360px, calc(100vw - 32px)));
    width: var(--slide-w, min(360px, calc(100vw - 32px)));
    min-width: var(--slide-w, min(360px, calc(100vw - 32px)));
  }

  .biz-tile.is-featured {
    grid-row: auto;
  }

  .biz-tile.is-featured h3 {
    font-size: clamp(1.4rem, 6vw, 1.85rem);
  }
}

/* Split editorial */
.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.essay-kicker {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.essay-kicker img {
  width: auto;
  height: 40px;
  max-width: min(280px, 100%);
  aspect-ratio: auto;
  object-fit: contain;
}

.photo-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 18px 50px rgba(6, 82, 116, 0.1);
}

.photo-frame img,
.split .photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split:has(.essay-carousel) {
  align-items: stretch;
}

.essay-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: 0 18px 50px rgba(6, 82, 116, 0.1);
}

.essay-carousel-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.essay-carousel-track {
  display: flex;
  height: 100%;
  width: max-content;
}

.essay-carousel-track:not(.is-js-loop):has(.essay-carousel-group + .essay-carousel-group) {
  animation: essay-carousel-loop 32s linear infinite;
}

.essay-carousel-group {
  display: flex;
  flex-shrink: 0;
  height: 100%;
}

.essay-slide,
.split .essay-slide {
  display: block;
  flex: 0 0 var(--slide-w, 100%);
  width: var(--slide-w, 100%);
  height: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.essay-carousel:hover .essay-carousel-track,
.essay-carousel:focus-within .essay-carousel-track {
  animation-play-state: paused;
}

@keyframes essay-carousel-loop {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (min-width: 860px) {
  .essay-carousel {
    min-height: 520px;
  }
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .split-reverse {
    direction: rtl;
  }

  .split-reverse > * {
    direction: ltr;
  }
}

/* Capability chain */
.chain {
  display: grid;
  gap: 20px;
}

.chain-item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 0;
}

.chain-item-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(6, 82, 116, 0.1);
}

.chain-item strong {
  color: var(--navy);
}

.chain-item span {
  color: var(--muted);
}

@media (min-width: 800px) {
  .chain {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Service lists */
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.service-list li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.service-list strong {
  color: var(--navy);
}

.service-list span {
  color: var(--muted);
}

@media (min-width: 800px) {
  .service-list.two {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }
}

.need-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.need-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--charcoal);
}

.need-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 1px;
  background: var(--zoom-light);
}

/* Related */
.related {
  display: grid;
  gap: 16px;
}

.related a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
}

.related a small {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  color: var(--muted);
}

.related a:hover {
  color: var(--zoom-dark);
}

@media (min-width: 800px) {
  .related {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

/* Work gallery */
.work-grid {
  display: grid;
  gap: 12px;
}

.work-grid figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-grid figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 700px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .work-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Why */
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.why-list h3 {
  margin-bottom: 8px;
}

.why-list p {
  margin: 0;
}

@media (min-width: 800px) {
  .why-list {
    grid-template-columns: 1fr 1fr;
    gap: 36px 48px;
  }
}

/* CTA band */
.cta-band {
  display: grid;
  gap: 24px;
}

.cta-band p:last-child {
  margin-bottom: 0;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: end;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-points a {
  font-weight: 600;
}

.contact-points p {
  margin-bottom: 18px;
}

.map-frame {
  min-height: 320px;
  background: var(--paper);
}

.map-frame iframe {
  width: 100%;
  height: 360px;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #cfd8de;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  min-height: 48px;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form .honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 0;
  padding: 12px 14px;
  background: var(--pale);
  color: var(--navy);
  font-weight: 500;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
  }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 36px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
  color: #fff;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  }
}

/* About extras */
.meta-row {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.meta-row div strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

@media (min-width: 700px) {
  .meta-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Scroll reveals */
.js .reveal {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal-up {
  transform: translate3d(0, 28px, 0);
}

.js .reveal-left {
  transform: translate3d(-40px, 0, 0);
}

.js .reveal-right {
  transform: translate3d(40px, 0, 0);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg {
    transform: none !important;
  }

  .js .hero-copy,
  .js .reveal,
  .js .reveal.is-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .biz-carousel {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .biz-carousel-track,
  .biz-carousel-track.is-js-loop {
    animation: none !important;
    transform: none !important;
  }

  .biz-carousel-group + .biz-carousel-group,
  .essay-carousel-group + .essay-carousel-group {
    display: none !important;
  }

  .essay-carousel-track,
  .essay-carousel-track.is-js-loop {
    animation: none !important;
    transform: none !important;
  }

  .essay-carousel-viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .biz-tile:hover,
  .biz-tile:focus-visible,
  .biz-tile-photo {
    transform: none !important;
  }
}

@media (max-width: 639px) {
  .section {
    padding: 56px 0;
  }

  .hero-copy {
    padding: 48px 0 36px;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .logo-zoom {
    font-size: 17px;
  }

  .logo-group {
    font-size: 9px;
  }

  .header-cta .btn {
    display: none;
  }
}
