/* ==========================================================
   DAGA ADVISORY GROUP - Cream / Charcoal / Gold redesign
   Editorial, elegant, performance-conscious
   ========================================================== */

:root {
  --cream: #faf6ec;
  --cream-deep: #f3ecdc;
  --paper: #ffffff;
  --ink: #1d1d1b;
  --ink-soft: #555551;
  --ink-mute: #8a867c;
  --line: #e6dfce;
  --line-soft: #efe9db;
  --gold: #b8925a;
  --gold-deep: #9a7945;
  --gold-light: #d9bc8a;

  --ff-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --ff-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --radius: 14px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

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

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

::selection {
  background: var(--gold);
  color: var(--cream);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 9998;
  width: 0%;
  transition: width .1s linear;
}

/* ==========================================================
   NAV
   ========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding .3s var(--ease), background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: .8rem 2.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
}

.nav-logo .logo-img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .3s ease;
  position: relative;
  padding: .4rem .8rem;
  border-radius: 999px;
  z-index: 1;
}

.nav-links a:not(.btn)::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--paper);
  z-index: -1;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .3s ease, transform .3s var(--ease-out), box-shadow .3s ease;
  box-shadow: 0 4px 12px rgba(184, 146, 90, 0.08), 0 0 0 1px rgba(184, 146, 90, 0.15);
}

.nav.is-scrolled .nav-links a:not(.btn)::before {
  background: rgba(255, 255, 255, 0.8);
}

.nav-links a:not(.btn):hover {
  color: var(--gold-deep);
}

.nav-links a:not(.btn):hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links a.active:not(.btn) {
  color: var(--ink);
}

.nav-links a.active:not(.btn)::before {
  opacity: 1;
  transform: scale(1);
  background: var(--cream-deep);
  box-shadow: none;
  border: 1px solid rgba(184, 146, 90, 0.4);
}

/* ==========================================================
   NAV DROPDOWN (Services dropdown menu)
   ========================================================== */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown .nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s ease;
  display: inline-block;
  opacity: 0.7;
}

.nav-dropdown:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--gold-deep);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  background: rgba(255, 254, 250, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(184, 146, 90, 0.2);
  border-radius: var(--radius-lg);
  padding: 0.8rem;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 15px 35px rgba(29, 29, 27, 0.08), 0 0 0 1px rgba(184, 146, 90, 0.05);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px) scale(1);
}

.dropdown-menu a {
  font-size: 0.85rem !important;
  font-weight: 500;
  color: var(--ink-soft) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm) !important;
  text-align: left;
  transition: all 0.2s ease !important;
  display: block;
}

.dropdown-menu a::before {
  display: none !important;
  /* disable default pill bg animation */
}

.dropdown-menu a:hover {
  background: var(--cream-deep) !important;
  color: var(--gold-deep) !important;
  transform: translateX(3px);
}

.dropdown-menu a.highlight {
  border-left: 2px solid var(--gold);
  background: rgba(217, 188, 138, 0.1);
  font-weight: 600;
}

.dropdown-menu a.highlight:hover {
  background: rgba(217, 188, 138, 0.2) !important;
}

/* Mobile responsive styles for dropdown inside .nav-links.is-open */
@media (max-width: 960px) {
  .nav-dropdown {
    width: 100%;
    text-align: center;
  }

  .nav-dropdown .dropdown-trigger {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0 0;
    min-width: 0;
    gap: 0.2rem;
    display: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    text-align: center;
    font-size: 0.95rem !important;
    padding: 0.6rem 1rem !important;
  }

  .dropdown-menu a:hover {
    transform: none !important;
  }
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.nav-mobile-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .9rem;
  line-height: 1;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--ff-body);
  text-decoration: none;
}

