:root {
  color-scheme: light;
  --bg-primary: #f8f7f4;
  --bg-secondary: #eae6df;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-deep: #102a43;
  --text-primary: #102a43;
  --text-secondary: #1f2933;
  --text-muted: #6b7280;
  --text-on-dark: #f8f7f4;
  --accent-primary: #274c77;
  --accent-secondary: #b77945;
  --accent-soft: #d8c3a5;
  --accent-blue-soft: #dce6ee;
  --border-soft: #dce6ee;
  --border-strong: #b8c8d4;
  --header-solid: rgba(248, 247, 244, 0.92);
  --overlay-hero: rgba(7, 26, 43, 0.7);
  --shadow-soft: 0 18px 50px rgba(16, 42, 67, 0.08);
  --shadow-card: 0 16px 38px rgba(16, 42, 67, 0.11);
  --success: #2f6d58;
  --error: #a43e3e;
  --container: 1220px;
  --header-height: 82px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #0b1622;
  --bg-secondary: #101f2d;
  --bg-elevated: #162838;
  --bg-card: #182c3d;
  --bg-deep: #07111b;
  --text-primary: #f4f7f9;
  --text-secondary: #b9c5cf;
  --text-muted: #8fa0ad;
  --text-on-dark: #f4f7f9;
  --accent-primary: #6e9cc3;
  --accent-secondary: #c68b5a;
  --accent-soft: #d8c3a5;
  --accent-blue-soft: #20384a;
  --border-soft: #294254;
  --border-strong: #3b596d;
  --header-solid: rgba(11, 22, 34, 0.92);
  --overlay-hero: rgba(4, 12, 20, 0.78);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 16px 38px rgba(0, 0, 0, 0.28);
  --success: #78b69e;
  --error: #ef8f8f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body,
.site-header,
section,
footer,
.card,
button,
input,
textarea,
select,
.theme-toggle {
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent-primary);
  color: #ffffff;
}

[data-theme="dark"] ::selection {
  background: #9ab7ce;
  color: #0b1622;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

*::-webkit-scrollbar-thumb {
  border: 2px solid var(--bg-secondary);
  border-radius: 10px;
  background: var(--accent-primary);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.35rem, 5.3vw, 4.65rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}

.section-tight {
  padding: clamp(58px, 7vw, 90px) 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-deep {
  background: var(--bg-deep);
  color: rgba(248, 247, 244, 0.78);
}

.section-deep h2,
.section-deep h3 {
  color: var(--text-on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-secondary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-head p {
  max-width: 480px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.section-deep .section-head p,
.section-deep .eyebrow {
  color: var(--accent-soft);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn .arrow {
  transition: transform 220ms ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
}

[data-theme="dark"] .btn-primary {
  color: #0b1622;
}

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

.section-deep .btn-secondary,
.hero .btn-secondary,
.page-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-primary);
  font-weight: 750;
}

.text-link::after {
  content: "→";
  transition: transform 200ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #ffffff;
}

.site-header.is-scrolled,
.site-header.inner-header {
  border-color: var(--border-soft);
  background: var(--header-solid);
  box-shadow: 0 8px 30px rgba(16, 42, 67, 0.06);
  color: var(--text-primary);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  width: min(calc(100% - 40px), 1380px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 3px;
  border: 1px solid color-mix(in srgb, var(--accent-primary) 28%, var(--border-soft));
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(12, 36, 58, 0.1);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
}

[data-theme="dark"] .brand-mark {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.26);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 5px;
  font-size: 0.57rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  opacity: 0.72;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.3vw, 34px);
}

.desktop-nav a:not(.btn) {
  position: relative;
  padding: 12px 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.desktop-nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--accent-soft);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav a:not(.btn):hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.menu-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
}

.theme-toggle:hover,
.menu-toggle:hover {
  background: rgba(216, 195, 165, 0.17);
}

.theme-icon {
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 300ms ease, opacity 300ms ease;
}

[data-theme="dark"] .theme-icon {
  transform: rotate(24deg);
}

.menu-toggle {
  display: none;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 99;
  display: flex;
  width: min(88vw, 420px);
  flex-direction: column;
  gap: 26px;
  padding: 112px 28px 36px;
  border-left: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: -20px 0 60px rgba(3, 12, 21, 0.2);
  transform: translateX(105%);
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
}

.mobile-panel nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 1.08rem;
  font-weight: 750;
}

.mobile-panel .theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-secondary);
}

