/* Home page enhancements */
a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
summary {
  cursor: pointer;
}

button:disabled,
input:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
}

.font-display {
  font-family: var(--font-sans);
}

.project-placeholder-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(250, 248, 245, 0.96), rgba(243, 240, 235, 0.96)),
    radial-gradient(circle at 25% 20%, rgba(193, 127, 74, 0.12), transparent 34%);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-placeholder-card span {
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-card);
}

.project-gen {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 100%;
  color: #fff;
  background: linear-gradient(145deg, #0f1829 0%, #1a2744 52%, #243456 100%);
}

.project-gen--estate {
  background: linear-gradient(145deg, #0b1424 0%, #15243f 48%, #2a3f5f 100%);
}

.project-gen--land {
  background: linear-gradient(145deg, #0b1418 0%, #12302a 50%, #1a4338 100%);
}

.project-gen--industrial {
  background: linear-gradient(145deg, #0c1018 0%, #1a2230 52%, #2c3544 100%);
}

.project-gen__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.project-gen__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 127, 74, 0.35), transparent 68%);
  pointer-events: none;
}

.project-gen__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.35rem 1.25rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 26, 0.55) 38%, rgba(8, 14, 26, 0.92) 100%);
}

.project-gen__vertical {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.project-gen__name {
  margin: 0.85rem 0 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-gen__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.project-gen__icon {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--brand-copper-light);
}

.project-gen__dot {
  opacity: 0.65;
}

.project-gen__detail {
  margin: 0.65rem 0 0;
  max-width: 28rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.project-gen__status {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: var(--brand-copper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-gen--compact .project-gen__content {
  padding: 0.75rem 0.7rem 0.85rem;
}

.project-gen--compact .project-gen__name {
  margin-top: 0.45rem;
  font-size: 0.95rem;
}

.project-gen--compact .project-gen__meta,
.project-gen--compact .project-gen__detail {
  display: none;
}

.project-gen--compact .project-gen__status {
  margin-top: 0.45rem;
  font-size: 0.58rem;
}

.project-gen--hero {
  align-items: stretch;
}

.project-gen--hero .project-gen__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 2rem 1.75rem;
}

.project-gen--hero .project-gen__name {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
}

.project-detail-gallery-main .project-gen,
.home-project-image-frame .project-gen,
.project-card-image-frame .project-gen {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 100%;
  width: 100%;
}

.hero-ken-burns {
  animation: kenBurns 22s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.14); }
}

/* Hero — contained image gallery */
.hero-section {
  min-height: auto;
  cursor: grab;
}

.hero-section.is-dragging {
  cursor: grabbing;
}

.hero-gallery {
  background: #fff;
  border-radius: 1.25rem;
  padding: 0.75rem;
  box-shadow: var(--shadow-elegant);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-gallery__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 0.85rem;
  overflow: hidden;
  background: var(--brand-navy-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.9s;
  z-index: 0;
}

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

.hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.is-active .hero-slide__img {
  animation: heroKenBurns 6s ease-out forwards;
}

.hero-slide.is-leaving .hero-slide__img {
  transform: scale(1);
}

@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-navy);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 24, 41, 0.15);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.hero-gallery__arrow:hover {
  background: var(--brand-copper);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-gallery__arrow--prev { left: 0.75rem; }
.hero-gallery__arrow--next { right: 0.75rem; }

.hero-section--project-bg {
  min-height: 680px;
}

.hero-section--project-bg .hero-gallery--background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.hero-section--project-bg .hero-gallery__stage {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}

.hero-section--project-bg .hero-slide__img {
  transform: scale(1.1);
  filter: saturate(1.05) brightness(0.82);
}

.hero-section--project-bg .hero-slide.is-active .hero-slide__img {
  animation: heroBackgroundKenBurns var(--hero-slide-duration, 6s) ease-out forwards;
}

@keyframes heroBackgroundKenBurns {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}

.hero-project-panel {
  background: rgba(15, 24, 41, 0.54);
  backdrop-filter: blur(18px);
}

.hero-content-panel {
  background: transparent;
  border-left: 3px solid rgba(193, 127, 74, 0.9);
  padding-left: 1.5rem;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.72);
}

.chairman-redesign {
  padding: clamp(4.5rem, 7vw, 6rem) 0;
}

.chairman-heading {
  max-width: 46rem;
}

.chairman-title {
  max-width: 42rem;
}

