/* ==========================================================================
   Design system
   ========================================================================== */

:root {
  --navy-950: #0B1220;
  --navy-900: #0F1829;
  --blue-500: #0D6EFD;
  --blue-600: #0A58CA;
  --white: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.72);
  --label: rgba(255, 255, 255, 0.55);

  --font: "Figtree", system-ui, sans-serif;
  --header-height: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 2px solid var(--blue-500);
  --focus-offset: 3px;
  /* Height of the fade below the hero — independent of the text position */
  --seam-runway: 30vh;
  /* Gap between the hero and the What We Do text */
  --what-we-do-offset: 18vh;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--navy-950);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

:focus {
  outline: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.site-footer a:focus-visible,
.nav a:focus-visible,
.mobile-menu a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.brand:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ==========================================================================
   Header / navbar
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.site-header.scrolled {
  background-color: rgba(15, 24, 41, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  min-width: 0;
}

.brand__logo {
  width: auto;
  height: 28px;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__list a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  padding-block: 0.25rem;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

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

.nav__list a[aria-current="page"] {
  color: var(--blue-500);
}

.nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--blue-500);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  z-index: 110;
}

.nav-toggle__bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.3s var(--ease-out);
  margin-inline: auto;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Mobile menu overlay
   ========================================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-950);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    visibility 0.35s var(--ease-out);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.mobile-menu__list a {
  font-weight: 800;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__list a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu__list li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: 0.25s; }

.mobile-menu__list a[aria-current="page"] {
  color: var(--blue-500);
}
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: 0.25s; }

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero + seam (shared background)
   ========================================================================== */

.hero-seam {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy-900);
}

/* Video covers the whole seam — hero plus the fade into What We Do */
.hero-seam__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/*
  Overlay covers the same box as the video. No background-color here:
  a solid fill would sit under the translucent stops and hide the footage.
  Stops are lengths so the fade finishes in the runway below the hero,
  then holds solid navy behind the What We Do text.
*/
.hero-seam__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Blue tint sits on top of the fade, then clears before the solid navy */
  background:
    linear-gradient(
      to bottom,
      rgba(10, 88, 202, 0.11) 0,
      rgba(10, 88, 202, 0.11) calc(0.45 * (100svh + var(--seam-runway))),
      rgba(10, 88, 202, 0) calc(0.78 * (100svh + var(--seam-runway)))
    ),
    linear-gradient(
      to bottom,
      rgba(15, 24, 41, 0.55) 0,
      rgba(15, 24, 41, 0.30) calc(0.25 * (100svh + var(--seam-runway))),
      rgba(15, 24, 41, 0.60) calc(0.52 * (100svh + var(--seam-runway))),
      rgba(15, 24, 41, 0.92) calc(0.68 * (100svh + var(--seam-runway))),
      var(--navy-900) calc(0.90 * (100svh + var(--seam-runway))),
      var(--navy-900) 100%
    );
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding:
    calc(var(--header-height) + 2.5rem)
    1.25rem
    clamp(3rem, 8vw, 5.5rem);
}

.hero__content {
  width: 100%;
  max-width: 40rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

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

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}

.hero p {
  margin-top: 1.25rem;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.125rem);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.75rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid transparent;
  transition:
    background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn--primary {
  background-color: var(--blue-500);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.28);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   What We Do
   ========================================================================== */

.what-we-do {
  position: relative;
  z-index: 2;
  background: none;
  padding-top: var(--what-we-do-offset);
  padding-bottom: clamp(5rem, 12vw, 9rem);
  padding-inline: 1.25rem;
  text-align: center;
}

.what-we-do__inner {
  width: min(720px, 100%);
  margin-inline: auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 1rem;
}

.what-we-do h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   What We Do — cards
   -------------------------------------------------------------------------- */

.cards {
  display: grid;
  gap: 1.5rem;
  width: min(1120px, 100%);
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
}

.card {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.25rem 2rem;
}

.card__media {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
}

.card__title {
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 1.5rem;
}