.btn .arr {
  font-size: 1em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.btn-gold {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.btn .arr {
  transition: transform .25s var(--ease);
  display: inline-block;
}

.btn:hover .arr {
  transform: translateX(3px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
}

.section-eyebrow {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.section-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.section-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: 11rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
  background: var(--cream);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 30%, rgba(184, 146, 90, .10), transparent 60%),
    radial-gradient(ellipse 500px 300px at 15% 80%, rgba(184, 146, 90, .06), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 3.5rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: .82rem;
  color: var(--ink-mute);
  flex-wrap: wrap;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.hero-proof .tick {
  color: var(--gold-deep);
  font-weight: 600;
}

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
  overflow: hidden;
  background: var(--cream-deep);
}

.marquee {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll 45s linear infinite;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 400;
}

.marquee span {
  flex-shrink: 0;
}

.marquee span.sep {
  color: var(--gold);
  font-style: normal;
  font-size: 1rem;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

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

/* ==========================================================
   PROMISE
   ========================================================== */
.promise {
  padding: 7rem 0 5rem;
  background: radial-gradient(circle at 80% 20%, rgba(184, 146, 90, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(184, 146, 90, 0.05) 0%, transparent 40%),
    var(--cream);
  position: relative;
}

.promise-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5rem;
  row-gap: 3rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.promise-item {
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 146, 90, 0.15);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s, background 0.4s;
  position: relative;
}

.promise-item:nth-child(even) {
  transform: none;
}

.promise-item:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(184, 146, 90, 0.08);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
}

.promise-item:nth-child(even):hover {
  transform: translateY(-5px);
}

.promise-num {
  font-family: var(--ff-body);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: .75rem;
}

.promise-num em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}

.promise-label {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: .5rem;
  font-weight: 500;
}

.promise-item p {
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ==========================================================
   SERVICES
   ========================================================== */
.services {
  padding: 7rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1160px) and (min-width: 961px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

.service-card {
  position: relative;
  padding: 2.5rem 2rem;
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(29, 29, 27, .08);
}

.service-card .num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--ff-body);
  font-size: .9rem;
  font-style: italic;
  color: var(--ink-mute);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--gold-deep);
  transition: background .3s, color .3s;
}

.service-card:hover .service-icon {
  background: var(--ink);
  color: var(--cream-deep);
  border-color: var(--ink);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: .8rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.service-card p {
  color: var(--ink-soft);
  font-size: .98rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.65;
}

.service-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-list li {
  font-size: .9rem;
  color: var(--ink-soft);
  padding: .35rem 0;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-top: 1px solid var(--line-soft);
}

.service-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-list li::before {
  content: '-';
  color: var(--gold);
  font-weight: 400;
}

.service-link {
  margin-top: auto;
  font-size: .82rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color .25s;
}

.service-link:hover {
  color: var(--gold-deep);
}

.service-link .arr {
  transition: transform .25s;
}

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

/* ==========================================================
   PHILOSOPHY
   ========================================================== */
.philosophy {
  padding: 8rem 2rem;
  background: var(--cream-deep);
  text-align: center;
  position: relative;
}

.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy .mark {
  font-family: var(--ff-display);
  font-size: 6rem;
  color: var(--gold);
  line-height: .3;
  margin-bottom: 1rem;
  font-style: italic;
}

.philosophy h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -.01em;
}

.philosophy h2 strong,
.philosophy h2 strong .word {
  font-weight: 500;
  font-style: normal;

  /* Shiny Text Effect */
  background-image: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-deep) 35%, var(--gold-light) 50%, var(--gold-deep) 65%, var(--gold-deep) 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: shine-text 1.5s linear infinite !important;
  padding-bottom: 0.15em !important;
  padding-right: 0.15em !important;
  display: inline-block;
}

.philosophy h2 strong:hover,
.philosophy h2 strong .word:hover {
  animation-play-state: running !important;
}

.word {
  display: inline-block;
}