.chairman-shell {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.chairman-media-card,
.chairman-message-card {
  position: relative;
  z-index: 1;
  height: 100%;
}

.chairman-media-card {
  display: flex;
  max-width: 24rem;
}

.chairman-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 30rem;
  overflow: hidden;
  border-radius: 2rem;
  background: var(--gradient-hero);
  box-shadow: 0 28px 65px -32px rgba(15, 24, 41, 0.65);
}

.chairman-photo img,
.chairman-portrait-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.chairman-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 24, 41, 0.02), rgba(15, 24, 41, 0.9));
  z-index: 1;
}

.chairman-photo-border {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

.chairman-nameplate {
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 3;
  color: #fff;
}

.chairman-nameplate p {
  color: var(--brand-copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chairman-nameplate h3 {
  margin-top: 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.chairman-nameplate span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.chairman-message-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-elegant);
  padding: clamp(1.7rem, 4vw, 3.25rem);
}

.chairman-quote p {
  max-width: 52rem;
  color: var(--brand-navy);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.55;
  font-weight: 600;
}

.chairman-secondary {
  margin-top: 1.25rem;
  max-width: 54rem;
  color: var(--muted-foreground);
  font-size: 0.98rem;
  line-height: 1.8;
}

.chairman-stat-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.5rem);
}

.chairman-stat {
  min-height: 6.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(243, 240, 235, 0.92), rgba(255, 255, 255, 0.86));
  padding: 1.15rem;
}

.chairman-stat span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--gradient-copper);
  color: #fff;
  box-shadow: var(--shadow-copper);
}

.chairman-stat p {
  margin-top: 0.85rem;
  color: var(--brand-navy);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.chairman-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.chairman-primary-btn,
.chairman-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  border-radius: 0.75rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 800;
  transition: var(--transition-smooth);
}

.chairman-primary-btn {
  background: var(--gradient-copper);
  color: #fff;
  box-shadow: var(--shadow-copper);
}

.chairman-secondary-btn {
  border: 1px solid rgba(26, 39, 68, 0.18);
  color: var(--brand-navy);
  background: #fff;
}

.chairman-primary-btn:hover,
.chairman-secondary-btn:hover {
  transform: translateY(-2px);
}

.chairman-signature {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.chairman-signature div {
  color: rgba(193, 127, 74, 0.9);
  font-size: 1.55rem;
  font-weight: 700;
}

.chairman-signature span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .chairman-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .chairman-shell {
    grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  }

  .chairman-media-card {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .chairman-photo {
    min-height: 24rem;
  }

  .chairman-media-card {
    max-width: none;
  }
}

.hero-gallery__arrow--inline {
  position: static;
  transform: none;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-gallery__arrow--inline:hover {
  transform: translateY(-2px);
}

.hero-gallery__badge.static-badge {
  position: static;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-section--project-bg .hero-progress__seg {
  background: rgba(255, 255, 255, 0.2);
}

.hero-section--project-bg .hero-play-toggle {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

@media (max-width: 1023px) {
  .hero-section--project-bg .site-container {
    min-height: 680px;
  }
}

@media (max-width: 640px) {
  .hero-section--project-bg .site-container {
    min-height: 640px;
  }

  .hero-content-panel {
    padding-left: 1rem;
  }
}

.hero-gallery__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(15, 24, 41, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hero-gallery__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0 0.25rem;
}

.hero-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.35rem;
  margin-top: 0.65rem;
}

@media (max-width: 640px) {
  .hero-gallery__thumbs {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.3rem;
  }
}

.hero-caption {
  position: relative;
  min-height: 2.75rem;
}

.hero-caption__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.hero-caption__item.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.4rem;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  padding: 0;
  background: var(--secondary);
}

.hero-thumb:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.hero-thumb.is-active {
  opacity: 1;
  border-color: var(--brand-copper);
  box-shadow: 0 0 0 2px rgba(193, 127, 74, 0.25);
}

.hero-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-progress {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.hero-progress__seg {
  flex: 1;
  height: 3px;
  border-radius: 9999px;
  background: var(--border);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  border: none;
  transition: background 0.3s ease;
}

.hero-progress__seg:hover {
  background: rgba(193, 127, 74, 0.35);
}

.hero-progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-copper), var(--brand-copper-light));
  border-radius: inherit;
}

