:root {
  --ink: #071018;
  --coal: #111920;
  --graphite: #1d2730;
  --steel: #63717d;
  --mist: #edf2f5;
  --paper: #f7f8f7;
  --white: #ffffff;
  --line: #d6dee4;
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #13a8e8;
  --blue-deep: #006da6;
  --bronze: #b78a47;
  --green: #5d7465;
  --shadow: 0 24px 70px rgba(7, 16, 24, 0.17);
  --max: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(7, 16, 24, 0.032) 1px, transparent 1px);
  background-size: 88px 88px;
}

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

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

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

h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: break-word;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

p {
  margin-top: 0;
  overflow-wrap: break-word;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: -60px;
  left: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

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

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: #d8e6ef;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.topbar a {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 14px 34px rgba(7, 16, 24, 0.12);
}

.nav {
  display: flex;
  height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 286px;
  max-width: 42vw;
  height: auto;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2b3741;
  font-size: 14px;
  font-weight: 800;
}

.navlinks a {
  position: relative;
  padding: 32px 0;
}

.navlinks a::after {
  position: absolute;
  right: 0;
  bottom: 23px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

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

.navlinks a.active {
  color: var(--blue-deep);
}

.nav-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  border-color: #aeb9c1;
  box-shadow: 0 12px 26px rgba(7, 16, 24, 0.12);
  transform: translateY(-1px);
}

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

.btn-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn-bronze {
  border-color: #90682f;
  background: var(--bronze);
  color: #101010;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 46px;
  height: 3px;
  content: "";
  background: var(--blue);
}

.eyebrow-light {
  color: #afe8fb;
}

.home-hero {
  position: relative;
  display: flex;
  min-height: 90vh;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-bg-my-choice {
  object-position: center 52%;
  filter: saturate(0.96) contrast(1.04) brightness(0.98);
}

/* ── Hero slider ── */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide.active .reveal.visible,
.hero-slide.active .reveal {
  /* reveal animations fire normally on active slide */;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-slide[data-index="2"]::after {
  background: rgba(0, 0, 0, 0.70);
}

.page-hero::before,
.project-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 118px 118px;
  opacity: 0.15;
}

.home-hero-inner {
  position: relative;
  z-index: 3;
  padding: 144px 0 120px;
}

.home-hero-inner > *,
.section-head > *,
.project-overview > *,
.product-intro > *,
.about-split > *,
.contact-grid > * {
  min-width: 0;
}

.home-hero .eyebrow {
  font-size: 16px;
}

.home-hero h1 {
  max-width: 700px;
  margin-bottom: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 88px;
  line-height: 0.9;
  font-weight: 700;
}

.hero-lead {
  max-width: 540px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 1);
  font-size: 24px;
  line-height: 1.76;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.hero-buttons .btn {
  min-height: 60px;
  padding: 18px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  border-radius: 8px;
  letter-spacing: -0.01em;
}

.hero-content {
  max-width: 700px;
  min-width: 0;
  padding: 30px 36px 16px;
  margin: -30px 0 0 -36px;
  border-radius: 12px;
}

.hero-bottom {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  max-width: 700px;
}

.hero-bottom .hero-featured-card {
  flex: 0 0 340px;
  width: 340px;
}

.hero-bottom .hero-stats-row {
  flex: 1;
  min-width: 0;
}

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

.hero-stats-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 620px;
}

.hero-stat {
  flex: 1;
}

.hero-stat-number {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 46px;
  margin: 0 36px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.15);
}

.hero-featured-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(160deg, rgba(19, 168, 232, 0.35) 0%, rgba(19, 168, 232, 0.12) 50%, transparent 80%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.hero-featured-card.clicked::before {
  opacity: 1;
  transition: opacity 0.15s ease, opacity 0.4s ease 0.45s;
}

.hero-featured-card {
  position: relative;
  padding: 26px 24px;
  background: rgba(7, 16, 24, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hero-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-featured-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.hero-featured-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease, gap 0.25s ease;
}

.hero-card-link:hover {
  color: var(--blue);
  gap: 11px;
}

.hero-card-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hero-card-link:hover .hero-card-arrow {
  transform: translateX(3px);
}

/* ===== Fortune Semi-Style Hero Tabs ===== */

/* Tab container — bottom center */
.hero-tabs {
  position: absolute;
  z-index: 10;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
}

/* Individual tab button */
.hero-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 200px;
  padding: 16px 24px 20px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: left;
  overflow: hidden;
  transition:
    color 0.4s ease,
    background 0.4s ease,
    transform 0.4s ease-out;
  backdrop-filter: none;
  outline: none;
}

.hero-tab:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: -2px;
}

