/* ============================================================
   Jayani Advisors LLP — Prestige Ledger
   Quiet luxury. Architectural precision. Generous whitespace.
   ============================================================ */

:root {
  --surface: #fbf9f8;
  --surface-low: #f5f3f3;
  --surface-container: #efeded;
  --surface-high: #e9e8e7;
  --white: #ffffff;
  --ink: #1b1c1c;
  --ink-soft: #4d4637;
  --muted: #5f5e5e;
  --gold: #775a00;
  --gold-mid: #c5a044;
  --gold-soft: #e9c262;
  --gold-pale: #ffdf98;
  --gold-deep: #5a4300;
  --outline: #d1c5b2;
  --outline-strong: #7f7665;
  --error: #ba1a1a;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --container: 1280px;
  --gutter: 24px;
  --margin: 64px;
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 18px 50px rgba(27, 28, 28, 0.08);
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

ul {
  list-style: none;
}

::selection {
  background: var(--gold-pale);
  color: #251a00;
}

:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--gold-mid);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 120;
  pointer-events: none;
}

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

@media (min-width: 768px) {
  .container {
    width: min(100% - 64px, var(--container));
  }
}

.section {
  padding: 88px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 120px 0;
  }
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-mid);
}

.chip {
  display: inline-block;
  background: var(--gold-pale);
  color: #4b3800;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
}

.muted {
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow);
}

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

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}

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

.btn .material-symbols-outlined {
  font-size: 18px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s, gap 0.25s;
}

.link-more:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 10px;
}

.link-more .material-symbols-outlined {
  font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background 0.35s, border-color 0.35s,
    box-shadow 0.35s;
}

.site-header.is-scrolled {
  height: 68px;
  border-bottom-color: var(--outline);
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--gold);
}

.nav-desktop a.is-active::after,
.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s;
}

.header-phone:hover {
  color: var(--gold);
}

.header-phone .material-symbols-outlined {
  font-size: 18px;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}

@media (min-width: 980px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile drawer */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}

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

.nav-mobile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-mobile nav a {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  padding: 10px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--outline);
  transform: translateY(12px);
  opacity: 0;
  transition: color 0.25s;
}

.nav-mobile.is-open nav a {
  animation: rise-in 0.5s var(--ease) forwards;
}

.nav-mobile.is-open nav a:nth-child(1) { animation-delay: 0.08s; }
.nav-mobile.is-open nav a:nth-child(2) { animation-delay: 0.14s; }
.nav-mobile.is-open nav a:nth-child(3) { animation-delay: 0.20s; }
.nav-mobile.is-open nav a:nth-child(4) { animation-delay: 0.26s; }
.nav-mobile.is-open nav a:nth-child(5) { animation-delay: 0.32s; }

.nav-mobile nav a:hover,
.nav-mobile nav a.is-active {
  color: var(--gold);
}

.nav-mobile-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #f5f3f3, #efeded);
}

.hero-bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  opacity: 0.55;
  will-change: transform;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    color-mix(in srgb, var(--white) 86%, transparent) 48%,
    transparent 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  padding: 72px 0 80px;
}

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

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  margin: 12px 0 20px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line span {
  display: block;
  transform: translateY(110%);
  animation: rise-in 1s var(--ease-out) forwards;
}

.hero-title .line:nth-child(2) span {
  animation-delay: 0.12s;
}

.hero-lede {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 520px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease) 0.5s forwards;
}

.hero-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--outline) 50%, transparent);
  background: linear-gradient(165deg, #f5f3f3, #e9e8e7);
}

.hero-portrait img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: auto 16px 16px auto;
  width: 72px;
  height: 2px;
  background: var(--gold-mid);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
    padding: 80px 0 96px;
  }
  .hero-portrait {
    max-width: 460px;
    margin-left: auto;
  }
}

/* Inner page hero */
.page-hero {
  padding: 72px 0 48px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: -20%;
  width: 40%;
  height: 140%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold-pale) 35%, transparent), transparent 70%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  margin: 12px 0 18px;
}

.page-hero-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--outline) 40%, transparent);
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, #f5f3f3, #e9e8e7);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

@media (min-width: 900px) {
  .page-hero {
    padding: 96px 0 72px;
  }
  .page-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
  .page-hero-media {
    max-width: 440px;
    margin-left: auto;
  }
}

.page-hero.compact {
  padding: 64px 0 24px;
}

.page-hero.compact h1 {
  font-size: clamp(40px, 6vw, 64px);
}

