/* ==========================================================================
   Spacez Brand Identity & Design System
   ========================================================================== */
:root {
  /* Color System */
  --ink: #15362f;
  --muted-ink: #5d6864;
  --paper: #ffffff;
  --soft: #f4f9f6;
  --line: #dce9e2;
  --brand: #245f4d;         /* Deep Forest Green */
  --brand-light: #2f745f;   /* Accent Forest Green */
  --gold: #8fb8a3;          /* Soft Mint/Sage Accent */
  --amber: #d6a94f;         /* Warm proof accent */
  --navy: #17324d;          /* Credibility contrast */
  --deep: #12332c;          /* Solid Dark Slate Green */
  --deep-2: #edf5f1;        /* Light Sage Background */
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
  --grad-glow: linear-gradient(135deg, var(--brand-light) 0%, var(--gold) 100%);
  --grad-light: linear-gradient(180deg, #f8fbf9 0%, #ffffff 42%, #f6f8fb 100%);
  --grad-dark: linear-gradient(135deg, #12332c 0%, #17324d 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  --grad-card-hover: linear-gradient(180deg, #ffffff 0%, rgba(237, 245, 241, 0.4) 100%);

  /* Typography & Scale */
  --font-main: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(21, 54, 47, 0.04);
  --shadow-md: 0 12px 30px rgba(21, 54, 47, 0.08);
  --shadow-lg: 0 22px 50px rgba(21, 54, 47, 0.12);
  --shadow-glow: 0 15px 35px rgba(36, 95, 77, 0.2);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.03);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Global Resets & Standards
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 68px;
  font-family: var(--font-main);
  color: var(--ink);
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(36, 95, 77, 0.08), transparent 34%),
    radial-gradient(circle at 100% 8%, rgba(143, 184, 163, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(36, 95, 77, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 42%, #f3f8f5 100%);
  background-size: auto, auto, 82px 82px, auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Typography elements */
h1, h2, h3, h4, p {
  margin: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.15rem, 6.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--ink);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* ==========================================================================
   Premium Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.btn.primary {
  color: #fff;
  background: var(--brand);
  background-image: var(--grad-primary);
  box-shadow: var(--shadow-glow);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(36, 95, 77, 0.3);
}

.btn.primary:active {
  transform: translateY(-1px);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn.ghost:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn.light {
  color: var(--brand);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn.light:hover {
  color: var(--brand-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn.outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn.outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
}

/* Eyebrows & Tags */
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  background: rgba(143, 184, 163, 0.15);
  border-radius: var(--radius-full);
}

.eyebrow.dark {
  color: var(--brand);
  background: rgba(36, 95, 77, 0.08);
}

/* Section Headings */
.section-heading,
.section-head {
  max-width: 820px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-heading.center,
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.section-head h2 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: inherit;
  margin-bottom: 16px;
}

.section-heading p,
.section-head p {
  font-size: 1.05rem;
  color: var(--muted-ink);
  line-height: 1.7;
}

.section.dark .section-heading p,
.section.dark .section-head p {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Header Navigation (Glassmorphic)
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 8px clamp(20px, 6vw, 80px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(36, 95, 77, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(200px, 45vw);
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--muted-ink);
  transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand);
  background: rgba(36, 95, 77, 0.05);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--brand);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 50%;
}

.nav-toggle,
.nav-button {
  display: none;
}

/* ==========================================================================
   Hero Section Redesign (Asymmetric & Bold)
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(620px, 76vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background-color: var(--deep);
  color: #fff;
  padding: clamp(28px, 4vw, 52px) 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/spacez-hero-generated.png");
  background-size: cover;
  background-position: center right;
  opacity: 1;
  transform: scale(1.02);
  animation: slowZoom 25s ease-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 41, 35, 0.82) 0%, rgba(13, 41, 35, 0.62) 38%, rgba(13, 41, 35, 0.18) 72%, rgba(13, 41, 35, 0.08) 100%),
    linear-gradient(180deg, rgba(13, 41, 35, 0.16) 0%, rgba(13, 41, 35, 0.34) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - clamp(36px, 10vw, 160px)));
  margin: 0 auto;
  animation: fadeUp var(--transition-slow) forwards;
}

.hero-content h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.08;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
  margin-bottom: 24px;
}

.hero-copy strong {
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 22px;
}

.hero-proof span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px 8px 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  background: rgba(8, 31, 27, 0.34);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translateY(-50%);
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4-7.1 7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4-7.1 7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Hero glassmorphic stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 660px;
}

.hero-stats-item {
  padding: 16px 18px;
  background: rgba(8, 31, 27, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform var(--transition-normal), border var(--transition-normal);
}

.hero-stats-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats-item strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 6px;
  background: linear-gradient(to right, #ffffff, #f2d58c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stats-item span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
}

.trust-snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -28px clamp(20px, 6vw, 80px) 0;
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(36, 95, 77, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.trust-snapshot article {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 250, 0.96)),
    #ffffff;
}

.trust-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  background: rgba(214, 169, 79, 0.16);
  color: #8a6422;
  font-size: 0.78rem;
  font-weight: 900;
}

.trust-snapshot h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.trust-snapshot p {
  color: var(--muted-ink);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ==========================================================================
   General Section Design
   ========================================================================== */
.section {
  padding: clamp(24px, 4vw, 48px) clamp(20px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.section.muted {
  background:
    linear-gradient(180deg, rgba(244, 249, 246, 0.92), rgba(246, 248, 251, 0.92)),
    var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.about-proof-side {
  display: grid;
  align-content: start;
  justify-items: start;
}

.about-overview {
  align-items: center;
}

.about-overview .section-copy {
  padding-top: 0;
}

.about-trust-image {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(36, 95, 77, 0.14);
  box-shadow: var(--shadow-lg);
  background: var(--deep);
}

.about-trust-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 51, 44, 0.02), rgba(18, 51, 44, 0.34)),
    linear-gradient(90deg, rgba(36, 95, 77, 0.18), transparent 48%);
  pointer-events: none;
}

.about-trust-image::after {
  content: "60+ projects marketed";
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  color: #ffffff;
  background: rgba(18, 51, 44, 0.68);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-trust-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-trust-image:hover img {
  transform: scale(1.04);
}

.section-copy {
  color: var(--muted-ink);
  font-size: 1.08rem;
  line-height: 1.7;
}

.section-copy h2 {
  margin-bottom: 22px;
}

.section-copy p:not(:last-child) {
  margin-bottom: 20px;
}

/* Value pills */
.value-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.value-row span,
.pill-row span {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--deep-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.value-row span:hover,
.pill-row span:hover {
  transform: translateY(-2px);
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.partner-marquee {
  position: relative;
  overflow: hidden;
  background: rgba(36, 95, 77, 0.04);
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px 20px 32px;
}

.partner-marquee .marquee-mask {
  overflow: hidden;
  position: relative;
}

.partner-marquee .marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 10px;
  animation: marquee 28s linear infinite;
}

.partner-marquee .marquee-group {
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 90px;
  padding: 16px 24px;
  background: #ffffff;
  border: 1px solid rgba(36, 95, 77, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.partner-logo img {
  max-height: 50px;
  width: auto;
  display: block;
  filter: saturate(0.9);
}

.partner-logo--text {
  background: #f7fbf8;
  border-color: rgba(36, 95, 77, 0.12);
}

.partner-logo--text span {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  width: 100%;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .section.split {
    grid-template-columns: 1fr;
  }

  .trust-snapshot,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid .quote-panel {
    grid-row: auto;
  }

  .card-grid,
  .property-grid,
  .channel-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .partner-logo {
    min-width: 140px;
    min-height: 72px;
    padding: 14px 18px;
  }

  .partner-marquee {
    padding: 28px 16px 20px;
  }
}

/* Metric banner redesign */
.achievement-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background-color: var(--deep);
  padding: 0;
  border-bottom: 1px solid var(--brand-light);
}

.metric {
  padding: 32px clamp(24px, 4vw, 54px);
  text-align: center;
  position: relative;
  background-color: var(--deep);
  transition: background-color var(--transition-normal);
}

.metric:hover {
  background-color: rgba(36, 95, 77, 0.15);
}

.metric:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.metric strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}

.metric span {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Modern Cards Layouts (Grid, Hover and glows)
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.card-grid.five {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.feature-card,
.property-card,
.service-block,
.contact-panel,
.contact-form {
  position: relative;
  border: 1px solid rgba(36, 95, 77, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 251, 247, 0.98) 58%, rgba(235, 246, 240, 0.95) 100%);
  box-shadow: 0 18px 42px rgba(17, 52, 44, 0.1);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  overflow: hidden;
}

.feature-card,
.property-card,
.service-block {
  padding: 24px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}

.feature-card {
  grid-column: span 4;
}

.card-grid.five .feature-card {
  grid-column: span 3;
}

.feature-card:nth-child(4n + 1) {
  transform: translateY(4px);
}

.feature-card:nth-child(4n + 3) {
  transform: translateY(-4px);
}

.feature-card::before,
.property-card::before,
.service-block::before,
.process-card::before,
.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 16%, rgba(36, 95, 77, 0.16) 0%, transparent 38%),
    linear-gradient(120deg, transparent 58%, rgba(36, 95, 77, 0.08));
  opacity: 1;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  pointer-events: none;
  z-index: -1;
}

.feature-card:hover,
.property-card:hover,
.service-block:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(36, 95, 77, 0.38);
  box-shadow: 0 26px 54px rgba(17, 52, 44, 0.17);
}

.feature-card:hover::before,
.property-card:hover::before,
.service-block:hover::before,
.process-card:hover::before,
.quote-card:hover::before {
  opacity: 1;
  transform: scale(1.04);
}

.feature-card h3,
.property-card h3,
.service-block h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-card p,
.property-card p,
.service-block p {
  color: var(--muted-ink);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  border-radius: var(--radius-full);
  color: #0f3e33;
  background: linear-gradient(90deg, rgba(143, 184, 163, 0.28), rgba(143, 184, 163, 0.1));
  border: 1px solid rgba(36, 95, 77, 0.18);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.feature-card:hover .card-icon,
.property-card:hover .card-icon,
.service-block:hover .card-icon {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Property Grid Redesign (Elegant Tags & Lists)
   ========================================================================== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.property-card {
  height: 100%;
  grid-column: span 3;
}

.property-card h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.property-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--brand);
  transition: width var(--transition-normal);
}

.property-card:hover h3::after {
  width: 64px;
}

.property-market-tabs {
  display: inline-flex;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 8px;
  border: 1px solid rgba(36, 95, 77, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.market-tab {
  border: none;
  background: transparent;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.market-tab.active,
.market-tab:hover {
  background: rgba(36, 95, 77, 0.12);
  color: var(--brand);
}

.property-market-copy {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--muted-ink);
  font-size: 1rem;
}

.property-market-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.market-card {
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 38, 34, 0.08);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 62px rgba(15, 38, 34, 0.14);
}

.market-card-image {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.market-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 51, 44, 0.08) 0%, rgba(18, 51, 44, 0.48) 100%);
}

.market-card-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-card-image h3 {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.market-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.market-card-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.market-card:hover .market-card-link span {
  transform: translateX(3px);
}

@media (max-width: 1150px) {
  .property-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .property-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .property-market-tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .property-market-grid {
    grid-template-columns: 1fr;
  }
}

.process-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(143, 184, 163, 0.16), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(214, 169, 79, 0.12), transparent 30%),
    linear-gradient(135deg, #102d27 0%, #17324d 100%);
  color: #ffffff;
  isolation: isolate;
}

.process-section .eyebrow.dark {
  color: #f2d58c;
  background: rgba(255, 255, 255, 0.08);
}

.process-section h2 {
  color: #ffffff;
}

.process-section .section-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  counter-reset: process;
}

.process-card {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 213, 140, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.09));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.25);
}

.process-card::after {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  right: 18px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 4.6rem;
  font-weight: 900;
  line-height: 1;
}

.process-card span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  color: #ffe7a3;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(242, 213, 140, 0.28);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-card h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.15rem;
}

.process-card p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.68;
}