/* Tab label text */
.hero-tab-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.4s ease;
}

/* Active tab — pure white text */
.hero-tab.active,
.hero-tab.active .hero-tab-label {
  color: rgba(255, 255, 255, 1);
}

/* Hover — lift + glass background */
.hero-tab:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

/* Red underline — expands L→R on hover */
.hero-tab::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #13a8e8;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}

.hero-tab:hover::after {
  transform: scaleX(1);
}

/* Suppress hover underline on active tab (progress bar takes over) */
.hero-tab.active::after {
  transform: scaleX(0);
}

/* Progress bar track */
.hero-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Progress bar fill — width driven by JS RAF */
.hero-tab-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #13a8e8;
  pointer-events: none;
  will-change: width;
}

/* ── Slide content transition animations ── */

/* Leaving slide: content fades out and slides up */
.hero-slide.leaving .hero-content > * {
  animation: heroContentOut 0.4s ease-in forwards;
}

/* Entering slide: content slides in from below and fades in */
.hero-slide.active .hero-content > * {
  animation: heroContentIn 0.4s ease-out 0.4s forwards;
  opacity: 0;
}

/* Staggered cascade for entering content */
.hero-slide.active .hero-content > :nth-child(1) { animation-delay: 0.40s; } /* eyebrow */
.hero-slide.active .hero-content > :nth-child(2) { animation-delay: 0.46s; } /* h1 */
.hero-slide.active .hero-content > :nth-child(3) { animation-delay: 0.52s; } /* hero-lead */
.hero-slide.active .hero-content > :nth-child(4) { animation-delay: 0.58s; } /* hero-buttons */
.hero-slide.active .hero-content > :nth-child(5) { animation-delay: 0.64s; } /* hero-bottom */

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

@keyframes heroContentIn {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Responsive: ≤880px ── */
@media (max-width: 880px) {
  .hero-tabs {
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    gap: 2px;
  }

  .hero-tab {
    min-width: auto;
    padding: 12px 16px 16px;
  }

  .hero-tab-label {
    font-size: 11px;
  }
}

/* ── Responsive: ≤560px ── */
@media (max-width: 560px) {
  .hero-tabs {
    bottom: 20px;
    right: 12px;
    left: 12px;
    transform: none;
    justify-content: center;
    gap: 2px;
  }

  .hero-tab {
    min-width: 0;
    flex: 1;
    padding: 10px 8px 14px;
    align-items: center;
    text-align: center;
  }

  .hero-tab-label {
    font-size: 10px;
    white-space: normal;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-slide.leaving .hero-content > *,
  .hero-slide.active .hero-content > * {
    animation: none;
  }

  .hero-slide.leaving .hero-content > * {
    opacity: 0;
  }

  .hero-slide.active .hero-content > * {
    opacity: 1;
  }
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.94), rgba(7, 16, 24, 0.44)),
    var(--page-image) center / cover no-repeat;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 62px;
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 62px;
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: #dbe7ee;
  font-size: 19px;
  line-height: 1.65;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-tight {
  padding-top: 60px;
}

.section-pt {
  padding-bottom: 0;
}

.section-white {
  background: var(--white);
}

.section-dark {
  color: var(--ink);
  position: relative;
  background: url("../img/6.jpg") center / cover no-repeat;
}

.section-dark::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(255, 255, 255, 0.90);
  pointer-events: none;
}

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

.section-head {
  text-align: center;
  margin-bottom: 72px;
}

.section-head h2 {
  max-width: none;
  margin: 0 auto 28px;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 700px;
  margin: 0 auto;
  color: #5b6873;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.section-divider {
  margin: 0 0 80px;
  border: 0;
  height: 1px;
  background: var(--line);
}

.section-dark .section-head p {
  color: var(--ink);
}

