/* AP Construction — premium railway infrastructure */

:root {
  --bg-deep: #060a10;
  --bg: #0c1219;
  --bg-elevated: #111923;
  --bg-card: #141c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e8edf4;
  --text-muted: #8b98ab;
  --accent: #c9a45c;
  --accent-dim: rgba(201, 164, 92, 0.15);
  --accent-glow: rgba(201, 164, 92, 0.35);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 4.5rem;
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --container: min(1280px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #e0c47a;
}

address {
  font-style: normal;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(6, 10, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(145deg, var(--accent), #8a6d38);
  color: var(--bg-deep);
  font-size: 1rem;
  font-weight: 800;
  border-radius: 4px;
}

.logo-text {
  font-size: 1.125rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-list a:hover {
  color: var(--text);
}

.btn-header {
  font-size: 0.8125rem;
  padding: 0.6rem 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--text);
  transition: transform 0.25s var(--ease-out-expo);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  align-items: stretch;
  padding: 0.75rem clamp(1rem, 4vw, 1.5rem) calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(75vh, calc(100vh - var(--header-h)));
  max-height: min(75vh, calc(100dvh - var(--header-h)));
  -webkit-overflow-scrolling: touch;
  z-index: 1001;
}

.mobile-nav a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: var(--text);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mobile-nav a:last-of-type {
  border-bottom: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .header-inner {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(0.75rem, 4vw, 1.25rem);
    box-sizing: border-box;
    gap: 0.75rem;
    min-width: 0;
  }

  .logo {
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-text {
    font-size: clamp(0.875rem, 3.5vw, 1.125rem);
  }

  .nav,
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  padding: 0.875rem 1.75rem;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #d4b068 0%, var(--accent) 50%, #9a7840 100%);
  color: var(--bg-deep);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

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

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

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 3rem) 1.5rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease-out-expo);
  z-index: 0;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.3s ease;
  }
}

.hero-slider-ui {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 10, 16, 0.5);
  color: var(--accent);
  cursor: pointer;
  border-radius: 2px;
  pointer-events: auto;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out-expo);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-nav:hover {
  background: rgba(201, 164, 92, 0.15);
  border-color: rgba(201, 164, 92, 0.45);
  color: #e0c47a;
}

.hero-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-nav--prev {
  left: clamp(0.65rem, 3vw, 1.35rem);
}

.hero-nav--next {
  right: clamp(0.65rem, 3vw, 1.35rem);
}

.hero-nav svg {
  display: block;
}

.hero-dots {
  position: absolute;
  bottom: clamp(5rem, 12vh, 6.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
  padding: 0.35rem 0.65rem;
  border-radius: 100px;
  background: rgba(6, 10, 16, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

.hero-dot.is-active {
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  transform: scale(1.2);
}

.hero-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .hero-nav {
    width: 2.4rem;
    height: 2.4rem;
  }

  .hero-nav--prev {
    left: 0.5rem;
  }

  .hero-nav--next {
    right: 0.5rem;
  }

  .hero-dots {
    bottom: clamp(4.25rem, 10vh, 5.5rem);
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 10, 16, 0.92) 0%,
    rgba(6, 10, 16, 0.65) 45%,
    rgba(6, 10, 16, 0.45) 100%
  );
}

.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 65% at 50% 100%, transparent 0%, rgba(6, 10, 16, 0.85) 100%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(201, 164, 92, 0.06) 0%, transparent 55%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 75%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 6;
  width: min(920px, 100%);
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.hero-eyebrow-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.95;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 4px 48px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 38em;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-line {
    animation: none;
  }

  .service-card:hover .service-icon,
  .service-card:hover,
  .project-card:hover .project-card-media img,
  .project-card:hover .project-card-arrow,
  .why-item:hover {
    transform: none;
  }
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding-block: var(--section-y);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: #f0f4f8;
}