.section-subtitle {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================================
   Home Project Showcase Slider
   ========================================================================== */
.home-project-showcase {
  background: #ffffff;
  overflow: hidden;
}

.home-project-showcase .section-heading {
  margin-bottom: 42px;
}

.home-project-showcase h2 {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ── Auto-loop project carousel ───────────────────────────── */
.project-loop-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 0 32px;
  /* edge fades */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.project-loop-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.project-loop-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(35, 93, 73, 0.18);
  border-radius: 50%;
  color: var(--home-green, #235d49);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(18, 62, 48, 0.12);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.project-loop-btn:hover,
.project-loop-btn:focus-visible {
  color: #ffffff;
  background: var(--home-green, #235d49);
  box-shadow: 0 18px 40px rgba(18, 62, 48, 0.22);
  transform: translateY(-3px);
}

.project-loop-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: loopScroll 26s linear infinite;
}

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

@keyframes loopScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .project-loop-track { animation: none; }
}

.project-loop-carousel .showcase-project-card {
  flex: 0 0 320px;
  width: 320px;
  min-height: unset;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(20, 45, 39, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-loop-carousel .showcase-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(20, 45, 39, 0.16);
}

.project-loop-carousel .showcase-project-card figure {
  position: relative;
  height: 190px;
  margin: 0;
  overflow: hidden;
}

.project-loop-carousel .showcase-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-loop-carousel .showcase-project-card:hover img {
  transform: scale(1.05);
}

.project-loop-carousel .showcase-project-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  background: #ffffff;
}

.project-loop-carousel .showcase-project-body h3 {
  margin: 0;
  color: #101010;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.project-loop-carousel .project-location {
  margin: 0;
  color: #888;
  font-size: 0.85rem;
}

.project-loop-carousel .project-description {
  margin: 0;
  color: #555;
  font-size: 0.83rem;
  line-height: 1.5;
  padding: 0;
  border: none;
}

.project-loop-carousel .project-know-more {
  align-self: flex-start;
  margin-top: 4px;
  padding: 8px 16px;
  border: 1px solid rgba(35, 93, 73, 0.5);
  border-radius: 6px;
  color: var(--home-green, #235d49);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.project-loop-carousel .project-know-more:hover {
  background: var(--home-green, #235d49);
  color: #fff;
}

.project-loop-carousel .project-type {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-slider {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

.project-slider::before,
.project-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(42px, 7vw, 110px);
  pointer-events: none;
}

.project-slider::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.project-slider::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.project-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 46%);
  gap: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 12px clamp(52px, 8vw, 124px) 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-slider-track::-webkit-scrollbar {
  display: none;
}

.showcase-project-card {
  display: grid;
  grid-template-rows: minmax(270px, 1fr) auto;
  min-height: 560px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(20, 45, 39, 0.12);
  scroll-snap-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.showcase-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 62px rgba(20, 45, 39, 0.17);
}

.showcase-project-card figure {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
}

.showcase-project-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.showcase-project-card:hover img {
  transform: scale(1.04);
}

.project-type {
  position: absolute;
  left: 12px;
  bottom: 18px;
  padding: 8px 13px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.project-type--commercial {
  background: #f31313;
}

.project-type--residential {
  background: #006ff0;
}

.project-type--ongoing {
  background: var(--home-green, #235d49);
}

.showcase-project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 22px;
  padding: 24px 24px 28px;
  background: #ffffff;
}

.showcase-project-body h3 {
  margin: 0 0 10px;
  color: #101010;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
}

.project-location {
  margin: 0;
  color: #6e6e6e;
  font-size: 1rem;
}

.project-location strong,
.project-description strong {
  color: #111111;
}

.project-know-more {
  align-self: start;
  min-width: 140px;
  padding: 12px 16px;
  border: 1px solid #111111;
  border-radius: 6px;
  color: #1a1a1a;
  background: #ffffff;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.project-know-more:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.project-description {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.16);
  color: #323232;
  font-size: 0.96rem;
  line-height: 1.55;
}

.project-slider-btn {
  position: absolute;
  top: 42%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  color: #626262;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: all var(--transition-fast);
}

.project-slider-btn:hover {
  color: var(--brand);
  transform: translateY(-50%) scale(1.04);
}

.project-slider-btn span {
  display: block;
  margin-top: -4px;
  font-size: 4rem;
  font-weight: 300;
  line-height: 0.7;
}

.project-slider-btn--prev {
  left: 8px;
}

.project-slider-btn--next {
  right: 8px;
}

/* ==========================================================================
   Project Status Section
   ========================================================================== */
.projects-section {
  background: #ffffff;
}

.project-tabs {
  max-width: 1180px;
  margin: 0 auto;
}

.project-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.project-tab-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.project-tab-controls label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid rgba(36, 95, 77, 0.16);
  border-radius: var(--radius-full);
  color: var(--brand);
  background: rgba(36, 95, 77, 0.05);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-normal);
}

#projects-ongoing:checked ~ .project-tab-controls label[for="projects-ongoing"],
#projects-upcoming:checked ~ .project-tab-controls label[for="projects-upcoming"],
#projects-completed:checked ~ .project-tab-controls label[for="projects-completed"],
.project-tab-controls label:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.project-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#projects-ongoing:checked ~ .project-panel-ongoing,
#projects-upcoming:checked ~ .project-panel-upcoming,
#projects-completed:checked ~ .project-panel-completed {
  display: grid;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.project-card img {
  width: 100%;
  height: clamp(230px, 22vw, 340px);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-body {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.project-status {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.project-status.upcoming {
  color: var(--brand);
  background: rgba(143, 184, 163, 0.22);
}

.project-status.completed {
  color: var(--ink);
  background: var(--deep-2);
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--ink);
}

.project-card p {
  color: var(--muted-ink);
  font-size: 0.95rem;
  line-height: 1.65;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 22px;
  padding-top: 24px;
}

.project-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: var(--radius-full);
  color: var(--brand);
  background: rgba(36, 95, 77, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
}

.project-card a {
  align-self: flex-start;
  color: var(--brand);
  font-weight: 800;
}

.project-card a:hover {
  color: var(--brand-light);
}

.project-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.project-empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 32px;
  border: 1px dashed rgba(36, 95, 77, 0.22);
  border-radius: var(--radius-md);
  color: var(--muted-ink);
  background: rgba(36, 95, 77, 0.04);
  text-align: center;
}

.project-empty-state p {
  margin: 0;
  font-weight: 700;
}

.property-card ul,
.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 0.9rem;
  display: grid;
  gap: 8px;
}

.property-card ul li,
.check-list li {
  position: relative;
  padding-left: 24px;
  font-weight: 600;
  color: var(--ink);
}

.property-card ul li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 14px;
  height: 14px;
  background: var(--brand-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4-7.1 7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4-7.1 7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   Marketing Channels Redesign
   ========================================================================== */
.channel-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.channel-list a {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 24px;
  color: #fff;
  background: var(--deep);
  box-shadow: 0 20px 44px rgba(12, 40, 34, 0.2);
  overflow: hidden;
  transition: all var(--transition-normal);
  z-index: 1;
  grid-column: span 3;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.channel-list a img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.18) saturate(1.08) contrast(1.03);
  transform: scale(1.02);
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.channel-list a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(18, 51, 44, 0.24) 0%, rgba(18, 51, 44, 0.46) 100%),
    linear-gradient(90deg, rgba(18, 51, 44, 0.38), rgba(18, 51, 44, 0.08));
  transition: background var(--transition-normal);
}

.channel-list a::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 23px;
  pointer-events: none;
}

.channel-list a:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 52px rgba(12, 40, 34, 0.3);
}

.channel-list a:hover img {
  filter: brightness(1.26) saturate(1.14) contrast(1.04);
  transform: scale(1.1);
}

.channel-list a span {
  font-size: 1.7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.62);
  align-self: flex-end;
}

.channel-list a h3 {
  max-width: 260px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

/* ==========================================================================
   Premium Callout & Banner Blocks (Redesign)
   ========================================================================== */
.partner-callout,
.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 6vw, 80px);
  border-radius: var(--radius-lg);
  color: #fff;
  background: var(--grad-dark);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 0 clamp(20px, 6vw, 80px) 24px;
}

.partner-callout::before,
.final-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(143, 184, 163, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.partner-callout h2,
.final-cta h2 {
  color: #ffffff;
  margin-top: 8px;
  margin-bottom: 16px;
}

.partner-callout p,
.final-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}

.partner-callout .check-list {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.partner-callout .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.partner-callout .check-list li::before {
  color: var(--gold);
}

/* ==========================================================================
   Modern Testimonial Redesign
   ========================================================================== */
.quote-panel {
  max-width: 960px;
  padding: 24px;
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonial-grid .quote-panel {
  grid-row: span 2;
  margin-top: 0;
}

.quote-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(36, 95, 77, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(150deg, #ffffff 0%, #f6fbf8 62%, #edf5f1 100%);
  box-shadow: 0 16px 36px rgba(17, 52, 44, 0.11);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.quote-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 95, 77, 0.32);
  box-shadow: 0 24px 46px rgba(17, 52, 44, 0.16);
}

.quote-card p {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.7;
}

.quote-card span {
  display: block;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-panel::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 32px;
  font-size: 7rem;
  color: rgba(143, 184, 163, 0.15);
  line-height: 1;
  font-family: serif;
}

.quote-panel p {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
  font-style: italic;
}

.quote-panel span {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.testimonials-section {
  background: #ffffff;
}

.testimonials-section .testimonial-showcase {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
  max-width: 1180px;
  margin: 0 auto;
}

.testimonial-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(7, 42px);
  gap: 14px;
  min-height: 390px;
  align-items: stretch;
}

.testimonial-photo {
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 28px rgba(21, 54, 47, 0.08);
  overflow: hidden;
}

.testimonial-photo::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(18, 51, 44, 0.08));
}

.testimonial-photo.tile-1 {
  grid-column: 1 / 3;
  grid-row: 2 / 4;
}

.testimonial-photo.tile-2 {
  grid-column: 3 / 5;
  grid-row: 1 / 3;
}

.testimonial-photo.tile-3 {
  grid-column: 2 / 4;
  grid-row: 4 / 6;
}

.testimonial-photo.tile-4 {
  grid-column: 5 / 7;
  grid-row: 1 / 4;
  border-radius: 18px;
}

.testimonial-photo.tile-5 {
  grid-column: 7 / 9;
  grid-row: 1 / 3;
  border-radius: 18px;
}

.testimonial-photo.tile-6 {
  grid-column: 9 / 11;
  grid-row: 2 / 4;
  border-radius: 18px;
}

.testimonial-photo.tile-7 {
  grid-column: 11 / 13;
  grid-row: 1 / 3;
}

.testimonial-photo.tile-8 {
  grid-column: 10 / 12;
  grid-row: 4 / 6;
}

.testimonial-photo.tile-9 {
  grid-column: 12 / 13;
  grid-row: 3 / 6;
}

.testimonial-copy {
  grid-column: 4 / 10;
  grid-row: 5 / 8;
  align-self: start;
  justify-self: center;
  width: min(540px, 100%);
  text-align: center;
  z-index: 2;
}

.testimonial-copy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(21, 54, 47, 0.18);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.testimonial-copy h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.testimonial-copy p {
  margin: 0;
  color: #9a9ca6;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.testimonial-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 7vw, 110px);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.testimonial-stars {
  color: #d6a94f;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.testimonial-stars .half-star {
  display: inline-block;
  color: rgba(214, 169, 79, 0.3);
  position: relative;
}

.testimonial-stars .half-star::before {
  content: "\2605";
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  overflow: hidden;
  color: #d6a94f;
}

.testimonial-card p {
  margin: 0;
  color: #4b5560;
  font-size: 0.78rem;
  line-height: 1.55;
}

.testimonial-author {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-items: center;
}

.testimonial-avatar {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}

.testimonial-author strong {
  color: #111111;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
}

.testimonial-author span:not(.testimonial-avatar) {
  color: #737985;
  font-size: 0.7rem;
  line-height: 1.1;
}

@media (max-width: 980px) {
  .testimonial-image-grid {
    grid-template-rows: repeat(8, 40px);
    min-height: 460px;
  }

  .testimonial-photo.tile-1 {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }

  .testimonial-photo.tile-2 {
    grid-column: 4 / 7;
    grid-row: 1 / 3;
  }

  .testimonial-photo.tile-3 {
    grid-column: 1 / 4;
    grid-row: 3 / 5;
  }

  .testimonial-photo.tile-4 {
    grid-column: 7 / 10;
    grid-row: 1 / 3;
  }

  .testimonial-photo.tile-5 {
    grid-column: 10 / 13;
    grid-row: 1 / 3;
  }

  .testimonial-photo.tile-6 {
    grid-column: 1 / 4;
    grid-row: 5 / 8;
  }

  .testimonial-photo.tile-7 {
    grid-column: 10 / 13;
    grid-row: 4 / 6;
  }

  .testimonial-photo.tile-8 {
    grid-column: 7 / 10;
    grid-row: 5 / 7;
  }

  .testimonial-photo.tile-9 {
    grid-column: 10 / 13;
    grid-row: 6 / 8;
  }

  .testimonial-copy {
    grid-column: 3 / 11;
    grid-row: 4 / 7;
  }

  .testimonial-card-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .testimonial-image-grid {
    display: flex;
    min-height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .testimonial-photo {
    width: calc(33.333% - 10px);
    min-width: 92px;
    height: 118px;
  }

  .testimonial-photo.tile-4,
  .testimonial-photo.tile-5,
  .testimonial-photo.tile-6 {
    height: 148px;
  }

  .testimonial-copy {
    order: -1;
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 8px;
  }
}

.about-intro-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  min-height: 360px;
}

.about-intro-copy h2 {
  margin: 0 0 18px;
}

.about-benefits {
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.about-benefits li {
  position: relative;
  padding-left: 28px;
  color: var(--muted-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.about-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 14px;
  height: 14px;
  background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4-7.1 7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M6.2 11.4 2.7 7.9l1.4-1.4 2.1 2.1 5.7-5.7 1.4 1.4-7.1 7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.about-block-grid,
.about-values-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.about-block-image img,
.about-values-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  min-height: 260px;
}

.about-block-copy h2 {
  margin: 0 0 18px;
}

.about-block--reverse .about-block-copy {
  order: 2;
}

.about-block--reverse .about-block-image {
  order: 1;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.about-value-card {
  padding: 24px;
  min-height: 200px;
}

.about-value-card h3 {
  margin-top: 18px;
}

.about-value-card p {
  color: var(--muted-ink);
  margin-top: 12px;
}

.about-hero-redesign .about-hero-content {
  max-width: 860px;
}

.about-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  font-size: 0.85rem;
  font-weight: 800;
}

.about-story-grid,
.about-focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.about-story-copy {
  color: var(--muted-ink);
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-story-copy h2 {
  margin: 0 0 20px;
  color: var(--ink);
}

.about-story-copy p {
  margin: 0 0 18px;
}

.about-story-copy .btn {
  margin-top: 8px;
}

.about-story-media,
.about-focus-image {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(36, 95, 77, 0.12);
  background: var(--deep);
  box-shadow: 0 28px 70px rgba(21, 54, 47, 0.14);
}

.about-story-media img,
.about-focus-image img {
  display: block;
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.about-story-media::before,
.about-focus-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 51, 44, 0), rgba(18, 51, 44, 0.34));
  pointer-events: none;
}

.about-media-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(18, 51, 44, 0.7);
  backdrop-filter: blur(14px);
}

.about-media-note strong {
  font-size: 1rem;
}

.about-media-note span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.about-metrics-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto clamp(24px, 4vw, 48px);
  border-block: 1px solid rgba(36, 95, 77, 0.14);
  background: #ffffff;
}