.philosophy .attrib {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==========================================================
   PROCESS + PLANE FLIGHT ANIMATION
   ========================================================== */
.process {
  padding: 7rem 0 9rem;
  background: radial-gradient(circle at 10% 30%, rgba(184, 146, 90, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(184, 146, 90, 0.05) 0%, transparent 50%),
    var(--cream);
  position: relative;
  overflow: hidden;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 5rem;
  position: relative;
}

.flight-path {
  display: none;
}

.process-step {
  width: 100%;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(184, 146, 90, 0.15);
  border-radius: var(--radius-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s, background 0.4s;
  position: relative;
  z-index: 2;
  text-align: left;
}

/* Removed left/right alignment for process steps */

.process-step:hover {
  transform: translateY(-5px) !important;
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(184, 146, 90, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

.process-num {
  font-family: var(--ff-body);
  font-size: 2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-deep);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h4 {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.process-step p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.6;
}

/* ==========================================================
   SIP CALCULATOR (on homepage)
   ========================================================== */
.calculator {
  padding: 7rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.calc-controls {
  background: var(--cream);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.calc-field {
  margin-bottom: 1.75rem;
}

.calc-field:last-child {
  margin-bottom: 0;
}

.calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: .75rem;
}

.calc-field label {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.calc-field .val {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}

.calc-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  margin: 0;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--cream);
  box-shadow: 0 2px 8px rgba(29, 29, 27, .2);
  transition: transform .15s, background .25s;
}

.calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--gold-deep);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 3px solid var(--cream);
}

.calc-field .meta {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--ink-mute);
  margin-top: .4rem;
  letter-spacing: .1em;
}

.calc-result {
  padding: 2rem 0;
}

.calc-result .headline {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}

.calc-result .headline em {
  font-style: italic;
  color: var(--gold-deep);
}

.calc-result .label {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
}

.calc-breakdown {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  padding: .7rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--line-soft);
}

.calc-breakdown-row:last-child {
  border-bottom: 0;
}

.calc-breakdown-row .lbl {
  color: var(--ink-soft);
}

.calc-breakdown-row .v {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.1rem;
}

.calc-disclaimer {
  font-size: .72rem;
  color: var(--ink-mute);
  margin-top: 1.5rem;
  line-height: 1.5;
  font-style: italic;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials {
  padding: 7rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.testi-card {
  padding: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform .35s var(--ease), border-color .3s;
}

.testi-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.testi-card .quote {
  font-family: var(--ff-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0;
  margin-top: 1rem;
  font-style: italic;
}

.testi-card .text {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin: 1.25rem 0 1.5rem;
  letter-spacing: -.005em;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-family: var(--ff-display);
  display: grid;
  place-items: center;
}

.testi-author .name {
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
}

.testi-author .role {
  color: var(--ink-mute);
  font-size: .85rem;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  padding: 7rem 0;
  background: var(--cream);
}

.faq-grid {
  max-width: 820px;
  margin: 4rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .25s;
}

.faq-q:hover {
  color: var(--gold-deep);
}

.faq-q .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), background .25s, color .25s;
  flex-shrink: 0;
  color: var(--ink-soft);
}

.faq-item.open .faq-q .icon {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  color: var(--ink-soft);
  padding-right: 3rem;
  font-size: .98rem;
  line-height: 1.7;
}

.faq-item.open .faq-a {
  max-height: 320px;
  padding-bottom: 1.5rem;
}

/* ==========================================================
   CTA
   ========================================================== */
.cta-big {
  padding: 7rem 2rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cta-box {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 3rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(184, 146, 90, .25), transparent 60%);
  pointer-events: none;
}

.cta-box>* {
  position: relative;
  z-index: 2;
}

.cta-box .section-eyebrow {
  color: var(--gold-light);
  justify-content: center;
}

.cta-box .section-eyebrow::before {
  background: var(--gold-light);
}

.cta-box h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--cream);
}