.section-desc {
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0;
  font-size: 1.0625rem;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head .section-desc {
  margin-top: 1rem;
}

.section-head .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.section-head .section-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 14px var(--accent-glow);
  flex-shrink: 0;
}

.lead {
  font-size: 1.125rem;
  color: #c5ced9;
  margin: 0 0 2rem;
  line-height: 1.75;
}

/* ——— About ——— */
.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

.about::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  background: radial-gradient(circle, rgba(201, 164, 92, 0.09) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-points li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.about-points strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.about-points span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-media,
.safety-media,
.quality-media {
  margin: 0;
  position: relative;
}

.about-media img,
.safety-media img,
.quality-media img {
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.about-media figcaption,
.safety-media figcaption,
.quality-media figcaption {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

/* ——— Clients ——— */
.clients {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--border);
}

.clients::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: min(70vw, 36rem);
  height: min(70vw, 36rem);
  background: radial-gradient(circle, rgba(201, 164, 92, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.clients .container {
  position: relative;
  z-index: 1;
}

.clients-head {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.clients-head .section-desc {
  margin-inline: auto;
}

.clients-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem 1.25rem;
  align-items: stretch;
}

.clients-grid-item {
  margin: 0;
  min-width: 0;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  width: 100%;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.client-logo:hover {
  border-color: rgba(201, 164, 92, 0.3);
  background: rgba(201, 164, 92, 0.04);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.client-logo img {
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.client-logo:hover img {
  opacity: 1;
}

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

@media (max-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .client-logo {
    min-height: 4.75rem;
    padding: 0.75rem 0.65rem;
  }

  .client-logo img {
    max-height: 2.75rem;
  }
}

/* ——— Services ——— */
.services {
  background: var(--bg);
  border-block: 1px solid var(--border);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem 2.25rem;
  border-radius: 2px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.service-icon {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.35s var(--ease-out-expo);
}

.service-card:hover .service-icon {
  opacity: 1;
  transform: scale(1.06);
}

.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card-wide {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: auto;
  }
}

/* ——— Projects ——— */
.projects {
  background: var(--bg-deep);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.35s ease;
}

.project-card:hover {
  border-color: rgba(201, 164, 92, 0.35);
}

.project-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.project-card:hover .project-card-media img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 10, 16, 0.92) 100%);
  pointer-events: none;
}

.project-card-body {
  position: relative;
  padding: 1.5rem 3.25rem 1.75rem 1.5rem;
}

.project-card-arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 2px;
  border: 1px solid rgba(201, 164, 92, 0.35);
  background: rgba(201, 164, 92, 0.08);
  color: var(--accent);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.25s ease, background 0.25s ease;
}

.project-card:hover .project-card-arrow {
  transform: translateX(4px);
  border-color: rgba(201, 164, 92, 0.55);
  background: rgba(201, 164, 92, 0.14);
}

.project-card-arrow svg {
  display: block;
}

.project-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.project-card-body p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

/* ——— Expertise ——— */
.expertise {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 164, 92, 0.08) 0%, transparent 55%), var(--bg);
  border-block: 1px solid var(--border);
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

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

.expertise-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.expertise-item:hover {
  background: var(--bg-elevated);
  border-color: rgba(201, 164, 92, 0.2);
}

.expertise-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 2px;
  background: rgba(201, 164, 92, 0.08);
  border: 1px solid rgba(201, 164, 92, 0.22);
  color: var(--accent);
}

.expertise-icon svg {
  display: block;
}

.expertise-item h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--accent);
}

.expertise-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Why ——— */
.why {
  background: var(--bg-deep);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-item {
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: linear-gradient(165deg, var(--bg-card) 0%, rgba(17, 25, 35, 0.6) 100%);
  transition: transform 0.35s var(--ease-out-expo), border-color 0.3s ease;
}

.why-item:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.35);
}

.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.15rem;
  border-radius: 2px;
  background: rgba(201, 164, 92, 0.1);
  border: 1px solid rgba(201, 164, 92, 0.28);
  color: var(--accent);
}