.about-metrics-band article {
  display: grid;
  gap: 8px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid rgba(36, 95, 77, 0.12);
}

.about-metrics-band article:last-child {
  border-right: 0;
}

.about-metrics-band strong {
  color: var(--brand);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.about-metrics-band span {
  color: var(--muted-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.about-method-grid,
.about-values-redesign-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-method-grid article,
.about-values-redesign-grid article {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(21, 54, 47, 0.08);
  overflow: hidden;
}

.about-method-grid article::after,
.about-values-redesign-grid article::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(143, 184, 163, 0.16);
}

.about-method-grid span,
.about-values-redesign-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-method-grid h3,
.about-values-redesign-grid h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.25rem;
}

.about-method-grid p,
.about-values-redesign-grid p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.95rem;
  line-height: 1.7;
}

.about-focus-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.about-focus-cards {
  display: grid;
  gap: 18px;
}

.about-focus-cards article,
.about-promise-panel {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(150deg, #ffffff 0%, #f7fbf9 70%, #edf5f1 100%);
  box-shadow: 0 18px 44px rgba(21, 54, 47, 0.08);
}

.about-focus-cards h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.about-focus-cards p:not(.eyebrow),
.about-promise-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1rem;
  line-height: 1.7;
}

.about-values-redesign-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-values-redesign-grid article {
  min-height: 230px;
}

.about-partners-section .partner-marquee {
  margin-top: 8px;
}

.about-promise-panel {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.about-promise-panel h2 {
  max-width: 760px;
  margin: 0 auto 16px;
}

.about-promise-panel p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .about-intro-grid,
  .about-values-layout,
  .about-story-grid,
  .about-focus-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-media img,
  .about-values-media img {
    min-height: 240px;
  }

  .about-trust-image img {
    max-height: 360px;
  }

  .about-metrics-band,
  .about-method-grid,
  .about-values-redesign-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-focus-image {
    order: 2;
  }
}

@media (max-width: 650px) {
  .about-benefits {
    margin: 22px 0 24px;
    gap: 12px;
  }

  .about-hero-proof span {
    width: 100%;
  }

  .about-story-media img,
  .about-focus-image img {
    min-height: 300px;
  }

  .about-metrics-band,
  .about-method-grid,
  .about-values-redesign-grid {
    grid-template-columns: 1fr;
  }

  .about-metrics-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(36, 95, 77, 0.12);
  }

  .about-metrics-band article:last-child {
    border-bottom: 0;
  }

  .about-method-grid article,
  .about-values-redesign-grid article {
    min-height: auto;
  }
}

/* ==========================================================================
   Subpages Inner Hero System
   ========================================================================== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 50vh, 500px);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 6vw, 80px) clamp(36px, 5vw, 60px);
  color: #fff;
  background-color: var(--deep);
  background-image: linear-gradient(90deg, rgba(18, 51, 44, 0.92), rgba(18, 51, 44, 0.7));
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("assets/spacez-hero.png");
  background-size: cover;
  background-position: center;
  opacity: 0.34;
  pointer-events: none;
  animation: slowZoom 25s ease-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(143, 184, 163, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(18, 51, 44, 0.9) 0%, rgba(18, 51, 44, 0.68) 56%, rgba(18, 51, 44, 0.25) 100%);
  pointer-events: none;
  z-index: 1;
}

.about-hero::before {
  background-image: url("assets/about-hero-residential.jpg");
}

.services-hero::before {
  background-image: url("assets/hero-services.png");
}

.projects-hero::before {
  background-image: url("assets/projects-hero-residential.jpg");
  opacity: 0.62;
}

.projects-hero::after {
  background:
    radial-gradient(circle at 78% 20%, rgba(143, 184, 163, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(18, 51, 44, 0.62) 0%, rgba(18, 51, 44, 0.38) 54%, rgba(18, 51, 44, 0.08) 100%);
}

.channel-partners-hero::before {
  background-image: url("assets/hero-channel-partners.png");
}

.contact-hero::before {
  background-image: url("assets/hero-contact.png");
}

.privacy-hero::before {
  background-image: url("assets/hero-privacy.png");
}

.digital-marketing-hero::before {
  background-image: url("assets/hero-digital-marketing.png");
}

.telemarketing-hero::before {
  background-image: url("assets/hero-telemarketing.png");
}

.print-broadcast-hero::before {
  background-image: url("assets/hero-print-broadcast.png");
}

.affiliate-marketing-hero::before {
  background-image: url("assets/hero-affiliate-marketing.png");
}

.page-hero-content {
  position: relative;
  z-index: 4;
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero h1 {
  margin-top: 12px;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
}

.page-hero p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.page-hero .hero-grid,
.hero .hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(143, 184, 163, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 163, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero .hero-orb,
.hero .hero-orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.page-hero .hero-orb-1,
.hero .hero-orb-1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(36, 95, 77, 0.48) 0%, transparent 70%);
  animation: floatA 8s ease-in-out infinite;
}

.page-hero .hero-orb-2,
.hero .hero-orb-2 {
  width: 340px;
  height: 340px;
  bottom: -80px;
  left: 12%;
  background: radial-gradient(circle, rgba(143, 184, 163, 0.2) 0%, transparent 70%);
  animation: floatB 10s ease-in-out infinite;
}

.page-hero .hero-orb-3,
.hero .hero-orb-3 {
  width: 240px;
  height: 240px;
  top: 40%;
  left: 58%;
  background: radial-gradient(circle, rgba(47, 116, 95, 0.3) 0%, transparent 70%);
  animation: floatC 7s ease-in-out infinite;
}

.page-hero .hero-blob,
.hero .hero-blob {
  position: absolute;
  right: 8%;
  bottom: 12%;
  z-index: 1;
  width: min(30vw, 320px);
  aspect-ratio: 1;
  border: 1px solid rgba(143, 184, 163, 0.16);
  background: rgba(255, 255, 255, 0.03);
  animation: blobPulse 12s ease-in-out infinite;
  pointer-events: none;
}

.page-hero .hero-particles,
.hero .hero-particles {
  display: none;
}

.page-hero .particle,
.hero .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  animation: particleFloat var(--dur, 6s) ease-in-out infinite var(--delay, 0s);
}

.page-hero .hero-ring,
.hero .hero-ring {
  display: block;
  position: absolute;
  right: clamp(60px, 12vw, 200px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 35vw, 480px);
  height: clamp(280px, 35vw, 480px);
  border: 1px solid rgba(143, 184, 163, 0.15);
  border-radius: 50%;
  z-index: 1;
  animation: rotateSlow 40s linear infinite;
}

.page-hero .hero-ring::before,
.hero .hero-ring::before {
  content: '';
  position: absolute;
  inset: 15%;
  border: 1px dashed rgba(143, 184, 163, 0.15);
  border-radius: 50%;
}

.page-hero .hero-ring-dot,
.hero .hero-ring-dot {
  position: absolute;
  top: 9%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 25px rgba(143, 184, 163, 0.75);
}

/* ==========================================================================
   Services Page Asymmetric System
   ========================================================================== */
.service-stack {
  display: grid;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-block {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 20px;
  align-items: start;
  border-radius: var(--radius-md);
  padding: 28px;
}

.service-block:hover {
  transform: translateY(-4px);
}

.service-block .card-icon {
  margin-bottom: 0;
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
}

.service-block h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  margin: 0;
  align-self: center;
}

.service-block p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ==========================================================================
   Modern Contact Form & Layout Redesign
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-panel {
  padding: 32px;
  background-color: var(--deep);
  background-image: var(--grad-dark);
  color: #fff;
  border-color: var(--brand);
}

.contact-panel h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.contact-list-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-list-item span.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-weight: 800;
}

.contact-list-item span.icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-list-item div p {
  margin: 0;
}

.contact-list-item div p.label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 2px;
}

.contact-list-item div p.value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

/* Form Design Styles */
.contact-form {
  padding: 32px;
  display: grid;
  gap: 24px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form .optional-field {
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-form .form-status {
  min-height: 20px;
  margin: -6px 0 0;
  color: var(--muted-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.contact-form .form-status[data-status="success"] {
  color: #1f7a4d;
}

.contact-form .form-status[data-status="error"] {
  color: #b42318;
}

.contact-form .form-status[data-status="pending"] {
  color: var(--brand);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow-inset);
  transition: all var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(47, 116, 95, 0.15), var(--shadow-inset);
}

input::placeholder,
textarea::placeholder {
  color: rgba(93, 104, 100, 0.5);
}

/* ==========================================================================
   Privacy Policy Styles
   ========================================================================== */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted-ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

.policy-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 1.5rem;
}

.policy-content h3 {
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 1.05rem;
  font-weight: 800;
}

.policy-content p {
  margin-bottom: 20px;
}

.policy-content ul {
  margin: 0 0 24px 22px;
}

.policy-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   Footer Component Redesign
   ========================================================================== */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(46px, 7vw, 84px) clamp(18px, 6vw, 80px) clamp(28px, 4vw, 44px);
  color: var(--ink);
  background: #ffffff;
  border-top: 1px solid rgba(36, 95, 77, 0.12);
}

.footer-showcase,
.footer-content,
.footer-credit {
  position: relative;
  z-index: 1;
}

.footer-showcase {
  display: grid;
  place-items: center;
  width: min(1240px, 100%);
  height: clamp(220px, 31vw, 420px);
  margin: 0 auto clamp(18px, 3vw, 34px);
  overflow: hidden;
}

.footer-showcase::before {
  content: "";
  position: absolute;
  right: 8%;
  bottom: clamp(10px, 2.2vw, 24px);
  left: 8%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(21, 54, 47, 0.24), transparent);
}

.footer-showcase::after {
  content: "";
  position: absolute;
  inset: clamp(70px, 10vw, 132px) 5% clamp(20px, 4vw, 58px);
  z-index: 3;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.78) 45%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
  transform: translateX(-120%);
  animation: footerImageSweep 6.8s ease-in-out infinite;
}

.footer-word {
  position: absolute;
  top: clamp(10px, 3.8vw, 42px);
  left: 50%;
  z-index: 0;
  transform: translateX(-50%) translateY(clamp(42px, 5vw, 74px));
  color: rgba(21, 54, 47, 0.07);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.18;
  transition:
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 900ms ease;
}

.footer-showcase.footer-rise-visible .footer-word {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.footer-image {
  position: absolute;
  top: clamp(-42px, -1.8vw, -18px);
  left: 50%;
  z-index: 2;
  width: min(1180px, 106%);
  max-width: none;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 30px 24px rgba(21, 54, 47, 0.13));
  animation: footerImageFloat 8s ease-in-out infinite;
}

.footer-quote {
  position: absolute;
  top: clamp(62px, 10vw, 128px);
  z-index: 2;
  color: var(--muted-ink);
  font-size: clamp(0.7rem, 1vw, 0.86rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  opacity: 0.6;
  text-transform: uppercase;
}

.footer-quote-start {
  left: clamp(4px, 8vw, 120px);
}

.footer-quote-end {
  right: clamp(4px, 8vw, 120px);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(150px, 0.7fr));
  align-items: start;
  gap: clamp(24px, 4vw, 46px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 38px) 0;
  border-top: 1px solid rgba(36, 95, 77, 0.14);
  border-bottom: 1px solid rgba(36, 95, 77, 0.12);
}

.footer-detail {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted-ink);
  font-size: 0.9rem;
}

.footer-detail h2,
.footer-detail h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-detail h2 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.footer-about h2 {
  display: none;
}

.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin: 0 0 18px;
}

.footer-detail .footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border-radius: var(--radius-full);
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(36, 95, 77, 0.16);
}

.footer-detail .footer-phone {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--brand);
  font-weight: 800;
}

.footer-detail p {
  max-width: 380px;
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.94rem;
  line-height: 1.7;
}

.footer-detail a,
.footer-detail span {
  width: fit-content;
  color: rgba(21, 54, 47, 0.74);
  line-height: 1.55;
}

.footer-detail a {
  position: relative;
  font-weight: 700;
}

.footer-nav {
  display: grid;
  gap: 9px;
}

.footer-detail a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform var(--transition-normal);
}

.footer-detail a:hover {
  color: var(--brand);
}

.footer-detail .footer-cta:hover {
  color: #ffffff;
  background: var(--brand-light);
  transform: translateY(-2px);
}

.footer-detail .footer-cta::after {
  display: none;
}

.footer-detail a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-credit {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted-ink);
}

@keyframes footerImageFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-9px);
  }
}

@keyframes footerImageSweep {
  0%, 100% {
    transform: translateX(-120%);
    opacity: 0;
  }
  42% {
    opacity: 0.6;
  }
  62% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* ==========================================================================
   Floating Quick-Consult Widget (Modern Redesign Addon)
   ========================================================================== */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--brand);
  background-image: var(--grad-primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.floating-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 18px 45px rgba(36, 95, 77, 0.4);
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
@keyframes slowZoom {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.09);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatA {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(3deg);
  }
}

@keyframes floatB {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(14px) rotate(-2deg);
  }
}

@keyframes floatC {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.04);
  }
}