.cta-box h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-box p {
  color: rgba(250, 246, 236, .7);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.cta-box .btn-gold {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.cta-box .btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.cta-box .btn-ghost {
  color: var(--cream);
  border-color: rgba(250, 246, 236, .3);
}

.cta-box .btn-ghost:hover {
  background: rgba(250, 246, 236, .08);
  border-color: var(--cream);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 4rem 0 2rem;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

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

.footer-brand p {
  color: var(--ink-soft);
  max-width: 340px;
  font-size: .92rem;
  line-height: 1.6;
}

.footer-socials {
  margin-top: 1.5rem;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col a {
  display: block;
  padding: .35rem 0;
  color: var(--ink);
  font-size: .92rem;
  transition: color .25s;
}

.footer-col a:hover {
  color: var(--gold-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--ink-mute);
  gap: 3rem;
}

.footer-bottom-left {
  flex: 1;
  max-width: 48%;
}

.footer-bottom-right {
  flex: 1;
  max-width: 48%;
}

/* ==========================================================
   SCROLL REVEAL VARIANTS - richer pop-ins
   ========================================================== */
.reveal,
.reveal-pop,
.reveal-left,
.reveal-right,
.reveal-blur,
.reveal-rotate {
  opacity: 0;
  transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease);
  will-change: opacity, transform, filter;
}

.reveal {
  transform: translateY(28px);
}

.reveal-pop {
  transform: scale(.86);
}

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

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

.reveal-blur {
  filter: blur(12px);
  transform: translateY(16px);
}

.reveal-rotate {
  transform: rotate(-3deg) translateY(20px);
}

.reveal.in-view,
.reveal-pop.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-blur.in-view,
.reveal-rotate.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

[class*="reveal"].delay-1 {
  transition-delay: .08s;
}

[class*="reveal"].delay-2 {
  transition-delay: .16s;
}

[class*="reveal"].delay-3 {
  transition-delay: .24s;
}

[class*="reveal"].delay-4 {
  transition-delay: .32s;
}

[class*="reveal"].delay-5 {
  transition-delay: .40s;
}

[class*="reveal"].delay-6 {
  transition-delay: .48s;
}

/* Stagger for child grids */
.stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.stagger.in-view>* {
  opacity: 1;
  transform: none;
}

.stagger.in-view>*:nth-child(1) {
  transition-delay: .05s;
}

.stagger.in-view>*:nth-child(2) {
  transition-delay: .12s;
}

.stagger.in-view>*:nth-child(3) {
  transition-delay: .19s;
}

.stagger.in-view>*:nth-child(4) {
  transition-delay: .26s;
}

.stagger.in-view>*:nth-child(5) {
  transition-delay: .33s;
}

.stagger.in-view>*:nth-child(6) {
  transition-delay: .40s;
}

.stagger.in-view>*:nth-child(7) {
  transition-delay: .47s;
}

.stagger.in-view>*:nth-child(8) {
  transition-delay: .54s;
}

.stagger.in-view>*:nth-child(9) {
  transition-delay: .61s;
}

/* ==========================================================
   CALCULATORS PAGE
   ========================================================== */
.calc-hero {
  padding: 11rem 2rem 4rem;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.calc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 30%, rgba(184, 146, 90, .12), transparent 60%);
  pointer-events: none;
}

.calc-hero>* {
  position: relative;
  z-index: 1;
}

.calc-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
  max-width: 900px;
  margin: 1rem auto 1.5rem;
}

.calc-hero h1 em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}

.calc-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.65;
}

.calc-filters {
  padding: 2.5rem 2rem 0;
  position: sticky;
  top: 70px;
  z-index: 20;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.calc-filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: 1.25rem;
  scrollbar-width: none;
}

.calc-filters-inner::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  padding: .65rem 1.3rem;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all .25s var(--ease);
  font-family: var(--ff-body);
}

.filter-pill:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

.filter-pill.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.calc-gallery {
  padding: 3rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.calc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.calc-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .3s, transform .35s var(--ease), box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.calc-card.hidden {
  display: none;
}

.calc-card:hover {
  border-color: var(--gold);
  box-shadow: 0 18px 50px rgba(29, 29, 27, .08);
}

.calc-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.calc-card .cat-tag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  padding: .3rem .7rem;
  background: rgba(184, 146, 90, .08);
  border: 1px solid rgba(184, 146, 90, .2);
  border-radius: 999px;
  margin-bottom: .6rem;
}

.calc-card h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}

.calc-card header>div:first-child>p {
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.5;
}

.calc-card .calc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  flex-shrink: 0;
}

.calc-card .calc-icon svg {
  width: 20px;
  height: 20px;
}

.calc-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}

.calc-card-inputs .field {
  margin-bottom: 1rem;
}

.calc-card-inputs .field:last-child {
  margin-bottom: 0;
}

.calc-card-inputs .field-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: .35rem;
}