.mobile-scrim {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(4, 12, 20, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.mobile-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #0b1d2d;
  color: #ffffff;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 900ms ease, visibility 900ms ease;
}

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

.hero-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    linear-gradient(120deg, #102a43 0%, #274c77 47%, #786049 100%);
}

.hero-placeholder::before {
  position: absolute;
  inset: -15%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  transform: perspective(600px) rotateX(58deg) translateY(17%);
  transform-origin: center bottom;
}

.hero-placeholder::after {
  position: absolute;
  right: 8%;
  bottom: -8%;
  width: min(47vw, 700px);
  height: 72%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(90deg, transparent 18%, rgba(255, 255, 255, 0.08) 19%, transparent 20%, transparent 42%, rgba(255, 255, 255, 0.08) 43%, transparent 44%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(216, 195, 165, 0.08);
  background-size: 100% 78px;
  clip-path: polygon(12% 20%, 55% 0, 100% 22%, 100% 100%, 0 100%, 0 32%);
  content: "";
  transform: translateY(6%);
  transition: transform 7s ease;
}

.hero-slide.is-active .hero-placeholder::after {
  transform: translateY(0) scale(1.03);
}

.hero-slide:nth-child(2) .hero-placeholder {
  background:
    linear-gradient(var(--overlay-hero), var(--overlay-hero)),
    radial-gradient(circle at 72% 30%, rgba(216, 195, 165, 0.48), transparent 25%),
    linear-gradient(135deg, #0f263a 0%, #203d55 48%, #173a4f 100%);
}

.creative-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-placeholder.has-creative-image {
  background: #f3f7fc;
}

.hero-placeholder.has-creative-image::before {
  z-index: 1;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, rgba(6, 21, 36, 0.94) 0%, rgba(6, 21, 36, 0.78) 42%, rgba(6, 21, 36, 0.12) 76%, transparent 100%);
  opacity: 1;
  transform: none;
}

.hero-placeholder.has-creative-image::after,
.visual-placeholder.has-creative-image::before,
.visual-placeholder.has-creative-image::after,
.vision-board.has-creative-image::before,
.vision-board.has-creative-image::after,
.gallery-card.has-creative-image::before,
.gallery-card.has-creative-image::after {
  display: none;
}

.visual-placeholder.has-creative-image,
.vision-board.has-creative-image,
.gallery-card.has-creative-image {
  background: var(--bg-elevated);
}

.vision-board.has-creative-image {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.map-placeholder.has-creative-image {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.placeholder-spec {
  position: absolute;
  right: 4vw;
  bottom: 34px;
  z-index: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(8, 24, 38, 0.48);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 40px), var(--container));
  margin: 80px auto 0;
}

.hero-copy {
  max-width: 820px;
}

.hero .eyebrow {
  color: var(--accent-soft);
}

.hero h1 {
  margin-bottom: 24px;
  color: #ffffff;
}

.hero p {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-slide .hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.hero-slide.is-active .hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide.is-active .hero-copy > *:nth-child(2) {
  transition-delay: 100ms;
}

.hero-slide.is-active .hero-copy > *:nth-child(3) {
  transition-delay: 190ms;
}

.hero-slide.is-active .hero-copy > *:nth-child(4) {
  transition-delay: 280ms;
}

.hero-controls {
  position: absolute;
  right: max(20px, calc((100vw - var(--container)) / 2));
  bottom: 56px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(10, 28, 43, 0.36);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.slide-count {
  min-width: 55px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent-soft);
}

.hero.is-playing .hero-progress span {
  animation: hero-progress 6s linear forwards;
}

@keyframes hero-progress {
  to { width: 100%; }
}

.trust-ribbon {
  position: relative;
  z-index: 7;
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 1480px);
  margin-inline: auto;
}

.trust-item {
  position: relative;
  min-height: 158px;
  padding: 36px 24px;
  text-align: center;
}

.trust-item + .trust-item::before {
  position: absolute;
  top: 28%;
  bottom: 28%;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.trust-value {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-soft);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.trust-label {
  color: rgba(248, 247, 244, 0.68);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vision-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}

.vision-copy h2 {
  margin-bottom: 24px;
}

.vision-copy > p {
  max-width: 700px;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 30px 0 34px;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.feature-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-blue-soft);
  color: var(--accent-primary);
  content: "✓";
  font-size: 0.72rem;
}

.vision-board {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    linear-gradient(135deg, var(--accent-primary), transparent) border-box;
  box-shadow: var(--shadow-soft);
}

.vision-board::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  opacity: 0.42;
}

.vision-board::after {
  position: absolute;
  top: 13%;
  right: 8%;
  width: 62%;
  height: 46%;
  border: 1px solid var(--accent-primary);
  border-radius: 50% 50% 12px 12px;
  content: "";
  opacity: 0.32;
  transform: rotate(-6deg);
}

.vision-board-content {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 2;
  padding: 26px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
  backdrop-filter: blur(12px);
}

.vision-board-content strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.vision-board-content span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.journey-step {
  position: relative;
  padding: 28px 22px;
}

.journey-step + .journey-step {
  border-left: 1px solid var(--border-soft);
}

.journey-step span {
  display: block;
  margin-bottom: 9px;
  color: var(--accent-secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.journey-step strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.image-collage {
  position: relative;
  min-height: 590px;
}

.visual-placeholder {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-blue-soft) 76%, var(--bg-elevated)), var(--bg-elevated));
  box-shadow: var(--shadow-soft);
}