@keyframes rotateSlow {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@keyframes blobPulse {
  0%, 100% {
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
    transform: scale(1) rotate(0deg);
  }
  33% {
    border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%;
    transform: scale(1.05) rotate(3deg);
  }
  66% {
    border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%;
    transform: scale(0.97) rotate(-2deg);
  }
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate(var(--tx), var(--ty)) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.45;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.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;
}

.feature-card.reveal,
.property-card.reveal,
.service-block.reveal,
.contact-card.reveal,
.contact-form.reveal,
.pitch-card.reveal,
.metric-card.reveal,
.trust-snapshot article.reveal,
.process-card.reveal,
.quote-card.reveal,
.value-row.reveal,
.quote-panel.reveal {
  transform: translateY(40px) scale(0.97);
}

.feature-card.reveal.visible,
.property-card.reveal.visible,
.service-block.reveal.visible,
.contact-card.reveal.visible,
.contact-form.reveal.visible,
.pitch-card.reveal.visible,
.metric-card.reveal.visible,
.trust-snapshot article.reveal.visible,
.process-card.reveal.visible,
.quote-card.reveal.visible,
.value-row.reveal.visible,
.quote-panel.reveal.visible {
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   Digital Marketing Showcase Styles
   ========================================================================== */
.show-case {
  background: var(--grad-light);
  border-bottom: 1px solid var(--line);
}

.show-case-container {
  max-width: 1200px;
  margin: 0 auto;
}

.channel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.channel-pills span {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(36, 95, 77, 0.06);
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.channel-pills span:hover {
  transform: translateY(-2px);
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.pitch-card {
  padding: 40px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.pitch-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 18px;
}

.pitch-card p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted-ink);
}

.pitch-card p:not(:last-of-type) {
  margin-bottom: 16px;
}

.btn.ghost-dark {
  color: var(--brand);
  background: rgba(36, 95, 77, 0.05);
  border: 1px solid rgba(36, 95, 77, 0.2);
}

.btn.ghost-dark:hover {
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Tactical sub-grid */
.lead-gen-tactics {
  margin-top: 80px;
}

.tactic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tactic-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.tactic-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background-image: var(--grad-card-hover);
  box-shadow: var(--shadow-lg);
}

.tactic-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--brand);
  background: var(--deep-2);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.tactic-card:hover .num {
  background: var(--brand);
  color: #ffffff;
  transform: scale(1.05);
}

.tactic-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tactic-card p {
  color: var(--muted-ink);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Editorial Homepage Redesign
   ========================================================================== */
.home-redesign {
  background:
    linear-gradient(90deg, rgba(36, 95, 77, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 44%, #f4f8f6 100%);
  background-size: 92px 92px, auto;
}

.home-redesign main {
  overflow: clip;
}

.leon-hero {
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 64px) clamp(42px, 7vw, 90px);
  perspective: 1400px;
}

.leon-hero-frame {
  position: relative;
  min-height: clamp(560px, 76vh, 780px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 30px;
  background: var(--deep);
  box-shadow: 0 34px 90px rgba(15, 43, 37, 0.22);
  transform-style: preserve-3d;
}

.leon-hero-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.02);
}

.leon-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 34, 29, 0.86) 0%, rgba(9, 34, 29, 0.58) 38%, rgba(9, 34, 29, 0.12) 72%),
    linear-gradient(180deg, rgba(9, 34, 29, 0.16), rgba(9, 34, 29, 0.34));
}

.leon-hero-top,
.leon-hero-copy,
.leon-hero-metric {
  position: relative;
  z-index: 2;
}

.leon-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(22px, 4vw, 46px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leon-hero-copy {
  display: grid;
  align-content: end;
  min-height: calc(clamp(560px, 76vh, 780px) - 86px);
  max-width: 820px;
  padding: 0 clamp(22px, 4vw, 48px) clamp(34px, 5vw, 62px);
  color: #ffffff;
}

.leon-hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.leon-hero-copy h1 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.4rem, 18vw, 15rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.leon-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

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

.leon-hero-metric {
  position: absolute;
  display: grid;
  gap: 8px;
  width: min(220px, 28vw);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  color: #ffffff;
  background: rgba(11, 39, 33, 0.46);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.2);
}

.leon-hero-metric strong {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.leon-hero-metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
}

.metric-one {
  right: clamp(26px, 7vw, 110px);
  top: 35%;
}

.metric-two {
  right: clamp(22px, 4vw, 58px);
  bottom: 14%;
}

.editorial-about,
.dream-listings,
.testimonial-editorial {
  background: #ffffff;
}

.editorial-heading {
  max-width: 760px;
  margin: 0 auto clamp(34px, 5vw, 60px);
  text-align: center;
}

.editorial-heading h2,
.split-heading h2 {
  margin: 0;
  color: #111111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.72fr) minmax(0, 0.8fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.editorial-copy,
.editorial-points {
  color: var(--muted-ink);
}

.editorial-copy h3,
.editorial-points h3 {
  margin: 0 0 12px;
  color: #151515;
  font-size: 1.05rem;
}

.editorial-copy p,
.editorial-points p {
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.72;
}

.mini-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 42px;
}

.mini-partners span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f0f6f3;
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
}

.editorial-image {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 26px 64px rgba(15, 43, 37, 0.16);
}

.editorial-image img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.editorial-points {
  display: grid;
  gap: 22px;
}

.editorial-points article {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.editorial-points .rating-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 0;
  border: 0;
}

.rating-card span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #ffffff;
  background: #111111;
  font-weight: 900;
}

.expert-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(44px, 8vw, 92px) clamp(20px, 7vw, 110px);
  color: #ffffff;
  background: #010302;
  perspective: 1300px;
}

.expert-portraits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.expert-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  background: #12332c;
  transform-style: preserve-3d;
}

.expert-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.82);
}

.expert-card span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.expert-copy h2 {
  max-width: 620px;
  margin: 8px 0 18px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.expert-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
  max-width: 1180px;
  margin: 0 auto clamp(34px, 5vw, 62px);
}

.split-heading > p {
  margin: 0;
  color: var(--muted-ink);
  line-height: 1.7;
}

.dream-card-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(320px, 1.28fr) minmax(180px, 0.72fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  perspective: 1400px;
}

.dream-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  color: #ffffff;
  background: #0b241f;
  box-shadow: 0 26px 68px rgba(21, 54, 47, 0.16);
  transform-style: preserve-3d;
}

.dream-card.featured {
  min-height: 520px;
}

.dream-card.ghosted {
  opacity: 0.72;
}

.dream-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.86) saturate(1.02);
  transition: transform var(--transition-slow), filter var(--transition-normal);
}

.dream-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 28, 24, 0.82) 100%);
}

.dream-card:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.08);
}

.dream-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.dream-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dream-card h3 {
  margin: 8px 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.dream-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.55;
}

.scrolly-services {
  perspective: 1500px;
}

.cinematic-channel-list a {
  min-height: 280px;
}

.testimonial-editorial .testimonial-card {
  padding: 26px;
  border: 1px solid rgba(36, 95, 77, 0.1);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(21, 54, 47, 0.08);
}

.scrolly-card,
.scrolly-float {
  will-change: transform;
  transition: transform 180ms linear;
}

/* ==========================================================================
   Custom Hero Section (Projects)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: clamp(520px, 64vh, 760px);
  color: #fff;
  overflow: hidden;
  display: block;
}
.hero-section .hero-bg {
  position: absolute; inset:0; z-index:0;
  background-image: url('assets/projects-hero-residential.jpg');
  background-size: cover; background-position: center;
  filter: saturate(0.95) brightness(0.6);
}
.hero-section .hero-overlay {
  position: absolute; inset:0; z-index:1;
  background: radial-gradient(ellipse at 70% 30%, rgba(36,95,77,0.3) 0%, rgba(18,51,44,0.55) 60%);
  pointer-events: none;
}
.hero-section .hero-grid-pattern {
  position: absolute; inset:0; z-index:1; pointer-events:none;
  background-image: linear-gradient(rgba(143,184,163,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(143,184,163,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.8;
}
.hero-section .hero-inner {
  position: relative; z-index:2; max-width:1200px; margin:0 auto; padding: 6rem 24px;
}
.hero-section .hero-content { max-width:740px; }
.hero-eyebrow { display:inline-block; margin-bottom:14px; color:var(--gold); font-weight:800; text-transform:uppercase; letter-spacing:0.12em; background: rgba(143,184,163,0.08); padding:6px 12px; border-radius:999px; }
.hero-title { font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 4rem); line-height:1.05; margin:0 0 18px; font-weight:800; }
.hero-title .accent { color: #c9a961; }
.hero-desc { color: rgba(255,255,255,0.9); font-size:1.05rem; margin-bottom:20px; }
.hero-cta { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:28px; }
.btn-primary { display:inline-flex; gap:10px; align-items:center; padding:14px 20px; background: linear-gradient(135deg, var(--brand), var(--brand-light)); color:#fff; border-radius:12px; font-weight:800; box-shadow: var(--shadow-glow); }
.btn-outline { display:inline-flex; align-items:center; padding:12px 18px; border-radius:12px; border:1px solid rgba(255,255,255,0.18); color:#fff; background:transparent; font-weight:700; }
.hero-features { display:flex; gap:18px; margin-top:12px; flex-wrap:wrap; }
.hero-features .feature { display:flex; gap:10px; align-items:center; color: rgba(255,255,255,0.9); font-weight:600; }
.feature-icon { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:999px; border:1px solid rgba(201,169,97,0.18); color:#c9a961; }
.scroll-indicator { position:absolute; bottom:32px; left:50%; transform:translateX(-50%); z-index:2; }
.scroll-wheel { width:28px; height:44px; border-radius:12px; border:2px solid rgba(255,255,255,0.26); display:flex; align-items:flex-start; justify-content:center; padding:6px; }
.scroll-dot { width:6px; height:8px; background:#c9a961; border-radius:4px; }

@media (max-width: 980px) {
  .hero-section .hero-inner { padding: 4rem 18px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-features { gap:12px; }
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

/* Large Tablets & Small Laptops */
@media (max-width: 1180px) {
  .site-header {
    padding: 8px 32px;
  }
  .section {
    padding: 56px 32px;
  }
  .feature-card {
    grid-column: span 6;
  }
  .card-grid.five .feature-card {
    grid-column: span 4;
  }
  .property-card,
  .channel-list a {
    grid-column: span 6;
  }
  .project-slider-track {
    grid-auto-columns: minmax(340px, 58%);
    gap: 28px;
  }
  .project-panel {
    grid-template-columns: 1fr;
  }
  .tactic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .partner-callout,
  .final-cta {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 32px 32px;
    padding: 32px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 64px;
    padding: 8px 24px;
    z-index: 1000;
  }

  main {
    padding-top: 0;
  }

  /* Responsive Mobile Hamburger Menu (Checkbox Hack) */
  .nav-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    z-index: 101;
    transition: all var(--transition-fast);
  }

  .nav-button span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--brand);
    transition: all var(--transition-fast);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 80vw);
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 32px 48px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 14px 20px;
  }

  /* Checkbox logic */
  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle:checked ~ .nav-button {
    border-color: transparent;
  }

  .nav-toggle:checked ~ .nav-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Layout Resets */
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    min-height: auto;
    padding: 60px 0 40px;
  }

  .hero-content {
    width: min(100% - 48px, 760px);
  }

  .hero-media {
    opacity: 0.55;
    background-position: center;
    transform: none;
    animation: none;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 51, 44, 0.9) 0%, rgba(18, 51, 44, 0.76) 58%, rgba(18, 51, 44, 0.62) 100%);
  }

  .page-hero {
    min-height: 320px;
    padding: 68px 24px 44px;
  }

  .page-hero::after {
    background: linear-gradient(180deg, rgba(18, 51, 44, 0.86) 0%, rgba(18, 51, 44, 0.68) 100%);
  }

  .page-hero .hero-ring,
  .hero .hero-ring,
  .page-hero .hero-blob,
  .hero .hero-blob {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-snapshot {
    margin-top: -18px;
  }

  .achievement-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric::after {
    display: none;
  }

  .feature-card {
    grid-column: span 12;
    transform: none !important;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-slider-track {
    grid-auto-columns: minmax(320px, 78%);
    padding-left: 58px;
    padding-right: 58px;
  }

  .showcase-project-card {
    min-height: 520px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid .quote-panel {
    grid-row: auto;
  }

  .property-card,
  .channel-list a {
    grid-column: span 12;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .service-block h2 {
    align-self: flex-start;
  }

  .site-footer {
    padding-inline: clamp(18px, 5vw, 40px);
  }

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

  .footer-about {
    grid-column: 1 / -1;
  }
}

/* Mobile Phones */
@media (max-width: 600px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }
  body {
    padding-top: 56px;
  }
  .site-header {
    min-height: 56px;
    padding: 6px 16px;
  }
  main {
    padding-top: 0;
  }
  .brand {
    width: min(160px, 58vw);
  }
  .brand img {
    max-height: 42px;
  }
  .nav-button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
  .nav-links {
    width: min(300px, 86vw);
    padding: 84px 20px 32px;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 13px 16px;
  }
  .section {
    padding: 36px 16px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .section-heading.center {
    text-align: left;
  }
  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
    line-height: 1.08;
  }
  h2 {
    font-size: clamp(1.55rem, 8vw, 2.25rem);
    line-height: 1.18;
  }
  h3 {
    font-size: 1.15rem;
  }
  .eyebrow {
    max-width: 100%;
    font-size: 0.7rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }
  .hero {
    padding: 44px 0 32px;
  }
  .hero-content {
    width: calc(100% - 32px);
  }
  .hero-content h1 {
    margin-bottom: 18px;
  }
  .hero-copy {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .hero-actions {
    gap: 12px;
    margin-bottom: 24px;
  }
  .hero-proof {
    gap: 8px;
    margin-bottom: 22px;
  }
  .hero-proof span {
    width: 100%;
    min-height: 32px;
    font-size: 0.78rem;
  }
  .hero-stats-item {
    padding: 18px;
  }
  .page-hero {
    min-height: 260px;
    padding: 52px 16px 36px;
  }
  .page-hero h1 {
    margin-bottom: 16px;
  }
  .page-hero p,
  .page-hero p:last-child {
    font-size: 1rem;
    line-height: 1.58;
  }
  .split {
    gap: 24px;
  }
  .about-trust-image {
    margin-top: 22px;
  }
  .about-trust-image img {
    aspect-ratio: 4 / 3;
  }
  .about-trust-image::after {
    left: 14px;
    bottom: 14px;
    font-size: 0.68rem;
  }
  .section-copy,
  .policy-content {
    font-size: 1rem;
  }
  .card-grid,
  .card-grid.five,
  .property-grid,
  .trust-snapshot,
  .process-grid,
  .testimonial-grid,
  .project-panel,
  .channel-list,
  .tactic-grid,
  .achievement-band {
    grid-template-columns: 1fr;
  }
  .trust-snapshot {
    margin: -14px 16px 0;
    border-radius: var(--radius-md);
  }
  .trust-snapshot article,
  .process-card,
  .quote-card {
    min-height: auto;
    padding: 20px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 18px;
    white-space: normal;
    text-align: center;
  }
  .feature-card,
  .property-card,
  .project-card-body,
  .service-block {
    padding: 20px;
  }
  .home-project-showcase h2 {
    text-align: left;
  }
  .project-slider::before,
  .project-slider::after {
    display: none;
  }
  .project-slider-track {
    grid-auto-columns: minmax(0, 92%);
    gap: 16px;
    padding: 6px 4px 18px;
    scroll-padding-left: 4px;
  }
  .project-slider-btn {
    display: none;
  }
  .showcase-project-card {
    min-height: auto;
    grid-template-rows: auto auto;
  }
  .showcase-project-card figure,
  .showcase-project-card img {
    min-height: 220px;
  }
  .showcase-project-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }
  .project-know-more {
    width: 100%;
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-card img {
    min-height: 220px;
    max-height: 260px;
  }
  .channel-list {
    gap: 14px;
  }
  .channel-list a {
    min-height: 112px;
    padding: 22px;
  }
  .partner-callout,
  .final-cta {
    margin: 0 16px 24px;
    padding: 24px 18px;
    border-radius: var(--radius-md);
    gap: 20px;
  }
  .partner-callout .check-list {
    padding: 20px;
  }
  .quote-panel {
    padding: 20px 18px;
  }
  .quote-panel p {
    font-size: 1.05rem;
  }
  .quote-panel::after {
    right: 20px;
    font-size: 4.5rem;
  }
  .contact-form,
  .contact-panel {
    padding: 20px 16px;
  }
  .contact-list-item {
    gap: 12px;
  }
  .contact-list-item span.icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }
  input,
  select,
  textarea {
    min-height: 48px;
    padding: 13px 14px;
    font-size: 16px;
  }
  .site-footer {
    padding: 42px 16px 30px;
  }
  .footer-showcase {
    height: 188px;
    margin-bottom: 18px;
  }
  .footer-word {
    top: 26px;
    font-size: clamp(4rem, 25vw, 7.2rem);
    transform: translateX(-50%) translateY(34px);
  }
  .footer-image {
    top: -8px;
    width: 130%;
    max-width: none;
  }
  .footer-showcase.footer-rise-visible .footer-word {
    transform: translateX(-50%) translateY(0);
  }
  .footer-quote {
    display: none;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 0;
  }
  .footer-cta-row,
  .footer-detail .footer-cta,
  .footer-detail .footer-phone {
    width: 100%;
  }
  .footer-credit {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
  }
  .floating-widget {
    right: 16px;
    bottom: 16px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 380px) {
  .section {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand {
    width: min(140px, 54vw);
  }
  .hero-content {
    width: calc(100% - 28px);
  }
  .feature-card,
  .property-card,
  .project-card-body,
  .service-block,
  .contact-form,
  .contact-panel {
    padding: 20px 18px;
  }
  .project-tab-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .project-tab-controls label {
    width: 100%;
  }
  .project-card img {
    min-height: 190px;
    max-height: 220px;
  }
  .project-meta {
    margin-top: 18px;
    padding-top: 0;
  }
}

/* Homepage editorial responsive overrides */
@media (max-width: 1100px) {
  .editorial-grid,
  .expert-band,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .dream-card-grid {
    grid-template-columns: 1fr;
  }

  .dream-card,
  .dream-card.featured {
    min-height: 420px;
  }

  .expert-copy {
    max-width: 760px;
  }

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

  .cinematic-channel-list a {
    grid-column: auto;
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .leon-hero {
    padding: 16px 14px 48px;
  }

  .leon-hero-frame {
    min-height: 680px;
    border-radius: 22px;
  }

  .leon-hero-frame > img {
    object-position: 64% center;
  }

  .leon-hero-shade {
    background:
      linear-gradient(180deg, rgba(9, 34, 29, 0.86) 0%, rgba(9, 34, 29, 0.54) 48%, rgba(9, 34, 29, 0.88) 100%),
      linear-gradient(90deg, rgba(9, 34, 29, 0.58), rgba(9, 34, 29, 0.22));
  }

  .leon-hero-top {
    display: grid;
    padding: 18px;
    font-size: 0.68rem;
  }

  .leon-hero-copy {
    min-height: 520px;
    padding: 0 18px 26px;
  }

  .leon-hero-copy h1 {
    font-size: clamp(4.4rem, 25vw, 7.4rem);
    letter-spacing: -0.09em;
  }

  .leon-hero-metric {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 10px 18px 0;
  }

  .metric-one,
  .metric-two {
    display: inline-grid;
  }

  .editorial-heading h2,
  .split-heading h2,
  .expert-copy h2 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .editorial-image img {
    min-height: 340px;
  }

  .expert-band {
    padding: 48px 18px;
  }

  .expert-portraits {
    grid-template-columns: 1fr;
  }

  .expert-card,
  .expert-card img {
    min-height: 220px;
  }

  .dream-card,
  .dream-card.featured {
    min-height: 360px;
  }

  .cinematic-channel-list {
    grid-template-columns: 1fr;
  }

  .cinematic-channel-list a {
    min-height: 260px;
  }
}

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

/* ==========================================================================
   3D Scroll Homepage Prototype
   ========================================================================== */
body.home-3d {
  --home-green: #235d49;
  --home-green-dark: #123e30;
  --home-green-mid: #2f705a;
  --home-gold: #b89a5e;
  --home-mint: #dfece6;
  --home-cream: #f8faf8;
  --home-ink: #10231d;
  --home-line: rgba(35, 93, 73, 0.18);
  --home-shadow: 0 20px 70px rgba(18, 62, 48, 0.13);
  --home-font-sans: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --home-font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  overflow-x: hidden;
  color: var(--home-ink);
  font-family: var(--home-font-sans);
  background:
    radial-gradient(circle at 75% 10%, rgba(223, 236, 230, 0.8), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f8faf8 100%);
}

.home-3d .scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  background: rgba(35, 93, 73, 0.08);
}

.home-3d .scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--home-green);
}

.home-3d .site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  min-height: auto;
  display: flex;
  justify-content: space-between;
  padding: 18px 6vw;
  border-bottom: 1px solid rgba(35, 93, 73, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: none;
  transition: padding 0.35s ease, background 0.35s ease;
}

.home-3d .site-header.compact {
  padding-block: 10px;
  background: rgba(255, 255, 255, 0.9);
}

.home-3d .brand {
  width: auto;
}

.home-3d .brand img {
  width: min(210px, 30vw);
  height: auto;
  filter: none;
}

.home-3d .main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--home-font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-3d .main-nav a {
  position: relative;
  color: var(--home-ink);
}

.home-3d .main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--home-green);
  transition: width 0.25s ease;
}

