/* ============================================================
   VIDYA CONSULTANCY - Design System
   Built by ARTistic AI Studios · artisticaistudios.com
   Reference-grade system: Satoshi + Roboto Mono,
   #131313 ink / #F9F9F9 paper / #FF9500 accent
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink: #131313;          /* primary near-black */
  --ink-deep: #090909;     /* footer black */
  --paper: #F9F9F9;        /* off-white sections */
  --white: #FFFFFF;
  --grey: #7D8082;         /* secondary text */
  --grey-line: #E5E5E5;    /* hairlines */
  --accent: #FF9500;       /* orange accent */
  --accent-soft: #FFF3E0;

  --font-head: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', 'SFMono-Regular', Menlo, monospace;

  --pad-x: clamp(20px, 4vw, 64px);
  --section-y: clamp(52px, 7vw, 100px);
  --radius: 4px;
  --radius-lg: 12px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-wrap: balance;
}
.display-1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.display-2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); letter-spacing: -0.035em; }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.03em; }

.lead { font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.5; }
.muted { color: var(--grey); }
.text-accent { color: var(--accent); }

/* Eyebrow - "/ LABEL" mono pattern from the design system */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.eyebrow::before { content: "/"; color: var(--accent); font-weight: 700; }
.on-dark .eyebrow, .eyebrow.light { color: rgba(255,255,255,0.75); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); position: relative; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .muted { color: rgba(255,255,255,0.55); }
.section-hairline { border-top: 1px solid var(--grey-line); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 32px); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons (reference anatomy: dark slab + arrow icon box) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 7px 7px 7px 18px;
  border-radius: var(--radius);
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn .btn-icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  transition: background 0.35s var(--ease-out);
}
.btn .btn-icon svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.btn:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.btn:hover .btn-icon { background: rgba(19,19,19,0.12); }
.btn:hover .btn-icon svg { transform: translate(2px, -2px); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light .btn-icon { background: rgba(19,19,19,0.08); }
.btn-light:hover { background: var(--accent); }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent .btn-icon { background: rgba(19,19,19,0.1); }
.btn-accent:hover { background: var(--ink); color: var(--white); }
.btn-accent:hover .btn-icon { background: rgba(255,255,255,0.15); }

.btn-ghost {
  background: transparent; color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost .btn-icon { background: transparent; border: 1px solid rgba(125,128,130,0.35); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; position: relative;
}
.link-arrow::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  transition: transform 0.5s var(--ease-out), background 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  background: rgba(249,249,249,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(19,19,19,0.06);
}
.site-header.hidden { transform: translateY(-100%); }
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  padding: 16px var(--pad-x);
  max-width: 1440px; margin: 0 auto;
}
/* Header sits over dark page heroes by default → light text.
   Once .scrolled adds the light blurred background, it flips to ink. */
.brand { display: flex; align-items: center; gap: 9px; color: var(--white); transition: color 0.3s; }
.site-header.scrolled .brand { color: var(--ink); }
.brand-logo-mark { width: 40px; height: 40px; flex: none; overflow: visible; }
.brand-logo-mark .brand-v { fill: currentColor; }
.brand-logo-mark .brand-path,
.brand-logo-mark .brand-node { fill: var(--accent); }
.brand-logo-mark .brand-node { stroke: var(--paper); stroke-width: 2.5; }
.brand-lockup { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -0.025em; white-space: nowrap; }
.brand-name em { margin-left: 4px; color: var(--accent); font-style: normal; }
.brand-descriptor {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  opacity: 0.82;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; flex-wrap: nowrap; gap: clamp(12px, 1.5vw, 32px); }
.nav-links > * { flex: none; }
.nav-links a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  position: relative; padding: 4px 0;
  color: var(--white);
  white-space: nowrap;
  transition: color 0.3s;
}
.site-header.scrolled .nav-links a:not(.btn) { color: var(--ink); }
.site-header:not(.scrolled) .nav-links .btn { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { font-size: 15px; padding: 5px 5px 5px 14px; white-space: nowrap; }
.nav-links .btn .btn-label { white-space: nowrap; }
.nav-links .btn .btn-icon { width: 30px; height: 30px; }

/* Mid-width desktops / large tablets: tighten the nav so all items fit on one line */
@media (max-width: 1439px) {
  .nav-links a:not(.btn) { font-size: 11.5px; letter-spacing: 0.04em; }
  .nav-links .btn { font-size: 14px; }
  .nav-links .btn .btn-icon { width: 26px; height: 26px; }
}

.nav-toggle { display: none; z-index: 1001; width: 42px; height: 42px; position: relative; }
.nav-toggle span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--white);
  transition: transform 0.35s var(--ease-out), opacity 0.25s, background 0.3s;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