.visual-placeholder::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.6;
}

.visual-placeholder::after {
  position: absolute;
  right: -10%;
  bottom: -14%;
  width: 75%;
  height: 65%;
  border: 1px solid var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 8%, transparent);
  clip-path: polygon(15% 18%, 54% 0, 100% 25%, 100% 100%, 0 100%, 0 36%);
  content: "";
  opacity: 0.48;
}

.placeholder-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.placeholder-label small {
  color: var(--text-muted);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collage-main {
  position: absolute;
  inset: 0 14% 14% 0;
}

.collage-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 43%;
  border: 10px solid var(--bg-secondary);
}

.info-badge {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 3;
  width: 180px;
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}

.info-badge strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.info-badge span {
  color: var(--text-muted);
  font-size: 0.77rem;
}

.content-copy h2 {
  margin-bottom: 24px;
}

.content-copy p {
  color: var(--text-muted);
}

.mission-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 34px;
}

.mission-card {
  padding: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.mission-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.mission-card span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.founder-card {
  min-height: 460px;
  perspective: 1200px;
}

.founder-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  transform-style: preserve-3d;
  transition: transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

@media (hover: hover) and (pointer: fine) {
  .founder-card:hover .founder-inner {
    transform: rotateY(180deg);
  }
}

.founder-card.is-flipped .founder-inner {
  transform: rotateY(180deg);
}

.founder-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
  backface-visibility: hidden;
}

.founder-front {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.founder-photo {
  min-height: 100%;
  border: 0;
  border-radius: 0;
}

.founder-photo.has-creative-image {
  align-self: stretch;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-right: 1px solid var(--border-soft);
  aspect-ratio: auto;
}

.founder-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.portrait-frame {
  isolation: isolate;
  background: #e9eff3;
}

.portrait-backdrop {
  position: absolute;
  inset: -8%;
  z-index: 0;
  background-image: var(--portrait-image);
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(0.72);
  opacity: 0.3;
  transform: scale(1.08);
}

.visual-placeholder.has-creative-image.portrait-frame::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(235, 241, 245, 0.52));
  content: "";
  pointer-events: none;
}

.portrait-frame .creative-image {
  position: relative;
  z-index: 2;
}

.portrait-abhishek {
  --portrait-image: url("/assets/images/tri-eye-infra/founders/abhishek-malik.png");
}

.portrait-yash {
  --portrait-image: url("/assets/images/tri-eye-infra/founders/yash-gupta-updated.png");
}

[data-theme="dark"] .portrait-frame {
  background: #1c2d3b;
}

[data-theme="dark"] .visual-placeholder.has-creative-image.portrait-frame::after {
  background: linear-gradient(180deg, rgba(12, 26, 38, 0.18), rgba(12, 26, 38, 0.46));
}

.founder-summary h3 {
  margin-bottom: 6px;
}

