/* ═══════════════════════════════════
   CREDA — redesign.css
   Clean, professional agency design
═══════════════════════════════════ */
:root {
  /* ── Neutrals ── */
  --black: #080806;
  /* warm black, not cold */
  --surface-deep: #050503;
  /* deepest — hero bg fallback */
  --surface-dark: #0E0E0C;
  /* dark sections */
  --surface-mid: #141410;
  /* cards on dark bg */
  --surface-warm: #F7F4EE;
  /* warm near-white for pillar section */
  --surface-light: #F2EEE6;
  /* slightly deeper for services bg */

  /* ── Accent System ── */
  --accent-gold: #C8A96E;
  /* champagne gold — trust · luxury · ambition */
  --accent-gold-l: #DEC088;
  /* lighter variant — hover states */
  --accent-fire: #E8590C;
  /* ember orange — urgency · energy · action */

  /* ── Text ── */
  --text-on-dark: #E8E3D9;
  /* warm off-white for body on dark bg */
  --text-muted: #8A8680;
  /* muted captions / eyebrows */

  /* ── Legacy aliases (kept for backward compat) ── */
  --gold: var(--accent-gold);
  --gold-light: var(--accent-gold-l);
  --orange: var(--accent-fire);
  --off-white: var(--surface-warm);
  --gray: var(--text-muted);
  --border: rgba(255, 255, 255, 0.08);

  /* ── Typography ── */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ldr-content {
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.ldr-content.fonts-loaded {
  opacity: 1;
}

/* Cycling tagline above logo */
.ldr-tagline {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 2vw, 1rem);
  letter-spacing: .6em;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
  min-height: 1.2em;
}

@keyframes taglineCycle {
  0% {
    content: 'GROW';
    opacity: 1;
  }

  /* can't do content in keyframes, we use JS */
  0% {
    opacity: 0.3;
  }

  5% {
    opacity: 1;
  }

  45% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }

  55% {
    opacity: 1;
  }
}

.ldr-logo {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  letter-spacing: .08em;
  color: #fff;
  line-height: 1;
  /* subtle flicker */
  animation: logoFlicker 1.4s ease-in-out infinite;
}

@keyframes logoFlicker {

  0%,
  100% {
    opacity: 1;
  }

  48% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }

  52% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  80% {
    opacity: 0.9;
  }

  82% {
    opacity: 1;
  }
}

.ldr-sub {
  font-size: .65rem;
  letter-spacing: .55em;
  color: rgba(255, 255, 255, 0.3);
  margin-top: .3rem;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.ldr-bar-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: center;
}

.ldr-bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

#ldr-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-l));
  box-shadow: 0 0 10px rgba(200, 169, 110, .7);
  transition: width .05s linear;
  border-radius: 2px;
}

.ldr-pct {
  font-size: .75rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, 0.4);
}

#ldr-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.ldr-half {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--black);
  z-index: 1;
  transition: transform .8s cubic-bezier(.76, 0, .24, 1);
}

.ldr-top {
  top: 0;
  transform-origin: top;
}

.ldr-bot {
  bottom: 0;
  transform-origin: bottom;
}

.ldr-top.open {
  transform: translateY(-100%);
}

.ldr-bot.open {
  transform: translateY(100%);
}

#loader.done {
  pointer-events: none;
}

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg,
      var(--accent-gold) 0%,
      var(--accent-gold-l) 50%,
      var(--accent-fire) 100%);
  z-index: 10000;
  transform-origin: 0 50%;
  transform: scaleX(0);
  box-shadow: 0 0 8px rgba(200, 169, 110, 0.6);
  will-change: transform;
}