.home-3d .main-nav a:hover::after {
  width: 100%;
}

.home-3d .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--home-green);
  font-family: var(--home-font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.home-3d .primary-btn:hover {
  transform: translateY(-3px);
  background: var(--home-green-dark);
  box-shadow: 0 16px 30px rgba(18, 62, 48, 0.22);
}

.home-3d .menu-toggle {
  display: none;
}

.home-3d #city-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  filter: saturate(1.08) contrast(1.08);
  -webkit-mask-image:
    radial-gradient(circle at 58% 56%, #000000 0%, rgba(0, 0, 0, 0.86) 38%, rgba(0, 0, 0, 0.44) 62%, transparent 94%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.52) 30%, #000000 58%, rgba(0, 0, 0, 0.88) 86%);
  mask-image:
    radial-gradient(circle at 58% 56%, #000000 0%, rgba(0, 0, 0, 0.86) 38%, rgba(0, 0, 0, 0.44) 62%, transparent 94%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.52) 30%, #000000 58%, rgba(0, 0, 0, 0.88) 86%);
}

.home-3d .background-tower {
  position: fixed;
  bottom: 0;
  right: 3vw;
  height: 88vh;
  z-index: 4;
  pointer-events: none;
  opacity: 0.82;
  transform-origin: bottom right;
  will-change: transform, opacity;
  /* Soft brand-green ambient glow — transparent PNG so no white-bg artefacts */
  filter:
    drop-shadow(-12px 0 48px rgba(35, 93, 73, 0.22))
    drop-shadow(0 -6px 24px rgba(35, 93, 73, 0.14));
}

.home-3d .background-tower img {
  height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 980px) {
  .home-3d .background-tower {
    height: 62vh;
    right: 1vw;
    opacity: 0.6;
  }
}

@media (max-width: 760px) {
  .home-3d .background-tower {
    display: none;
  }
}

.home-3d main {
  position: relative;
  z-index: auto;
}

.home-3d .panel {
  position: relative;
  min-height: 100vh;
  padding: 70px 7vw 60px;
}

.home-3d .panel > * {
  position: relative;
  z-index: 2;
}

.home-3d .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  color: var(--home-ink);
  background:
    radial-gradient(circle at 18% 42%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 34%, rgba(255, 255, 255, 0.12) 62%, rgba(255, 255, 255, 0) 82%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.64) 36%, rgba(255, 255, 255, 0.08) 68%);
}

.home-3d .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(20px, 2.1vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36));
  box-shadow: 0 26px 80px rgba(18, 62, 48, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px) saturate(1.05);
}

.home-3d .eyebrow,
.home-3d .section-kicker {
  margin: 0 0 18px;
  color: var(--home-green);
  font-family: var(--home-font-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-3d .hero .eyebrow {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(184, 154, 94, 0.2);
  background: rgba(255, 255, 255, 0.52);
  color: var(--home-green-dark);
}

.home-3d h1,
.home-3d h2 {
  font-family: var(--home-font-serif);
  font-weight: 700;
  letter-spacing: -0.018em;
}

.home-3d h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: #071b16;
  font-size: clamp(58px, 6.4vw, 92px);
  line-height: 0.96;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.68), 0 22px 60px rgba(255, 255, 255, 0.82);
}

.home-3d h1 span,
.home-3d .statement h2 span {
  color: var(--home-green);
}

.home-3d .hero-text,
.home-3d .intro-copy p,
.home-3d .process-copy p,
.home-3d .portfolio-head p {
  max-width: 640px;
  color: rgba(16, 35, 29, 0.92);
  font-family: var(--home-font-sans);
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.72;
}

.home-3d .hero-actions,
.home-3d .contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.home-3d .text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-green);
  font-family: var(--home-font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-3d .text-btn span {
  transition: transform 0.25s ease;
}

.home-3d .text-btn:hover span {
  transform: translate(4px, -4px);
}

.home-3d .hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--home-line);
  background: transparent;
  box-shadow: none;
}

.home-3d .hero-stats article {
  display: grid;
  gap: 6px;
}

.home-3d .hero-stats strong {
  color: var(--home-green);
  font-family: var(--home-font-serif);
  font-size: 38px;
  line-height: 0.95;
}

.home-3d .hero-stats span {
  color: rgba(16, 35, 29, 0.64);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-3d .hero-orbit {
  position: relative;
  height: min(70vh, 720px);
  filter: drop-shadow(0 28px 80px rgba(35, 93, 73, 0.12));
}

.home-3d .orbit-ring {
  position: absolute;
  border: 1px solid rgba(35, 93, 73, 0.14);
  border-radius: 50%;
  animation: home3dSpin 42s linear infinite;
}

.home-3d .orbit-one {
  inset: 8% 4%;
}

.home-3d .orbit-two {
  inset: 20% 17%;
  animation-direction: reverse;
  animation-duration: 30s;
}

.home-3d .orbit-one::before,
.home-3d .orbit-two::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 17%;
  width: 13px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--home-gold);
  box-shadow: 0 0 0 10px rgba(184, 154, 94, 0.08);
}

.home-3d .floating-card {
  position: absolute;
  z-index: 3;
  width: 174px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56));
  box-shadow: 0 18px 54px rgba(18, 62, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.08);
  transform-style: preserve-3d;
}

.home-3d .floating-card small {
  display: block;
  margin-bottom: 7px;
  color: var(--home-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-3d .floating-card strong {
  color: var(--home-green-dark);
  font-family: var(--home-font-sans);
  font-size: 14px;
  line-height: 1.25;
}

.home-3d .card-a {
  top: 18%;
  right: 6%;
  animation: home3dFloat 9s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.home-3d .card-b {
  left: 2%;
  bottom: 22%;
  animation: home3dFloat 10.5s cubic-bezier(0.45, 0, 0.25, 1) -2s infinite;
}

.home-3d .card-c {
  right: 16%;
  bottom: 5%;
  animation: home3dFloat 8.5s cubic-bezier(0.45, 0, 0.25, 1) -3s infinite;
}

.home-3d .scroll-cue {
  position: absolute;
  left: 7vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--home-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-3d .scroll-cue i {
  width: 54px;
  height: 1px;
  overflow: hidden;
  background: rgba(35, 93, 73, 0.24);
}

.home-3d .scroll-cue i::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--home-green);
  animation: home3dSlide 1.8s ease-in-out infinite;
}

.home-3d .intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.54) 38%, rgba(255, 255, 255, 0.06) 70%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.04));
}

.home-3d .intro-grid,
.home-3d .process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6vw;
}

.home-3d .intro.panel {
  min-height: auto;
  padding-top: 40px;
  padding-bottom: 30px;
}

.home-3d .intro-copy h2,
.home-3d .process-copy h2,
.home-3d .portfolio-head h2,
.home-3d .contact h2 {
  margin-bottom: 22px;
  color: var(--home-ink);
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1;
}

.home-3d .intro-copy {
  position: sticky;
  top: 90px;
  align-self: start;
  overflow: hidden;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.58), transparent 34%);
  box-shadow: 0 28px 90px rgba(18, 62, 48, 0.16);
  backdrop-filter: blur(18px) saturate(1.22);
}