body.menu-open .site-header .nav-toggle span,
body.menu-open .site-header.scrolled .nav-toggle span { background: var(--white); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 25px; }
body.menu-open .nav-toggle span { background: var(--white); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--ink); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 92px var(--pad-x) 32px;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
  visibility: hidden;
}
/* Auto margins centre the items when they fit the screen and
   collapse to allow scrolling when they don't (landscape tablets). */
.mobile-menu > a:first-child { margin-top: auto; }
.mobile-menu .menu-foot { margin-bottom: auto; }
body.menu-open .mobile-menu { clip-path: inset(0 0 0% 0); visibility: visible; }
/* Keep the header (and its close ✕ toggle) above the menu overlay -
   the overlay's z-index is higher than the header's, so without this
   the close button is buried underneath and unreachable. */
body.menu-open .site-header { z-index: 1001; transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .site-header .brand { color: var(--white); }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, min(8vw, 4.5vh), 3rem); font-weight: 700; letter-spacing: -0.03em;
  padding: 6px 0; display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
@media (max-height: 700px) {
  .mobile-menu a { padding: 5px 0; }
  .mobile-menu .menu-foot { margin-top: 24px; }
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a .idx { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
body.menu-open .mobile-menu a { opacity: 1; transform: translateY(0); }
.mobile-menu .menu-foot { margin-top: 28px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0; transition: opacity 0.5s 0.35s; }
body.menu-open .mobile-menu .menu-foot { opacity: 1; }

/* The full nav (8 links + language toggle + CTA) needs ~1280px to breathe -
   below that, tablets and small laptops get the hamburger menu instead. */
@media (max-width: 1279px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Intro overlay: animated brand reveal ---------- */
.intro {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink);
  display: grid; place-items: center;
  transition: clip-path 0.9s var(--ease-out);
  clip-path: inset(0 0 0 0);
}
.intro-brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.intro-logo {
  width: clamp(72px, 12vw, 104px); height: auto; overflow: visible;
  opacity: 0; transform: scale(0.55);
  animation: introPop 0.7s var(--ease-out) 0.1s forwards;
}
.intro-logo .intro-v { fill: var(--white); }
.intro-logo .intro-swoosh {
  fill: var(--accent);
  opacity: 0; transform: translate(-6px, 6px);
  animation: introSwoosh 0.6s var(--ease-out) 0.55s forwards;
}
.intro-name {
  margin-top: 22px;
  color: var(--white); font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  opacity: 0; transform: translateY(24px);
  animation: introRise 0.7s var(--ease-out) 0.8s forwards;
}
.intro-name em { font-style: normal; color: var(--accent); margin-left: 6px; }
.intro-descriptor {
  margin-top: 12px;
  color: rgba(255,255,255,0.65); font-family: var(--font-mono);
  font-size: clamp(11px, 1.6vw, 13px); font-weight: 600;
  letter-spacing: 0.6em; padding-left: 0.6em;
  opacity: 0;
  animation: introTrack 0.8s var(--ease-out) 1.15s forwards;
}
.intro-line {
  margin-top: clamp(26px, 4vw, 40px);
  color: rgba(255,255,255,0.88);
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 500; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(18px);
  animation: introRise 0.7s var(--ease-out) 1.5s forwards;
}
.intro-line .text-accent { color: var(--accent); }
@keyframes introPop {
  60% { opacity: 1; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes introSwoosh { to { opacity: 1; transform: translate(0, 0); } }
@keyframes introRise { to { opacity: 1; transform: translateY(0); } }
@keyframes introTrack {
  from { letter-spacing: 0.95em; }
  to { opacity: 1; letter-spacing: 0.6em; }
}
.intro.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
body.no-intro .intro { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--white);
  padding-top: 120px;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,149,0,0.14), transparent 65%);
  top: -20vw; right: -15vw; pointer-events: none;
}
.hero-inner { position: relative; padding-bottom: clamp(48px, 7vw, 96px); }
/* Tablets/phones (any orientation ≤1080px, or anything portrait): a
   full-viewport hero leaves a huge empty band above the text - let the
   hero hug its content instead. Full-screen hero is desktop-only. */
@media (orientation: portrait), (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-inner { padding-top: clamp(28px, 6vw, 64px); }
}
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 56ch; color: rgba(255,255,255,0.65); margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 22px;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}