.card__text {
  margin-top: 0.75rem;
  margin-inline: auto;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ==========================================================================
   How We Operate
   ========================================================================== */

.operate {
  background-color: var(--navy-900);
  padding-block: clamp(4rem, 10vw, 7rem);
  padding-inline: 1.25rem;
}

.operate__inner {
  display: grid;
  gap: 2rem;
  width: min(1120px, 100%);
  margin-inline: auto;
}

.operate h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

.operate .btn {
  margin-top: 2rem;
}

.operate__body p {
  max-width: 52ch;
  color: var(--text-muted);
}

.operate__body strong {
  font-weight: 600;
  color: var(--white);
}

/* --------------------------------------------------------------------------
   How We Operate — pillars
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  gap: 1rem;
  width: min(1120px, 100%);
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  text-align: center;
  background-color: #14346E;
  border-radius: 10px;
  padding: clamp(2rem, 5vw, 3rem) 1.5rem;
}

.pillar__icon {
  width: clamp(4.5rem, 10vw, 6rem);
  height: auto;
  color: var(--white);
}

.pillar__title {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

/* ==========================================================================
   Blog preview
   ========================================================================== */

.blog {
  background-color: var(--navy-900);
  padding-block: clamp(4rem, 10vw, 7rem);
  padding-inline: 1.25rem;
}

.blog__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.blog__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.blog h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
}

/* Small uppercase link with a permanent hairline underline */
.link-underline {
  position: relative;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 0.4rem;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transition: background-color 0.3s var(--ease-out);
}

.post__link:hover .link-underline::after,
a.link-underline:hover::after,
a.link-underline:focus-visible::after {
  background: var(--white);
}

.posts {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

.post__link {
  display: block;
}

.post__media {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.06);
}

.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

.post__title {
  margin-top: 1rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.25s var(--ease-out);
}

.post__link:hover .post__title {
  color: var(--text-muted);
}

.post__cta {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Photo hero (About / Operations)
   ========================================================================== */

.photo-hero,
.about-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding:
    calc(var(--header-height) + 2.5rem)
    1.25rem
    clamp(3rem, 8vw, 5rem);
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero,
.photo-hero--about {
  background-image: url("../poze/bgabout.jpg");
}

.photo-hero--operations {
  background-image: url("../poze/operations.jpg");
}

.photo-hero--contact {
  background-image: url("../poze/office.jpg");
}

.photo-hero__overlay,
.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(15, 24, 41, 0.82) 0%,
    rgba(15, 24, 41, 0.55) 45%,
    rgba(15, 24, 41, 0.35) 100%
  );
}

.photo-hero__fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: clamp(5rem, 14vw, 9rem);
  pointer-events: none;
  background: linear-gradient(
    to top,
    var(--navy-950) 0%,
    rgba(11, 18, 32, 0.65) 40%,
    transparent 100%
  );
}

.photo-hero__content,
.about-hero__content {
  position: relative;
  z-index: 2;
  width: min(40rem, 100%);
}

.photo-hero h1,
.about-hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.photo-hero p,
.about-hero p {
  max-width: 52ch;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.photo-hero p:last-child,
.about-hero p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   About — team
   ========================================================================== */

.team {
  background-color: var(--navy-950);
  padding-block: clamp(4rem, 10vw, 7rem);
  padding-inline: 1.25rem;
  text-align: center;
}

.team__inner {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.team h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.team__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  justify-items: center;
}

.team-member {
  width: min(20rem, 100%);
}

.team-member__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.06);
}

.team-member__name {
  margin-top: 1.25rem;
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.team-member__role {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label);
}

/* ==========================================================================
   Contact details
   ========================================================================== */

.contact-details {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
}

.contact-details__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
}

.contact-details__value {
  display: block;
  font-style: normal;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
}

a.contact-details__value {
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a.contact-details__value:hover {
  color: var(--blue-500);
}

/* ==========================================================================
   Full-width image bands (community / Dubai / global)
   ========================================================================== */

.image-band,
.community {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(22rem, 48vw, 32rem);
  background-color: var(--navy-950);
  overflow: hidden;
}

.image-band__media-wrap,
.community__media-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.image-band__media,
.community__media {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.image-band__shade,
.community__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(15, 24, 41, 0.88) 0%,
    rgba(15, 24, 41, 0.62) 48%,
    rgba(15, 24, 41, 0.35) 100%
  );
  pointer-events: none;
}

.image-band__fade-top,
.image-band__fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: clamp(4.5rem, 12vw, 8rem);
  pointer-events: none;
}

.image-band__fade-top {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--navy-950) 0%,
    rgba(11, 18, 32, 0.55) 45%,
    transparent 100%
  );
}

.image-band__fade-bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    var(--navy-950) 0%,
    rgba(11, 18, 32, 0.55) 45%,
    transparent 100%
  );
}