.our-services {
  position: relative;
  z-index: 2;
  padding: 80px 0 0;
  margin-top: -50px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.92) 100%),
    url("../img/e1-bg.png") center / cover no-repeat;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card:nth-child(1) {
  background-image:
    linear-gradient(160deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.88) 100%),
    url("../img/b3-bg.jpg");
  background-position: center;
  background-size: cover;
}

.feature-card:nth-child(2) {
  background-image:
    linear-gradient(160deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.88) 100%),
    url("../img/c2-bg.jpg");
  background-position: center;
  background-size: cover;
}

.feature-card:nth-child(3) {
  background-image:
    linear-gradient(160deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.88) 100%),
    url("../img/c3-bg.jpg");
  background-position: center;
  background-size: cover;
}

.feature-card:nth-child(4) {
  background-image:
    linear-gradient(160deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0.88) 100%),
    url("../img/c4-bg.png");
  background-position: center;
  background-size: cover;
}


.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 28px 28px;
  border-radius: 20px;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  isolation: isolate;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.feature-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: rgba(19, 168, 232, 0.18);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-card:hover::before,
.feature-card:focus-visible::before {
  opacity: 1;
}

.feature-card:hover,
.feature-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(19, 168, 232, 0.55), 0 0 36px rgba(19, 168, 232, 0.22);
  outline: none;
}

.fc-accent {
  position: absolute;
  top: 0;
  left: 28px;
  width: 40px;
  height: 3px;
  background: var(--blue);
  border-radius: 0 0 3px 3px;
  transition: width 0.4s ease, box-shadow 0.4s ease;
}

.feature-card h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.feature-card p {
  margin: 0 0 24px;
  color: #7f8d98;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  flex: 1;
}

.fc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--blue);
  font-size: 16px;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.teaser-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--coal);
  box-shadow: 0 14px 36px rgba(7, 16, 24, 0.13);
  isolation: isolate;
}

.teaser-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.teaser-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.04) 18%, rgba(7, 16, 24, 0.9) 100%);
}

.teaser-copy {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  color: var(--white);
}

.teaser-copy h3 {
  margin-bottom: 9px;
  font-size: 27px;
  line-height: 1.12;
}

.teaser-copy p {
  margin: 0;
  color: #dbe7ee;
  line-height: 1.55;
}

.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(19, 168, 232, 0.94);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 380px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  background: #f3f9fc;
  transform: translateY(-2px);
}

.service-card img {
  width: 100%;
  height: 190px;
  margin-bottom: 24px;
  border-radius: 6px;
  object-fit: cover;
}

.service-card img.service-image-architectural {
  object-position: 46% center;
  filter: saturate(0.98) contrast(1.03);
}

.service-num {
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: #4f5f6b;
  font-size: 16px;
  line-height: 1.6;
}

/* ── Values Section — Premium Editorial Layout ── */
.values-section {
  position: relative;
  padding: 80px 0 0;
  background: var(--white);
  overflow: hidden;
}

/* Subtle engineering grid texture */
.values-section::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(7, 16, 24, 0.012) 0 1px, transparent 1px 140px),
    repeating-linear-gradient(0deg, rgba(7, 16, 24, 0.01) 0 1px, transparent 1px 140px);
  pointer-events: none;
}

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

.values-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.values-left {
  min-width: 0;
}

.values-left .eyebrow {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 19px;
}

.values-left h2 {
  max-width: 300px;
  margin-bottom: 26px;
  font-size: 50px;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.values-left p {
  max-width: 340px;
  color: rgba(7, 16, 24, 0.65);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 500;
}

.values-image {
  margin-top: 16px;
  max-width: 100%;
}

.values-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.values-right {
  min-width: 0;
}

.values-list {
  display: flex;
  flex-direction: column;
}

.values-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 20px 32px 0;
  border-bottom: 1px solid rgba(7, 16, 24, 0.07);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              padding-left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              background 0.4s ease;
  cursor: default;
  overflow: hidden;
}

/* Blue accent line — hidden, expands on hover */
.values-row::before {
  position: absolute;
  left: 0;
  top: 22%;
  width: 3px;
  height: 0;
  content: "";
  background: var(--blue);
  border-radius: 0 4px 4px 0;
  transition: height 0.45s cubic-bezier(0.25, 0.8, 0.25, 1.2),
              top 0.45s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}

