/* ==========================================================================
   Sky Crest Company: landing page styles
   Minimal, solid colours taken from the logo wordmark:
   purple (SKY CREST) and blue (COMPANY).
   ========================================================================== */

/* Self-hosted Google Fonts (latin subset, SIL Open Font License; see assets/fonts/OFL-*.txt) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

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

:root {
  --purple: #410171;
  --purple-dark: #2e0150;
  --purple-tint: #f4f0f8;
  --blue: #0077c2;
  --blue-light: #7cc4f0;

  --ink: #15112b;
  --text: #46435c;
  --muted: #66637c;
  --line: #e8e7ef;
  --line-strong: #d4d1df;
  --bg: #ffffff;
  --bg-soft: #f8f7fb;
  --dark: #150e2b;

  --navy: #0e0a20;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --overlay: rgba(14, 10, 32, 0.72);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(21, 17, 43, 0.04), 0 14px 34px -20px rgba(21, 17, 43, 0.22);
  --shadow-lg: 0 2px 4px rgba(21, 17, 43, 0.05), 0 32px 64px -28px rgba(21, 17, 43, 0.4);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: clamp(56px, 8vw, 96px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --header-h: 76px;
  --gutter: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Michroma", "Plus Jakarta Sans", system-ui, sans-serif;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--blue);
  text-decoration: none;
}

address {
  font-style: normal;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.accent {
  color: var(--blue);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, #5a0aa0 100%);
  box-shadow: 0 10px 24px -12px rgba(65, 1, 113, 0.7);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
  box-shadow: 0 14px 30px -12px rgba(65, 1, 113, 0.8);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* Over the photo hero the primary button goes white-on-brand and the ghost goes outline white. */
.hero .btn--primary {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}