.why-icon svg {
  display: block;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #fff;
}

.why-item p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Safety policy ——— */
.safety {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 45%);
  border-top: 1px solid var(--border);
}

.safety-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.safety-copy .section-head {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.safety-policy {
  margin-top: 0;
  max-width: none;
}

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

.safety-intro {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #c5ced9;
  margin: 0 0 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.safety-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.safety-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.safety-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ——— Quality assurance ——— */
.quality {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.quality-copy .section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.quality-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #b8c4d4;
  font-style: italic;
  margin: 0.75rem 0 0;
  max-width: 40rem;
}

.quality-policy {
  margin-top: 0;
  max-width: none;
  padding-top: 0.5rem;
}

.quality-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quality-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.quality-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--accent-glow);
}

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

/* Quality objectives table */
.quality-objectives-block {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--border);
}

.quality-objectives-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 42rem;
}

.quality-objectives-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.65rem;
  color: #f0f4f8;
}

.quality-objectives-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * min(4vw, 1.5rem));
  padding-inline: min(4vw, 1.5rem);
  outline: none;
}

.table-scroll:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}

.objectives-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.objectives-table thead th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--accent);
  background: rgba(201, 164, 92, 0.08);
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.objectives-table tbody td {
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.objectives-table tbody tr:last-child td {
  border-bottom: none;
}

.objectives-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.obj-col-no {
  width: 3.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--accent);
  text-align: center;
  white-space: nowrap;
}

.objectives-table thead th.obj-col-no {
  text-align: center;
}

@media (max-width: 720px) {
  .objectives-table {
    font-size: 0.875rem;
  }

  .objectives-table thead th,
  .objectives-table tbody td {
    padding: 0.85rem 0.75rem;
  }
}

/* ——— CTA band ——— */
.cta-band {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-block: clamp(5rem, 12vw, 8rem);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 10, 16, 0.94) 0%, rgba(6, 10, 16, 0.75) 55%, rgba(6, 10, 16, 0.55) 100%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: #fff;
}

.cta-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.65;
  max-width: 36em;
}

/* ——— Contact ——— */
.contact {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  font-size: 1rem;
}

.contact-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  flex-shrink: 0;
  border-radius: 2px;
  background: rgba(201, 164, 92, 0.08);
  border: 1px solid rgba(201, 164, 92, 0.22);
  color: var(--accent);
}

.contact-icon {
  display: block;
}

.contact-row-main {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding-top: 0.15rem;
}

.contact-value {
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}

a.contact-value {
  color: var(--text);
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: var(--accent);
}

.contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem 2.25rem;
  border-radius: 2px;
  position: relative;
}

.contact-form-accent {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  border: 2px solid var(--accent);
  border-radius: 2px;
  opacity: 0.5;
  pointer-events: none;
}

.contact-form-kicker {
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: calc(100% - 5rem);
}

.contact-form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(139, 152, 171, 0.65);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.55;
  padding-top: 0.5rem;
}

.contact-form select {
  cursor: pointer;
  padding-right: 1.5rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%238b98ab'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b98ab' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 top 50%;
}

.contact-form select option {
  background: var(--bg-card);
  color: var(--text);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

.contact-form-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.contact-form-note {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.contact-form-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-note a:hover {
  color: var(--accent);
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-row {
    grid-template-columns: auto 1fr;
    gap: 0.85rem 1rem;
  }
}

/* ——— Inner pages (job status, etc.) ——— */
.inner-page {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
  min-height: 55vh;
  background: var(--bg-deep);
}

.breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  margin: 0 0.5rem;
  opacity: 0.45;
}

.breadcrumb-current {
  color: var(--text-muted);
}

.page-title-block {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  color: #fff;
}

.page-period {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

.page-intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.table-scroll--jobs {
  margin-inline: calc(-1 * min(4vw, 1.5rem));
  padding-inline: min(4vw, 1.5rem);
}

.jobs-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.jobs-table thead th {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--accent);
  background: rgba(201, 164, 92, 0.1);
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.jobs-table tbody td {
  font-weight: 600;
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: #d4dce8;
}

.jobs-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.jobs-table tbody tr:last-child td {
  border-bottom: none;
}

.jobs-col-sr {
  width: 3.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--accent);
}

.jobs-table thead th.jobs-col-sr {
  text-align: center;
}

.status-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}