.values-row:hover {
  padding-left: 24px;
  background: rgba(19, 168, 232, 0.025);
}

.values-row:hover::before {
  height: 56%;
  top: 22%;
}

.values-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.8;
  padding-top: 5px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.values-row:hover .values-num {
  opacity: 1;
  transform: scale(1.1);
}

/* Oversized watermark number — ultra-low opacity depth element */
.values-watermark {
  position: absolute;
  right: -20px;
  top: -40px;
  z-index: 0;
  font-family: 'Sora', sans-serif;
  font-size: 220px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(19, 168, 232, 0.015);
  pointer-events: none;
  user-select: none;
  transition: color 0.5s ease;
}

.values-row:hover .values-watermark {
  color: rgba(19, 168, 232, 0.035);
}

.values-body {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.values-body h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.values-body p {
  margin: 0;
  max-width: 520px;
  color: rgba(7, 16, 24, 0.65);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

/* ── Responsive Values ── */
@media (max-width: 1140px) {
  .values-section {
    padding: 56px 0 0;
  }

  .values-left h2 {
    max-width: none;
    font-size: 40px;
  }

  .values-left p {
    max-width: none;
  }

  .values-image {
    max-width: 100%;
  }

  .values-watermark {
    font-size: 170px;
    right: -10px;
    top: -30px;
  }
}

@media (max-width: 880px) {
  .values-section {
    padding: 40px 0 0;
  }

  .values-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .values-left h2 {
    font-size: 36px;
  }

  .values-row {
    padding: 24px 12px 24px 0;
    gap: 20px;
  }

  .values-row:hover {
    padding-left: 16px;
  }

  .values-watermark {
    font-size: 140px;
    right: -8px;
    top: -20px;
  }

  .values-body h3 {
    font-size: 19px;
  }

  .values-body p {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .values-section {
    padding: 32px 0 0;
  }

  .values-layout {
    gap: 40px;
  }

  .values-left h2 {
    font-size: 30px;
  }

  .values-row {
    padding: 20px 8px 20px 0;
    gap: 16px;
  }

  .values-row:hover {
    padding-left: 10px;
  }

  .values-num {
    width: 32px;
    font-size: 15px;
  }

  .values-watermark {
    font-size: 110px;
    right: -4px;
    top: -14px;
  }

  .values-body h3 {
    font-size: 17px;
  }

  .values-body p {
    font-size: 13px;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.project-card {
  position: relative;
  min-height: 410px;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--coal);
  box-shadow: 0 14px 36px rgba(7, 16, 24, 0.13);
  isolation: isolate;
}

.project-card.featured {
  grid-column: span 8;
}

.project-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.project-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 16, 24, 0.04) 16%, rgba(7, 16, 24, 0.91) 100%);
}

.project-card-copy {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.project-card h2,
.project-card h3 {
  margin: 14px 0 8px;
  color: var(--white);
  font-size: 30px;
  line-height: 1.12;
}

.project-card.featured h2,
.project-card.featured h3 {
  font-size: 40px;
}

.project-card p {
  max-width: 580px;
  margin: 0;
  color: #dbe6ee;
  line-height: 1.58;
}

.project-hero {
  position: relative;
  display: flex;
  min-height: 420px;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.95) 0%, rgba(7, 16, 24, 0.65) 48%, rgba(7, 16, 24, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 16, 24, 0.05), rgba(7, 16, 24, 0.91)),
    var(--project-image) center / cover no-repeat;
}

.project-hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 52px;
}

.project-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: 62px;
  line-height: 0.99;
  letter-spacing: 0;
}

.project-hero p {
  max-width: 720px;
  margin: 0;
  color: #dae7ef;
  font-size: 20px;
  line-height: 1.65;
}

.project-overview {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.project-copy h2 {
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1.1;
}

.project-copy p {
  color: #4d5b66;
  font-size: 17px;
  line-height: 1.75;
}

.project-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
  box-shadow: 0 16px 42px rgba(7, 16, 24, 0.08);
}

.project-fact {
  min-height: 104px;
  padding: 18px;
  background: var(--white);
}