.home-3d .intro-copy::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 34%),
    linear-gradient(300deg, rgba(35, 93, 73, 0.08), transparent 42%);
  pointer-events: none;
}

.home-3d .intro-copy > * {
  position: relative;
  z-index: 1;
}

.home-3d .intro-detail {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-top: 18px;
}

.home-3d .intro-detail p {
  margin: 0;
  color: rgba(16, 35, 29, 0.74);
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.78;
}

.home-3d .intro-proof {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin-top: 24px;
}

.home-3d .intro-proof article {
  display: block;
  padding: 16px 20px;
  border: none;
  border-left: 3px solid var(--home-green);
  border-radius: 0 16px 16px 0;
  background: rgba(35, 93, 73, 0.03);
  box-shadow: none;
  backdrop-filter: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.home-3d .intro-proof article:hover {
  background: rgba(35, 93, 73, 0.06);
  transform: translateX(6px);
}

.home-3d .intro-proof strong {
  display: block;
  color: var(--home-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.home-3d .intro-proof span {
  display: block;
  color: rgba(16, 35, 29, 0.76);
  font-size: 14px;
  line-height: 1.5;
}



.home-3d .service-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-content: start;
  isolation: isolate;
}

.home-3d .service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(to bottom, rgba(3, 17, 13, 0.15), rgba(3, 17, 13, 0.82)),
    var(--service-bg, linear-gradient(145deg, #123e30, #235d49));
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(18, 62, 48, 0.1);
  transform: translateZ(0);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.home-3d .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(3, 17, 13, 0) 40%, rgba(3, 17, 13, 0.4) 100%);
  pointer-events: none;
}

.home-3d .service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.home-3d .service-number {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.home-3d .service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #ffffff;
  font-size: 15px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease, border-color 0.3s ease;
}

.home-3d .service-card > * {
  position: relative;
  z-index: 1;
}

.home-3d .service-card:hover {
  border-color: rgba(35, 93, 73, 0.4);
  box-shadow: 0 24px 50px rgba(18, 62, 48, 0.22);
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-8px);
}

.home-3d .service-card:hover .service-arrow {
  transform: translate(2px, -2px) rotate(45deg);
  background: var(--home-green);
  border-color: var(--home-green);
}

.home-3d .service-card:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
}

.home-3d .service-card h3 {
  max-width: 520px;
  margin: 28px 0 0;
  color: #ffffff;
  font-family: var(--home-font-serif);
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.home-3d .statement {
  display: grid;
  place-items: center;
  min-height: 45vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18) 52%, rgba(255, 255, 255, 0) 76%);
}

.home-3d .statement-wrap {
  width: min(1100px, 100%);
  text-align: center;
}

.home-3d .statement h2 {
  margin: 0;
  color: #03130f;
  font-size: clamp(68px, 9vw, 150px);
  line-height: 0.82;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.82),
    0 18px 42px rgba(255, 255, 255, 0.62),
    0 30px 80px rgba(3, 19, 15, 0.16);
}

.home-3d .process {
  overflow: hidden;
  min-height: 100vh;
  padding-top: clamp(42px, 5vh, 62px);
  padding-bottom: clamp(34px, 4vh, 52px);
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.76), rgba(223, 236, 230, 0.34) 48%, rgba(255, 255, 255, 0.1));
}

.home-3d .process::before {
  content: "";
  position: absolute;
  inset: auto -10vw 0 -10vw;
  height: 26%;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(35, 93, 73, 0.06) 0 1px, transparent 1px 76px),
    linear-gradient(45deg, rgba(35, 93, 73, 0.04) 0 1px, transparent 1px 76px);
  opacity: 0.8;
  transform: skewY(-6deg);
}

.home-3d .process-grid {
  grid-template-columns: minmax(500px, 0.88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 66px);
}

.home-3d .process-left {
  position: relative;
  z-index: 2;
}

.home-3d .process-copy p {
  max-width: 520px;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.58;
}

.home-3d .process-copy h2 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4.1vw, 72px);
  line-height: 1.02;
}

.home-3d .process-steps {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 660px;
  margin-top: 22px;
  padding-left: 28px;
}

.home-3d .process-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 4px;
  width: 1px;
  background: linear-gradient(rgba(35, 93, 73, 0.04), rgba(35, 93, 73, 0.42), rgba(35, 93, 73, 0.04));
}

.home-3d .process-step {
  position: relative;
  display: grid;
  grid-template-columns: 62px 64px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 12px 18px 12px 14px;
  border: 1px solid rgba(35, 93, 73, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(18, 62, 48, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.home-3d .process-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--home-green);
  box-shadow: 0 0 0 7px rgba(35, 93, 73, 0.08);
  transform: translateY(-50%);
}

.home-3d .process-step em {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(35, 93, 73, 0.16);
  border-radius: 50%;
  color: var(--home-green);
  font-family: var(--home-font-serif);
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
}

.home-3d .process-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--home-green-dark);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 38%),
    linear-gradient(145deg, rgba(223, 236, 230, 0.96), rgba(198, 219, 209, 0.72));
  box-shadow: 0 14px 28px rgba(18, 62, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition: color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.home-3d .process-icon svg {
  width: 29px;
  height: 29px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-3d .process-step:hover .process-icon {
  color: #ffffff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, var(--home-green), var(--home-green-dark));
  box-shadow: 0 18px 34px rgba(18, 62, 48, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.home-3d .process-step h3 {
  margin: 0 0 4px;
  color: var(--home-green-dark);
  font-family: var(--home-font-serif);
  font-size: 27px;
  line-height: 1;
}

.home-3d .process-step p {
  margin: 0;
  color: rgba(16, 35, 29, 0.68);
  font-size: 13px;
  line-height: 1.45;
}

.home-3d .process-elevation-panel {
  position: relative;
  min-height: min(76vh, 760px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.22)),
    radial-gradient(circle at 54% 54%, rgba(35, 93, 73, 0.18), rgba(35, 93, 73, 0.08) 30%, transparent 58%);
  box-shadow: 0 34px 110px rgba(18, 62, 48, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.home-3d .process-elevation-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  pointer-events: none;
}

.home-3d .process-sun-disc {
  position: absolute;
  left: 23%;
  right: 16%;
  bottom: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0) 28%),
    conic-gradient(from 0deg, rgba(35, 93, 73, 0.22), rgba(184, 154, 94, 0.18), rgba(35, 93, 73, 0.08), rgba(35, 93, 73, 0.24));
  box-shadow:
    inset 24px 0 44px rgba(255, 255, 255, 0.34),
    inset -28px 0 52px rgba(18, 62, 48, 0.14),
    0 28px 80px rgba(18, 62, 48, 0.12);
  opacity: 0.72;
  transform-style: preserve-3d;
  animation: processDiscRotate 18s linear infinite;
}

.home-3d .process-sun-disc::before,
.home-3d .process-sun-disc::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  pointer-events: none;
}

.home-3d .process-sun-disc::before {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: radial-gradient(circle at 64% 46%, rgba(255, 255, 255, 0.34), transparent 38%);
  transform: translateZ(24px) rotateY(26deg);
}

.home-3d .process-sun-disc::after {
  inset: 18%;
  border: 1px solid rgba(35, 93, 73, 0.12);
  background: radial-gradient(circle, rgba(35, 93, 73, 0.18), rgba(35, 93, 73, 0) 68%);
  transform: translateZ(-18px) rotateY(-24deg);
}

.home-3d .process-orbit {
  position: absolute;
  border: 1px solid rgba(35, 93, 73, 0.16);
  border-radius: 50%;
  animation: processOrbit 28s linear infinite;
}

.home-3d .process-orbit-one {
  inset: 20% 8% 16% 8%;
}

.home-3d .process-orbit-two {
  inset: 28% -6% 22% 6%;
  animation-duration: 40s;
  animation-direction: reverse;
}

.home-3d .process-dots {
  position: absolute;
  top: 15%;
  right: 12%;
  width: 58px;
  height: 58px;
  opacity: 0.42;
  background-image: radial-gradient(circle, var(--home-green-dark) 1.4px, transparent 1.6px);
  background-size: 13px 13px;
}

.home-3d .process-building {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 1;
  width: min(560px, 78%);
  height: 82%;
  transform: translateX(-50%);
}

.home-3d .process-building img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 34px rgba(18, 62, 48, 0.2));
}

.home-3d .building-core {
  position: absolute;
  left: 24%;
  bottom: 12%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 13px;
  width: 52%;
  height: 82%;
  padding: 58px 18px 20px;
  border: 1px solid rgba(18, 62, 48, 0.25);
  border-radius: 46px 46px 10px 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(169, 191, 198, 0.72) 42%, rgba(34, 74, 82, 0.72) 50%, rgba(235, 241, 240, 0.92) 100%),
    repeating-linear-gradient(180deg, transparent 0 22px, rgba(18, 62, 48, 0.28) 23px 26px);
  box-shadow: 20px 12px 48px rgba(18, 62, 48, 0.22);
}

.home-3d .building-core i {
  min-height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f0efe6, #c39a5e 42%, #49676f 45%, #e8eeee);
  box-shadow: 0 9px 0 rgba(18, 62, 48, 0.12);
}

.home-3d .building-wing {
  position: absolute;
  bottom: 16%;
  width: 25%;
  height: 70%;
  border: 1px solid rgba(18, 62, 48, 0.18);
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0 18px, rgba(184, 154, 94, 0.7) 19px 22px),
    linear-gradient(90deg, rgba(25, 70, 82, 0.76), rgba(240, 246, 245, 0.86));
}

.home-3d .wing-left {
  left: 10%;
  transform: skewY(-6deg);
}

.home-3d .wing-right {
  right: 9%;
  transform: skewY(6deg);
}

.home-3d .building-crown {
  position: absolute;
  left: 19%;
  top: 3%;
  width: 62%;
  height: 12%;
  border-radius: 42px 42px 14px 14px;
  background: linear-gradient(90deg, rgba(188, 151, 91, 0.88), rgba(255, 249, 231, 0.92), rgba(188, 151, 91, 0.86));
  box-shadow: 0 16px 28px rgba(18, 62, 48, 0.16);
}

.home-3d .building-podium {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 3%;
  height: 16%;
  border-radius: 12px 12px 3px 3px;
  background:
    linear-gradient(90deg, rgba(18, 62, 48, 0.86), rgba(238, 231, 210, 0.92) 46%, rgba(18, 62, 48, 0.72)),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 255, 255, 0.55) 27px 30px);
  box-shadow: 0 18px 34px rgba(18, 62, 48, 0.18);
}

.home-3d .building-landscape {
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: 0;
  height: 10%;
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 12% 70%, #174533 0 9px, transparent 10px),
    radial-gradient(circle at 28% 62%, #235d49 0 12px, transparent 13px),
    radial-gradient(circle at 72% 66%, #174533 0 11px, transparent 12px),
    radial-gradient(circle at 86% 74%, #235d49 0 9px, transparent 10px);
}

.home-3d .process-proof-strip {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 5%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(35, 93, 73, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(18, 62, 48, 0.12);
  backdrop-filter: blur(14px);
}

.home-3d .process-proof-strip span {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: rgba(16, 35, 29, 0.7);
  font-size: 12px;
  line-height: 1.25;
}

.home-3d .process-proof-strip strong {
  color: var(--home-green-dark);
  font-size: 13px;
}

.home-3d .portfolio {
  min-height: auto;
  overflow: hidden;
  padding-top: clamp(60px, 7vw, 92px);
  padding-bottom: clamp(82px, 8vw, 118px);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.84), transparent 34%),
    radial-gradient(circle at 80% 84%, rgba(223, 236, 230, 0.5), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 248, 0.56));
}

.home-3d .portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.72fr);
  gap: 26px;
  align-items: end;
}

.home-3d .portfolio-head h2 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(36px, 4.1vw, 64px);
  line-height: 1;
}

.home-3d .portfolio-head p {
  max-width: 480px;
  margin: 0 0 8px auto;
  padding-left: 26px;
  border-left: 2px solid rgba(184, 154, 94, 0.42);
  color: rgba(16, 35, 29, 0.74);
  font-size: clamp(15px, 1.18vw, 19px);
  line-height: 1.55;
}

.home-3d .portfolio-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 22px);
  margin-top: clamp(30px, 3.8vw, 48px);
  perspective: 1500px;
  transform-style: preserve-3d;
}

.home-3d .project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 64px rgba(18, 62, 48, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform, opacity;
}

.home-3d .project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.34), transparent 32%),
    linear-gradient(310deg, rgba(184, 154, 94, 0.12), transparent 40%);
  pointer-events: none;
}

.home-3d .project-card:hover {
  border-color: rgba(184, 154, 94, 0.28);
  box-shadow: 0 30px 76px rgba(18, 62, 48, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-6px);
}

.home-3d .portfolio-track .project-card {
  opacity: 1;
  transform: none;
}

.home-3d .project-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  margin: 10px 10px 0;
  border-radius: 18px;
  padding: 0;
  background: linear-gradient(145deg, #edf5f1, #cddfd7);
}

.home-3d .project-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) saturate(1.06);
  transform: scale(1.02);
  transition: transform 0.45s ease, filter 0.35s ease;
}

.home-3d .project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(18, 62, 48, 0.04), rgba(18, 62, 48, 0.68));
}

.home-3d .project-visual span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(18, 62, 48, 0.4);
  box-shadow: 0 18px 34px rgba(3, 19, 15, 0.18);
  backdrop-filter: blur(14px);
  font-family: var(--home-font-serif);
  font-size: 18px;
  font-weight: 700;
}

.home-3d .project-card:hover .project-visual img {
  filter: brightness(0.98) saturate(1.16);
  transform: scale(1.07);
}