.calc-card-inputs label {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.calc-card-inputs .v-show {
  font-family: var(--ff-display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}

.calc-card-inputs input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 3px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
  margin: 0;
}

.calc-card-inputs input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 2px solid var(--cream);
  transition: background .2s, transform .15s;
}

.calc-card-inputs input[type="range"]::-webkit-slider-thumb:hover {
  background: var(--gold-deep);
  transform: scale(1.15);
}

.calc-card-inputs input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 2px solid var(--cream);
}

.calc-card-inputs select,
.calc-card-inputs input[type="number"] {
  width: 100%;
  padding: .6rem .75rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: .9rem;
  margin-top: .3rem;
}

.calc-card-output {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-card-output .out-label {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: .5rem;
}

.calc-card-output .out-main {
  font-family: var(--ff-display);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: .85rem;
}

.calc-card-output .out-main em {
  font-style: italic;
  color: var(--gold-deep);
}

.calc-card-output .sub-line {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  padding: .3rem 0;
  border-top: 1px solid var(--line-soft);
}

.calc-card-output .sub-line:first-of-type {
  border-top: 0;
}

.calc-card-output .sub-line .lbl {
  color: var(--ink-soft);
}

.calc-card-output .sub-line .v {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--ff-display);
}

.calc-disclaimer-bar {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1.25rem 1.5rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .82rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.6;
}

.calc-disclaimer-bar strong {
  color: var(--ink);
}

/* ==========================================================
   ABOUT PAGE EXTRAS (journey timeline, values expanded)
   ========================================================== */
.journey {
  padding: 7rem 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.journey-grid {
  max-width: 900px;
  margin: 4rem auto 0;
  position: relative;
}

.journey-grid::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.journey-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
}

.journey-item .year-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--ff-body);
  font-size: .85rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold-deep);
  position: relative;
  z-index: 1;
}

.journey-item.lit .year-dot {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.journey-item h4 {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: .4rem;
  letter-spacing: -.01em;
}

.journey-item p {
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.7;
}

.why-us {
  padding: 7rem 0;
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}

.why-card {
  padding: 2rem 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .25s;
}

.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.why-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.why-card .ico svg {
  width: 22px;
  height: 22px;
}

.why-card h4 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .5rem;
  letter-spacing: -.005em;
}