@supports (animation-timeline: scroll()) {
  @keyframes grow-progress {
    from {
      transform: scaleX(0);
    }

    to {
      transform: scaleX(1);
    }
  }

  #scroll-progress {
    animation: grow-progress auto linear;
    animation-timeline: scroll(root);
  }
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  background: rgba(8, 8, 6, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav-inner .nav-logo {
  display: flex;
  align-items: center;
  margin-left: 0.5rem; /* Visual balance for left padding */
  flex-shrink: 0;
}

.nav-inner .nav-logo img {
  height: 14px;  /* Scaled down to match the text size of the nav links */
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-inner .nav-cta {
  background: transparent;
  color: var(--text-on-dark);
  border: 1px solid rgba(232, 227, 217, 0.3);
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: none;
}

.nav-inner .nav-cta:hover {
  background: var(--text-on-dark);
  color: #000;
  border-color: var(--text-on-dark);
  box-shadow: 0 4px 15px rgba(232, 227, 217, 0.15);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav-links a {
  color: rgba(232, 227, 217, 0.7);
  text-decoration: none;
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-on-dark);
}

.nav-cta,
.btn-fire {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: .7rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: .875rem;
  letter-spacing: .03em;
  transition: transform .3s, box-shadow .3s, background .3s;
  display: inline-flex;
  align-items: center;
}

.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, .4);
  background: var(--gold-light);
}

.btn-sm {
  padding: .5rem 1.2rem;
  font-size: .8rem;
}


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s;
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .nav-cta {
    display: none
  }

  .nav-hamburger {
    display: flex
  }
}

/* ── MOBILE MENU ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 590;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 85%;
  background: rgba(8, 8, 8, .98);
  backdrop-filter: blur(30px);
  z-index: 600;
  padding: 2rem;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.76, 0, .24, 1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mob-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.mob-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 5rem;
}

.mob-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 700;
}

.mob-cta {
  background: var(--gold) !important;
  color: #000 !important;
  padding: 1rem 2rem;
  border-radius: 100px;
  display: block;
  text-align: center;
  font-size: 1.1rem !important;
}

/* ═══════ HERO ═══════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  border-radius: 0 0 2rem 2rem;
  background-color: #000000;
}

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

.noise-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  /* Stronger gradient bottom for text legibility */
  background:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      transparent 40%,
      rgba(0, 0, 0, 0.55) 70%,
      rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  /* Safe area bottom so content clears the iPhone gesture bar */
  padding: 0 5vw calc(3.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: flex-end;
  gap: 1rem;
}

.hg-left {
  grid-column: span 12;
}

.hg-right {
  grid-column: span 12;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
}

/* ── Tablet: side-by-side layout ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    padding: 0 5vw calc(4rem + env(safe-area-inset-bottom, 0px));
  }

  .hg-left {
    grid-column: span 7;
  }

  .hg-right {
    grid-column: span 5;
    padding-bottom: 1.75rem;
    justify-content: flex-end;
  }
}

/* ── Desktop ── */
@media (min-width: 1024px) {
  .hero-content {
    padding: 0 5vw calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hg-left {
    grid-column: span 8;
  }

  .hg-right {
    grid-column: span 4;
    padding-bottom: 2.5rem;
    justify-content: flex-end;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  /* Bebas is naturally bold */
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  /* Scales beautifully: 5rem mobile → fills screen on desktop */
  font-size: clamp(5rem, 18vw, 22vw);
  line-height: 0.85;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin: 0;
  text-transform: uppercase;
}

.word-pull-up {
  display: inline-flex;
  flex-wrap: wrap;
}

.wp-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

.hero-asterisk {
  position: absolute;
  top: 0.65em;
  right: -0.3em;
  font-size: 0.31em;
}

.hero-desc-p {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin: 0;
  max-width: 40ch;
  opacity: 0;
  transform: translateY(20px);
  text-wrap: balance;
}

.btn-prisma {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E1E0CC;
  color: #000000;
  padding: 0.25rem 0.25rem 0.25rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.btn-prisma:hover {
  gap: 0.75rem;
}

.btn-prisma .btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: #000000;
  color: #E1E0CC;
  border-radius: 50%;
  transition: transform 0.3s;
}

.btn-prisma:hover .btn-icon {
  transform: scale(1.1);
}

/* Word Carousel */
.word-carousel {
  display: inline-grid;
  overflow: hidden;
  vertical-align: bottom;
  padding-right: 0.15em;
  padding-bottom: 0.1em;
}

.wc-word {
  grid-area: 1 / 1;
  white-space: nowrap;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .7s cubic-bezier(.76, 0, .24, 1), opacity .7s ease;
}

.wc-word.active {
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
}

.wc-word.exit {
  transform: translateY(-120%);
  opacity: 0;
  z-index: 1;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  margin-top: auto;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp .8s ease 1s forwards;
}

.hero-desc p {
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  color: rgba(0, 0, 0, 0.8);
  max-width: 38ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}


.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding-bottom: .5rem;
}

.hero-scroll-hint span {
  font-size: .65rem;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .3);
}

