/* ============================================================
   CA SAIMANOHAR PRABHU & CO.  —  Premium redesign
   Palette: near-black / warm-white / antique-gold / deep-forest
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --ink:        #0F1410;
  --ink-2:      #2C2F2B;
  --muted:      #6B6F68;
  --rule:       #D8D5CE;
  --bg:         #F7F5F1;
  --bg-warm:    #EFECE6;
  --deep:       #1A2018;
  --gold:       #C8A96E;
  --gold-light: #F0E8D6;
  --white:      #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body:    'Inter', sans-serif;

  --max-width: 1160px;
  --r: 2px;
  --ease: cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
strong { font-weight: 500; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 600;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== UTILITY ===== */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.gold-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--ink);
  opacity: 0.2;
  margin: 20px 0;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: none; gap: 40px; align-items: center; }
.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active { color: var(--ink); }
.nav__cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink) !important;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
.nav__toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column;
  padding: 8px 32px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  padding: 14px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__toggle, .nav__mobile { display: none; }
}

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  overflow: hidden;
}

/* Left text panel */
.hero__text {
  padding: 96px 32px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.hero__kicker-line {
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero__kicker span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 0.95;
  max-width: 10ch;
  margin-bottom: 0;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

/* Decorative oversized quote positioned top-right of hero */
.hero__deco {
  position: absolute;
  top: 48px;
  right: 10%;
  font-family: var(--font-display);
  font-size: clamp(180px, 20vw, 280px);
  line-height: 1;
  color: var(--rule);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  font-style: italic;
}

.hero__body {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero__sub {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
  max-width: 44ch;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__stat-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--rule);
  padding-top: 40px;
  margin-top: 16px;
}
.hero__stat {
  padding-right: 40px;
  border-right: 1px solid var(--rule);
  margin-right: 40px;
}
.hero__stat:last-child { border-right: none; margin-right: 0; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 55% 45%;
    min-height: 92vh;
  }
  .hero__text {
    padding: 120px 0 100px 32px;
    max-width: none;
    margin: 0;
  }
  .hero__image {
    position: relative;
    overflow: hidden;
  }
  #heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
  }
  .hero__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg) 0%, rgba(247,245,241,0.3) 6%, transparent 14%);
    pointer-events: none;
    z-index: 1;
  }
}
@media (max-width: 899px) {
  .hero__image { display: none; }
  .hero__deco { display: none; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--r);
  transition: background 0.2s var(--ease);
}
.btn:hover { background: var(--ink-2); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--bg); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}
.btn--gold:hover { opacity: 0.9; }

/* ===== CREDENTIALS BAR ===== */
.cred-bar {
  background: var(--deep);
  padding: 0;
}
.cred-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.cred-bar__item {
  padding: 28px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cred-bar__item:last-child { border-right: none; }
.cred-bar__title {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  font-family: var(--font-display);
}
.cred-bar__sub {
  font-size: 12px;
  color: rgba(247,245,241,0.5);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .cred-bar .container { grid-template-columns: 1fr; }
  .cred-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .cred-bar__item:last-child { border-bottom: none; }
}

/* ===== SERVICES ===== */
.services {
  padding: 128px 0;
}
.services__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 80px;
  max-width: 640px;
}
.services__intro h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
}
.services__intro p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 48ch;
  line-height: 1.8;
}

/* Primary services — editorial rows */
.services__primary {
  border-top: 1px solid var(--rule);
  margin-bottom: 80px;
}
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}
.svc-row:hover { background: var(--bg-warm); margin: 0 -32px; padding-left: 32px; padding-right: 32px; }
.svc-row__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.svc-row__body {}
.svc-row__name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.svc-row__desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.7;
}
.svc-row__arrow {
  font-size: 22px;
  color: var(--rule);
  padding-top: 4px;
  transition: color 0.2s, transform 0.2s;
}
.svc-row:hover .svc-row__arrow { color: var(--gold); transform: translateX(4px); }