/* ---------- Quote ---------- */
.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 56px;
  line-height: 1;
  color: var(--gold-mid);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.quote-block blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.quote-block cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cards / pillars ---------- */
.pillar-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .pillar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card,
.service-card,
.feature-card,
.info-card,
.client-card,
.mv-card {
  background: var(--white);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
    border-color 0.4s;
}

.pillar-card:hover,
.service-card:hover,
.mv-card:hover,
.info-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--outline);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-mid);
  color: #4b3800;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08);
}

.pillar-card h3,
.service-card h3,
.mv-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.pillar-card p,
.service-card p,
.mv-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pillar-index {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---------- Services ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  margin-top: 4px;
}

.service-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card h3 {
  transition: color 0.3s;
}

.service-card:hover h3 {
  color: var(--gold);
}

.service-card .chip {
  margin-bottom: 16px;
}

.service-card p {
  min-height: 72px;
  margin: 8px 0 24px;
}

/* ---------- Split / cowork ---------- */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
  .split.reverse {
    grid-template-columns: 7fr 5fr;
  }
  .split.reverse .split-copy {
    order: 2;
  }
}

.split-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.split-photos .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--outline) 40%, transparent);
}

.split-photos .photo:first-child {
  margin-top: 32px;
}

.split-photos .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transform: scale(1.12);
  transition: transform 1.2s var(--ease);
}

.split-photos .photo:hover img {
  transform: scale(1.2);
}

.pull-quote {
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  color: var(--muted);
  font-size: 16px;
  margin: 20px 0 28px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.check-list .material-symbols-outlined {
  color: var(--gold);
  font-size: 20px;
  margin-top: 1px;
}

.check-grid {
  display: grid;
  gap: 0 40px;
}

@media (min-width: 700px) {
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-high);
  font-size: 16px;
}

.check-grid .material-symbols-outlined {
  color: var(--gold);
  font-size: 22px;
}

.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--outline) 40%, transparent);
  min-height: 360px;
  background: linear-gradient(165deg, #f5f3f3, #e9e8e7);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  min-height: 420px;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 240px at 10% 0%, rgba(197, 160, 68, 0.18), transparent 70%),
    radial-gradient(500px 240px at 90% 100%, rgba(233, 194, 98, 0.12), transparent 70%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gold-soft);
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: #c8c6c5;
}

/* ---------- Logo marquee ---------- */
.marquee-wrap {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--surface-high);
  border-bottom: 1px solid var(--surface-high);
  background: var(--white);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 42s linear infinite;
}

.marquee.reverse {
  animation-direction: reverse;
  animation-duration: 48s;
}

.marquee-wrap:hover .marquee {
  animation-play-state: paused;
}

.marquee-item {
  width: 160px;
  height: 88px;
  background: var(--surface);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 12px 16px;
  flex-shrink: 0;
}

.marquee-item img {
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.72;
  transition: filter 0.35s, opacity 0.35s;
}

.marquee-item:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Why / CTA ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 160, 68, 0.22), transparent 70%);
  top: -180px;
  right: -80px;
  pointer-events: none;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0 16px;
}

.cta-band p {
  color: #c8c6c5;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c8c6c5;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
}

.footer-brand span {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-pale);
}

.site-footer h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-pale);
  margin-bottom: 16px;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: #c8c6c5;
  transition: color 0.25s;
}

.site-footer a:hover {
  color: var(--gold-pale);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 14.5px;
  line-height: 1.55;
}

.footer-contact .material-symbols-outlined {
  font-size: 18px;
  color: var(--gold-mid);
  margin-top: 2px;
}

.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- Clientele grid ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.logo-cell {
  background: var(--white);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius);
  height: 110px;
  display: grid;
  place-items: center;
  padding: 16px 20px;
  transition: box-shadow 0.35s, transform 0.35s;
}

.logo-cell img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.35s, opacity 0.35s;
}

.logo-cell:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.logo-cell:hover img {
  filter: none;
  opacity: 1;
}

/* ---------- Testimonials ---------- */
.testimonial-wrap {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 100%;
}

@media (min-width: 800px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 12px);
  }
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.testimonial-card p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  flex: 1;
}

.testimonial-card footer {
  margin-top: 24px;
}

.testimonial-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--ink);
}

.testimonial-card span {
  font-size: 13px;
  color: var(--muted);
}

.testimonial-nav {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  justify-content: flex-end;
}

.testimonial-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
  color: var(--ink);
}