.scroll-pill {
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding: 4px;
}

.scroll-pill-inner {
  width: 4px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% {
    transform: translateY(0);
    opacity: 1
  }

  100% {
    transform: translateY(16px);
    opacity: 0
  }
}

/* Hero band */
.hero-band {
  background: var(--gold);
  padding: .875rem 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.hero-band-inner {
  display: flex;
  width: 200%;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(.85rem, 1.5vw, 1.1rem);
  letter-spacing: .05em;
  color: #000;
  text-transform: uppercase;
}

/* Marquee animation */
.marquee-content {
  animation: marqueeScroll 28s linear infinite;
}

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

/* ═══════ 5K SCROLL CANVAS SEQUENCE ═══════ */
#canvas-sequence {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}


#scroll-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 1600px;
}

/* ═══════ STORY SCROLL ═══════ */
.story-scroll-container {
  position: relative;
}

.story-scroll-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
}

.story-scroll-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(4rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  transform-origin: top center;
  will-change: transform;
  min-height: 100vh;
}


/* Card 1: Warm ivory — premium cream, welcoming. NOT pure white. */
.ssi-ivory {
  background: #F8F4ED;
  color: #0D0D0B;
}

/* Card 2: Obsidian — authority, power, mastery */
.ssi-dark {
  background: #111111;
  color: #ffffff;
}

/* Card 3: Gold — payoff, ROI, guarantee */
.ssi-gold {
  background: var(--gold);
  color: #000000;
}

.ssi-label {
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 600;
}

.ssi-rule {
  border: none;
  border-top: 1px solid currentColor;
  opacity: .2;
  margin: clamp(.75rem, 2vw, 1.5rem) 0;
}

.ssi-h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 2rem;
}

.ssi-cols {
  display: flex;
  gap: 3vw;
  flex-wrap: wrap;
}

.ssi-cols>div {
  flex: 1;
  min-width: 160px;
}

.ssi-col-title {
  font-size: .75rem;
  letter-spacing: .2em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* Ivory card: label gets gold accent, body text slightly muted */
.ssi-ivory .ssi-label {
  color: var(--gold);
}

.ssi-ivory .ssi-col-body {
  opacity: 0.65;
}

/* Dark card: column titles get gold accent to pop */
.ssi-dark .ssi-col-title {
  color: var(--gold);
}

.ssi-col-body {
  font-size: clamp(.8rem, 1.2vw, .95rem);
  line-height: 1.7;
  opacity: .8;
}

/* ═══════ CORE PILLARS ═══════ */
.pillars-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-warm);
  border-top: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  flex-wrap: wrap;
  padding: 7rem 0;
  position: relative;
}

/* Gradient rule at top */
.pillars-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--accent-gold) 30%,
      var(--accent-gold-l) 50%,
      var(--accent-gold) 70%,
      transparent 100%);
  opacity: 0.6;
}

.pillar-col {
  text-align: center;
  padding: 3rem 2.5rem;
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-col:hover {
  transform: translateY(-4px);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3rem);
  color: var(--accent-gold);
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.pillar-col:hover .pillar-num {
  color: var(--accent-fire);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  letter-spacing: 0.08em;
  font-weight: 500;
  color: #1a1a18;
  line-height: 1.5;
  text-transform: uppercase;
}

.stat-div {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}

@media(max-width:800px) {
  .stat-div {
    display: none;
  }
}

/* ═══════ SERVICES ═══════ */
.svc-section {
  padding: 10rem 5vw;
  background: var(--surface-light);
  color: #0A0A08;
}

.svc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.svc-eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: block;
  font-weight: 600;
}

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .9;
  color: #0A0A08;
  letter-spacing: 0.01em;
}

.svc-list {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.svc-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #000000;
  transition: background 0.3s, padding 0.85s ease-in-out, color 0.3s;
  position: relative;
  overflow: hidden;
}