.project-fact b {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.project-fact span {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.45;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.project-gallery figure {
  min-height: 310px;
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--coal);
  box-shadow: 0 12px 32px rgba(7, 16, 24, 0.1);
}

.project-gallery figure:first-child,
.project-gallery figure:nth-child(5n + 1) {
  grid-column: span 8;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-gallery figure:hover img {
  transform: scale(1.04);
}

.project-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
}

.project-nav a {
  display: flex;
  min-height: 110px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.project-nav small {
  margin-bottom: 7px;
  color: var(--steel);
  font-weight: 800;
  text-transform: uppercase;
}

.project-nav strong {
  font-size: 18px;
}

.product-section {
  background:
    linear-gradient(180deg, rgba(247, 248, 247, 0.92) 0%, rgba(247, 248, 247, 0.88) 100%),
    url("../img/steel-bg.png") center / cover no-repeat;
}

.fastener-intro {
  padding: 52px 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.82)),
    url("../img/fastener-bg.png") center / cover no-repeat;
}

.fastener-intro .product-intro {
  align-items: center;
}

.product-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(7, 16, 24, 0.08);
}

.product-intro {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 34px;
  align-items: start;
}

.product-standard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: 0 14px 34px rgba(7, 16, 24, 0.08);
}

.product-standard div {
  min-height: 96px;
  padding: 18px;
  background: var(--white);
}

.product-standard b {
  display: block;
  margin-bottom: 7px;
}

.product-standard span {
  color: var(--steel);
  line-height: 1.45;
}

.product-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.filter-btn.active {
  border-color: var(--blue-deep);
  background: var(--blue);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 16, 24, 0.07);
}

.product-visual {
  position: relative;
  height: 250px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    #ffffff;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: #071018;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-visual svg {
  width: 100%;
  height: 100%;
}

.product-info {
  padding: 20px;
}

.product-type {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 8px 0 10px;
  font-size: 25px;
}

.product-info p {
  margin-bottom: 18px;
  color: var(--steel);
  line-height: 1.55;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 16px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-meta div {
  padding: 10px;
  background: #fbfcfc;
}

.product-meta b,
.product-meta span {
  display: block;
}

.product-meta b {
  margin-bottom: 4px;
  font-size: 12px;
}

.product-meta span {
  color: var(--steel);
  font-size: 13px;
}

.product-card[hidden] {
  display: none;
}

/* ── About Scroll Section ── */
.about-scroll-section {
  position: relative;
  height: 300vh;
  margin-bottom: 0;
}

.about-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
}

.about-bg-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(7,16,24,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-sticky-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 80px 0;
}

.about-logo-anim {
  will-change: transform;
  margin-bottom: 60px;
}

.about-logo-anim img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: auto;
}

.about-reveal-group {
  width: 100%;
  max-width: var(--max);
  padding: 0 24px;
}

/* ── About Section (static) ── */
.about-section {
  padding: 100px 0 120px;
}

.about-logo {
  text-align: center;
  margin-bottom: 80px;
}

.about-logo img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  height: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: center;
}

.about-video-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--coal);
  cursor: pointer;
}

.about-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.about-video.playing {
  opacity: 1;
}

.about-video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 16, 24, 0.45);
  transition: opacity 0.4s ease;
  z-index: 2;
  pointer-events: none;
}

.about-video-wrap.playing .about-video-poster {
  opacity: 0;
}

.about-video-poster svg {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.about-text h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}

.about-desc {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--steel);
  margin-bottom: 32px;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 36px;
}

.about-stat {
  flex: 1;
  min-width: 110px;
  padding: 0 24px 0 0;
  border-right: 1px solid rgba(7,16,24,0.08);
}

.about-stat:first-child {
  padding-left: 0;
}

.about-stat:last-child {
  border-right: none;
  padding-right: 0;
}

.about-stat-num {
  display: block;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--ink);
}

.about-stat-lbl {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
}