/* word-by-word reveal */
.reveal-words .word {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  /* room for descenders (y, g, j…) inside the overflow-hidden box -
     the negative margin cancels the padding so line spacing is unchanged */
  padding-bottom: 0.18em; margin-bottom: -0.18em;
}
.reveal-words .word > span {
  display: inline-block; transform: translateY(140%);
  transition: transform 0.9s var(--ease-out);
}
.reveal-words.in-view .word > span { transform: translateY(0); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-scale.in-view { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee-band { overflow: hidden; user-select: none; }
.marquee {
  display: flex; gap: 0; width: max-content;
  animation: marquee var(--speed, 30s) linear infinite;
}
.marquee.rev { animation-direction: reverse; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee .m-item {
  display: flex; align-items: center; gap: 28px;
  padding-inline: 28px;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
}
.marquee .m-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.marquee-ghost .m-item { color: transparent; -webkit-text-stroke: 1px rgba(19,19,19,0.35); }
.section-dark .marquee-ghost .m-item { -webkit-text-stroke: 1px rgba(255,255,255,0.3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* logo/partner strip */
.logo-strip { display: flex; gap: 0; width: max-content; animation: marquee var(--speed, 36s) linear infinite; }
.logo-strip .logo-item {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey);
  padding: 10px 44px; white-space: nowrap;
  display: flex; align-items: center; gap: 44px;
}
.logo-strip .logo-item::after { content: "/"; color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(19,19,19,0.18);
  border-color: transparent;
}
.card .card-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--grey);
  display: flex; justify-content: space-between; align-items: center;
}
.card .card-num::after { content: "/"; color: var(--accent); font-weight: 700; }
.card .card-icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  color: var(--ink);
}
.card .card-icon svg { width: 24px; height: 24px; }
.card p { color: var(--grey); font-size: 15.5px; }
.card .link-arrow { margin-top: auto; font-size: 15px; }

.section-dark .card { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.1); }
.section-dark .card p { color: rgba(255,255,255,0.55); }
.section-dark .card:hover { box-shadow: 0 24px 48px -24px rgba(0,0,0,0.6); }

/* ---------- Image placeholders (client to supply photos) ---------- */
.img-ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(19,19,19,0.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #ECECEC, #F6F6F6);
  border: 1.5px dashed rgba(125,128,130,0.55);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  overflow: hidden;
  min-height: 220px;
  color: var(--grey);
}
.img-ph::before {
  content: "";
  position: absolute; width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(125,128,130,0.5);
  transform: translateY(-26px);
}
.img-ph .ph-label {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; line-height: 1.8;
  padding: 56px 24px 0;
  max-width: 34ch;
}
.img-ph > .img-fill {
  position: absolute;
  z-index: 2;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  display: block;
}
.img-ph:has(> .img-fill) { border: 0; }
.section-dark .img-ph {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #1B1B1B, #222);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.5);
}
.ratio-16x9 { aspect-ratio: 16/9; }
.ratio-4x3  { aspect-ratio: 4/3; }
.ratio-3x4  { aspect-ratio: 3/4; }
.ratio-1x1  { aspect-ratio: 1/1; }

