/* Ezar Endeavours — logo-driven palette */
:root {
  --navy: #1a2b56;
  --navy-soft: #2a3d6e;
  --blue: #0054a6;
  --blue-bright: #0072ce;
  --purple: #662d91;
  --magenta: #d4145a;
  --cyan: #00aeef;
  --cyan-soft: #5edfff;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --mist: #e8eef6;
  --text: #1a2b56;
  --muted: #5a6a8a;
  --line: rgba(26, 43, 86, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    height 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.35s var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(26, 43, 86, 0.06);
}

.site-header.scrolled::before {
  background: rgba(255, 255, 255, 0.94);
}

.site-header.nav-open {
  border-bottom-color: transparent;
  box-shadow: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.logo-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.logo-link img {
  height: 2.6rem;
  width: auto;
  transition: height 0.35s var(--ease);
}

.site-header.scrolled .logo-link img {
  height: 2.25rem;
}

.logo-text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.logo-text span {
  font-size: 0.68rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .logo-text {
    display: flex;
  }
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}

.nav-toggle:hover {
  background: rgba(26, 43, 86, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.4s var(--ease),
    opacity 0.3s var(--ease),
    background 0.3s;
}

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

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

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

/* Full-screen mobile drawer — fixed to viewport, outside header stacking quirks */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(26, 43, 86, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 195;
  width: min(100%, 22rem);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 1.75rem 2.5rem;
  gap: 0.15rem;
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  box-shadow: -16px 0 48px rgba(26, 43, 86, 0.12);
  transition:
    transform 0.5s var(--ease),
    visibility 0.5s,
    box-shadow 0.5s var(--ease);
}

.site-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.site-nav > a,
.site-nav > .nav-dropdown {
  opacity: 0;
  transform: translateX(1.25rem);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    color 0.25s;
}

.site-nav.open > a,
.site-nav.open > .nav-dropdown {
  opacity: 1;
  transform: translateX(0);
}

.site-nav.open > a:nth-child(1),
.site-nav.open > .nav-dropdown:nth-child(1) {
  transition-delay: 0.08s;
}
.site-nav.open > a:nth-child(2),
.site-nav.open > .nav-dropdown:nth-child(2) {
  transition-delay: 0.14s;
}
.site-nav.open > a:nth-child(3),
.site-nav.open > .nav-dropdown:nth-child(3) {
  transition-delay: 0.2s;
}
.site-nav.open > a:nth-child(4),
.site-nav.open > .nav-dropdown:nth-child(4) {
  transition-delay: 0.26s;
}
.site-nav.open > a:nth-child(5),
.site-nav.open > .nav-dropdown:nth-child(5) {
  transition-delay: 0.32s;
}
.site-nav.open > a:nth-child(6),
.site-nav.open > .nav-dropdown:nth-child(6) {
  transition-delay: 0.38s;
}

.site-nav > a {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 600;
  padding: 0.7rem 0.35rem;
  letter-spacing: -0.02em;
  position: relative;
  border-radius: var(--radius);
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  bottom: 0.45rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 0.35s var(--ease);
}

.site-nav > a:hover::after,
.site-nav > a[aria-current="page"]::after {
  width: 2rem;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
  color: var(--blue-bright);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.7rem 0.35rem;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
  transition: color 0.25s;
}

.nav-dropdown > button:hover {
  color: var(--blue-bright);
}

.nav-dropdown > button::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2rem;
  transition: transform 0.35s var(--ease);
}

.nav-dropdown.open > button::after {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.dropdown-menu {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 0 0 0.85rem;
  transition: grid-template-rows 0.4s var(--ease), padding 0.35s var(--ease);
}

.dropdown-menu > .dropdown-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-height: 0;
}

.nav-dropdown.open .dropdown-menu {
  grid-template-rows: 1fr;
  padding: 0.15rem 0 0.85rem 0.85rem;
}

.dropdown-menu a {
  font-family: var(--font-body);
  font-size: 1rem !important;
  font-weight: 500;
  color: var(--muted);
  padding: 0.4rem 0.35rem;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    color 0.25s,
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    background 0.25s;
}

.nav-dropdown.open .dropdown-menu a {
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown.open .dropdown-menu a:nth-child(1) { transition-delay: 0.05s; }
.nav-dropdown.open .dropdown-menu a:nth-child(2) { transition-delay: 0.08s; }
.nav-dropdown.open .dropdown-menu a:nth-child(3) { transition-delay: 0.11s; }
.nav-dropdown.open .dropdown-menu a:nth-child(4) { transition-delay: 0.14s; }
.nav-dropdown.open .dropdown-menu a:nth-child(5) { transition-delay: 0.17s; }
.nav-dropdown.open .dropdown-menu a:nth-child(6) { transition-delay: 0.2s; }
.nav-dropdown.open .dropdown-menu a:nth-child(7) { transition-delay: 0.23s; }
.nav-dropdown.open .dropdown-menu a:nth-child(8) { transition-delay: 0.26s; }

.dropdown-menu a:hover {
  color: var(--magenta);
}

@media (min-width: 960px) {
  .nav-toggle,
  .nav-backdrop {
    display: none !important;
  }

  .site-nav {
    position: static;
    width: auto;
    height: auto;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.5rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  .site-nav > a,
  .site-nav > .nav-dropdown {
    opacity: 1 !important;
    transform: none !important;
    transition: color 0.25s;
  }

  .site-nav > a,
  .nav-dropdown > button {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.4rem 0.15rem;
    width: auto;
  }

  .site-nav > a::after {
    left: 0.15rem;
    bottom: 0.1rem;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 250px;
    padding: 0.75rem 0 0 !important;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
    grid-template-rows: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition:
      opacity 0.25s var(--ease),
      transform 0.25s var(--ease),
      visibility 0.25s;
  }

  /* Invisible bridge so the cursor can travel into the menu without leaving hover */
  .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 0.75rem;
  }

  .dropdown-menu > .dropdown-inner {
    overflow: visible;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(26, 43, 86, 0.1);
    padding: 0.65rem;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    grid-template-rows: none;
  }

  .dropdown-menu a {
    opacity: 1;
    transform: none;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius);
    transition-delay: 0s !important;
  }

  .dropdown-menu a:hover {
    background: var(--off-white);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple) 55%, var(--magenta) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(102, 45, 145, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(212, 20, 90, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: -14% 0;
  z-index: 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, 0, 0) scale(1.12);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(26, 43, 86, 0.88) 0%, rgba(26, 43, 86, 0.55) 42%, rgba(26, 43, 86, 0.2) 72%, transparent 100%),
    linear-gradient(0deg, rgba(26, 43, 86, 0.45) 0%, transparent 45%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.hero-brand {
  margin-bottom: 1.25rem;
}

.hero-brand .brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  animation: fadeUp 0.9s 0.08s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 22ch;
  margin: 1rem 0 0.85rem;
  color: rgba(255, 255, 255, 0.92);
  animation: fadeUp 0.9s 0.16s var(--ease) both;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  max-width: 38ch;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.9s 0.24s var(--ease) both;
}

.hero .btn-group {
  animation: fadeUp 0.9s 0.32s var(--ease) both;
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-ghost:hover {
  border-color: var(--cyan-soft);
  color: var(--cyan-soft);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--off-white);
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.04), rgba(212, 20, 90, 0.04));
  pointer-events: none;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}

.section-head h2,
.page-hero h1,
.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
}