.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--surface-mid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.75s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}

.svc-row:hover::before {
  transform: scaleX(1);
}

.svc-row:hover {
  padding-left: 1.5rem;
  color: var(--text-on-dark);
}

.svc-n {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(0, 0, 0, .15);
  min-width: 80px;
  position: relative;
  z-index: 1;
  transition: color .3s;
}

.svc-row:hover .svc-n {
  color: rgba(200, 169, 110, 0.5);
  /* gold tint */
}

.svc-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.svc-info h3 {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: .4rem;
  transition: color .3s;
}

.svc-info h3 a {
  color: inherit;
  text-decoration: none;
}

.svc-row:hover .svc-info h3 {
  color: var(--text-on-dark);
}

.svc-info p {
  font-size: .9rem;
  color: rgba(0, 0, 0, .65);
  max-width: 50ch;
  line-height: 1.65;
  transition: color .3s;
}

.svc-row:hover .svc-info p {
  color: rgba(232, 227, 217, 0.75); /* Light text on dark hover background */
}

.svc-arr {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, .2);
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), color .3s;
}

.svc-row:hover .svc-arr {
  transform: translate(5px, -5px);
  color: var(--accent-gold-l);
}

/* ═══════ AUTHORITY TRANSITION BRIDGE ═══════ */
.transition-bridge {
  padding: 7rem 5vw 0;
  background: linear-gradient(180deg,
      var(--surface-dark) 0%,
      #0A0A08 40%,
      #0D0D0B 100%);
  border-top: 1px solid rgba(200, 169, 110, 0.12);
  position: relative;
  overflow: hidden;
}

.tb-content {
  max-width: 900px;
  margin: 0 auto 5rem;
  text-align: center;
}

.tb-eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.tb-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.25;
  color: var(--text-on-dark);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.tb-marquee {
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-l) 50%, var(--accent-gold) 100%);
  padding: .85rem 0;
  margin: 0 -5vw;
  overflow: hidden;
  position: relative;
}

.tb-marquee-inner {
  display: flex;
  width: 200%;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(.8rem, 1.3vw, 1.05rem);
  letter-spacing: .08em;
  color: #000;
  animation: dmFwd 28s linear infinite;
}

/* ═══════ HORIZONTAL SHOWCASE ═══════ */
.showcase-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000000;
  border-top: none;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10rem 5vw;
  gap: 4rem;
  color: #ffffff;
}

.showcase-intro {
  flex: 0 0 320px;
  z-index: 2;
}

.showcase-eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.showcase-sub {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.6;
}

.showcase-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.showcase-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
}

.sc-card {
  width: 420px;
  background: #000000;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: border-color .3s, background .3s, transform .3s;
}

.sc-card:hover {
  border-color: var(--gold);
  background: #080808;
  transform: translateY(-4px);
}

.sc-card-top {
  margin-bottom: 2rem;
}

.sc-tag {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212, 175, 55, .1);
  padding: .35rem .75rem;
  border-radius: 2px;
}

.sc-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.sc-desc {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2rem;
}


@media(max-width: 900px) {
  .showcase-section {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 5vw;
  }

  .showcase-intro {
    flex: auto;
    width: 100%;
  }

  .showcase-track-wrap {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 1.5rem;
  }

  .sc-card {
    width: 320px;
  }
}

/* ═══════ DUAL MARQUEE ═══════ */
.dual-marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dm-row {
  padding: .75rem 0;
  overflow: hidden;
}

.dm-row:first-child {
  border-bottom: 1px solid var(--border);
}

.dm-fwd .dm-track {
  display: flex;
  width: 200%;
  animation: marqueeF 25s linear infinite;
  white-space: nowrap;
}

.dm-rev .dm-track {
  display: flex;
  width: 200%;
  animation: marqueeR 30s linear infinite;
  white-space: nowrap;
}

.dm-track span {
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--gray);
  text-transform: uppercase;
  font-weight: 500;
  padding-right: 2rem;
}

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