.image-band__content,
.community__content {
  position: relative;
  z-index: 3;
  width: min(40rem, 100%);
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
}

.image-band h2,
.community h2 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
  text-wrap: balance;
  margin-bottom: 1.25rem;
}

.image-band__content p:not(.section-label),
.community__content p:not(.section-label) {
  max-width: 52ch;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.image-band__content p:not(.section-label):last-child,
.community__content p:not(.section-label):last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Inner pages (blog listing & articles)
   ========================================================================== */

.page-inner .site-header {
  background-color: rgba(15, 24, 41, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.page-hero {
  padding:
    calc(var(--header-height) + clamp(2.5rem, 6vw, 4rem))
    1.25rem
    clamp(2.5rem, 6vw, 4rem);
  background-color: var(--navy-900);
}

.page-hero__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.page-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
  max-width: 18ch;
}

.page-hero p {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--text-muted);
}

.page-section {
  background-color: var(--navy-900);
  padding: 0 1.25rem clamp(4rem, 10vw, 7rem);
}

.page-section__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.article {
  background-color: var(--navy-900);
  padding:
    calc(var(--header-height) + clamp(2rem, 5vw, 3rem))
    1.25rem
    clamp(4rem, 10vw, 7rem);
}

.article__inner {
  width: min(720px, 100%);
  margin-inline: auto;
}

.article__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.06);
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.article__meta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 1rem;
}

.article h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-wrap: balance;
}

.article__body {
  margin-top: 2rem;
}

.article__body p {
  max-width: 52ch;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.article__body strong {
  font-weight: 600;
  color: var(--white);
}

.article__nav {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ==========================================================================
   Footer (minimal for now)
   ========================================================================== */

.site-footer {
  background-color: var(--navy-950);
  padding: clamp(3rem, 8vw, 5rem) 1.25rem 2rem;
}

.site-footer__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  width: min(1120px, 100%);
  margin-inline: auto;
}

.site-footer__tagline {
  margin-top: 1.5rem;
  max-width: 40ch;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__cols {
  display: grid;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
}

.site-footer__list {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.site-footer__list a {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-block: 0.2rem;
  transition: color 0.25s var(--ease-out);
}

.site-footer__list a:hover {
  color: var(--white);
}

.site-footer__legal {
  width: min(1120px, 100%);
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--label);
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .mobile-menu__list a {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Tablet — 768px
   ========================================================================== */

@media (min-width: 768px) {
  .brand__logo {
    height: 32px;
  }

  .hero {
    align-items: center;
    padding-inline: 2rem;
    padding-bottom: clamp(4rem, 10vw, 6rem);
  }

  .hero__content {
    max-width: 36rem;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
  }

  .btn {
    width: auto;
    min-width: 10.5rem;
  }

  .what-we-do {
    padding-inline: 2rem;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .operate {
    padding-inline: 2rem;
  }

  .operate__inner {
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .blog {
    padding-inline: 2rem;
  }

  .page-hero,
  .page-section,
  .article,
  .about-hero,
  .photo-hero,
  .community__content,
  .image-band__content {
    padding-inline: 2rem;
  }

  .team {
    padding-inline: 2rem;
  }

  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }

  .team-member {
    width: 100%;
  }

  .blog__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .blog h2 {
    max-width: 22ch;
  }

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

  .site-footer {
    padding-inline: 2rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

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

/* ==========================================================================
   Desktop — 1024px
   ========================================================================== */

@media (min-width: 1024px) {
  .nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .brand__logo {
    height: 36px;
  }

  .hero {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .hero__content {
    max-width: 42rem;
  }

  .what-we-do {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .what-we-do__inner {
    width: min(780px, 100%);
  }

  .cards {
    gap: 2rem;
  }

  .card {
    padding: 1.5rem 1.5rem 2.25rem;
  }

  .operate {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .operate__inner {
    gap: 5rem;
  }

  .operate__body {
    padding-top: 2.25rem;
  }

  .pillars {
    gap: 1.5rem;
  }

  .blog {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .page-hero,
  .page-section,
  .article,
  .about-hero,
  .photo-hero,
  .community__content,
  .image-band__content {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .team {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .posts {
    gap: 3rem;
  }

  .site-footer {
    padding-inline: clamp(2rem, 6vw, 5rem);
  }

  .site-footer__inner {
    gap: 6rem;
  }

  .site-footer__cols {
    gap: 0.5rem 3rem;
  }
}