.section-head p,
.lead {
  color: var(--muted);
  margin-top: 0.85rem;
  font-size: 1.08rem;
}

/* —— Services grid —— */
.services-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

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

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.service-link {
  display: block;
  padding: 0 0 1.75rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 0.35s var(--ease), color 0.25s;
  position: relative;
  overflow: hidden;
}

.service-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--purple), var(--magenta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-link:hover {
  background: var(--white);
}

.service-link:hover::before {
  transform: scaleX(1);
}

.service-link .service-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.service-link .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-link:hover .service-thumb img {
  transform: scale(1.05);
}

.service-link .service-body {
  padding: 0 1.5rem;
}

.service-link .num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.service-link h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.service-link p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.service-link .arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: transform 0.3s var(--ease), color 0.3s;
}

.service-link:hover .arrow {
  transform: translateX(6px);
  color: var(--magenta);
}

/* —— About strip —— */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.split-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 480px;
  margin-inline: auto;
  overflow: hidden;
}

.split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.split-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

/* —— CTA band —— */
.cta-band {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(0, 174, 239, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% 50%, rgba(212, 20, 90, 0.3), transparent 50%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.cta-band p {
  opacity: 0.8;
  margin-top: 0.5rem;
  max-width: 36ch;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--cyan-soft);
  color: var(--navy);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(0, 174, 239, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(102, 45, 145, 0.1), transparent 45%),
    linear-gradient(180deg, #f0f6ff, var(--white));
}

.page-hero.has-photo {
  min-height: min(72vh, 560px);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  color: var(--white);
  background: var(--navy);
}

.page-hero.has-photo .page-hero-media {
  position: absolute;
  inset: -10% 0;
  overflow: hidden;
}

.page-hero.has-photo .page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.page-hero.has-photo .page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 43, 86, 0.9) 0%, rgba(26, 43, 86, 0.55) 50%, rgba(26, 43, 86, 0.25) 100%),
    linear-gradient(0deg, rgba(26, 43, 86, 0.5), transparent 50%);
}