@keyframes marqueeR {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.marquee-content-rev {
  display: flex;
  width: 200%;
  animation: marqueeR 30s linear infinite;
  white-space: nowrap;
}

/* ═══════ WHY CREDA ═══════ */
.why-section {
  padding: 9rem 5vw;
  background: var(--surface-dark);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
}

.why-eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2rem;
  font-weight: 600;
}

.why-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  margin-bottom: 5rem;
}

.why-headline em {
  color: var(--gold);
  font-style: normal;
}

.why-feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-feat {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(200, 169, 110, 0.1);
  padding: 2.5rem;
  border-radius: 6px;
  transition: border-color .4s cubic-bezier(0.16, 1, 0.3, 1), transform .4s cubic-bezier(0.16, 1, 0.3, 1), background .4s ease;
  position: relative;
  overflow: hidden;
}

.why-feat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}

.why-feat:hover {
  border-color: rgba(200, 169, 110, 0.35);
  background: rgba(200, 169, 110, 0.04);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.why-feat:hover::after {
  transform: scaleX(1);
}

.why-feat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(200, 169, 110, 0.15);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color 0.3s;
}

.why-feat:hover .why-feat-num {
  color: rgba(200, 169, 110, 0.4);
}

.why-feat h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--text-on-dark);
  letter-spacing: 0.01em;
}

.why-feat p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ═══════ CLIENTS ═══════ */
.clients-section {
  padding: 6rem 5vw;
  background: var(--black);
  border-top: 1px solid var(--border);
}

.clients-eyebrow {
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--gray);
  text-transform: uppercase;
  display: block;
  margin-bottom: 3rem;
}

.clients-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.client-card {
  flex: 1;
  min-width: 180px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  text-align: center;
  transition: border-color .3s, transform .3s;
}

.client-card:hover {
  border-color: rgba(250, 204, 21, .3);
  transform: translateY(-4px);
}

.cc-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, .06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gray);
  margin: 0 auto 1.25rem;
}

.cc-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .25rem;
}

.cc-type {
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ═══════ CTA ═══════ */
.cta-section {
  position: relative;
  padding: 10rem 5vw;
  background: var(--surface-deep);
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(200, 169, 110, 0.12);
}

.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  color: rgba(200, 169, 110, 0.025);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: .05em;
  z-index: 0;
  will-change: transform;
}

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