.founder-summary .role {
  margin-bottom: 20px;
  color: var(--accent-secondary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.founder-summary p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-toggle {
  align-self: flex-start;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: var(--accent-primary);
  cursor: pointer;
  font-weight: 800;
}

.founder-back {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
  background: #102a43;
  color: rgba(255, 255, 255, 0.78);
  transform: rotateY(180deg);
}

[data-theme="dark"] .founder-back {
  background: #20384a;
}

.founder-back h3 {
  color: #ffffff;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
}

.expertise-list li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  color: var(--accent-soft);
  font-size: 0.74rem;
  font-weight: 700;
}

.founder-back .profile-toggle {
  color: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.value-card,
.support-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: 0 0 0 transparent;
  transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.service-card:hover,
.value-card:hover,
.support-card:hover {
  border-color: var(--border-strong);
  background: color-mix(in srgb, var(--bg-card) 91%, var(--accent-blue-soft));
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.service-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 46px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--accent-blue-soft);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 850;
  transition: transform 250ms ease;
}

.service-card:hover .service-number {
  transform: translateX(4px);
}

.service-card h3 {
  margin-bottom: 13px;
}

.service-card p {
  min-height: 82px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.process-shell {
  position: relative;
}

.process-line {
  position: absolute;
  top: 43px;
  right: 7%;
  left: 7%;
  height: 2px;
  background: var(--border-soft);
}

.process-line span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  background: var(--accent-primary);
  transition: width 650ms ease;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  text-align: center;
  opacity: 0.52;
  transition: opacity 350ms ease, transform 350ms ease;
}

.process-step.is-active {
  opacity: 1;
  transform: translateY(-4px);
}

.process-dot {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 17px auto 28px;
  border: 6px solid var(--bg-secondary);
  border-radius: 50%;
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px var(--border-soft);
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 850;
}

.process-step.is-active .process-dot {
  background: var(--accent-primary);
  color: #ffffff;
}

.process-step h3 {
  margin-bottom: 9px;
  font-size: 1.03rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.future-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
  padding: 20px 22px;
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 45%, var(--border-soft));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent-soft) 13%, var(--bg-elevated));
}

.future-note strong {
  color: var(--text-primary);
}

.future-note p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.franchise-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: franchise-step;
}

.flow-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  counter-increment: franchise-step;
}

.flow-card::before {
  display: block;
  margin-bottom: 26px;
  color: var(--accent-secondary);
  content: counter(franchise-step, decimal-leading-zero);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.flow-card h3 {
  margin-bottom: 10px;
}

.flow-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(38px, 7vw, 98px);
  align-items: start;
}

.why-visual {
  position: sticky;
  top: calc(var(--header-height) + 34px);
  min-height: 610px;
}

.why-visual .visual-placeholder {
  position: absolute;
  inset: 0;
}

.why-cards {
  display: grid;
  gap: 18px;
}

.why-card {
  min-height: 210px;
  padding: 34px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  opacity: 0.64;
  transition: opacity 320ms ease, transform 320ms ease, border-color 320ms ease;
}

.why-card.is-active {
  border-color: var(--accent-primary);
  opacity: 1;
  transform: translateX(-8px);
}

.why-card span {
  display: block;
  margin-bottom: 32px;
  color: var(--accent-secondary);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.why-card p {
  color: var(--text-muted);
}

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

.support-card {
  min-height: 210px;
}

.support-card span {
  display: block;
  margin-bottom: 36px;
  color: var(--accent-secondary);
  font-size: 0.75rem;
  font-weight: 850;
}

.support-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.comparison-card {
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}

.comparison-card.featured {
  border-color: var(--accent-primary);
  background: color-mix(in srgb, var(--bg-elevated) 88%, var(--accent-blue-soft));
  box-shadow: var(--shadow-card);
}

.comparison-card h3 {
  margin-bottom: 26px;
}

.comparison-card ul {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.comparison-card li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
}

.comparison-card li::before {
  color: var(--accent-secondary);
  content: "•";
  font-weight: 850;
}

.network-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.network-map {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent-primary) 16%, transparent), transparent 48%),
    var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.network-map.has-map-image {
  min-height: 0;
  aspect-ratio: 1344 / 1170;
  background: #f7f9fb;
}

.network-map.has-map-image::before {
  display: none;
}

.network-map-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.network-map::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.48;
}

.india-form {
  position: absolute;
  top: 9%;
  left: 24%;
  width: 52%;
  height: 80%;
  border: 1px solid var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 13%, var(--bg-elevated));
  clip-path: polygon(33% 0, 58% 8%, 76% 2%, 95% 18%, 79% 28%, 90% 43%, 74% 56%, 65% 78%, 49% 100%, 38% 80%, 26% 67%, 8% 52%, 17% 37%, 0 24%, 21% 17%);
}

.map-marker {
  position: absolute;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 5px solid color-mix(in srgb, var(--accent-soft) 55%, transparent);
  border-radius: 50%;
  background: var(--accent-primary);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 850;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.map-marker:hover,
.map-marker:focus-visible,
.map-marker.is-active {
  box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent-primary) 18%, transparent);
  transform: scale(1.1);
}