@media (max-width: 1140px) {
  .about-scroll-section {
    height: 270vh;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-logo-anim img {
    max-width: 380px;
  }
}

@media (max-width: 560px) {
  .about-scroll-section {
    height: 260vh;
  }

  .about-section {
    padding: 60px 0 80px;
  }

  .about-logo-anim {
    margin-bottom: 40px;
  }

  .about-logo-anim img {
    max-width: 260px;
  }

  .about-stats {
    flex-direction: column;
    gap: 0;
  }

  .about-stat {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-right: none;
    border-bottom: 1px solid rgba(7,16,24,0.06);
  }

  .about-stat:last-child {
    border-bottom: none;
  }

  .about-stat-num {
    font-size: 24px;
  }
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  min-height: 640px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.about-copy h2 {
  margin-bottom: 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: normal;
}

.about-copy p {
  color: #4f5c66;
  font-size: 18px;
  line-height: 1.75;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.milestone {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.milestone strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 27px;
}

.milestone span {
  color: var(--steel);
  font-size: 14px;
  line-height: 1.4;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.member {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(7, 16, 24, 0.08);
}

.member-photo {
  height: 300px;
  overflow: hidden;
  background: var(--graphite);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.member-photo img[src*="qi-helei"] {
  transform: scale(1.1);
}

.member-photo img[src*="daley-su"] {
  object-position: center 16%;
}

.member-placeholder {
  display: grid;
  height: 300px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 168, 232, 0.38), rgba(183, 138, 71, 0.32)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 18px),
    var(--graphite);
}

.member-placeholder span {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  font-size: 30px;
  font-weight: 900;
}

.member-copy {
  padding: 18px;
}

.member h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.member p {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 800;
  line-height: 1.45;
}

.partner-band {
  overflow: hidden;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: partner-scroll 46s linear infinite;
}

.partner-track:hover {
  animation-play-state: paused;
}

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

.partner-logo {
  display: flex;
  width: 174px;
  height: 94px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.partner-logo img {
  max-height: 64px;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.contact-panel,
.quote-form {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.1;
}

.contact-panel > p {
  margin-bottom: 26px;
  color: #c9d5dd;
  line-height: 1.72;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding: 14px 0;
  border-top: 1px solid var(--line-dark);
}

.contact-list b {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
}

.contact-list a,
.contact-list span {
  color: #dfeaf0;
}

.map-link {
  display: flex;
  min-height: 180px;
  align-items: flex-end;
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.08), rgba(7, 16, 24, 0.93)),
    url("../img/huntley/huntley-roofline.jpg") center / cover no-repeat;
}

.map-link b {
  display: block;
  margin-bottom: 5px;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #dfeaf0;
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  outline: none;
  background: rgba(7, 16, 24, 0.66);
  color: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3ad;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #86dff8;
  box-shadow: 0 0 0 3px rgba(19, 168, 232, 0.24);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #bcebf9;
  line-height: 1.45;
}

/* Contact light theme overrides */
.contact-light .contact-panel,
.contact-light .quote-form {
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(7, 16, 24, 0.06);
}

.contact-light .contact-panel h2 {
  color: var(--ink);
}

.contact-light .contact-panel > p {
  color: #5b6873;
}

.contact-light .contact-list div {
  border-top-color: var(--line);
}

.contact-light .contact-list b {
  color: var(--ink);
}

.contact-light .contact-list a,
.contact-light .contact-list span {
  color: #4f5f6b;
}

.contact-light .field label {
  color: var(--ink);
}

.contact-light .field input,
.contact-light .field select,
.contact-light .field textarea {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.contact-light .field input::placeholder,
.contact-light .field textarea::placeholder {
  color: #94a3ad;
}

.contact-light .form-status {
  color: var(--ink);
}

.whatsapp-float {
  position: fixed;
  z-index: 100;
  bottom: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 50px;
  background: #25D366;
  color: white;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
  outline: none;
}

.whatsapp-float svg {
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .whatsapp-float {
    bottom: 18px;
    right: 14px;
    padding: 12px 16px;
    gap: 8px;
    font-size: 13px;
  }
  .whatsapp-float svg {
    width: 22px;
    height: 22px;
  }
}

.image-band {
  min-height: 600px;
  background: center / cover no-repeat;
}

.cta-band {
  padding: 56px 0;
  background: var(--blue);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.cta-inner p {
  margin: 0;
  color: #e6f7fd;
  line-height: 1.55;
}

.footer {
  padding: 54px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #05090d;
  color: #b8c6d0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
  gap: 30px;
}

.footer-logo {
  width: 260px;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.footer p,
.footer li {
  margin: 0;
  line-height: 1.75;
}

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

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #7f8d98;
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

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

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

@media (max-width: 1140px) {
  .navlinks {
    gap: 14px;
  }

  .nav-actions .btn:first-child {
    display: none;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-inner {
    padding: 120px 0 80px;
  }

  .home-hero h1 {
    font-size: 64px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .hero-bottom {
    flex-direction: column;
    gap: 36px;
  }

  .hero-content {
    padding: 24px 28px 14px;
    margin: -24px 0 0 -28px;
  }

  .hero-bottom .hero-featured-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
  }

  .our-services {
    padding: 50px 0;
    margin-top: -40px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .image-band {
    min-height: 500px;
  }

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

  .values-row {
    padding: 24px 12px 24px 0;
  }

  .project-card,
  .project-card.featured {
    grid-column: span 6;
  }

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

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

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

@media (max-width: 880px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-note {
    display: none;
  }

  .nav {
    height: 74px;
  }

  .brand img {
    width: 220px;
    max-width: 64vw;
  }

  .navlinks {
    position: fixed;
    top: 112px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .navlinks.open {
    display: flex;
  }

  .navlinks a {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
  }

  .navlinks a:last-child {
    border-bottom: 0;
  }

  .navlinks a::after {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block !important;
    flex: 0 0 auto;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-inner {
    gap: 40px;
    padding: 96px 0 60px;
  }

  .home-hero h1 {
    font-size: 64px;
    line-height: 1.0;
  }

  .hero-lead {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .hero-buttons {
    margin-bottom: 40px;
  }

  .hero-stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-stat-divider {
    width: 32px;
    height: 1px;
    margin: 2px 0;
  }

  .hero-stat-number {
    font-size: 28px;
  }

  .hero-stat-label {
    font-size: 12px;
  }

  .hero-featured-card {
    max-width: 100%;
  }

  .page-hero {
    min-height: 350px;
  }

  .page-hero h1,
  .project-hero h1 {
    font-size: 42px;
  }

  .project-hero {
    min-height: 340px;
  }

  .section {
    padding: 80px 0;
  }

  .section-head h2 {
    font-size: 36px;
  }

  .section-head p {
    font-size: 16px;
  }

  .section-divider {
    margin-bottom: 56px;
  }

  .project-overview,
  .product-intro,
  .about-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.featured {
    min-height: 350px;
    grid-column: span 12;
  }

  .project-gallery figure,
  .project-gallery figure:first-child,
  .project-gallery figure:nth-child(5n + 1) {
    grid-column: span 6;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: 1;
  }

  .image-band {
    min-height: 400px;
  }

  .cta-inner {
  }

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

}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .image-band {
    min-height: 300px;
  }

  .topbar {
    font-size: 12px;
  }

  .topbar-links a[href^="mailto:"] {
    display: none;
  }

  .brand img {
    width: 202px;
  }

  .home-hero h1 {
    font-size: 50px;
    overflow-wrap: anywhere;
  }

  .home-hero-inner {
    padding: 72px 0 50px;
    gap: 32px;

  }
  .page-hero h1,
  .project-hero h1 {
    font-size: 39px;
    overflow-wrap: anywhere;
  }

  .about-copy h2,
  .section-head h2 {
    overflow-wrap: anywhere;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .our-services {
    padding: 40px 0;
    margin-top: -25px;
  }

  .feature-grid,
  .service-grid,
  .teaser-grid,
  .product-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .project-facts,
  .product-standard,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery figure,
  .project-gallery figure:first-child,
  .project-gallery figure:nth-child(5n + 1) {
    min-height: 270px;
    grid-column: span 1;
  }

  .project-gallery img {
    min-height: 270px;
  }

  .project-nav {
    flex-direction: column;
  }

  .product-visual {
    height: 230px;
  }

  .member-photo,
  .member-placeholder {
    height: 280px;
  }

}

/* ── Desktop: keep hero title on one line ── */
@media (min-width: 1200px) {
  .hero-content {
    max-width: 1000px;
  }

  .home-hero h1 {
    max-width: 1000px;
    white-space: nowrap;
    font-size: 80px;
    letter-spacing: -0.02em;
  }

  .section-head p {
    max-width: 1000px;
    white-space: nowrap;
  }
}

/* ── Process Timeline (Refined) ── */
.process-section {
	position: relative;
	z-index: 2;
	padding: 130px 0 150px;
	background: var(--white);
}

.process-section .section-head {
	margin-bottom: 20px;
}

.process-section .section-head h2 {
	color: var(--ink);
	max-width: 900px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 52px;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin-bottom: 32px;
}

.process-section .section-head p {
	color: var(--blue);
	font-size: 14px;
}

.process-timeline {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
	margin-top: 52px;
}

.process-step {
	display: flex;
	align-items: flex-start;
	padding: 0 8px;
}

/* Staggered vertical positioning */
.process-step:nth-child(1) { margin-top: 0; }
.process-step:nth-child(2) { margin-top: 32px; }
.process-step:nth-child(3) { margin-top: 60px; }
.process-step:nth-child(4) { margin-top: 32px; }
.process-step:nth-child(5) { margin-top: 60px; }
.process-step:nth-child(6) { margin-top: 0; }

.process-card {
	position: relative;
	flex: 1;
	padding: 56px 34px 44px;
	border-radius: 16px;
	background: rgba(247, 248, 247, 0.85);
	border: 1px solid rgba(7, 16, 24, 0.08);
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2),
	            box-shadow 0.35s ease,
	            border-color 0.35s ease,
	            background 0.35s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.process-card:hover {
	transform: translateY(-8px);
	background: var(--white);
	border-color: rgba(19, 168, 232, 0.25);
	box-shadow:
	  0 0 0 1px rgba(19, 168, 232, 0.08),
	  0 0 24px rgba(19, 168, 232, 0.06),
	  0 8px 28px rgba(0, 0, 0, 0.1);
}

.process-card h3 {
	position: relative;
	z-index: 1;
	margin: 0 0 14px;
	color: var(--ink);
	font-family: 'Sora', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.process-card p {
	position: relative;
	z-index: 1;
	margin: 0;
	color: rgba(7, 16, 24, 0.55);
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}

/* Watermark number — oversized, ultra-low opacity */
.process-watermark {
	position: absolute;
	right: -10px;
	bottom: -24px;
	z-index: 0;
	font-family: 'Sora', sans-serif;
	font-size: 220px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	color: rgba(0, 109, 166, 0.06);
	pointer-events: none;
	user-select: none;
	transition: color 0.35s ease;
}

.process-card:hover .process-watermark {
	color: rgba(0, 109, 166, 0.12);
}

/* Staggered reveal delays */
.process-step:nth-child(1).reveal.visible { transition-delay: 0.05s; }
.process-step:nth-child(2).reveal.visible { transition-delay: 0.12s; }
.process-step:nth-child(3).reveal.visible { transition-delay: 0.19s; }
.process-step:nth-child(4).reveal.visible { transition-delay: 0.26s; }
.process-step:nth-child(5).reveal.visible { transition-delay: 0.33s; }
.process-step:nth-child(6).reveal.visible { transition-delay: 0.40s; }

/* ── Responsive process timeline ── */
@media (max-width: 1140px) {
	.process-section {
	  padding: 64px 0 80px;
	}

	.process-timeline {
	  grid-template-columns: repeat(3, 1fr);
	  gap: 20px;
	  margin-top: 36px;
	}

	.process-step:nth-child(n) {
	  margin-top: 0;
	}

	.process-step:nth-child(2),
	.process-step:nth-child(5) {
	  margin-top: 28px;
	}

	.process-step:nth-child(3),
	.process-step:nth-child(4) {
	  margin-top: 54px;
	}
}

@media (max-width: 880px) {
	.process-section {
	  padding: 56px 0 64px;
	}

	.process-timeline {
	  grid-template-columns: repeat(2, 1fr);
	  gap: 16px;
	  margin-top: 32px;
	}

	.process-step:nth-child(n) {
	  margin-top: 0;
	}

	.process-step:nth-child(even) {
	  margin-top: 40px;
	}
}

@media (max-width: 560px) {
	.process-section {
	  padding: 48px 0 56px;
	}

	.process-timeline {
	  grid-template-columns: 1fr;
	  gap: 12px;
	  margin-top: 28px;
	}

	.process-step:nth-child(n) {
	  margin-top: 0;
	}

	.process-card {
	  padding: 24px 20px 22px;
	}

	.process-watermark {
	  font-size: 100px;
	  right: -6px;
	  bottom: -16px;
	}

	.process-card h3 {
	  font-size: 14px;
	}
}