.why-card p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.6;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 960px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .nav.is-scrolled {
    padding: .7rem 1.25rem;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 246, 236, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
    z-index: 100;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a:not(.btn) {
    display: block;
    font-size: 1.5rem;
    padding: 1rem 2rem;
  }

  .services-head,
  .promise-head,
  .calc-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid,
  .testi-grid,
  .process-grid,
  .promise-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .scroll-path-svg {
    display: none !important;
  }

  .value-card:nth-child(even),
  .promise-item:nth-child(even) {
    transform: translateY(0);
  }

  .process-step {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    max-width: 100%;
  }

  .hero {
    padding-top: 9rem;
  }

  .calc-controls {
    padding: 1.75rem;
  }

  .flight-path {
    display: none;
  }

  .process-grid {
    margin-top: 2rem;
  }

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

  .calc-card-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 560px) {
  .hero-proof {
    gap: 1rem;
    font-size: .78rem;
  }

  .calc-filters {
    top: 60px;
  }

  .calc-filters-inner {
    padding: 0 0 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {

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

/* ==========================================================
   HERO V2 - left-aligned headline + image (home page)
   ========================================================== */
.hero-v2 {
  padding: 8rem 2rem 6rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 80% 0%, rgba(184, 146, 90, .10), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 90%, rgba(184, 146, 90, .06), transparent 60%);
  pointer-events: none;
}

.hero-v2-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-v2-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0;
  max-width: none;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

/* When sub paragraph sits inside hero-v2-top, it's also left-aligned */
.hero-v2-top .hero-v2-sub {
  margin: 0;
  padding: 0;
  max-width: 520px;
  font-size: clamp(.98rem, 1.05vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
}

.hero-v2-title em,
.section-title em,
.hero h1 em,
.page-hero h1 em,
.about-hero h1 em,
.privacy-hero h1 em,
.calc-hero h1 em,
.calc-result .headline em,
.calc-card-output .out-main em,
.cta-box h2 em,
.cta-big h2 em,
.service-detail h2 em,
.vm-card h3 em,
.contact-head h1 em,
.promise-num em {
  font-style: italic !important;
  font-weight: 400 !important;

  /* Shiny Text Effect */
  background-image: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-deep) 35%, var(--gold-light) 50%, var(--gold-deep) 65%, var(--gold-deep) 100%) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  /* Fallback */
  animation: shine-text 1.5s linear infinite !important;
  padding-bottom: 0.15em !important;
  padding-right: 0.15em !important;
  display: inline-block;
  /* Helps with clipping in some renderers, but let's keep inline for flow unless needed. Actually, inline-block is better for padding. */
}

@keyframes shine-text {
  0% {
    background-position: 150% center;
  }

  100% {
    background-position: -50% center;
  }
}

.hero-v2-title em:hover,
.section-title em:hover,
.hero h1 em:hover,
.page-hero h1 em:hover,
.about-hero h1 em:hover,
.privacy-hero h1 em:hover,
.calc-hero h1 em:hover,
.calc-result .headline em:hover,
.calc-card-output .out-main em:hover,
.cta-box h2 em:hover,
.cta-big h2 em:hover,
.service-detail h2 em:hover,
.vm-card h3 em:hover,
.contact-head h1 em:hover,
.promise-num em:hover {
  animation-play-state: running !important;
}

.hero-v2-kicker {
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: left;
  line-height: 1.7;
  font-weight: 500;
  padding-bottom: 1rem;
}

.hero-v2-sub {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  padding: 0;
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-v2 .hero-v2-sub-wrap {
  max-width: 1280px;
  margin: 0;
}

.hero-v2-cta {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin: 2.5rem 0 0;
  position: relative;
  z-index: 2;
  justify-content: center;
}

.hero-v2-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(29, 29, 27, .14);
  background: var(--paper);
  max-width: 900px;
  margin: 0 auto;
}

.hero-v2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}

.hero-v2-image:hover img {
  transform: scale(1.02);
}

/* center the inner blocks via wrapper width */
.hero-v2-sub,
.hero-v2-cta {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .hero-v2 {
    padding: 6rem 1.5rem 4rem;
    gap: 3rem;
  }

  .hero-v2-top .hero-v2-sub {
    max-width: 100%;
  }

  .hero-v2-image {
    aspect-ratio: 16/10;
  }
}

/* Contact form status pill (shown after submit) */
.lead-status {
  margin: -.5rem 0 1rem;
  padding: .8rem 1rem;
  border-radius: 10px;
  font-size: .92rem;
}

.lead-status[data-kind="ok"] {
  background: #ebf6ee;
  color: #2c5b35;
  border: 1px solid #cfe6d4;
}

.lead-status[data-kind="err"] {
  background: #fbeded;
  color: #8b3839;
  border: 1px solid #f1cdce;
}

/* ==========================================================
   TV / ULTRA-WIDE MONITOR RESPONSIVENESS
   Constrain nav bar content width on extremely wide screens
   ========================================================== */
@media (min-width: 1200px) {

  .nav,
  .nav.is-scrolled {
    padding-left: calc((100% - 1200px) / 2 + 2rem) !important;
    padding-right: calc((100% - 1200px) / 2 + 2rem) !important;
  }
}

@media (min-width: 1600px) {

  .nav,
  .nav.is-scrolled {
    padding-left: calc((100% - 1400px) / 2 + 2rem) !important;
    padding-right: calc((100% - 1400px) / 2 + 2rem) !important;
  }
}

@media (min-width: 1920px) {

  .nav,
  .nav.is-scrolled {
    padding-left: calc((100% - 1560px) / 2 + 2rem) !important;
    padding-right: calc((100% - 1560px) / 2 + 2rem) !important;
  }
}

/* ==========================================================
   RESPONSIVE LAYER v2 - covers every screen size
   sm  ≤ 480px   tight phones
   md  ≤ 768px   standard phones / small tablets
   lg  ≤ 1024px  large tablets
   xl  ≥ 1600px  big monitors
   2xl ≥ 1920px  ultra-wide
   ========================================================== */