.marker-north { top: 15%; left: 45%; }
.marker-west { top: 42%; left: 30%; }
.marker-central { top: 43%; left: 49%; }
.marker-east { top: 40%; left: 67%; }
.marker-south { top: 73%; left: 48%; }

.map-status {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
  backdrop-filter: blur(12px);
}

.map-status strong {
  color: var(--text-primary);
}

.map-status span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.map-legend {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 28px 0 34px;
  list-style: none;
}

.map-legend li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.map-legend li::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-secondary);
  content: "";
}

.rail-section {
  overflow: hidden;
}

.gallery-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.gallery-viewport.is-dragging {
  cursor: grabbing;
}

.gallery-track {
  display: flex;
  width: max-content;
  gap: 20px;
  will-change: transform;
}

.gallery-card {
  position: relative;
  width: clamp(330px, 31vw, 430px);
  aspect-ratio: 3 / 2;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-blue-soft) 78%, var(--bg-elevated)), var(--bg-elevated));
}

.gallery-card::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  opacity: 0.55;
}

.gallery-card::after {
  position: absolute;
  inset: auto -10% -18% 22%;
  height: 76%;
  border: 1px solid var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 9%, transparent);
  clip-path: polygon(10% 22%, 46% 0, 100% 15%, 100% 100%, 0 100%, 0 35%);
  content: "";
}

.gallery-meta {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  background: color-mix(in srgb, var(--bg-elevated) 89%, transparent);
  backdrop-filter: blur(10px);
}

.gallery-meta strong,
.gallery-meta span {
  display: block;
}

.gallery-meta strong {
  color: var(--text-primary);
  font-size: 0.92rem;
}

.gallery-meta span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(16, 42, 67, 0.82);
  color: #ffffff;
  opacity: 0;
  transition: opacity 280ms ease;
}

[data-theme="dark"] .gallery-overlay {
  background: rgba(4, 12, 20, 0.86);
}

.gallery-card:hover .gallery-overlay,
.gallery-card:focus-within .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-note {
  width: min(calc(100% - 40px), var(--container));
  margin: 26px auto 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 82% 18%, rgba(216, 195, 165, 0.28), transparent 26%),
    linear-gradient(135deg, #102a43, #1b4765);
  color: rgba(255, 255, 255, 0.78);
}

.cta-banner::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: clamp(38px, 6vw, 74px);
}

.cta-content h2 {
  max-width: 720px;
  margin-bottom: 17px;
  color: #ffffff;
}

.cta-content p {
  max-width: 690px;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 12px;
}

.enquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 32px 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
}

.contact-list .contact-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--accent-blue-soft);
  color: var(--accent-primary);
  font-size: 0.74rem;
  font-weight: 850;
}

.contact-list strong,
.contact-list a,
.contact-list span {
  display: block;
}

.contact-list strong {
  color: var(--text-primary);
  font-size: 0.8rem;
}

.contact-list a,
.contact-list span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.enquiry-form {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.field input,
.field select {
  min-height: 52px;
  padding: 0 15px;
}

.field textarea {
  min-height: 130px;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-primary) 17%, transparent);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  min-height: 18px;
  color: var(--error);
  font-size: 0.72rem;
}

.form-note {
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text-secondary);
  box-shadow: 0 0 0 1000px var(--bg-primary) inset;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 78px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #071624;
  color: rgba(255, 255, 255, 0.68);
}

[data-theme="dark"] .site-footer {
  background: #050d15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr 0.9fr 1fr;
  gap: 48px;
  padding-bottom: 58px;
}

.site-footer .brand {
  color: #ffffff;
}

.footer-about p {
  max-width: 360px;
  margin-top: 22px;
}

.site-footer h3 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--accent-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.77rem;
}

.footer-bottom-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer .theme-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 13px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.custom-cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.custom-cursor {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--accent-primary);
  transition: width 180ms ease, height 180ms ease, background-color 180ms ease;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--text-primary);
}