.cta-eyebrow {
  font-size: .75rem;
  letter-spacing: .35em;
  color: var(--accent-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2rem;
  font-weight: 600;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.cta-hl-accent {
  color: var(--gold);
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 48ch;
  margin: 0 auto 3.5rem;
  line-height: 1.75;
  text-wrap: balance;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cta-btns .btn-ghost-outline,
.btn-ghost-outline {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.6rem;
  border-radius: 100px;
  border: 1px solid rgba(232, 227, 217, 0.35);
  color: var(--text-on-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: .875rem;
  letter-spacing: .03em;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-btns .btn-ghost-outline:hover,
.btn-ghost-outline:hover {
  background: rgba(232, 227, 217, 0.1);
  border-color: rgba(232, 227, 217, 0.7);
  color: #fff;
}

.sc-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  font-weight: 600;
  transition: opacity 0.3s;
}

.sc-link:hover {
  opacity: 0.8;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════ FOOTER ═══════ */
.site-footer {
  background: var(--surface-deep);
  border-top: 1px solid rgba(200, 169, 110, 0.1);
  padding: 6rem 5vw 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media(max-width:768px) {
  .footer-top {
    grid-template-columns: 1fr
  }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: .1em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .875rem;
  color: var(--gray);
  max-width: 30ch;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--gray);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: .4rem .75rem;
  border-radius: 2px;
  transition: border-color .2s, color .2s;
}

.footer-socials a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media(max-width:640px) {
  .footer-links {
    grid-template-columns: 1fr
  }
}

.fl-col h4 {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.fl-col a {
  display: block;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  margin-bottom: .75rem;
  transition: color .2s;
}

.fl-col a:hover {
  color: #fff;
}

.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bot p {
  font-size: .75rem;
  color: var(--gray);
}

/* ── WhatsApp ── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 400;
  background: #25D366;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .3);
  transition: transform .3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ── REVEAL (APPLE-STYLE GLASS SPRING) ── */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  filter: blur(8px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), filter 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0px);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none !important;
  }
}

/* ── RESPONSIVE DESIGN (PREMIUM MOBILE) ── */
@media(max-width:992px) {
  .hero-h1 {
    font-size: clamp(4.5rem, 13vw, 8rem);
  }

  .svc-section,
  .why-section,
  .cta-section {
    padding: 6rem 5vw;
  }
}

@media(max-width:768px) {

  /* Mobile Hero — full viewport, stacked, editorial */
  #hero {
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .hero-content {
    padding: 0 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-h1 {
    font-size: clamp(4.25rem, 18vw, 6.5rem);
    line-height: 0.83;
    letter-spacing: -0.02em;
    margin-bottom: 0;
  }

  /* On mobile: stack right col below title */
  .hg-left,
  .hg-right {
    grid-column: span 12;
  }

  .hg-right {
    padding-bottom: 0;
    gap: 1rem;
  }

  .hero-bottom {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 4rem;
    align-items: flex-start;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* Mobile: hero desc is smaller, max-width full */
  .hero-desc-p {
    font-size: clamp(0.88rem, 3.8vw, 1rem);
    max-width: 100%;
    opacity: 0;
    /* will be animated in by JS */
    transform: translateY(20px);
  }

  /* Mobile: btn-prisma fills width */
  .hero-btns {
    width: 100%;
  }

  .btn-prisma {
    width: 100%;
    justify-content: space-between;
    padding: 0.3rem 0.3rem 0.3rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-btns a {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.6rem;
    font-size: 1rem;
  }

  .hero-desc p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Sections */
  .svc-section,
  .why-section,
  .cta-section {
    padding: 4rem 5vw;
  }

  .clients-section {
    padding: 4rem 5vw;
  }

  /* Nav */
  #main-nav {
    padding: 1rem 1.25rem;
  }

  /* Stats Grid */
  .stats-bar {
    padding: 2rem 5vw;
    gap: 1rem;
    display: flex;
    flex-direction: column;
  }

  .stat-col {
    padding: 2rem;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .stat-big {
    justify-content: flex-start;
  }

  .stat-label {
    margin-top: 0;
    text-align: right;
    max-width: 100px;
  }

  .stat-div {
    display: none;
  }

  /* Services as Premium Cards */
  .svc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
  }

  .svc-list {
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .svc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
  }

  .svc-row:hover {
    padding-left: 2rem;
    border-color: var(--gold);
  }

  .svc-n {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: -0.5rem;
    opacity: 1;
    z-index: 2;
    transition: none;
  }

  .svc-row:hover .svc-n {
    color: var(--black);
  }

  .svc-info p {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .svc-arr {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
  }

  /* Sticky Stacking Story Scroll */
  .story-scroll-container {
    padding: 2rem 5vw 4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .story-scroll-section {
    position: relative;
    min-height: 100vh;
  }

  .story-scroll-inner {
    padding: 3rem 2rem 3.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  }

  .ssi-h2 {
    font-size: clamp(3.5rem, 14vw, 5rem);
    margin: 2rem 0;
  }

  .ssi-cols {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* CTA */
  .cta-btns {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-btns a {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.6rem;
    font-size: 1rem;
  }

  .cta-headline {
    font-size: clamp(3.5rem, 14vw, 5rem);
  }

  .cta-bg-text {
    font-size: 7rem;
  }
}

@media(max-width:480px) {
  .hero-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .stat-big .stats-counter {
    font-size: 3rem;
  }

  .stat-suf {
    font-size: 2rem;
  }

  .svc-title {
    font-size: 3rem;
  }

  .why-headline {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

}

/* ═══════════════════════════════════════════════════════
   CONTACT MODAL
   Premium split-panel: dark left brand / form right
═══════════════════════════════════════════════════════ */

.cmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(4, 4, 3, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(.16, 1, .3, 1);
}

.cmodal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.cmodal-panel {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 0.25rem;
  overflow: hidden;
  transform: translateY(40px) scale(0.97);
  transition: transform 0.45s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.cmodal-overlay.is-open .cmodal-panel {
  transform: translateY(0) scale(1);
}

/* ── Left brand column ── */
.cmodal-left {
  background: var(--black);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(200, 169, 110, 0.15);
}

.cmodal-eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}

.cmodal-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin: 0;
}

.cmodal-hl-gold {
  color: var(--accent-gold);
}

.cmodal-brand-footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cmodal-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cmodal-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent-gold);
  line-height: 1;
}

.cmodal-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cmodal-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cmodal-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
  letter-spacing: 0.02em;
}

.cmodal-link:hover {
  color: var(--accent-gold);
}

/* ── Right form column ── */
.cmodal-right {
  background: #F8F4ED;
  padding: clamp(2rem, 4vw, 3rem);
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cmodal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.5);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.cmodal-close:hover {
  background: #0D0D0B;
  border-color: #0D0D0B;
  color: #fff;
}

.cmodal-form-header {
  margin-bottom: 1.75rem;
  padding-top: 0.25rem;
}

.cmodal-form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #0D0D0B;
  margin-bottom: 0.4rem;
}

.cmodal-form-sub {
  font-size: 0.82rem;
  color: rgba(13, 13, 11, 0.55);
  line-height: 1.6;
}

.cmodal-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.cmodal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cmodal-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cmodal-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(13, 13, 11, 0.65);
  font-family: var(--font-body);
}

.cmodal-field label span {
  color: var(--accent-fire);
}

.cmodal-field input,
.cmodal-field select,
.cmodal-field textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(13, 13, 11, 0.14);
  border-radius: 0.15rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: #0D0D0B;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.cmodal-field input::placeholder,
.cmodal-field textarea::placeholder {
  color: rgba(13, 13, 11, 0.3);
}

.cmodal-field input:focus,
.cmodal-field select:focus,
.cmodal-field textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.cmodal-field input[aria-invalid="true"],
.cmodal-field select[aria-invalid="true"],
.cmodal-field textarea[aria-invalid="true"] {
  border-color: var(--accent-fire);
  box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.12);
}

.cmodal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D0D0B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

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

.cf-err {
  font-size: 0.72rem;
  color: var(--accent-fire);
  min-height: 1em;
  display: block;
}

.cmodal-form-err {
  font-size: 0.8rem;
  color: var(--accent-fire);
  margin-top: 0.5rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* Submit button */
.cmodal-submit {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: #0D0D0B;
  color: #ffffff;
  border: none;
  border-radius: 0.15rem;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.cmodal-submit:hover:not(:disabled) {
  background: var(--accent-gold);
  color: #0D0D0B;
}

.cmodal-submit:active:not(:disabled) {
  transform: scale(0.98);
}

.cmodal-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cmodal-submit-icon {
  transition: transform 0.25s;
}

.cmodal-submit:hover:not(:disabled) .cmodal-submit-icon {
  transform: translateX(4px);
}

@keyframes cmodal-spin {
  to {
    transform: rotate(360deg);
  }
}

.cmodal-submit-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: cmodal-spin 0.7s linear infinite;
}

.cmodal-submit.is-loading .cmodal-submit-text,
.cmodal-submit.is-loading .cmodal-submit-icon {
  display: none;
}

.cmodal-submit.is-loading .cmodal-submit-loader {
  display: inline-block;
}

/* Success state */
.cmodal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  height: 100%;
  padding: 2rem;
  flex: 1;
}

.cmodal-success.is-visible {
  display: flex;
}

.cmodal-success-icon {
  width: 56px;
  height: 56px;
  background: #0D0D0B;
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.cmodal-success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #0D0D0B;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cmodal-success p {
  font-size: 0.88rem;
  color: rgba(13, 13, 11, 0.6);
  line-height: 1.65;
  max-width: 32ch;
}

/* Mobile responsive */
@media (max-width: 680px) {
  .cmodal-panel {
    grid-template-columns: 1fr;
    max-height: 95vh;
  }

  .cmodal-left {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    border-right: none;
    border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  }

  .cmodal-brand {
    grid-column: 1 / -1;
  }

  .cmodal-headline {
    font-size: 2rem;
  }

  .cmodal-brand-footer {
    flex-direction: row;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .cmodal-contact-links {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .cmodal-row {
    grid-template-columns: 1fr;
  }

  .cmodal-right {
    padding: 1.75rem 1.5rem;
  }
}