/* Secondary services — tight 2-col list */
.services__secondary-head {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.services__secondary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.svc-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.svc-item__dot {
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  top: -2px;
}
.svc-item__name { font-weight: 400; color: var(--ink); }
.svc-item__tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}
@media (min-width: 768px) {
  .services__secondary { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
}

/* ===== FOUNDER ===== */
.founder {
  background: var(--deep);
  padding: 128px 0;
  overflow: hidden;
}
.founder .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
.founder__img {
  position: relative;
}
.founder__img-wrap {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #2A3828;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.founder__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
.founder__img-credit {
  position: absolute;
  bottom: -24px;
  left: 0;
  font-size: 10px;
  color: rgba(247,245,241,0.25);
  letter-spacing: 0.06em;
}
.founder__content {
  color: var(--bg);
}
.founder__content h2 {
  color: var(--bg);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 28px;
}
.founder__content p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(247,245,241,0.65);
  line-height: 1.8;
  max-width: 48ch;
  margin-bottom: 0;
}
.founder__creds {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.founder__cred {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.founder__cred-year {
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  min-width: 36px;
  flex-shrink: 0;
}
.founder__cred-text {
  font-size: 14px;
  color: rgba(247,245,241,0.6);
  font-weight: 300;
}
.founder__contact {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
@media (min-width: 900px) {
  .founder .container { grid-template-columns: 420px 1fr; gap: 96px; }
}

/* ===== JOURNEY ===== */
.journey {
  padding: 128px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--rule);
}
.journey .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
.journey__intro h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  margin-bottom: 16px;
}
.journey__intro p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 42ch;
  line-height: 1.8;
}
.journey__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.journey__item {
  padding: 32px 0 32px 24px;
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.journey__item.is-visible { opacity: 1; transform: translateY(0); }
.journey__item:nth-last-child(-n+2) { border-bottom: none; }
.journey__year {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.journey__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.journey__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
}
@media (min-width: 768px) {
  .journey .container { grid-template-columns: 320px 1fr; align-items: start; gap: 96px; }
  .journey__grid { grid-template-columns: repeat(3, 1fr); }
  .journey__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .journey__item:nth-last-child(-n+3) { border-bottom: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 128px 0;
  border-top: 1px solid var(--rule);
}
.testimonials__intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonials__intro h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.tcard {
  background: var(--bg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tcard__quote {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
}
.tcard__person {
  margin-top: auto;
}
.tcard__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.tcard__role {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tcard__gold {
  width: 24px; height: 2px;
  background: var(--gold);
}
@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== TEAM ===== */
.team {
  padding: 128px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--rule);
}
.team__intro {
  margin-bottom: 72px;
}
.team__intro h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.tmember {
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.tmember__body {
  padding: 36px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tmember__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tmember__photo img {
  width: 85%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.tmember__name {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tmember__title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.tmember__bio {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 52ch;
}
.tmember__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.tmember__contact a {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.tmember__contact a:hover { color: var(--ink); }
.tmember__contact i.ph { font-size: 16px; flex-shrink: 0; }
@media (min-width: 768px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .tmember { padding: 56px 48px; }
}

/* ===== CTA / CONTACT ===== */
.cta-section {
  background: var(--deep);
  padding: 128px 0;
  overflow: hidden;
  position: relative;
}
.cta-section::before {
  content: '19 years';
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-style: italic;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.cta-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  position: relative;
  z-index: 1;
}
.cta__left h2 {
  color: var(--bg);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  max-width: 16ch;
  margin-bottom: 32px;
}
.cta__left p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(247,245,241,0.55);
  max-width: 42ch;
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.cta__right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cta__address-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.cta__address {
  font-size: 15px;
  font-weight: 300;
  color: rgba(247,245,241,0.6);
  line-height: 1.9;
}
.cta__address a {
  color: rgba(247,245,241,0.6);
  transition: color 0.2s;
}
.cta__address a:hover { color: var(--gold); }
.cta__creds {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta__cred {
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,245,241,0.4);
  padding-left: 16px;
  position: relative;
}
.cta__cred::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
@media (min-width: 900px) {
  .cta-section .container { grid-template-columns: 1fr 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: rgba(247,245,241,0.3);
  letter-spacing: 0.04em;
}
.footer__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer__logo img { height: 28px; opacity: 0.5; }
.footer a { color: rgba(247,245,241,0.3); transition: color 0.2s; }
.footer a:hover { color: rgba(247,245,241,0.7); }
@media (min-width: 768px) {
  .footer .container { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__row { flex-direction: row; align-items: center; gap: 24px; }
}

/* ===== FLOATING CTA ===== */
.float-cta {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  background: var(--ink);
  color: var(--bg);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200,169,110,0.3);
  transition: transform 0.2s, background 0.2s;
}
.float-cta:hover { transform: translateY(-2px); background: var(--deep); }
.float-cta i.ph { font-size: 22px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── WOW 1: HERO HEADLINE ──────────────────────────────────── */
.hero h1 { overflow: visible; }
.hw { will-change: transform, opacity; }

/* ── WOW 3: SERVICE ROW GOLD LINE ──────────────────────────── */
.svc-row { position: relative; overflow: hidden; }
.svc-row__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(200,169,110,0.3) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ── WOW 4: TCARD TILT ─────────────────────────────────────── */
.tcard { transform-style: preserve-3d; will-change: transform; }

/* ── HEADING UNDERLINE DRAW ─────────────────────────────────── */
.services h2, .testimonials h2, .team h2, .journey h2 {
  position: relative;
  display: inline-block;
}
.services h2::after, .testimonials h2::after, .team h2::after, .journey h2::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.heading--drawn::after { transform: scaleX(1) !important; }

/* ── NAV SCROLL SHADOW ──────────────────────────────────────── */
.nav--scrolled {
  box-shadow: 0 1px 20px rgba(15,20,16,0.08);
}

/* ── REMOVE HERO DECO ───────────────────────────────────────── */
.hero__deco { display: none !important; }

/* ── CANVAS CURSOR ──────────────────────────────────────────── */
#heroCanvas { cursor: crosshair; }

/* ── REDUCED MOTION OVERRIDES ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hw { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__kicker, .hero__sub, .hero__actions, .hero__stat-row {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .tcard { transform: none !important; transition: none !important; }
  .svc-row__line { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   REFINEMENT PASS — polish, depth, micro-interactions
   ═══════════════════════════════════════════════════════════ */

/* ── SCROLL PROGRESS BAR ────────────────────────────────────
   Thin gold line at top of viewport, fills as page scrolls  */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  z-index: 9999;
  transform-origin: left;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ── NAV ACTIVE INDICATOR ───────────────────────────────────
   Small gold dot below active nav link                      */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%) scale(0);
  width: 3px; height: 3px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
}
.nav__links a.active::after,
.nav__links a:hover::after {
  transform: translateX(-50%) scale(1);
}

/* ── CRED BAR HOVER ─────────────────────────────────────────
   Each credential item glows gold on hover                  */
.cred-bar__item {
  transition: background 0.25s ease;
  cursor: default;
}
.cred-bar__item:hover {
  background: rgba(200,169,110,0.06);
}
.cred-bar__item:hover .cred-bar__title {
  color: #DFC08A;
}

/* ── JOURNEY MILESTONE EMPHASIS ─────────────────────────────
   RBI (2014) and IBBI (2021) get gold-accent treatment      */
.journey__item--milestone {
  background: rgba(200,169,110,0.05);
  border-left-color: var(--gold) !important;
  border-left-width: 2px !important;
}
.journey__item--milestone .journey__year {
  font-size: 32px;
}
.journey__item--milestone .journey__title {
  color: var(--gold);
}

/* ── TEAM CARD HOVER ────────────────────────────────────────
   Gold border traces the card edge on hover                 */
.tmember {
  position: relative;
  transition: box-shadow 0.35s var(--ease);
  overflow: hidden;
}
.tmember::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.35s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.tmember:hover::before {
  border-color: var(--gold);
}
.tmember__photo img {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.tmember:hover .tmember__photo img {
  transform: scale(1.03) translateY(-4px);
}

/* Fix tmember desktop padding conflict */
@media (min-width: 768px) {
  .tmember { padding: 0; }
}

/* ── FOUNDER PORTRAIT FLOAT ─────────────────────────────────
   Portrait subtly shifts on JS mouse move (class-driven)   */
.founder__img-wrap {
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

/* ── FLOATING CTA EXPAND ────────────────────────────────────
   Pill expands on hover to show "Call us" label             */
.float-cta {
  overflow: hidden;
  width: 56px;
  transition: width 0.35s cubic-bezier(0.22,1,0.36,1),
              background 0.2s,
              transform 0.2s;
  white-space: nowrap;
  justify-content: flex-start;
  padding: 0 17px;
  gap: 10px;
}
.float-cta__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--bg);
  opacity: 0;
  transition: opacity 0.2s 0.1s;
  white-space: nowrap;
}
.float-cta:hover {
  width: 130px;
  transform: translateY(-2px);
  background: var(--deep);
}
.float-cta:hover .float-cta__label {
  opacity: 1;
}

/* ── SECTION TRANSITION RULES ───────────────────────────────
   Full-bleed hairline gold rule between alternate sections  */
.section-divide {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent 100%
  );
  opacity: 0.3;
}

/* ── SERVICE ROW NUMBER SCALE ───────────────────────────────
   Number grows slightly on hover                            */
.svc-row:hover .svc-row__num {
  font-size: 17px;
  color: var(--gold);
  transition: font-size 0.3s var(--ease), color 0.2s;
}
.svc-row__num {
  transition: font-size 0.3s var(--ease), color 0.2s;
}

/* ── TESTIMONIAL CARD REFINEMENT ────────────────────────────
   Gold quote mark added via CSS, more visual warmth         */
.tcard {
  position: relative;
}
.tcard::before {
  content: '\201C';
  position: absolute;
  top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.08;
  pointer-events: none;
  font-style: italic;
}

/* ── JOURNEY INTRO STAT ─────────────────────────────────────
   Large background number — silent presence                 */
.journey {
  position: relative;
}
.journey::after {
  content: '19';
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 200px);
  font-weight: 700;
  font-style: italic;
  color: var(--rule);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* ── BUTTONS: PRESS FEEDBACK ────────────────────────────────*/
.btn:active { transform: translateY(1px); }

/* ── FOOTER REFINEMENT ──────────────────────────────────────
   Give footer more breathing room and a gold accent         */
.footer {
  padding: 48px 0;
}
.footer::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 auto 32px;
}

/* ═══════════════════════════════════════════════════════════
   WHO WE WORK WITH SECTION
   ═══════════════════════════════════════════════════════════ */
.who-section {
  padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.who__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
.who__intro {
  max-width: 360px;
}
.who__intro h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}
.who__intro p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
  max-width: 36ch;
}
.who__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.who__item {
  background: transparent;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 20px;
  align-items: start;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
}
.who__item:hover { background: var(--bg-warm); padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.who__icon {
  font-size: 20px;
  color: var(--muted);
  padding-top: 3px;
  grid-row: 1 / 3;
}
.who__item h3 {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}
.who__item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}
@media (min-width: 768px) {
  .who__inner { grid-template-columns: 280px 1fr; gap: 80px; }
  .who__grid { grid-template-columns: 1fr 1fr; border-left: 1px solid var(--rule); }
  .who__item { padding: 28px 24px; border-left: none; }
  .who__item:hover { margin: 0; padding: 28px 24px; background: var(--bg-warm); }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT FORM SECTION
   ═══════════════════════════════════════════════════════════ */
.form-section {
  padding: 80px 0 120px;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.form__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
.form__intro {
  max-width: 360px;
}
.form__intro h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}
.form__intro p {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.8;
}
.form__intro .form__direct {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form__direct-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 400;
}
.form__direct-item i.ph { font-size: 16px; color: var(--muted); flex-shrink: 0; }
.form__direct-item a { color: var(--ink); }
.form__direct-item a:hover { color: var(--gold); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-row {
  display: contents;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field--full {
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .form__wrapper { grid-template-columns: 280px 1fr; gap: 80px; }
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-optional {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  opacity: 0.7;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-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='%236B6F68' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--rule);
}

/* Focus */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.12);
}

/* Invalid state (after attempted submit) */
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #C0392B;
}
.form-error {
  font-size: 12px;
  color: #C0392B;
  min-height: 16px;
  font-weight: 400;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
  grid-column: 1 / -1;
}
.form-privacy {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-privacy i.ph { font-size: 14px; flex-shrink: 0; }

.form-submit {
  min-width: 160px;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.form-submit .submit-arrow {
  transition: transform 0.2s ease;
}
.form-submit:hover .submit-arrow {
  transform: translateX(4px);
}
.form-submit.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Success message */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(200,169,110,0.08);
  border: 1px solid rgba(200,169,110,0.3);
  border-radius: 2px;
}
.form-success[hidden] { display: none; }
.form-success i.ph {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
}
.form-success strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}
.form-success div {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ── MOBILE HERO CANVAS ──────────────────────────────────────── */
/* Shown on mobile as a short decorative band below the headline */
.hero__mobile-canvas {
  display: none;
  width: 100%;
  height: 180px;
  background: var(--deep);
}
#heroCanvasMobile {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 899px) {
  .hero__mobile-canvas { display: block; }
}

/* ═══════════════════════════════════════════════════════════
   PHILOSOPHY INTERLUDE — typewriter wow moment
   ═══════════════════════════════════════════════════════════ */
.interlude {
  background: var(--ink);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* Faint ledger lines in background — visual continuity with hero canvas */
.interlude::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 31px,
      rgba(200,169,110,0.04) 31px,
      rgba(200,169,110,0.04) 32px
    );
  pointer-events: none;
}

.interlude__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.interlude__label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
.interlude.is-active .interlude__label { opacity: 1; }

.interlude__quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 52px);
  font-style: italic;
  font-weight: 600;
  color: var(--bg);
  line-height: 1.3;
  letter-spacing: -0.01em;
  min-height: 1.3em;
}

/* Blinking cursor */
.tq-cursor {
  display: inline-block;
  color: var(--gold);
  font-weight: 300;
  font-style: normal;
  margin-left: 2px;
  animation: blink 1.1s step-end infinite;
}
.tq-cursor.is-done {
  animation: blink-slow 2s step-end 3 forwards;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes blink-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.interlude__attr {
  display: block;
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,245,241,0.4);
  letter-spacing: 0.04em;
  margin-top: 36px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.interlude.is-attr-visible .interlude__attr {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .interlude__quote { min-height: auto; }
  .tq-cursor { animation: none; opacity: 0; }
  .interlude__label, .interlude__attr {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   UN-CLAUDE CORRECTIONS
   ═══════════════════════════════════════════════════════════ */

/* Nav separator between logo and links */
.nav__sep {
  width: 1px;
  height: 24px;
  background: var(--rule);
  flex-shrink: 0;
}

/* Pull journey year back — was gold, now ink with accent only on milestones */
.journey__year {
  color: var(--ink-2);
}
.journey__item--milestone .journey__year {
  color: var(--gold);
}

/* Testimonial card — remove the gold quote mark watermark,
   it was redundant with the tcard__gold bar */
.tcard::before { display: none; }

/* Credential bar title — keep gold (earned, not decorative) */
/* Section labels — revert to ink not muted gold */
.interlude__label {
  color: rgba(247,245,241,0.35);
  letter-spacing: 0.12em;
}

/* Stat numbers — not gold, just weight */
.hero__stat-num {
  color: var(--ink);
}

/* Founder cred year — pull back from gold slightly */
.founder__cred-year {
  color: rgba(200,169,110,0.8);
}

/* Gold rule in sections — used too liberally, make it optional */
/* Already converted to near-invisible ink rule above */

/* Section heading underline — keep gold but make it shorter (40% width) */
.services h2::after, .testimonials h2::after,
.team h2::after, .journey h2::after {
  width: 40%;
  max-width: 120px;
}

/* Tighten who-section padding — was 128px everywhere */
/* Form section — less top padding, flows from who-section */


/* Journey section — slightly tighter */
.journey { padding: 96px 0; }

/* Testimonials — tighter */
.testimonials { padding: 96px 0; }

/* Add a thin gold left-border accent to the active nav link
   instead of the dot — more precise, less playful */
.nav__links a.active {
  color: var(--ink);
  font-weight: 500;
}
.nav__links a::after {
  display: none; /* remove the dot */
}

/* The cta-section watermark text — reduce opacity further, less AI-ish */
.cta-section::before {
  color: rgba(255,255,255,0.02);
}

/* Journey watermark — same */
.journey::after {
  opacity: 0.20;
}

/* Float CTA — simplify back to a solid circle, the pill expand was too much */
.float-cta {
  width: 52px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  justify-content: center !important;
}
.float-cta__label { display: none !important; }
.float-cta:hover { width: 52px !important; }