/* ---------- Map embed (contact page) ---------- */
.map-embed {
  position: relative;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  display: block;
}
.map-embed .map-open {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 100px;
  background: var(--ink); color: var(--white);
  text-decoration: none;
  transition: all 0.25s;
}
.map-embed .map-open:hover { background: var(--accent); color: var(--ink); }

/* ---------- Pain-point marquee rows (home) ---------- */
.pain-rows { display: flex; flex-direction: column; gap: clamp(10px, 2vw, 20px); }
.pain-center {
  text-align: center; max-width: 40ch; margin: 0 auto;
}

/* ---------- Process (numbered steps) ---------- */
.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); }
.process-sticky { position: sticky; top: 120px; align-self: start; }
.process-count {
  font-family: var(--font-mono); font-size: 13px; color: var(--grey);
  margin-top: 18px; letter-spacing: 0.06em;
}
.step {
  border-top: 1px solid var(--grey-line);
  padding: clamp(28px, 4vw, 48px) 0;
  display: grid; grid-template-columns: 72px 1fr; gap: 20px;
}
.section-dark .step { border-color: rgba(255,255,255,0.12); }
.step-num {
  font-family: var(--font-mono); font-size: 14px; color: var(--accent);
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--grey); max-width: 52ch; }
.section-dark .step p { color: rgba(255,255,255,0.55); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  /* Tablet portrait: stack all two-column sections - side-by-side is too cramped */
  .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-left: 2px solid var(--accent); padding-left: 20px; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1; }
.stat .lbl { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); margin-top: 10px; }
.section-dark .stat .lbl { color: rgba(255,255,255,0.5); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--grey-line); }
.faq-item { border-bottom: 1px solid var(--grey-line); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(20px, 3vw, 30px) 0;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: -0.02em;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-icon {
  flex: none; width: 34px; height: 34px;
  border: 1px solid var(--grey-line); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease-out), background 0.3s, border-color 0.3s;
}
.faq-q .faq-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.55s var(--ease-out);
}
.faq-a-inner { padding: 0 0 28px; color: var(--grey); max-width: 68ch; }
.section-dark .faq-list, .section-dark .faq-item { border-color: rgba(255,255,255,0.12); }
.section-dark .faq-a-inner { color: rgba(255,255,255,0.55); }
.section-dark .faq-q .faq-icon { border-color: rgba(255,255,255,0.2); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--grey-line);
  padding: 10px 2px 14px;
  font-size: 17px;
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--accent);
}
.field select { cursor: pointer; }
.field.select { position: relative; }
.field.select::after {
  content: ""; position: absolute; right: 8px; bottom: 22px;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--grey); border-bottom: 1.5px solid var(--grey);
  transform: rotate(45deg); pointer-events: none;
}
.field .error-msg { display: none; font-size: 13px; color: #D64500; margin-top: 8px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-bottom-color: #D64500; }
.field.invalid .error-msg { display: block; }

.on-dark .field label { color: rgba(255,255,255,0.5); }
.on-dark .field input, .on-dark .field select, .on-dark .field textarea {
  border-bottom-color: rgba(255,255,255,0.2); color: var(--white);
}
.on-dark .field select option { color: var(--ink); }

.form-note { font-size: 13.5px; color: var(--grey); max-width: 52ch; }
.form-success {
  display: none;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--grey-line); border-radius: var(--radius-lg);
  text-align: center;
}
.form-success .tick {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; color: var(--ink);
}
form.sent { display: none; }
form.sent + .form-success { display: block; }