.hero-progress__seg.is-active .hero-progress__fill {
  animation: heroProgressFill var(--hero-slide-duration, 6s) linear forwards;
}

.hero-progress__seg.is-done .hero-progress__fill {
  width: 100%;
  animation: none;
}

.hero-progress__seg:not(.is-active):not(.is-done) .hero-progress__fill {
  width: 0%;
  animation: none;
}

@keyframes heroProgressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.hero-play-toggle {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--brand-navy);
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-play-toggle:hover {
  background: rgba(193, 127, 74, 0.15);
  border-color: var(--brand-copper);
  color: var(--brand-copper);
}

#hero-slider.is-paused .hero-progress__seg.is-active .hero-progress__fill {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__img,
  .hero-caption__item {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .hero-slide.is-active .hero-slide__img {
    transform: scale(1);
  }
}

.hero-mesh {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(193, 127, 74, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(193, 127, 74, 0.12), transparent 45%),
    radial-gradient(ellipse 50% 60% at 70% 90%, rgba(36, 52, 86, 0.5), transparent 50%);
}

.hero-grain::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.business-punchline-slider {
  min-height: clamp(520px, 68vw, 720px);
}

.business-punchline-slider__stage,
.business-punchline-slide {
  position: absolute;
  inset: 0;
}

.business-punchline-slider__stage {
  background-color: var(--brand-navy-deep);
}

.business-punchline-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background-color: var(--brand-navy-deep);
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.business-punchline-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}

.business-punchline-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--brand-navy-deep);
  filter: saturate(1.04) brightness(0.8);
  transform: scale(1.04);
  transition: transform 4s ease;
}

.business-punchline-slide.is-active .business-punchline-slide__image {
  transform: scale(1);
}

.business-punchline-slide__content {
  position: relative;
  z-index: 2;
  min-height: clamp(520px, 68vw, 720px);
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(7rem, 10vw, 9rem);
}

.business-punchline-slider__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 5vw, 3.5rem);
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.business-punchline-slider__arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.business-punchline-slider__arrow:hover,
.business-punchline-slider__arrow:focus-visible {
  background: var(--brand-copper);
  border-color: var(--brand-copper);
  color: #fff;
  outline: none;
  transform: translateY(-2px);
}

.business-punchline-slider__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: min(48vw, 28rem);
}