.testimonial-nav button:hover {
  background: var(--ink);
  color: #fff;
}

/* ---------- Services page ---------- */
.services-layout {
  display: grid;
  gap: 40px;
}

@media (min-width: 980px) {
  .services-layout {
    grid-template-columns: 260px 1fr;
    gap: 56px;
    align-items: start;
  }
}

.toc {
  background: var(--white);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
}

.toc-panel summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.toc-panel summary::-webkit-details-marker {
  display: none;
}

.toc-chevron {
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.toc-panel[open] .toc-chevron {
  transform: rotate(180deg);
}

.toc-panel nav {
  padding: 0 8px 12px;
}

.toc a {
  display: block;
  padding: 9px 10px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.toc a:hover,
.toc a.is-active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: color-mix(in srgb, var(--gold-pale) 35%, transparent);
}

@media (min-width: 980px) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    padding: 20px;
  }

  .toc-panel summary {
    padding: 0 0 12px;
    cursor: default;
    pointer-events: none;
  }

  .toc-chevron {
    display: none;
  }

  .toc-panel nav {
    display: block !important;
    padding: 0;
  }
}

.service-block {
  padding: 8px 0 56px;
  border-bottom: 1px solid var(--surface-high);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.service-block:last-child {
  border-bottom: 0;
}

.service-block h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.service-block > p {
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 720px;
}

.tag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 700px) {
  .tag-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tag-item {
  background: var(--white);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.tag-item:hover {
  border-color: var(--outline);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tag-item .ico {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--gold-pale) 55%, var(--white));
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.tag-item .ico .material-symbols-outlined {
  font-size: 20px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion details {
  background: var(--white);
  border: 1px solid var(--surface-high);
  border-radius: var(--radius-lg);
  padding: 0 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.accordion details[open] {
  border-color: var(--outline);
  box-shadow: var(--shadow);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary .material-symbols-outlined {
  color: var(--gold);
  transition: transform 0.3s var(--ease);
}

.accordion details[open] summary .material-symbols-outlined {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 0 20px;
}

.accordion-body li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--surface-low);
}

.accordion-body li .material-symbols-outlined {
  color: var(--gold-mid);
  font-size: 18px;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--outline);
}

.timeline-item {
  position: relative;
  padding: 0 0 36px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold-mid);
  box-shadow: 0 0 0 4px var(--surface);
}

.timeline-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--ink-soft);
}

.year {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    align-items: stretch;
  }
}

.info-stack {
  display: grid;
  gap: 16px;
}

.info-card h3,
.info-card h4 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.info-mini {
  display: grid;
  gap: 16px;
}

@media (min-width: 520px) {
  .info-mini {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card a {
  color: var(--ink);
  transition: color 0.25s;
}

.info-card a:hover {
  color: var(--gold);
}

.form-card {
  background: var(--white);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-card h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.form-intro {
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  gap: 20px;
  margin-bottom: 8px;
}

@media (min-width: 640px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  border-radius: 0;
  padding: 12px 0;
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  transition: border 0.2s, padding 0.2s, box-shadow 0.2s;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b3ada2;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border: 2px solid var(--ink);
  padding: 12px 14px;
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--error);
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--surface-high);
  min-height: 420px;
}

.map-wrap iframe {
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.socials a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--outline);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ---------- Thank you ---------- */
.thanks {
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 20px;
}

.thanks-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}

.thanks h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

/* ---------- Gold rule divider ---------- */
.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold-mid);
  margin: 16px 0;
}

/* ---------- Floating call (mobile) ---------- */
.float-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(119, 90, 0, 0.35);
  transition: transform 0.3s, background 0.3s;
}

.float-call:hover {
  background: var(--ink);
  transform: scale(1.06);
}

@media (min-width: 980px) {
  .float-call {
    display: none;
  }
}

/* ---------- Legal ---------- */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}

.prose p {
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 16px 18px;
  list-style: disc;
  color: var(--ink-soft);
}

/* ---------- Backgrounds ---------- */
.bg-paper { background: var(--surface); }
.bg-white { background: var(--white); }
.bg-low { background: var(--surface-low); }

.surface-band {
  border-top: 1px solid color-mix(in srgb, var(--outline) 45%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--outline) 45%, transparent);
}

/* ---------- Keyframes ---------- */
@keyframes rise-in {
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.kenburns img {
  animation: kenburns 18s ease-out alternate infinite;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .reveal-left, .reveal-right, .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