/* Global guards: no horizontal overflow, sane root sizing */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

main {
  width: 100%;
  overflow-x: hidden;
}

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

* {
  min-width: 0;
}

/* Tablet (≤ 1024px): nav + grids breathe */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .services-grid,
  .testi-grid,
  .process-grid,
  .promise-grid,
  .why-grid,
  .calc-gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }
}

/* Standard phone / small tablet (≤ 768px) */
@media (max-width: 768px) {
  :root {
    font-size: 15.5px;
  }

  /* shrinks all rem-based sizing slightly */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero,
  .hero-v2,
  .calc-hero {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }

  .hero-v2-title,
  .calc-hero h1,
  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.7rem) !important;
  }

  h1 {
    line-height: 1.1;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
  }

  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }

  .res-cards {
    grid-template-columns: 1fr !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* Tight phones (≤ 480px) - most aggressive tightening */
@media (max-width: 480px) {
  :root {
    font-size: 14.5px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero,
  .hero-v2,
  .calc-hero {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  .hero-v2-title,
  .calc-hero h1,
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.1rem) !important;
  }

  .hero-v2-cta,
  .hero-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .hero-v2-cta .btn,
  .hero-cta .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .nav {
    padding: .85rem 1rem !important;
  }

  .nav.is-scrolled {
    padding: .6rem 1rem !important;
  }

  .form-card,
  .calc-grid,
  .calc-controls {
    padding: 1.25rem !important;
  }

  .hub-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* Very tight phones (≤ 360px) - emergency squeeze */
@media (max-width: 360px) {
  :root {
    font-size: 13.5px;
  }

  .container {
    padding-left: .85rem;
    padding-right: .85rem;
  }
}

/* Large monitors (≥ 1600px) - give the layout room without looking lost */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  :root {
    font-size: 17px;
  }
}

/* Ultra-wide / 4K (≥ 1920px) */
@media (min-width: 1920px) {
  .container {
    max-width: 1560px;
  }

  :root {
    font-size: 18px;
  }
}

/* ==========================================================
   SPLASH SCREEN COVER
   ========================================================== */
html.has-splash,
html.has-splash body {
  overflow: hidden;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.splash.done {
  animation: splashOut .7s cubic-bezier(.75, 0, .2, 1) forwards;
  pointer-events: none;
}

.splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(184, 146, 90, .28), transparent 58%);
  animation: splashGlow 2.1s ease-in-out;
}

.splash-inner {
  position: relative;
  text-align: center;
}

.splash.done .splash-inner {
  animation: splashInnerOut .45s cubic-bezier(.6, 0, .2, 1) forwards;
}

.splash-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 198, 141, .35);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(230, 198, 141, .25), transparent 65%);
  animation: splashPulse 1.6s ease-in-out infinite alternate;
}

.splash-logo img {
  width: 56px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3));
}

.splash-name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: .02em;
  opacity: 0;
  animation: splashFadeIn .5s .35s forwards;
}

.splash-name em {
  font-style: italic;
  color: #e6c68d;
  font-weight: 400;
}

.splash-tag {
  font-family: var(--ff-body);
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(245, 238, 223, .55);
  margin-top: .75rem;
  opacity: 0;
  animation: splashFadeIn .5s .55s forwards;
}

.splash-bar {
  width: 160px;
  height: 2px;
  margin: 1.6rem auto 0;
  background: rgba(245, 238, 223, .08);
  border-radius: 2px;
  overflow: hidden;
}

.splash-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #e6c68d, var(--gold-deep));
  animation: splashBarFill .85s .1s cubic-bezier(.5, 0, .1, 1) forwards;
}

@keyframes splashOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes splashInnerOut {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

@keyframes splashGlow {
  0% {
    opacity: 0;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@keyframes splashPulse {
  from {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 198, 141, .25);
  }

  to {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(230, 198, 141, 0);
  }
}

@keyframes splashFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes splashBarFill {
  to {
    width: 100%;
  }
}

html:not(.has-splash) .splash {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {

  .splash,
  .splash::before,
  .splash * {
    animation: none !important;
    transition: none !important;
  }
}