.business-punchline-slider__dot {
  height: 0.25rem;
  flex: 1;
  min-width: 1.25rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.business-punchline-slider__dot:hover,
.business-punchline-slider__dot:focus-visible,
.business-punchline-slider__dot.is-active {
  background: var(--brand-copper);
  outline: none;
}

.business-punchline-slider__dot.is-active {
  transform: scaleY(1.6);
}

@media (max-width: 640px) {
  .business-punchline-slider,
  .business-punchline-slide__content {
    min-height: 620px;
  }

  .business-punchline-slider__controls {
    gap: 0.7rem;
  }

  .business-punchline-slider__dots {
    min-width: 0;
  }

  .business-punchline-slider__arrow {
    width: 2.35rem;
    height: 2.35rem;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.business-switcher__bg {
  position: absolute;
  inset: 0;
  background-color: var(--brand-navy-deep);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.4s ease, transform 0.8s ease;
}

.business-switcher__bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.business-switcher__panel {
  animation: businessPanelIn 0.45s ease both;
}

@media (max-width: 767px) {
  .business-switcher__panel {
    animation: none;
  }
}

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

.business-switcher__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
}

button.business-switcher__trigger {
  appearance: none;
  -webkit-appearance: none;
}

.business-switcher__trigger svg {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.business-switcher__trigger:hover,
.business-switcher__trigger:focus-visible,
.business-switcher__trigger.is-active {
  border-color: var(--brand-copper);
  background: rgba(15, 24, 41, 0.38);
  color: #fff;
  outline: none;
}

.business-switcher__trigger.is-active {
  box-shadow: inset 3px 0 0 var(--brand-copper);
}

.business-switcher__trigger:hover svg,
.business-switcher__trigger:focus-visible svg,
.business-switcher__trigger.is-active svg {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-copper);
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn-shine:hover::after {
  left: 120%;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(193, 127, 74, 0.12), rgba(193, 127, 74, 0.05));
  border: 1px solid rgba(193, 127, 74, 0.25);
  color: var(--brand-copper);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

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

.card-lift {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease;
}

.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
}

.bento-featured {
  grid-row: span 2;
}

@media (min-width: 1024px) {
  .bento-featured .bento-img {
    min-height: 100%;
    height: 100%;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.testimonial-card {
  background: linear-gradient(145deg, #fff 0%, var(--secondary) 100%);
  position: relative;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-copper);
  border-radius: 1rem 1rem 0 0;
}

.why-card {
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-copper);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.why-card:hover::before {
  transform: scaleY(1);
}

.scroll-hint {
  animation: bounceHint 2s ease-in-out infinite;
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(8px); opacity: 1; }
}

.cta-pattern {
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
}

.intro-image-stack {
  position: relative;
  isolation: isolate;
  background-color: #18161d;
  line-height: 0;
}

#intro .intro-image-frame {
  background-color: #18161d;
  overflow: hidden;
  line-height: 0;
}

#intro .intro-image-main {
  border-radius: 0;
  box-shadow: none;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  vertical-align: top;
}

.intro-float-card {
  position: absolute;
  background: white;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  animation: floatCard 5s ease-in-out infinite;
}

.intro-float-card:nth-child(2) { animation-delay: -2s; }

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

.stat-counter {
  font-variant-numeric: tabular-nums;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

/* Title line-height (overrides Tailwind leading-*) */
h1[class*='leading-'],
h2[class*='leading-'],
h1.text-4xl,
h1.text-5xl,
h1.text-6xl,
h1.text-7xl,
h2.text-3xl,
h2.text-4xl,
h2.text-5xl,
h2.text-6xl {
  line-height: var(--lh-title) !important;
}

.chairman-section {
  background-color: var(--brand-cream);
}

.chairman-panel {
  position: relative;
}

.chairman-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 1.6rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(193, 127, 74, 0.45), rgba(26, 39, 68, 0.15), rgba(193, 127, 74, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.chairman-portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.chairman-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(145deg, var(--brand-copper), rgba(255, 255, 255, 0.35), var(--brand-copper-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
  pointer-events: none;
}

.chairman-portrait-img,
.chairman-portrait-placeholder {
  border-radius: 1.15rem;
}

.chairman-portrait-placeholder {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.chairman-portrait-ring {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(193, 127, 74, 0.25), rgba(255, 255, 255, 0.08));
  border: 2px solid rgba(193, 127, 74, 0.5);
  box-shadow: 0 0 40px rgba(193, 127, 74, 0.35);
}

.chairman-quote-mark {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: var(--font-sans);
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 1;
  color: rgba(193, 127, 74, 0.12);
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}

.chairman-quote {
  padding-right: 1rem;
}

.chairman-signature {
  max-width: 16rem;
}

@media (max-width: 1023px) {
  .chairman-quote-mark {
    top: 0;
    right: 0.75rem;
    font-size: 5rem;
  }
}

.section-heading {
  font-family: var(--font-sans);
}

.icon-box {
  height: 3rem;
  width: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(193, 127, 74, 0.15), rgba(193, 127, 74, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.process-step {
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: rgba(193, 127, 74, 0.3);
  display: none;
}

@media (min-width: 768px) {
  .process-step:not(:last-child)::after {
    display: block;
  }
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--brand-cream);
  outline: none;
  transition: var(--transition-smooth);
}

.input-field:focus {
  border-color: var(--brand-copper);
  box-shadow: 0 0 0 3px rgba(193, 127, 74, 0.2);
}

.project-card-overlay {
  background: linear-gradient(to top, rgba(15, 24, 41, 0.95), rgba(15, 24, 41, 0.2), transparent);
}

.project-card-slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 1.2s ease;
}

.project-card-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.project-card-dot {
  transition: width 0.3s ease, background-color 0.3s ease;
}

.project-card-dot.is-active {
  width: 1.1rem;
  background-color: #fff;
}

.projects-index-grid .project-card-image-frame--square {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.projects-index-grid .project-card-image-frame--square img,
.projects-index-grid .project-card-image-frame--square .project-placeholder-card,
.projects-index-grid .project-card-image-frame--square .project-gen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-gallery-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-gallery-track::-webkit-scrollbar {
  display: none;
}

#group,
#vision,
#team,
#policy {
  scroll-margin-top: 6rem;
}

/* Scroll performance — reduce paint cost while scrolling */
html.is-scrolling .reveal:not(.is-visible) {
  opacity: 1;
  transform: none;
  transition: none !important;
}

html.is-scrolling * {
  animation-play-state: paused !important;
}

html.is-scrolling [class*='backdrop-blur']:not(.mobile-menu-backdrop):not(.mobile-menu-drawer):not(.site-header) {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.is-scrolling .transition-smooth,
html.is-scrolling [class*='duration-'] {
  transition-duration: 0s !important;
}

html.is-scrolling img {
  will-change: auto;
}

/* Site header — desktop default, mobile drawer below 1024px */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(6, 17, 33, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-header__logo {
  height: 3rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
}

.site-header__desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.site-header__mobile-actions,
.mobile-menu-backdrop,
.mobile-menu-drawer {
  display: none;
}

@media (max-width: 1023px) {
  .site-header {
    position: fixed;
    background: rgba(6, 17, 33, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .site-header.is-scrolled,
  .site-header.mobile-menu-open {
    background: rgba(6, 17, 33, 0.97);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  }

  .site-header__bar {
    min-height: 4rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    padding-bottom: 0.65rem;
  }

  .site-header__logo {
    height: 2.65rem;
    max-width: 8.75rem;
  }

  .site-header__desktop-nav {
    display: none !important;
  }

  .site-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
  }

  .site-header__enquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--copper) 0%, #a8683c 100%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(193, 127, 74, 0.35);
  }

  .site-header__menu-btn {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .site-header__menu-icon {
    display: grid;
    place-items: center;
  }

  html.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(6, 17, 33, 0.55);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

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

  .mobile-menu-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 70;
    flex-direction: column;
    width: min(100%, 22.5rem);
    height: 100dvh;
    max-height: 100dvh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(8, 18, 34, 0.94);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.35);
    transform: translateX(104%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-menu-drawer.is-open {
    transform: translateX(0);
  }

  .mobile-menu-drawer__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.15rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-drawer__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--copper);
  }

  .mobile-menu-drawer__title {
    margin-top: 0.2rem;
    font-family: var(--font-display, 'Poppins', sans-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
  }

  .mobile-menu-drawer__close {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .mobile-menu-drawer__nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.85rem 0.85rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-link,
  .mobile-nav-group__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
    padding: 0.9rem 0.85rem;
    border-radius: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
  }

  .mobile-nav-link {
    justify-content: flex-start;
    text-decoration: none;
  }

  .mobile-nav-link__icon {
    width: 1.05rem;
    height: 1.05rem;
    color: var(--copper);
    flex-shrink: 0;
  }

  .mobile-nav-link span,
  .mobile-nav-group__label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
  }

  .mobile-nav-link.is-active,
  .mobile-nav-group.is-active > .mobile-nav-group__toggle {
    background: rgba(193, 127, 74, 0.14);
    color: #fff;
  }

  .mobile-nav-group {
    margin-top: 0.2rem;
  }

  .mobile-nav-group__toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
    justify-content: space-between;
  }

  .mobile-nav-group__chevron {
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.55);
    transition: transform 0.25s ease;
  }

  .mobile-nav-group.is-expanded .mobile-nav-group__chevron {
    transform: rotate(180deg);
  }

  .mobile-nav-group__panel {
    padding: 0.15rem 0 0.35rem 0.35rem;
  }

  .mobile-nav-sublink {
    display: block;
    padding: 0.62rem 0.85rem 0.62rem 2.35rem;
    border-radius: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 500;
  }

  .mobile-nav-sublink--lead {
    color: var(--copper);
    font-weight: 700;
  }

  .mobile-nav-sublink:hover,
  .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-menu-drawer__footer {
    padding: 0.9rem 1rem calc(1rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
  }

  .mobile-menu-drawer__contact {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    font-weight: 600;
  }

  .mobile-menu-drawer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, var(--copper) 0%, #a8683c 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(193, 127, 74, 0.35);
  }

  html.mobile-menu-open .mobile-menu-backdrop,
  html.mobile-menu-open .mobile-menu-drawer {
    -webkit-backdrop-filter: blur(22px) !important;
    backdrop-filter: blur(22px) !important;
  }
}

@media (max-width: 1023px) {
  [class*='blur-3xl'] {
    filter: none !important;
    opacity: 0.45;
  }
}

@media (max-width: 767px) {
  .hero-ken-burns {
    animation: none;
  }

  .business-punchline-slide__image {
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-ken-burns,
  .business-punchline-slide__image {
    animation: none;
    transform: none;
    transition: none;
  }
}