/* Booking steps */
.steps-nav { display: flex; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); flex-wrap: wrap; }
.steps-nav .s {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--grey-line); border-radius: 100px;
  color: var(--grey);
  display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
.steps-nav .s.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.steps-nav .s.done { border-color: var(--accent); color: var(--ink); }
.steps-nav .s.done::before { content: "✓"; color: var(--accent); }
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.step-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.chip-group { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 12px 20px;
  border: 1px solid var(--grey-line); border-radius: 100px;
  font-size: 15px; transition: all 0.3s; cursor: pointer;
}
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:hover span { border-color: var(--ink); }

/* Booking / contact split layout */
.side-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .side-layout { grid-template-columns: 1fr; } }

/* ---------- Contact cards ---------- */
.contact-card {
  border: 1px solid var(--grey-line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(19,19,19,0.2); }
.contact-card .mono-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--grey);
  display: flex; gap: 8px;
}
.contact-card .mono-label::before { content: "/"; color: var(--accent); }
.contact-card .big { font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -0.02em; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-grid .wide { grid-column: span 2; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-grid .wide { grid-column: auto; } .gallery-grid .img-ph:has(> .img-fill) { min-height: 0; } }

.testimonial {
  border-left: 2px solid var(--accent);
  padding-left: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
}
.testimonial blockquote { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.45; }
.testimonial .who { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--grey); }

/* Star ratings (testimonials + rating summary) */
.stars { color: var(--accent); letter-spacing: 0.18em; font-size: 15px; white-space: nowrap; }
.testimonial .stars { margin-bottom: -6px; }
.rating-line {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey);
}
.on-dark .rating-line { color: rgba(255,255,255,0.6); }

/* ---------- Partner universities ---------- */
.uni-region { display: flex; align-items: baseline; gap: 14px; margin-bottom: clamp(20px, 3vw, 32px); }
.uni-region h2 { letter-spacing: -0.03em; }
.uni-region .uni-count { font-family: var(--font-mono); font-size: 13px; color: var(--grey); letter-spacing: 0.08em; }
.uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.uni-item {
  border: 1px solid var(--grey-line); border-radius: 16px;
  padding: clamp(18px, 2.5vw, 26px);
  display: flex; flex-direction: column; gap: 8px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.uni-item:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 40px -28px rgba(19,19,19,0.25); }
.uni-item .uni-name { font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: -0.02em; }
.uni-item .uni-meta { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--grey); }
.uni-item .uni-badge {
  align-self: flex-start; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(255,149,0,0.12); color: #B26800; padding: 4px 10px; border-radius: 100px;
}
@media (max-width: 900px) { .uni-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uni-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-card { position: relative; }
.price-card .price {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.04em;
}
.price-card .price small { font-size: 0.45em; color: var(--grey); font-weight: 500; letter-spacing: 0; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; }
.price-card ul li { display: flex; gap: 12px; font-size: 15.5px; color: var(--grey); align-items: baseline; }
.price-card ul li::before { content: "→"; color: var(--accent); flex: none; }
.price-card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.price-card.featured p, .price-card.featured ul li { color: rgba(255,255,255,0.6); }
.price-card .tag {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--accent); color: var(--ink);
  padding: 5px 12px; border-radius: 100px; font-weight: 700;
}

/* Arrow feature lists (service detail sections) */
.arrow-list { display: flex; flex-direction: column; gap: 12px; }
.arrow-list li { display: flex; gap: 12px; font-size: 15.5px; color: var(--grey); align-items: baseline; }
.arrow-list li::before { content: "→"; color: var(--accent); flex: none; }
.on-dark .arrow-list li { color: rgba(255,255,255,0.6); }