.custom-cursor span {
  color: transparent;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.custom-cursor.is-hovering {
  width: 58px;
  height: 58px;
  background: var(--accent-primary);
}

.custom-cursor.has-label {
  width: 76px;
  height: 76px;
  border-color: var(--accent-soft);
  background: var(--bg-deep);
}

.custom-cursor.has-label span {
  color: #ffffff;
}

[data-theme="dark"] .custom-cursor {
  border-color: var(--accent-soft);
}

.page-hero {
  position: relative;
  min-height: 580px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px 0 86px;
  background:
    linear-gradient(rgba(5, 18, 29, 0.72), rgba(5, 18, 29, 0.82)),
    linear-gradient(135deg, #102a43, #274c77 62%, #8b6e50);
  color: #ffffff;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
}

.page-hero::after {
  position: absolute;
  right: 6%;
  bottom: -18%;
  width: 45%;
  height: 76%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  clip-path: polygon(15% 22%, 56% 0, 100% 17%, 100% 100%, 0 100%, 0 34%);
  content: "";
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.page-hero h1 {
  margin-bottom: 22px;
  color: #ffffff;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.page-hero .hero-actions {
  margin-top: 30px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumbs span {
  color: var(--accent-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
}

.value-card {
  min-height: 190px;
  padding: 24px;
}

.value-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent-secondary);
  font-size: 0.72rem;
  font-weight: 850;
}

.value-card h3 {
  font-size: 1.05rem;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline-list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 22px;
  width: 2px;
  background: var(--border-soft);
  content: "";
}

.timeline-list li {
  position: relative;
  padding: 0 0 42px 78px;
}

.timeline-list li::before {
  position: absolute;
  top: 3px;
  left: 9px;
  width: 24px;
  height: 24px;
  border: 6px solid var(--bg-secondary);
  border-radius: 50%;
  background: var(--accent-primary);
  content: "";
  box-shadow: 0 0 0 1px var(--border-strong);
}

.timeline-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.12rem;
}

.timeline-list p {
  color: var(--text-muted);
}

.profile-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.profile-detail + .profile-detail {
  margin-top: 100px;
}

.profile-detail:nth-child(even) {
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, 0.68fr);
}

.profile-detail:nth-child(even) .profile-detail-photo {
  order: 2;
}

.profile-detail-photo {
  min-height: 560px;
}

.profile-detail-photo.has-creative-image {
  justify-self: center;
  width: 100%;
  max-width: 520px;
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.profile-detail-copy p {
  color: var(--text-muted);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.detail-list li {
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.industry-item {
  min-height: 120px;
  display: flex;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-blue-soft) 64%, transparent), transparent),
    var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  font-weight: 750;
}

.faq-item button span:last-child {
  font-size: 1.3rem;
  transition: transform 250ms ease;
}

.faq-item button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 22px 22px;
  color: var(--text-muted);
}

.faq-item button[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
}

.filter-button.is-active {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #ffffff;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-page-grid .gallery-card {
  width: auto;
}

.gallery-page-grid .gallery-card.is-hidden {
  display: none;
}

.map-placeholder {
  min-height: 520px;
}

.office-card {
  padding: 30px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
}

.office-card h3 {
  margin-bottom: 12px;
}