.hero .btn--primary:hover {
  background: var(--purple-tint);
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.hero :focus-visible {
  outline-color: #fff;
}

.btn--sm {
  min-height: 42px;
  padding: 0.65rem 1.2rem;
  font-size: 0.92rem;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--surface-glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: height 0.3s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled,
.nav-open .site-header {
  --header-h: 66px;
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(21, 17, 43, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  width: 50px;
  height: auto;
}

.brand__word {
  width: 130px;
  height: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--purple);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 899.98px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: var(--gutter);
    right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
  }

  .nav__link {
    padding: 13px 12px;
    border-radius: 10px;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover,
  .nav__link.is-active {
    background: var(--bg-soft);
  }

  .nav__menu .btn {
    margin-top: 6px;
  }
}

@media (min-width: 640px) {
  .brand__mark { width: 56px; }
  .brand__word { width: 146px; }
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 100svh, 960px);
  padding: calc(var(--header-h) + 48px) 0 clamp(88px, 12vh, 120px);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform-origin: 60% 50%;
  animation: hero-zoom 1.8s var(--ease) both;
}

/* Brand overlay: purple to ink navy, never below 0.55 opacity behind the copy. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21, 14, 43, 0.88) 0%, rgba(65, 1, 113, 0.62) 58%, rgba(14, 10, 32, 0.58) 100%);
}

.hero__inner {
  position: relative;
}

/* The small label above is the page's <h1>; this is the large visual headline. */
.hero__title {
  max-width: 15ch;
  margin: 0 0 0.5em;
  color: #fff;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero .accent {
  color: var(--blue-light);
}

.hero .section-label {
  margin-bottom: 24px;
  color: var(--blue-light);
}

/* Hero content rises in once on load. CSS only, so it never waits for scripts. */
.hero__copy > * {
  animation: rise-in 0.8s var(--ease) both;
}

.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__copy > :nth-child(5) { animation-delay: 0.32s; }

.hero__lead {
  max-width: 36rem;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.hero__tags li {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
}

.hero__cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: cue 2s var(--ease) infinite;
}

@media (max-width: 479.98px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 639.98px) {
  .hero__cue { display: none; }
}

/* ---------- Sectors ---------- */

.sectors {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.sectors__inner {
  display: grid;
  gap: 14px;
  align-items: center;
}

.sectors__title {
  margin: 0;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Two identical lists side by side; shifting the track by half loops seamlessly. */
.marquee {
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__list {
  display: flex;
  flex-shrink: 0;
}

.marquee__list li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__list li::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

@media (min-width: 960px) {
  .sectors__inner {
    grid-template-columns: auto 1fr;
    gap: 40px;
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 136px);
}

.section h2 {
  font-size: clamp(1.9rem, 1.25rem + 2.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section h3 {
  font-size: 1.14rem;
  font-weight: 600;
  margin-bottom: 0.45em;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.5;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

.hero .section-label {
  margin-bottom: 24px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Photo banner above a section head (2:1, rounded, soft shadow) */
.section-banner {
  overflow: hidden;
  max-width: 1100px;
  aspect-ratio: 2 / 1;
  margin: 0 auto clamp(40px, 6vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--purple-tint);
  box-shadow: var(--shadow-lg);
}

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

.icon-tile {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-tint);
  color: var(--purple);
  transition: background-color 0.3s, color 0.3s;
}

.icon-tile svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-tile--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.icon-tile--sm svg {
  width: 21px;
  height: 21px;
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  gap: clamp(48px, 8vw, 72px);
  align-items: center;
}

.about__media {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-bottom: 28px;
}

.about__photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow-lg);
}

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

.about__card {
  position: absolute;
  top: 18px;
  left: -8px;
  width: clamp(128px, 36%, 168px);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.about__card img {
  width: 100%;
  height: auto;
}

.about__badge {
  position: absolute;
  right: -8px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 479.98px) {
  .about__card { left: 8px; }
  .about__badge { right: 8px; }
}

.about__badge strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
}

.about__badge small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.about__copy > p {
  color: var(--muted);
}

.checklist {
  display: grid;
  gap: 14px 24px;
  margin-top: 28px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat,
    var(--purple);
}

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

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

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

.services {
  background: var(--bg-soft);
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  overflow: hidden;
  padding: 0 0 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

/* Reveal sets its own transition and the hidden state lives under .js, so re-declare the card's transition and lift here */
.js .card.is-visible {
  transition: opacity 0.8s var(--ease), transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
  transition-delay: var(--d, 0s);
}

.js .card.is-visible:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.card__media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin-bottom: 26px;
  background: var(--purple-tint);
}

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

.card:hover .card__media img {
  transform: scale(1.04);
}

.card:hover .icon-tile {
  background: var(--purple);
  color: #fff;
}

.card .icon-tile {
  margin: 0 28px 22px;
}

.card h3 {
  margin: 0 28px 0.45em;
}

.card p {
  margin: 0 28px;
  color: var(--muted);
  font-size: 0.99rem;
}

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

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

/* ---------- Why us ---------- */

.why {
  isolation: isolate;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background: var(--dark);
}

/* Full-bleed photo behind the content, under a dark purple to navy overlay */
.why__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: contrast(1.08) saturate(1.1);
}

.why__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 1, 80, 0.64) 0%, rgba(14, 10, 32, 0.74) 100%);
}

.why h2,
.why h3 {
  color: #fff;
}

.section-head--light .section-label {
  color: var(--blue-light);
}

.why__grid {
  display: grid;
  gap: 16px;
}

.why__item {
  padding: 30px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(14, 8, 40, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}

.why__item:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.why__item p {
  margin: 0;
  font-size: 0.99rem;
}

.why__num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

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

@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* ---------- Process ---------- */

.steps {
  position: relative;
  display: grid;
  gap: 36px;
  max-width: 1060px;
  margin-inline: auto;
}

/* Track + progress line (vertical on mobile, horizontal on desktop) */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 26px;
  width: 1px;
}

.steps::before {
  background: var(--line);
}

.steps::after {
  background: var(--purple);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.4s var(--ease) 0.2s;
}

.steps.is-visible::after {
  transform: none;
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  align-content: start;
}

.step__dot {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.step:hover .step__dot {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 6px var(--purple-tint);
}

.step h3 {
  margin-top: 12px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .steps::before,
  .steps::after {
    top: 27px;
    bottom: auto;
    left: 12.5%;
    right: 12.5%;
    width: auto;
    height: 1px;
  }

  .steps::after {
    transform: scaleX(0);
    transform-origin: left;
  }

  .step {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 6px;
  }

  .step h3 {
    margin-top: 18px;
  }
}

/* ---------- Contact ---------- */

.contact {
  background: var(--bg-soft);
}

.contact__grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 18px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.info-card h3 {
  margin: 1px 0 4px;
  font-size: 1rem;
}

.info-card address,
.info-card a {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.info-card a {
  color: var(--blue);
  font-weight: 500;
}

.info-card a:hover {
  text-decoration: underline;
}

.map {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eeedf3;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  font-weight: 500;
  font-size: 0.95rem;
}

.map__link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map__link:hover {
  text-decoration: underline;
}

.contact-form {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  gap: 0 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.field .req {
  color: var(--purple);
}

.field .opt {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.field ::placeholder {
  color: #9b99ad;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315112b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 15px center / 17px no-repeat;
  cursor: pointer;
}

/* Visible focus ring for keyboard and pointer users alike */
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(65, 1, 113, 0.16);
}

.field [aria-invalid="true"] {
  border-color: #c9304c;
}

.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(201, 48, 76, 0.12);
}

.field__error {
  margin: 6px 0 0;
  color: #b3243f;
  font-size: 0.85rem;
  line-height: 1.4;
}

.field__error:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.contact-form.is-loading .btn__spinner {
  display: block;
}

.contact-form.is-loading .btn__icon {
  display: none;
}

.contact-form.is-loading button[type="submit"] {
  pointer-events: none;
  opacity: 0.85;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.55;
}

.form-status.is-success,
.form-status.is-error {
  display: flex;
  animation: fade-in 0.4s var(--ease);
}

.form-status.is-success {
  background: #ecf7f1;
  color: #0e6340;
}

.form-status.is-error {
  background: #fcedf0;
  color: #96193a;
}

.form-status svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-status a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

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

@media (min-width: 960px) {
  .contact__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
  }
}

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

.site-footer {
  padding-top: 64px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--navy) 100%);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.96rem;
}

.site-footer :focus-visible {
  outline-color: var(--blue-light);
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand img {
  width: 160px;
  height: auto;
  margin-bottom: 18px;
}

.footer__brand p {
  max-width: 300px;
  margin: 0;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__col h2 {
  margin-bottom: 8px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer__col a,
.footer__top {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.footer__col a:hover,
.footer__top:hover {
  color: #fff;
}

.footer__col address {
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.footer__top svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 860px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
  }
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* The process list only drives its progress line; its steps reveal individually. */
.js [data-reveal="line"] {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */

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

@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 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;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero__img,
  .hero__cue::after {
    animation: none;
    transform: none;
  }

  .btn:hover,
  .btn:hover svg {
    transform: none;
  }

  .card:hover,
  .js .card.is-visible:hover {
    transform: none;
  }

  .card:hover .card__media img {
    transform: none;
  }

  /* Show the sectors as a still, wrapped list instead of scrolling */
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track {
    width: auto;
    animation: none;
  }

  .marquee__list {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .marquee__list[aria-hidden="true"] {
    display: none;
  }
}