/* ---------- Big CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .btn { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--white); padding-top: var(--section-y); overflow: hidden; }
.footer-cta { padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-cta h2 { max-width: 18ch; }
.footer-cta p { color: rgba(255,255,255,0.55); max-width: 46ch; margin-top: 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 72px);
}
.footer-grid h5 {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 15px; transition: color 0.25s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid .about-blurb { color: rgba(255,255,255,0.55); font-size: 15px; max-width: 40ch; }
.footer-wordmark {
  font-family: var(--font-head); font-weight: 700; letter-spacing: -0.045em;
  font-size: clamp(2.6rem, 9vw, 7.5rem); line-height: 0.95;
  color: rgba(255,255,255,0.08);
  white-space: nowrap; pointer-events: none;
  margin-top: 8px;
}
.footer-wordmark .text-accent { color: rgba(255,149,0,0.35); }
.footer-legal {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(118px, 15vh, 168px) 0 clamp(40px, 5vw, 64px); background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { color: rgba(255,255,255,0.6); max-width: 54ch; margin-top: 24px; }

/* ---------- Chatbot widget ---------- */
.vn-chat-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 1200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(19,19,19,0.45);
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.vn-chat-toggle:hover { transform: scale(1.08); background: var(--accent); color: var(--ink); }
.vn-chat-toggle svg { width: 26px; height: 26px; }
.vn-chat-toggle .close-ic { display: none; }
body.chat-open .vn-chat-toggle .chat-ic { display: none; }
body.chat-open .vn-chat-toggle .close-ic { display: block; }

/* Official logo mark inside the widget (cap = currentColor, arrow = accent) */
.vn-logo { overflow: visible; }
.vn-logo .vn-logo-cap { fill: currentColor; }
.vn-logo .vn-logo-arrow { fill: var(--accent); }
.vn-chat-toggle .vn-logo { width: 30px; height: 30px; }
.vn-chat-toggle:hover .vn-logo-arrow { fill: var(--ink); }
.vn-chat-badge {
  position: absolute; top: -2px; right: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 2.5px solid var(--paper);
}