.status-badge--completed {
  color: #9eb8d4;
  border-color: rgba(139, 152, 171, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.status-badge--running {
  color: #e0c47a;
  border-color: rgba(201, 164, 92, 0.5);
  background: rgba(201, 164, 92, 0.12);
}

.nav-list a[aria-current="page"] {
  color: var(--accent);
}

@media (max-width: 720px) {
  .jobs-table {
    font-size: 0.8125rem;
  }

  .jobs-table thead th,
  .jobs-table tbody td {
    padding: 0.85rem 0.65rem;
  }
}

.page-crosslink {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}

.page-crosslink a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.page-crosslink a:hover {
  color: #e0c47a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Equipment / inventory lists ——— */
.inner-page--equipment {
  padding-bottom: clamp(4.5rem, 12vw, 7rem);
}

.inventory-section {
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
}

.inventory-section:last-of-type {
  margin-bottom: 0;
}

.inventory-heading {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.15rem;
  letter-spacing: 0.01em;
}

.table-scroll--inventory {
  margin-inline: calc(-1 * min(4vw, 1.5rem));
  padding-inline: min(4vw, 1.5rem);
}

.inventory-table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #d4dce8;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.inventory-table thead th {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--accent);
  background: rgba(201, 164, 92, 0.1);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.inventory-table thead th.inventory-col-qty {
  text-align: right;
  width: 6.5rem;
}

.inventory-table tbody td {
  font-weight: 600;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.inventory-table tbody td.inventory-col-qty {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
}

.inventory-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.inventory-table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 480px) {
  .inventory-table {
    font-size: 0.875rem;
  }

  .inventory-table thead th,
  .inventory-table tbody td {
    padding: 0.75rem 0.75rem;
  }
}

.table-scroll--manpower {
  min-width: 0;
}

.manpower-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d4dce8;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.manpower-table thead th {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--accent);
  background: rgba(201, 164, 92, 0.1);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}

.manpower-table thead th.manpower-col-sr {
  width: 3.75rem;
  text-align: center;
}

.manpower-table thead th.manpower-col-qty,
.manpower-table thead th.manpower-col-unit {
  text-align: right;
  width: 5rem;
}

.manpower-table tbody td {
  font-weight: 600;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.manpower-table tbody td.manpower-col-sr {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--accent);
}

.manpower-table tbody td.manpower-col-qty,
.manpower-table tbody td.manpower-col-unit {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
}

.manpower-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.manpower-table tbody tr:last-child td {
  border-bottom: none;
}

.inventory-note {
  margin: 1.35rem 0 0;
  padding: 1.15rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  background: rgba(201, 164, 92, 0.06);
  border-radius: 0 2px 2px 0;
  max-width: 52rem;
}

@media (max-width: 720px) {
  .manpower-table {
    font-size: 0.8125rem;
    min-width: 560px;
  }

  .manpower-table thead th,
  .manpower-table tbody td {
    padding: 0.7rem 0.65rem;
  }
}

.footer-meta-sep {
  opacity: 0.45;
  user-select: none;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
}

.footer-brand .logo-mark {
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.footer-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.footer-brand-link {
  color: inherit;
  text-decoration: none;
}

.footer-brand-link:hover {
  color: var(--text);
}

.footer-inline-link {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-inline-link:hover {
  color: var(--accent);
}

/* Hidden until animated — only when JS runs (.js on html) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

.js [data-anim="hero-line"] {
  opacity: 0;
  transform: translateY(24px);
}