.page-hero.has-photo .container {
  position: relative;
  z-index: 1;
}

.page-hero.has-photo .eyebrow {
  color: var(--cyan-soft);
}

.page-hero.has-photo h1,
.page-hero.has-photo .lead {
  color: var(--white);
}

.page-hero.has-photo .lead {
  opacity: 0.85;
}

.page-hero .eyebrow {
  animation: fadeUp 0.7s var(--ease) both;
}

.page-hero h1 {
  animation: fadeUp 0.7s 0.08s var(--ease) both;
  max-width: 16ch;
}

.page-hero .lead {
  animation: fadeUp 0.7s 0.16s var(--ease) both;
  max-width: 42ch;
}

.section-photo {
  margin: 0 0 2.5rem;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  max-width: 100%;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .section-photo {
    aspect-ratio: 16 / 10;
  }
}

/* —— Content —— */
.content-block {
  max-width: 42rem;
}

.content-block p + p {
  margin-top: 1rem;
}

.content-block ul {
  margin: 1.25rem 0;
  display: grid;
  gap: 0.65rem;
}

.content-block li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--muted);
}

.content-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
}

.feature-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 700px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

.contact-info {
  display: grid;
  gap: 1.75rem;
}

.contact-item h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}

.contact-item a {
  font-size: 1.15rem;
  font-weight: 600;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--magenta);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(0, 114, 206, 0.12);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

/* —— Blog —— */
.blog-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 700px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.blog-post {
  display: block;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.25s;
}

.blog-post:hover {
  opacity: 0.85;
}

.blog-post .blog-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1rem;
}

.blog-post .blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.blog-post:hover .blog-thumb img {
  transform: scale(1.04);
}

.blog-post .meta {
  font-size: 0.8rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-post h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.blog-post p {
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-article {
  max-width: 40rem;
  margin-inline: auto;
}

.blog-article .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 2rem;
}

.blog-article p {
  margin-bottom: 1.15rem;
  color: var(--muted);
}

.blog-article h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2rem 0 0.85rem;
  letter-spacing: -0.02em;
}

/* —— Footer —— */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.75;
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--cyan-soft);
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  padding: 0.3rem 0;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--cyan-soft);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  opacity: 0.6;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links a {
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.footer-legal-links a:hover {
  opacity: 1;
  color: var(--cyan-soft);
}

/* —— Legal pages —— */
.legal-content {
  max-width: 44rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--navy);
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.legal-content li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--muted);
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* —— Utility —— */
.mt-2 {
  margin-top: 2rem;
}

.text-link {
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}