/* "Ask" bubble beside the chat logo - pops out to catch the eye */
.vn-chat-ask {
  position: fixed; right: 92px; bottom: 33px; z-index: 1199;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding: 10px 18px;
  border-radius: 100px;
  box-shadow: 0 10px 26px -8px rgba(19,19,19,0.45);
  animation: vnAskIn 0.45s var(--ease-out) 1.1s both, vnAskNudge 2.6s ease-in-out 2.2s infinite;
}
.vn-chat-ask::after { /* speech-bubble tail pointing at the logo button */
  content: ""; position: absolute; right: -6px; top: 50%;
  width: 12px; height: 12px;
  background: var(--accent);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
.vn-chat-ask:hover { background: var(--ink); color: var(--white); }
.vn-chat-ask:hover::after { background: var(--ink); }
body.chat-open .vn-chat-ask { display: none; }
@keyframes vnAskIn { from { opacity: 0; transform: translateX(14px) scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes vnAskNudge { 0%, 100% { transform: translateY(0); } 12% { transform: translateY(-5px); } 24% { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .vn-chat-ask { animation: none; } }

.vn-chat {
  position: fixed; right: 22px; bottom: 96px; z-index: 1200;
  width: min(390px, calc(100vw - 32px));
  /* dvh: shrinks with the on-screen keyboard so the input stays visible */
  height: min(560px, calc(100dvh - 130px));
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--grey-line);
  box-shadow: 0 32px 80px -24px rgba(19,19,19,0.35);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(24px) scale(0.97); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
body.chat-open .vn-chat { opacity: 1; transform: none; pointer-events: auto; }
/* Phones/tablets: freeze the page behind the open chat so only the chat scrolls */
@media (max-width: 900px) {
  html:has(body.chat-open), body.chat-open { overflow: hidden; }
}
.vn-chat-head {
  background: var(--ink); color: var(--white);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.vn-chat-head .bot-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center;
}
.vn-chat-head .bot-avatar .vn-logo { width: 24px; height: 24px; }
.vn-chat-head .t { font-weight: 700; letter-spacing: -0.02em; }
.vn-chat-head .s { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 6px; }
.vn-chat-head .s::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3EC300; }
.vn-chat-body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper);
  /* keep wheel/touch scrolling inside the widget - never the page behind it */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.vn-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14.5px; line-height: 1.5;
  animation: msgIn 0.4s var(--ease-out);
  white-space: pre-line;
  overflow-wrap: break-word;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vn-msg.bot { background: var(--white); border: 1px solid var(--grey-line); border-bottom-left-radius: 4px; align-self: flex-start; }
.vn-msg.user { background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.vn-msg.typing { display: flex; gap: 5px; align-items: center; padding: 16px; }
.vn-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--grey); animation: blink 1.2s infinite; }
.vn-msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.vn-msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.vn-quick { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.vn-quick button {
  font-size: 13px; padding: 8px 14px;
  border: 1px solid var(--grey-line); border-radius: 100px;
  background: var(--white);
  transition: all 0.25s;
}
.vn-quick button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.vn-quick .vn-action {
  display: inline-block;
  font-size: 13px; font-weight: 700; padding: 8px 14px;
  border: 1px solid var(--ink); border-radius: 100px;
  background: var(--ink); color: var(--white);
  text-decoration: none;
  transition: all 0.25s;
}
.vn-quick .vn-action:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.vn-chat-input {
  display: flex; gap: 10px; padding: 14px;
  border-top: 1px solid var(--grey-line); background: var(--white);
}
.vn-chat-input input {
  /* 16px minimum: below that iOS force-zooms the page when the keyboard opens */
  flex: 1; border: 0; outline: none; font-size: 16px; padding: 8px 6px;
  background: transparent;
}
.vn-chat-input button {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
  transition: background 0.25s;
  flex: none;
}
.vn-chat-input button:hover { background: var(--accent); color: var(--ink); }
.vn-chat-input button svg { width: 17px; height: 17px; }
.vn-chat-foot {
  text-align: center; font-family: var(--font-mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--grey); padding: 0 0 10px; background: var(--white);
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center { text-align: center; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.split-head p { max-width: 46ch; color: var(--grey); }
.section-dark .split-head p { color: rgba(255,255,255,0.55); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 3000;
  background: var(--ink); color: var(--white);
  padding: 12px 20px; border-radius: var(--radius);
  transition: top 0.3s;
}
.skip-link:focus { top: 16px; }

/* Back to top of page marker line */
.divider-slash {
  font-family: var(--font-mono); color: var(--accent); font-size: 14px;
  padding: 0 var(--pad-x);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .reveal-words .word > span { transform: none; }
  .intro { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Telugu mode typography ----------
   Telugu glyphs carry marks above and below the line; the tight English
   display style (line-height 1.05, negative tracking) clips and overlaps
   them. These rules apply only while the తెలుగు toggle is on. */
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3, html[lang="te"] h4 {
  line-height: 1.35;
  letter-spacing: 0;
}
html[lang="te"] .display-1 { font-size: clamp(2rem, 5.4vw, 3.8rem); }
html[lang="te"] .display-2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
html[lang="te"] h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
html[lang="te"] .lead { line-height: 1.7; }
html[lang="te"] p, html[lang="te"] li { line-height: 1.75; }
html[lang="te"] .btn-label, html[lang="te"] .chip span { line-height: 1.5; }
html[lang="te"] .mobile-menu a { font-size: clamp(1.2rem, min(6vw, 4.2vh), 2.4rem); line-height: 1.5; }
html[lang="te"] .steps-nav .s, html[lang="te"] .eyebrow, html[lang="te"] .mono-label,
html[lang="te"] .menu-foot, html[lang="te"] .hero-meta { letter-spacing: 0; line-height: 1.5; }
html[lang="te"] .vn-msg { line-height: 1.65; }
html[lang="te"] .footer-cta h2 { line-height: 1.35; }