.home-3d .visual-two {
  background: linear-gradient(145deg, #f7faf8, #d7e8df);
}

.home-3d .visual-three {
  background: linear-gradient(145deg, #e5f0eb, #bcd5ca);
}

.home-3d .mock-building {
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 54%;
  height: 82%;
  border: 1px solid rgba(35, 93, 73, 0.42);
  background:
    linear-gradient(90deg, transparent 49%, rgba(35, 93, 73, 0.24) 50%, transparent 51%),
    linear-gradient(rgba(35, 93, 73, 0.12) 49%, transparent 50%);
  background-size: 44px 100%, 100% 42px;
  box-shadow: -28px 18px 0 rgba(255, 255, 255, 0.5);
  transform: perspective(800px) rotateY(-18deg);
}

.home-3d .mock-building.alt {
  left: 14%;
  right: auto;
  width: 62%;
  height: 68%;
  transform: perspective(800px) rotateY(16deg);
}

.home-3d .mock-building.slim {
  right: 20%;
  width: 38%;
  height: 92%;
  transform: perspective(800px) rotateY(-12deg);
}

.home-3d .mock-building i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(35, 93, 73, 0.22);
}

.home-3d .mock-building i:nth-child(1) { left: 20%; }
.home-3d .mock-building i:nth-child(2) { left: 40%; }
.home-3d .mock-building i:nth-child(3) { left: 60%; }
.home-3d .mock-building i:nth-child(4) { left: 80%; }
.home-3d .mock-building i:nth-child(5) { left: 100%; }

.home-3d .project-meta {
  display: grid;
  align-content: start;
  gap: 10px;
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 22px 24px 24px;
}

.home-3d .project-kicker {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid rgba(184, 154, 94, 0.24);
  border-radius: 999px;
  color: var(--home-gold);
  background: rgba(255, 255, 255, 0.68);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-3d .project-meta h3 {
  margin: 0;
  color: var(--home-green-dark);
  font-family: var(--home-font-serif);
  font-size: clamp(29px, 2.5vw, 39px);
  line-height: 1;
}

.home-3d .project-meta p {
  margin: 0;
  color: rgba(16, 35, 29, 0.7);
  font-size: 13px;
  line-height: 1.58;
}

.home-3d .project-card-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.home-3d .project-card-points span {
  padding: 6px 8px;
  border: 1px solid rgba(35, 93, 73, 0.1);
  border-radius: 999px;
  color: rgba(16, 35, 29, 0.68);
  background: rgba(223, 236, 230, 0.44);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-3d .contact {
  display: block;
  min-height: auto;
  padding: 0;
  color: var(--ink);
  background: #ffffff;
}

.home-3d .home-3d-partners,
.home-3d .home-3d-projects,
.home-3d .home-3d-testimonials {
  position: relative;
  z-index: 1;
  min-height: auto;
}

.home-3d .home-3d-partners {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.home-3d .home-3d-projects {
  background:
    linear-gradient(180deg, rgba(248, 250, 248, 0.94), rgba(255, 255, 255, 0.96)),
    var(--home-cream);
}

.home-3d .home-3d-testimonials {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 248, 0.94)),
    #ffffff;
}

.home-3d .testimonial-card-loop {
  width: min(100vw, 1280px);
  margin-inline: auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000000 9%, #000000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000000 9%, #000000 91%, transparent 100%);
}

.home-3d .testimonial-card-track {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  width: max-content;
  animation: testimonialLoopRight 34s linear infinite;
}

.home-3d .testimonial-card-loop:hover .testimonial-card-track {
  animation-play-state: paused;
}

.home-3d .testimonial-card {
  flex: 0 0 clamp(280px, 28vw, 360px);
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(35, 93, 73, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(18, 62, 48, 0.08);
  backdrop-filter: blur(12px);
}

.home-3d .home-3d-projects .section-heading h2,
.home-3d .home-3d-testimonials .testimonial-copy h2,
.home-3d .home-3d-partners .section-heading h2 {
  font-family: var(--home-font-serif);
  letter-spacing: -0.018em;
}

.home-3d .home-3d-projects .project-slider {
  perspective: 1200px;
}

.home-3d .home-3d-projects .showcase-project-card {
  border-radius: 24px;
}

.home-3d .contact-shell {
  max-width: 1000px;
  margin-top: 8vh;
}

.home-3d .contact .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.home-3d .contact h2 {
  max-width: 990px;
  color: #ffffff;
  font-size: clamp(56px, 7vw, 112px);
}

.home-3d .inverse {
  color: var(--home-green-dark);
  background: #ffffff;
}

.home-3d .inverse:hover {
  background: var(--home-mint);
}

.home-3d .light {
  color: #ffffff;
}

.home-3d .contact .site-footer {
  margin: 0;
}

.home-3d .reveal {
  opacity: 0;
  transform: translateY(46px);
}

@keyframes home3dFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.8deg); }
  45% { transform: translate3d(8px, -12px, 0) rotate(1.2deg); }
  70% { transform: translate3d(-4px, -6px, 0) rotate(0.2deg); }
}

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

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

@keyframes processDiscRotate {
  0% { transform: perspective(900px) rotateX(8deg) rotateY(0deg); }
  50% { transform: perspective(900px) rotateX(8deg) rotateY(180deg); }
  100% { transform: perspective(900px) rotateX(8deg) rotateY(360deg); }
}

@keyframes testimonialLoopRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes home3dSlide {
  0% { transform: translateX(-18px); }
  50% { transform: translateX(54px); }
  100% { transform: translateX(-18px); }
}

@media (max-width: 980px) {
  .home-3d .hero,
  .home-3d .intro-grid,
  .home-3d .process-grid {
    grid-template-columns: 1fr;
  }

  .home-3d .process-elevation-panel {
    min-height: 640px;
  }

  .home-3d .process-copy h2 {
    max-width: 720px;
    font-size: clamp(38px, 7vw, 62px);
  }

  .home-3d .process-steps {
    max-width: 100%;
  }

  .home-3d .process-building {
    width: min(500px, 76%);
  }

  .home-3d .hero {
    padding-top: 150px;
  }

  .home-3d .intro-copy {
    position: relative;
    top: auto;
  }

  .home-3d .hero-orbit {
    position: absolute;
    inset: auto -12vw 8vh auto;
    width: 58vw;
    height: 58vw;
    opacity: 0.52;
  }

  .home-3d .portfolio-head {
    grid-template-columns: 1fr;
  }

  .home-3d .portfolio-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-3d .project-card {
    min-height: 410px;
  }

  .home-3d .project-visual {
    min-height: 205px;
  }

  .home-3d .portfolio-head p {
    margin-left: 0;
  }

  .home-3d .contact .site-footer {
    margin: 0;
  }
}

@media (max-width: 760px) {
  .home-3d .site-header {
    padding-inline: 5vw;
  }

  .home-3d .brand img {
    width: 150px;
  }

  .home-3d .menu-toggle {
    display: grid;
    gap: 6px;
    padding: 10px;
    border: 0;
    background: transparent;
  }

  .home-3d .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--home-green);
    transition: transform 0.25s ease;
  }

  .home-3d .menu-toggle.open span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .home-3d .menu-toggle.open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .home-3d .main-nav {
    position: fixed;
    inset: 70px 5vw auto;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(35, 93, 73, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--home-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .home-3d .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .home-3d .main-nav a {
    padding: 18px;
    border-bottom: 1px solid rgba(35, 93, 73, 0.08);
  }

  .home-3d .main-nav a::after {
    display: none;
  }

  .home-3d .panel {
    min-height: auto;
    padding: 110px 5vw 76px;
  }

  .home-3d .contact .site-footer {
    margin: 0;
  }

  .home-3d h1 {
    font-size: clamp(40px, 10vw, 58px);
  }

  .home-3d .hero-stats {
    display: grid;
    gap: 18px;
  }

  .home-3d .service-stack {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-3d .hero-orbit {
    display: none;
  }

  .home-3d .statement h2,
  .home-3d .contact h2,
  .home-3d .intro-copy h2,
  .home-3d .process-copy h2,
  .home-3d .portfolio-head h2 {
    font-size: clamp(30px, 9vw, 44px);
  }

  .home-3d .process-step {
    grid-template-columns: 58px 58px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .home-3d .process-steps {
    padding-left: 20px;
  }

  .home-3d .process-step::before {
    left: -24px;
  }

  .home-3d .process-step em,
  .home-3d .process-icon {
    width: 48px;
    height: 48px;
  }

  .home-3d .process-step h3 {
    font-size: 20px;
  }

  .home-3d .process-elevation-panel {
    min-height: 520px;
    border-radius: 24px;
  }

  .home-3d .process-building {
    width: min(380px, 84%);
    height: 70%;
  }

  .home-3d .process-proof-strip {
    grid-template-columns: 1fr;
    left: 6%;
    right: 6%;
  }

  .home-3d .process-proof-strip span {
    padding: 10px 14px;
  }

  .home-3d .project-card {
    min-height: auto;
  }

  .home-3d .project-visual {
    min-height: 190px;
  }

  .home-3d .portfolio-track {
    grid-template-columns: 1fr;
  }

  .home-3d .project-meta {
    padding: 20px;
  }

  .home-3d .contact-actions,
  .home-3d .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-3d .primary-btn,
  .home-3d .text-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Standard Page Consistency Layer
   Applies to every non-home page. index.html uses body.home-3d and is isolated.
   ========================================================================== */
body.standard-page {
  padding-top: 84px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 95, 77, 0.08), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(143, 184, 163, 0.16), transparent 30%),
    linear-gradient(180deg, #fbfdfc 0%, #ffffff 42%, #f4f9f6 100%);
}

body.standard-page .site-header {
  min-height: 84px;
  padding: 12px clamp(20px, 6vw, 80px);
  border-bottom: 1px solid rgba(36, 95, 77, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 34px rgba(21, 54, 47, 0.05);
  backdrop-filter: blur(20px);
}

body.standard-page .brand {
  width: min(205px, 44vw);
}

body.standard-page .brand img {
  max-height: 50px;
  object-fit: contain;
}

body.standard-page .nav-links {
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.standard-page .nav-links a {
  padding: 9px 15px;
  border-radius: var(--radius-full);
  color: rgba(18, 51, 44, 0.86);
}

body.standard-page .nav-links a.active,
body.standard-page .nav-links a:hover {
  color: var(--brand);
  background: rgba(36, 95, 77, 0.08);
}

body.standard-page .page-hero,
body.standard-page .hero-section {
  min-height: clamp(410px, 56vh, 620px);
  border-bottom: 1px solid rgba(36, 95, 77, 0.1);
}

body.standard-page .page-hero-content,
body.standard-page .hero-section .hero-inner {
  width: min(1180px, calc(100% - 40px));
}

body.standard-page .page-hero-content {
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18, 51, 44, 0.58), rgba(18, 51, 44, 0.24));
  box-shadow: 0 30px 86px rgba(18, 51, 44, 0.18);
  backdrop-filter: blur(10px);
}

body.standard-page .eyebrow,
body.standard-page .hero-eyebrow {
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

body.standard-page .page-hero .eyebrow,
body.standard-page .hero-eyebrow {
  color: #d9c38a;
}

body.standard-page .page-hero h1,
body.standard-page .hero-title {
  max-width: 900px;
  font-size: clamp(2.4rem, 5.4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

body.standard-page .section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 80px);
}

body.standard-page .section-heading {
  max-width: 920px;
  margin-inline: auto;
}

body.standard-page .section-heading h2,
body.standard-page .final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

body.standard-page .section-subtitle,
body.standard-page .final-cta p {
  color: rgba(21, 54, 47, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.7;
}

body.standard-page .feature-card,
body.standard-page .service-block,
body.standard-page .property-card,
body.standard-page .project-card,
body.standard-page .showcase-project-card,
body.standard-page .tactic-card,
body.standard-page .quote-card,
body.standard-page .quote-panel,
body.standard-page .policy-content {
  border: 1px solid rgba(36, 95, 77, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    #ffffff;
  box-shadow: 0 18px 56px rgba(21, 54, 47, 0.08);
}

body.standard-page .feature-card:hover,
body.standard-page .service-block:hover,
body.standard-page .property-card:hover,
body.standard-page .project-card:hover,
body.standard-page .showcase-project-card:hover,
body.standard-page .tactic-card:hover {
  border-color: rgba(36, 95, 77, 0.18);
  box-shadow: 0 26px 70px rgba(21, 54, 47, 0.12);
  transform: translateY(-5px);
}

body.standard-page .btn,
body.standard-page .btn-primary,
body.standard-page .btn-outline,
body.standard-page .project-know-more {
  border-radius: var(--radius-full);
}

body.standard-page .btn.primary,
body.standard-page .btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  box-shadow: 0 16px 36px rgba(36, 95, 77, 0.2);
}

body.standard-page .btn.outline-light,
body.standard-page .btn-outline {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

body.standard-page input,
body.standard-page select,
body.standard-page textarea {
  border: 1px solid rgba(36, 95, 77, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.standard-page input:focus,
body.standard-page select:focus,
body.standard-page textarea:focus {
  border-color: rgba(36, 95, 77, 0.48);
  box-shadow: 0 0 0 4px rgba(36, 95, 77, 0.08);
}

body.standard-page .contact-layout .contact-panel {
  padding: 32px;
  border-color: var(--brand);
  color: #ffffff;
  background-color: var(--deep);
  background-image: var(--grad-dark);
  box-shadow: 0 18px 42px rgba(17, 52, 44, 0.1);
}

body.standard-page .contact-layout .contact-panel h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  line-height: 1.15;
}

body.standard-page .contact-layout .contact-panel p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.standard-page .contact-layout .contact-form {
  padding: 32px;
  display: grid;
  gap: 24px;
  border: 1px solid rgba(36, 95, 77, 0.16);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 251, 247, 0.98) 58%, rgba(235, 246, 240, 0.95) 100%);
  box-shadow: 0 18px 42px rgba(17, 52, 44, 0.1);
}

body.standard-page .contact-layout .contact-form input,
body.standard-page .contact-layout .contact-form select,
body.standard-page .contact-layout .contact-form textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: var(--shadow-inset);
}

body.standard-page .contact-layout .contact-form input:focus,
body.standard-page .contact-layout .contact-form select:focus,
body.standard-page .contact-layout .contact-form textarea:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(47, 116, 95, 0.15), var(--shadow-inset);
}

body.standard-page .final-cta {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 22%, rgba(143, 184, 163, 0.32), transparent 32%),
    linear-gradient(135deg, #12332c, #245f4d);
  box-shadow: 0 26px 72px rgba(18, 51, 44, 0.18);
}

body.standard-page .final-cta p,
body.standard-page .final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

body.standard-page .site-footer {
  border-top: 1px solid rgba(36, 95, 77, 0.1);
  background: #ffffff;
  padding-top: clamp(28px, 4vw, 46px);
}

body.standard-page .footer-showcase {
  height: clamp(170px, 20vw, 260px);
  margin-bottom: clamp(12px, 2vw, 22px);
}

body.standard-page .footer-word {
  top: clamp(8px, 2vw, 20px);
  font-size: clamp(4.2rem, 13vw, 10rem);
  transform: translateX(-50%) translateY(clamp(24px, 3vw, 42px));
}

body.standard-page .footer-showcase.footer-rise-visible .footer-word {
  transform: translateX(-50%) translateY(0);
}

body.standard-page .footer-image {
  top: clamp(20px, 2.8vw, 38px);
  width: min(980px, 90%);
}

body.standard-page .footer-quote {
  top: clamp(34px, 5vw, 62px);
}

body.standard-page .footer-nav a {
  padding: 7px 0;
  color: var(--brand);
}

.partner-steps-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(143, 184, 163, 0.22), transparent 34%),
    linear-gradient(180deg, #f8fbfa 0%, #ffffff 100%);
}

.partner-steps-section::before {
  content: "";
  position: absolute;
  inset: 90px 6vw auto;
  z-index: -1;
  height: 280px;
  border-radius: 999px;
  background: rgba(36, 95, 77, 0.06);
  filter: blur(70px);
}

.partner-steps-section .show-case-container {
  width: min(1500px, 100%);
}

.partner-steps-section .section-heading {
  margin-bottom: clamp(36px, 5vw, 58px);
}

.partner-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.partner-steps-grid::before {
  content: "";
  position: absolute;
  top: 57px;
  right: clamp(64px, 5vw, 84px);
  left: clamp(64px, 5vw, 84px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 95, 77, 0.28), transparent);
}

.partner-steps-grid .tactic-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(28px, 2.4vw, 36px);
  overflow: hidden;
  border: 1px solid rgba(36, 95, 77, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    #ffffff;
  box-shadow:
    0 24px 70px rgba(21, 54, 47, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.partner-steps-grid .tactic-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, rgba(36, 95, 77, 0.1), var(--brand), rgba(143, 184, 163, 0.18));
  opacity: 0.72;
}

.partner-steps-grid .tactic-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -54px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 184, 163, 0.18), transparent 68%);
  pointer-events: none;
}