.office-card p,
.office-card a {
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.from-left {
  transform: translateX(-24px);
}

.reveal.from-right {
  transform: translateX(24px);
}

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

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a:not(.btn) {
    font-size: 0.78rem;
  }

  .desktop-nav .optional-nav {
    display: none;
  }

  .support-grid,
  .value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 74px;
  }

  .desktop-nav,
  .header-actions .desktop-cta,
  .header-actions > .theme-toggle {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: 720px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:last-child {
    grid-column: 1 / -1;
  }

  .trust-item:nth-child(odd)::before,
  .trust-item:last-child::before {
    display: none;
  }

  .vision-layout,
  .split-layout,
  .why-layout,
  .network-layout,
  .enquiry-layout,
  .profile-detail {
    grid-template-columns: 1fr;
  }

  .profile-detail:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .vision-board {
    min-height: 500px;
  }

  .journey {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey-step + .journey-step {
    border-left: 0;
  }

  .journey-step:nth-child(even) {
    border-left: 1px solid var(--border-soft);
  }

  .journey-step:nth-child(n + 3) {
    border-top: 1px solid var(--border-soft);
  }

  .journey-step:last-child {
    grid-column: 1 / -1;
  }

  .founder-front {
    grid-template-columns: minmax(180px, 0.72fr) minmax(0, 1.28fr);
  }

  .service-grid,
  .franchise-flow,
  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line {
    top: 0;
    bottom: 0;
    left: 25px;
    width: 2px;
    height: auto;
  }

  .process-line span {
    width: 100%;
    height: var(--progress, 0%);
    transition: height 650ms ease;
  }

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

  .process-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: start;
    text-align: left;
  }

  .process-dot {
    margin: 0;
    border-color: var(--bg-secondary);
  }

  .why-visual {
    position: relative;
    top: auto;
    min-height: 500px;
  }

  .why-card.is-active {
    transform: translateY(-4px);
  }

  .support-grid,
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-detail:nth-child(even) .profile-detail-photo {
    order: initial;
  }

  .profile-detail-photo {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-shell,
  .hero-content,
  .gallery-note {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    margin-top: 54px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.25rem);
  }

  .hero-controls {
    right: 14px;
    bottom: 28px;
  }

  .placeholder-spec {
    right: 14px;
    bottom: 100px;
  }

  .hero-placeholder::after {
    right: -28%;
    width: 110vw;
    height: 56%;
  }

  .trust-item {
    min-height: 135px;
    padding: 30px 14px;
  }

  .feature-list,
  .mission-row,
  .founder-grid,
  .service-grid,
  .franchise-flow,
  .comparison-grid,
  .support-grid,
  .gallery-page-grid,
  .industries-grid,
  .form-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .vision-board {
    min-height: 430px;
  }

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

  .journey-step:nth-child(even) {
    border-left: 0;
  }

  .journey-step + .journey-step,
  .journey-step:nth-child(n + 3) {
    border-top: 1px solid var(--border-soft);
  }

  .journey-step:last-child {
    grid-column: auto;
  }

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

  .collage-main {
    right: 8%;
    bottom: 18%;
  }

  .collage-secondary {
    width: 52%;
    height: 38%;
  }

  .info-badge {
    top: 24px;
    width: 155px;
    padding: 16px;
  }

  .founder-card,
  .founder-inner {
    min-height: 620px;
  }

  .founder-front {
    grid-template-columns: 1fr;
    grid-template-rows: 58% 42%;
  }

  .founder-summary {
    padding: 24px;
  }

  .founder-back {
    padding: 28px;
  }

  .service-card p {
    min-height: 0;
  }

  .process-step {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .process-dot {
    width: 46px;
    height: 46px;
  }

  .why-visual {
    min-height: 420px;
  }

  .why-card {
    min-height: 0;
  }

  .network-map {
    min-height: 520px;
  }

  .gallery-card {
    width: 82vw;
  }

  .cta-content {
    display: block;
  }

  .cta-actions {
    align-items: flex-start;
    margin-top: 30px;
  }

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

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom-actions {
    margin-top: 18px;
  }

  .page-hero {
    min-height: 540px;
    padding-bottom: 66px;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-detail-photo {
    min-height: 450px;
  }
}

@media (max-width: 430px) {
  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .trust-item {
    padding-inline: 10px;
  }

  .trust-label {
    font-size: 0.66rem;
  }

  .image-collage {
    min-height: 440px;
  }

  .network-map {
    min-height: 450px;
  }

  .map-status {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
  }

  .map-status span {
    display: block;
    margin-top: 4px;
  }

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

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (hover: none), (pointer: coarse), (max-width: 1023px) {
  .custom-cursor,
  .cursor-dot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .custom-cursor,
  .cursor-dot {
    display: none;
  }

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

/* Restrained editorial decoration for the homepage section transition */
.premium-section {
  overflow: hidden;
  isolation: isolate;
}

.section-content {
  position: relative;
  z-index: 2;
}

.section-decoration {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.light-section-decoration {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 68%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 68%, #000 100%);
}

.gradient-glow {
  position: absolute;
  top: -230px;
  right: -120px;
  width: clamp(340px, 30vw, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88, 184, 178, 0.22) 0%, rgba(73, 125, 211, 0.11) 42%, transparent 72%);
  filter: blur(32px);
}

.contour {
  position: absolute;
  border: 1px solid rgba(25, 70, 90, 0.14);
  border-radius: 50%;
}

.contour-one {
  top: -115px;
  right: -80px;
  width: 430px;
  height: 210px;
  transform: rotate(-8deg);
}

.contour-two {
  top: -145px;
  right: -125px;
  width: 510px;
  height: 260px;
  transform: rotate(-8deg);
}

.dot-cluster {
  position: absolute;
  top: 24px;
  right: 30px;
  width: 120px;
  height: 90px;
  background-image: radial-gradient(circle, rgba(20, 65, 85, 0.7) 1.1px, transparent 1.4px);
  background-size: 14px 14px;
  opacity: 0.12;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 100%);
  mask-image: linear-gradient(to left, #000 20%, transparent 100%);
}

.beige-section-decoration {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 28%, transparent 72%, #000 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 28%, transparent 72%, #000 100%);
}

.large-arc {
  position: absolute;
  left: -380px;
  width: 650px;
  height: 330px;
  border: 1px solid rgba(19, 57, 78, 0.13);
  border-radius: 50%;
  transform: rotate(18deg);
}

.arc-one {
  top: 40px;
}

.arc-two {
  top: 72px;
  left: -410px;
  opacity: 0.72;
}

.soft-ribbon {
  position: absolute;
  right: -260px;
  bottom: -30px;
  width: 600px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent, rgba(80, 181, 172, 0.1), rgba(118, 106, 210, 0.07), transparent);
  filter: blur(18px);
  transform: rotate(-18deg);
}

.spark-cluster {
  position: absolute;
  right: clamp(26px, 5vw, 76px);
  bottom: 54px;
  width: 78px;
  height: 50px;
  background:
    linear-gradient(45deg, transparent 46%, rgba(24, 73, 91, 0.18) 47% 53%, transparent 54%) 4px 7px / 9px 9px no-repeat,
    linear-gradient(-45deg, transparent 46%, rgba(24, 73, 91, 0.18) 47% 53%, transparent 54%) 4px 7px / 9px 9px no-repeat,
    linear-gradient(45deg, transparent 47%, rgba(24, 73, 91, 0.14) 48% 52%, transparent 53%) 34px 26px / 7px 7px no-repeat,
    linear-gradient(-45deg, transparent 47%, rgba(24, 73, 91, 0.14) 48% 52%, transparent 53%) 34px 26px / 7px 7px no-repeat,
    linear-gradient(45deg, transparent 46%, rgba(24, 73, 91, 0.16) 47% 53%, transparent 54%) 61px 5px / 10px 10px no-repeat,
    linear-gradient(-45deg, transparent 46%, rgba(24, 73, 91, 0.16) 47% 53%, transparent 54%) 61px 5px / 10px 10px no-repeat;
}

.grain-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(20, 44, 54, 0.16) 0 0.45px, transparent 0.65px),
    radial-gradient(circle at 70% 65%, rgba(20, 44, 54, 0.12) 0 0.4px, transparent 0.6px);
  background-position: 0 0, 6px 7px;
  background-size: 11px 11px, 13px 13px;
  opacity: 0.025;
}

[data-theme="dark"] .gradient-glow {
  background: radial-gradient(circle, rgba(88, 184, 178, 0.2) 0%, rgba(105, 124, 228, 0.12) 42%, transparent 72%);
}

[data-theme="dark"] .contour,
[data-theme="dark"] .large-arc {
  border-color: rgba(159, 211, 216, 0.14);
}

[data-theme="dark"] .dot-cluster {
  background-image: radial-gradient(circle, rgba(176, 224, 225, 0.75) 1.1px, transparent 1.4px);
}

[data-theme="dark"] .spark-cluster {
  opacity: 0.68;
  filter: invert(1);
}

.contact-icon .bi,
.service-number.icon-number .bi {
  font-size: 1.1rem;
  line-height: 1;
}

.btn .bi,
.footer-links .bi,
.footer-bottom-actions .bi {
  flex: 0 0 auto;
  font-size: 0.92rem;
  line-height: 1;
}

.footer-links a:has(.bi),
.footer-bottom-actions a:has(.bi) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links .bi {
  color: var(--accent-soft);
}

.footer-credit {
  margin-left: 8px;
  color: rgba(248, 247, 244, 0.58);
}

.footer-credit a {
  color: var(--accent-soft);
  font-weight: 750;
}

.footer-credit a:hover {
  color: #ffffff;
}

@media (max-width: 720px) {
  .gradient-glow {
    top: -140px;
    right: -110px;
    width: 260px;
  }

  .contour {
    opacity: 0.6;
    transform: rotate(-8deg) scale(0.72);
    transform-origin: top right;
  }

  .dot-cluster,
  .grain-overlay {
    display: none;
  }

  .large-arc {
    left: -260px;
    width: 360px;
    height: 190px;
  }

  .arc-two {
    left: -278px;
  }

  .soft-ribbon {
    right: -330px;
    opacity: 0.72;
  }

  .spark-cluster {
    right: 18px;
    bottom: 28px;
    opacity: 0.75;
  }

  .footer-credit {
    display: block;
    margin: 8px 0 0;
  }
}