.partner-steps-grid .tactic-card .num {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border: 1px solid rgba(36, 95, 77, 0.12);
  border-radius: 50%;
  color: #12332c;
  background: #eef6f2;
  box-shadow: 0 10px 26px rgba(36, 95, 77, 0.12);
  font-size: 1rem;
}

.partner-steps-grid .tactic-card h4 {
  min-height: 58px;
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.25;
}

.partner-steps-grid .tactic-card p {
  max-width: 25ch;
  font-size: clamp(0.92rem, 1vw, 1rem);
  line-height: 1.55;
}

.partner-steps-grid .tactic-card:hover {
  border-color: rgba(36, 95, 77, 0.22);
  background:
    linear-gradient(180deg, #ffffff, rgba(248, 252, 250, 0.94)),
    #ffffff;
  box-shadow:
    0 34px 86px rgba(21, 54, 47, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.partner-steps-grid .tactic-card:hover .num {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(36, 95, 77, 0.22);
}

@media (max-width: 1280px) {
  .partner-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-steps-grid::before {
    display: none;
  }

  .partner-steps-grid .tactic-card p {
    max-width: none;
  }
}

@media (max-width: 820px) {
  .partner-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-steps-grid .tactic-card {
    min-height: 280px;
  }
}

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

  .partner-steps-grid .tactic-card {
    min-height: auto;
  }

  .partner-steps-grid .tactic-card h4 {
    min-height: auto;
  }
}

body.services-page main {
  display: flex;
  flex-direction: column;
}

body.services-page main > .hero {
  order: 0;
}

body.services-page main > .services-ticker {
  order: 1;
}

body.services-page main > .marketing-section {
  order: 2;
}

body.services-page main > #what-we-offer {
  order: 3;
}

body.services-page main > .why-section {
  order: 4;
}

body.services-page main > .process-section {
  order: 5;
}

body.services-page main > .final-section {
  order: 6;
}

body.services-page .process-section {
  background: #ffffff;
}

body.services-page .process-step {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.services-page .process-step:hover {
  transform: none;
  box-shadow: none;
}

@media (max-width: 900px) {
  body.standard-page {
    padding-top: 64px;
  }

  body.standard-page .site-header {
    min-height: 64px;
    padding: 8px 20px;
  }

  body.standard-page .nav-button {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
  }

  body.standard-page .nav-links {
    gap: 6px;
    background:
      radial-gradient(circle at 80% 0%, rgba(143, 184, 163, 0.16), transparent 36%),
      #ffffff;
  }

  body.standard-page .nav-links a {
    border-radius: 14px;
  }

  body.standard-page .page-hero-content {
    width: min(100% - 32px, 760px);
    padding: 28px;
  }

  body.standard-page .section {
    padding: 56px 20px;
  }
}

/* ==========================================================================
   About Page Reference Hero
   ========================================================================== */
body.about-page {
  background: #ffffff;
}

.about-hero-showcase {
  position: relative;
  isolation: isolate;
  min-height: clamp(760px, 94vh, 930px);
  overflow: hidden;
  padding: clamp(92px, 8vw, 124px) clamp(28px, 6vw, 108px) clamp(170px, 18vw, 230px);
  background: #ffffff url("assets/about-hero-background.png") center top / 100% 100% no-repeat;
}

.about-hero-showcase::before {
  display: none;
}

.about-hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.9) 27%,
    rgba(255, 255, 255, 0.52) 43%,
    rgba(255, 255, 255, 0.12) 61%,
    rgba(255, 255, 255, 0) 76%
  );
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.about-hero-copy .eyebrow {
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
}

.about-hero-copy h1 {
  max-width: 560px;
  margin: 0;
  color: #11382f;
  font-size: clamp(3.8rem, 5.5vw, 5.25rem);
  font-weight: 800;
  line-height: 1.1;
}

.about-hero-rule {
  display: block;
  width: 64px;
  height: 3px;
  margin: 30px 0 28px;
  background: var(--brand);
}

.about-hero-copy p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(18, 35, 31, 0.72);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.about-hero-stats {
  position: absolute;
  right: clamp(28px, 5vw, 86px);
  bottom: clamp(54px, 5vw, 76px);
  left: clamp(28px, 5vw, 86px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: 132px;
  padding: 24px clamp(28px, 5vw, 72px);
  border: 1px solid rgba(36, 95, 77, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 70px rgba(21, 54, 47, 0.1);
  backdrop-filter: blur(18px);
}

.about-hero-stats article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-content: center;
  padding-inline: clamp(14px, 2vw, 34px);
  color: rgba(18, 35, 31, 0.68);
}

.about-hero-stats article + article {
  border-left: 1px solid rgba(36, 95, 77, 0.13);
}

.about-stat-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--brand);
  background: #eaf2ee;
}

.about-stat-icon svg {
  width: 28px;
  height: 28px;
}

.about-hero-stats strong {
  color: #11382f;
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  line-height: 1.2;
}

.about-hero-stats span:last-child {
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  line-height: 1.32;
}

@media (max-width: 1100px) {
  .about-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
  }

  .about-hero-stats article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .about-hero-showcase {
    min-height: auto;
    padding: 78px 20px 240px;
    background-size: cover;
    background-position: 62% center;
  }

  .about-hero-showcase::before {
    display: none;
  }

  .about-hero-showcase::after {
    background: linear-gradient(
      to right,
      #ffffff 0%,
      #ffffff 18%,
      rgba(255, 255, 255, 0.5) 38%,
      rgba(255, 255, 255, 0) 60%
    );
  }

  .about-hero-copy h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .about-hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
    padding: 10px 20px;
    border-radius: 18px;
  }

  .about-hero-stats article {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px 0;
  }

  .about-hero-stats article + article {
    border-top: 1px solid rgba(36, 95, 77, 0.13);
    border-left: 0;
  }

  .about-stat-icon {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   Mobile Responsiveness Hardening
   ========================================================================== */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
  }

  .home-3d .site-header,
  body.standard-page .site-header {
    width: 100%;
  }

  .home-3d .main-nav,
  body.standard-page .nav-links {
    max-width: calc(100vw - 32px);
  }

  .home-3d .hero,
  .home-3d .intro-grid,
  .home-3d .process-grid,
  .home-3d .portfolio-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-3d .hero-copy,
  .home-3d .intro-copy,
  .home-3d .process-left,
  .home-3d .process-elevation-panel,
  .home-3d .portfolio-head > *,
  body.standard-page .section > *,
  body.standard-page .project-tabs,
  body.standard-page .contact-layout > * {
    min-width: 0;
  }

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

  .project-loop-carousel,
  .home-3d .testimonial-card-loop,
  .partner-marquee {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .home-3d .site-header {
    min-height: 66px;
    padding: 10px 18px;
  }

  .home-3d .main-nav {
    inset: 72px 16px auto;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }

  .home-3d .panel {
    width: 100%;
    padding-inline: 18px;
  }

  .home-3d .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 54px;
  }

  .home-3d .hero-copy,
  .home-3d .intro-copy {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .home-3d h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    letter-spacing: 0;
  }

  .home-3d .hero-text,
  .home-3d .intro-copy p,
  .home-3d .process-copy p,
  .home-3d .portfolio-head p {
    font-size: 1rem;
    line-height: 1.62;
  }

  .home-3d .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .home-3d .service-card {
    min-height: 178px;
    padding: 20px;
    border-radius: 18px;
  }

  .home-3d .process {
    padding-top: 64px;
  }

  .home-3d .process-steps {
    padding-left: 0;
  }

  .home-3d .process-steps::before,
  .home-3d .process-step::before {
    display: none;
  }

  .home-3d .process-step {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    padding: 16px;
  }

  .home-3d .process-step em {
    grid-row: span 2;
  }

  .home-3d .process-icon {
    display: none;
  }

  .home-3d .process-elevation-panel {
    min-height: 390px;
  }

  .home-3d .process-building {
    width: min(320px, 92%);
    height: 66%;
  }

  .home-3d .process-proof-strip {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .home-3d .portfolio {
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .home-3d .portfolio-head p {
    padding-left: 0;
    border-left: 0;
  }

  .project-loop-carousel {
    padding-bottom: 22px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .project-loop-track {
    gap: 16px;
  }

  .project-loop-carousel .showcase-project-card {
    flex-basis: min(84vw, 320px);
    width: min(84vw, 320px);
  }

  .project-loop-carousel .showcase-project-card figure {
    height: 180px;
  }

  .home-3d .testimonial-card-loop {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-3d .testimonial-card-track {
    gap: 16px;
  }

  .home-3d .testimonial-card {
    flex-basis: min(84vw, 330px);
    padding: 22px;
  }

  .footer-showcase {
    height: 230px;
    margin-bottom: 14px;
  }

  .footer-word {
    top: 14px;
    font-size: clamp(3.9rem, 22vw, 5.8rem);
    line-height: 0.82;
    transform: translateX(-50%) translateY(28px);
  }

  .footer-showcase.footer-rise-visible .footer-word {
    transform: translateX(-50%) translateY(0);
  }

  .footer-image {
    top: 72px;
    width: min(112vw, 520px);
    height: 128px;
    object-fit: contain;
    object-position: center bottom;
  }

  .footer-showcase::before {
    right: 4%;
    bottom: 42px;
    left: 4%;
  }

  .partner-marquee {
    border-radius: 18px;
  }

  .partner-marquee .marquee-track,
  .partner-marquee .marquee-group {
    gap: 16px;
  }

  .partner-logo {
    min-width: 126px;
    min-height: 66px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .partner-logo img {
    max-height: 40px;
  }

  body.standard-page .page-hero-content {
    width: calc(100% - 28px);
    padding: 24px 18px;
  }

  body.standard-page .section {
    padding-inline: 18px;
  }

  body.standard-page .project-tab-controls {
    justify-content: stretch;
    gap: 8px;
  }

  body.standard-page .project-tab-controls label {
    flex: 1 1 100%;
  }

  body.standard-page .contact-layout .contact-panel,
  body.standard-page .contact-layout .contact-form,
  body.standard-page .feature-card,
  body.standard-page .service-block,
  body.standard-page .property-card,
  body.standard-page .project-card-body,
  body.standard-page .quote-panel,
  body.standard-page .policy-content {
    padding: 20px 18px;
  }
}

@media (max-width: 420px) {
  .home-3d .brand img {
    width: 132px;
  }

  .home-3d .panel {
    padding-inline: 14px;
  }

  .home-3d .hero-copy,
  .home-3d .intro-copy {
    padding: 20px 14px;
  }

  .home-3d .primary-btn,
  .home-3d .text-btn,
  .btn,
  body.standard-page .btn,
  body.standard-page .btn-primary,
  body.standard-page .btn-outline {
    min-width: 0;
    white-space: normal;
  }

  .home-3d .process-step {
    grid-template-columns: 1fr;
  }

  .home-3d .process-step em {
    grid-row: auto;
  }

  .project-loop-carousel .showcase-project-card,
  .home-3d .testimonial-card {
    flex-basis: 88vw;
    width: 88vw;
  }
}
