/*
Theme Name: Onesto
Theme URI: https://onestoconsultancy.com
Author: Onesto Management Consultancy
Description: Custom WordPress theme for Onesto Management Consultancy
Version: 1.0.22
License: All Rights Reserved
Text Domain: onesto
*/


/* ═══════════════════════════════════════
   BRAND TOKENS
═══════════════════════════════════════ */
:root {
  --teal:        #7BBFBA;
  --teal-deep:   #5A9E99;
  --teal-dark:   #3D7A75;
  --teal-light:  #A8D4D0;
  --teal-pale:   #D6ECEA;
  --teal-wash:   #EBF6F5;
  --cream:       #F2EDDF;
  --cream-warm:  #EDE5D0;
  --cream-mid:   #D4C9AE;
  --rose:        #B8728A;
  --rose-deep:   #9A5470;
  --rose-pale:   #D4A0B4;
  --ink:         #1E2A28;
  --ink2:        #2D3E3B;
  --mid:         #6B8A86;
  --serif:       'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans:        'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

body.home-vibe {
  background: var(--teal);
  color: var(--cream);
}

/* ═══════════════════════════════════════
   FILM GRAIN
═══════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ═══════════════════════════════════════
   CURSOR
═══════════════════════════════════════ */
* { cursor: none !important; }
#c-dot, #c-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
}
#c-dot {
  width: 7px; height: 7px;
  background: var(--rose-deep);
  transition: width .3s var(--ease-out), height .3s var(--ease-out), background .3s;
}
#c-ring {
  width: 38px; height: 38px;
  border: 1px solid rgba(154,84,112,0.5);
  background: transparent;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), border-color .35s;
}
body.h #c-dot  { width: 14px; height: 14px; background: var(--rose-deep); }
body.h #c-ring { width: 56px; height: 56px; border-color: rgba(154,84,112,0.6); }

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: var(--teal-dark); }
::-webkit-scrollbar-thumb { background: var(--cream); border-radius: 1px; }

/* ═══════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 52px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Changed from flex-start to allow right alignment */
  background: transparent;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-left { display: flex; align-items: center; gap: 40px;  }
.nav-right { display: flex; align-items: center; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem; 
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 1;
  font-weight: 500;
  background: rgba(242, 237, 223, 0.1); /* Soft cream-based glass pill */
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(242, 237, 223, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
}

.lang-btn {
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  opacity: 0.5;
  position: relative;
}

.lang-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rose-pale);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.lang-btn.active {
  opacity: 1;
  color: var(--cream);
}

.lang-btn.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-divider {
  opacity: 0.2;
  font-size: 0.6rem;
  margin: 0 -2px;
}

nav.nav-scrolled {
  height: 90px;
  background: var(--teal-dark); /* Darker on scroll for better contrast */
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.nav-burger {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 201;
}
.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--cream);
  transition: transform 0.4s var(--ease-in-out), opacity 0.4s;
}
/* Burger open state */
body.nav-open .nav-burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
body.nav-open .nav-burger span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

/* BACK ARROW MORPH */
.nav-burger.is-back span:nth-child(1) {
  width: 65%;
  transform: translate(-3px, 5px) rotate(-45deg);
}
.nav-burger.is-back span:nth-child(2) {
  width: 65%;
  transform: translate(-3px, -5px) rotate(45deg);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  margin-left: 30px;
  position: relative;
  z-index: 201;
}
.nav-logo em{
	color: var(--rose);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--teal-dark);
  z-index: 200;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.8s var(--ease-in-out), opacity 0.8s var(--ease-in-out);
  overflow: hidden; /* For pane sliding */
}
body.nav-open .nav-overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-pane {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s var(--ease-in-out), opacity 0.6s;
  opacity: 0;
  pointer-events: none;
}

/* Slide logic - Only active when overlay is open */
#nav-pane-main { transform: translateX(0); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
#nav-pane-services { transform: translateX(100%); opacity: 0; pointer-events: none; }
#nav-pane-about { transform: translateX(100%); opacity: 0; pointer-events: none; }
#nav-pane-insights { transform: translateX(100%); opacity: 0; pointer-events: none; }

body.nav-open #nav-pane-main { opacity: 1; pointer-events: auto; }

/* Transition states */
body.services-active #nav-pane-main {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
body.services-active #nav-pane-services {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Level 3: India */
body.india-active #nav-pane-services {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
body.india-active #nav-pane-india {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Level 3: Europe */
body.europe-active #nav-pane-services {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
body.europe-active #nav-pane-europe {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Level 2: About */
body.about-active #nav-pane-main {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
body.about-active #nav-pane-about {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Level 2: Insights */
body.insights-active #nav-pane-main {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
body.insights-active #nav-pane-insights {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-links {
  list-style: none;
  text-align: center;
}
.nav-links li {
  margin: 25px 0;
}
.nav-links a {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: .8;
  transition: opacity .3s, transform .3s;
  display: block;
}
.nav-links a:hover {
  opacity: 1;
  transform: scale(1.05);
}

.nav-cta-overlay {
  margin-top: 60px;
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 16px 40px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.nav-cta-overlay:hover {
  background: var(--cream);
  color: var(--teal-dark);
}

/* ═══════════════════════════════════════
   HERO — FULL VIEWPORT CENTRED
═══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Background texture rings */
.hero-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242,237,223,0.06);
  animation: ringPulse 8s ease-in-out infinite;
}
.hero-rings span:nth-child(1) { width: 420px; height: 420px; animation-delay: 0s; }
.hero-rings span:nth-child(2) { width: 660px; height: 660px; animation-delay: 1.2s; }
.hero-rings span:nth-child(3) { width: 920px; height: 920px; animation-delay: 2.4s; }
.hero-rings span:nth-child(4) { width: 1200px; height: 1200px; animation-delay: 3.6s; }

/* Hero main wordmark — the single brand statement */
.hero-wordmark {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pre {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  margin-bottom: 32px;
  animation: fadeUp .9s var(--ease-out) .4s forwards;
}

/* THE main word — Onesto */
.hero-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(9rem, 20vw, 22rem);
  line-height: .85;
  letter-spacing: -.02em;
  color: var(--cream);
  display: block;
  opacity: 0;
  transform: translateY(48px) scale(.97);
  animation: heroReveal 1.4s var(--ease-out) .6s forwards;
  position: relative;
}

/* Thin period in brand accent */
.hero-name .period {
  color: var(--rose);
  font-style: italic;
}

/* Underline that grows */
.hero-underline {
  width: 0;
  height: 1px;
  background: var(--cream);
  opacity: .25;
  margin-top: 20px;
  animation: lineGrow 1.2s var(--ease-out) 1.4s forwards;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 200;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  margin-top: 32px;
  text-align: center;
  animation: fadeUp .9s var(--ease-out) 1.8s forwards;
}

/* Corner coordinates — editorial detail */
.hero-corner {
  position: absolute;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 200;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
.hero-corner.tl { top: 96px; left: 52px; }
.hero-corner.tr { top: 96px; right: 52px; text-align: right; }
.hero-corner.bl { bottom: 80px; left: 52px; }
.hero-corner.br { bottom: 80px; right: 52px; text-align: right; }
.hero-corner span { display: block; opacity: .35; margin-bottom: 3px; font-size: .7rem; letter-spacing: .22em; }

/* Scroll prompt */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s ease 2.2s forwards;
}
.hero-scroll-bar {
  width: 1px;
  height: 52px;
  background: rgba(242,237,223,.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scrollFill 2s ease-in-out infinite;
}
.hero-scroll-txt {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .35;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════
   TICKER BAND
═══════════════════════════════════════ */
.ticker {
  background: var(--teal-dark);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(242,237,223,.06);
  border-bottom: 1px solid rgba(242,237,223,.06);
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 10s linear infinite;
}

@media (max-width: 768px){
	.ticker-track {
		animation: ticker 4s linear infinite;
	}
}
.tick {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  opacity: .55;
  padding: 0 40px;
  flex-shrink: 0;
}
.tick-dot {
  color: var(--rose);
  font-style: normal;
  opacity: .8;
}

/* ═══════════════════════════════════════
   SECTION UTILITIES
═══════════════════════════════════════ */
.sec-label {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .32em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.sec-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .4;
  flex-shrink: 0;
}

/* reveal system */
.r {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.r.on { opacity: 1; transform: translateY(0); }
.r.d1 { transition-delay: .1s; }
.r.d2 { transition-delay: .22s; }
.r.d3 { transition-delay: .36s; }
.r.d4 { transition-delay: .52s; }
.r.d5 { transition-delay: .68s; }
.r.d6 { transition-delay: .84s; }

/* ═══════════════════════════════════════
   ABOUT / MANIFESTO
═══════════════════════════════════════ */
.about {
  background: var(--cream);
  color: var(--ink);
  padding: 160px 52px;
  position: relative;
  overflow: hidden;
}
.about-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}
.about-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.2rem, 5.5vw, 7rem);
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 0;
}
.about-h2 em {
  font-style: italic;
  color: var(--teal-deep);
}
.about-h2 .ghost {
  -webkit-text-stroke: 1px rgba(30,42,40,.18);
  color: transparent;
  display: block;
}
.about-body {
  font-size: 1.5rem;
  line-height: 2.1;
  color: var(--cream);
  opacity: .75;
  margin-bottom: 52px;
  max-width: 800;
  text-align: center;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(30,42,40,.08);
}
.astat {
  background: var(--cream);
  padding: 36px 28px;
}
.astat-n {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--teal-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.astat-n sup { font-size: .45em; vertical-align: super; }
.astat-l {
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .4;
}

/* Deco line on about section */
.about-deco-line {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(123,191,186,.3) 30%, rgba(123,191,186,.3) 70%, transparent);
  display: none;
}

/* ═══════════════════════════════════════
   SERVICES — BIG LIST
═══════════════════════════════════════ */
.services {
  background: var(--teal);
  color: var(--cream);
  padding: 140px 52px;
}
.services-inner { max-width: 1240px; margin: 0 auto; }
.services-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(242,237,223,.08);
}
.services-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 4.5vw, 6rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.services-h2 em { font-style: italic; color: var(--rose-pale); }
.services-note {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--cream);
  opacity: .7;
  max-width: 480px;
  align-self: flex-end;
}

/* Service rows — the menu */
.svc-item {
  display: grid;
  grid-template-columns: 64px 1fr 200px 28px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid rgba(242,237,223,.07);
  text-decoration: none;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  transition: padding-left .45s var(--ease-out);
}
.svc-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--rose);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.svc-item:hover { padding-left: 20px; }
.svc-item:hover::before { transform: scaleY(1); }
.svc-item:hover .svc-title { color: var(--cream); opacity: 1; letter-spacing: .005em; }
.svc-item:hover .svc-tag { opacity: .7; }
.svc-item:hover .svc-arr { opacity: 1; transform: translate(0,0) rotate(0); color: var(--rose-pale); }
.svc-num {
  font-family: var(--serif);
  font-size: .8rem;
  font-style: italic;
  color: var(--cream);
  opacity: .2;
}
.svc-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--cream);
  opacity: .85;
  transition: color .4s, opacity .4s, letter-spacing .4s;
  line-height: 1;
}
.svc-tag {
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .28;
  transition: opacity .4s;
  justify-self: start;
}
.svc-arr {
  font-size: .9rem;
  color: var(--cream);
  opacity: .2;
  transform: translate(-6px, 4px) rotate(-8deg);
  transition: all .45s var(--ease-out);
  justify-self: end;
}

/* ═══════════════════════════════════════
   STORY — DARK SPLIT
═══════════════════════════════════════ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}
.story-visual {
  background: var(--teal-dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 80px 64px;
}
/* Radial glow from rose */
.story-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 40% 55%, rgba(184,114,138,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 15%, rgba(123,191,186,.12) 0%, transparent 50%);
  pointer-events: none;
}
/* Giant italic O */
.story-globe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 35vw, 480px);
  height: auto;
  opacity: 0.035;
  user-select: none;
  pointer-events: none;
  filter: grayscale(1) contrast(0.5) brightness(1.6);
  z-index: 1;
}
.story-coords {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.coord { }
.coord-lbl {
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .2;
  margin-bottom: 6px;
}
.coord-val {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  opacity: .45;
}
.coord-city {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--cream);
  opacity: .55;
  margin-bottom: 4px;
}
.story-divider {
  width: 1px;
  height: 80px;
  background: rgba(242,237,223,.12);
  align-self: flex-end;
  margin-bottom: 6px;
}

.story-text {
  background: var(--cream);
  color: var(--ink);
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 3.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 44px;
}
.story-h3 em { font-style: italic; color: var(--teal-deep); }
.story-p {
  font-size: 1.15rem;
  opacity: .75;
  max-width: 480px;
  margin-bottom: 52px;
}
.story-link {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  transition: gap .4s;
}
.story-link::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--teal-deep);
  transition: width .4s;
}
.story-link:hover { gap: 28px; }
.story-link:hover::after { width: 56px; }

/* ═══════════════════════════════════════
   VERTICALS — CARD GRID
═══════════════════════════════════════ */
.verticals {
  background: var(--cream);
  color: var(--ink);
  padding: 160px 52px;
}
.vert-inner { max-width: 1240px; margin: 0 auto; }
.vert-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
}
.vert-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 5rem);
  line-height: .95;
  letter-spacing: -.02em;
}
.vert-h2 em { font-style: italic; color: var(--teal-deep); }
.vert-all {
  font-size: .85rem;
  font-weight: 300;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: .6;
  transition: opacity .3s;
}
.vert-all:hover { opacity: 1; }
.vert-all::after { content: ''; width: 20px; height: 1px; background: currentColor; }

.vert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.vcard {
  position: relative;
  overflow: hidden;
  aspect-ratio: .72;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 30px;
  text-decoration: none;
}
.vcard-bg {
  position: absolute;
  inset: 0;
  transition: transform .7s var(--ease-out);
}
.vcard:hover .vcard-bg { transform: scale(1.05); }
.vc-1 .vcard-bg { background: var(--teal-dark); }
.vc-2 .vcard-bg { background: var(--rose-deep); }
.vc-3 .vcard-bg { background: var(--ink2); }
.vc-4 .vcard-bg { background: var(--teal-deep); }

/* Gradient overlay for readability */
.vcard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,18,.7) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.vc-4::after { background: linear-gradient(to top, rgba(50,90,86,.7) 0%, transparent 55%); }

.vcard-content {
  position: relative;
  z-index: 2;
  color: var(--cream);
}
.vc-n {
  font-size: .75rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .35;
  margin-bottom: 10px;
  display: block;
}
.vc-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 6px;
}
.vc-sub {
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .4;
  transition: opacity .4s;
}
.vcard:hover .vc-sub { opacity: .75; }

/* ═══════════════════════════════════════
   QUOTE — FULL WIDTH
═══════════════════════════════════════ */
.quote-sec {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 180px 52px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.quote-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.quote-watermark-text {
  font-family: var(--serif);
  font-size: clamp(12rem, 28vw, 36rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(242,237,223,.03);
  white-space: nowrap;
  letter-spacing: -.04em;
  user-select: none;
}
.quote-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  text-align: left;
}
.q-mark {
  font-family: var(--serif);
  font-size: 5rem;
  font-style: italic;
  color: var(--rose);
  opacity: .4;
  line-height: .6;
  display: block;
  margin-bottom: 48px;
}
.q-text {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -.01em;
  color: var(--cream);
  margin-bottom: 52px;
}
.testimonials-grid .q-text {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 32px;
  line-height: 1.6;
}
.q-attr {
  font-size: .58rem;
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .7;
}
.q-attr span { color: var(--cream);  }

/* ═══════════════════════════════════════
   CORRIDOR
═══════════════════════════════════════ */
.corridor {
  background: var(--cream);
  color: var(--cream);
  padding: 160px 52px;
}
.corridor-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 120px;
  align-items: start;
}
.corr-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 3.8vw, 5rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 44px;
  color: var(--teal-dark);
}
.corr-h2 em { font-style: italic; color: var(--rose); }
.corr-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink2);
  opacity: .65;
  max-width: 460px;
  margin-bottom: 52px;
}
.corr-btn {
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--teal-dark);
  padding: 14px 36px;
  text-decoration: none;
  display: inline-block;
  transition: background .35s, color .35s;
}
.corr-btn:hover { background: var(--teal); color: var(--cream-warm); }

.corr-list { display: flex; flex-direction: column; padding-top: 6px; }
.corr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid rgba(242,237,223,.08);
  text-decoration: none;
  color: var(--ink);
  transition: padding-right .4s;
}
.corr-row:hover { padding-right: 8px; }
.corr-row:hover .cr-txt { opacity: 1; color: var(--rose); }
.corr-row:hover .cr-arr { opacity: 1; color: var(--rose-pale); }
.cr-txt {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  opacity: .75;
  transition: opacity .3s;
  color: var(--ink);
}
.cr-arr {
  font-size: .85rem;
  opacity: .2;
  transition: opacity .3s, color .3s;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact {
  background: var(--cream);
  color: var(--ink);
  padding: 180px 52px 120px;
}
.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  align-items: end;
  margin-bottom: 120px;
}
.ct-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(4rem, 8vw, 10rem);
  line-height: .88;
  letter-spacing: -.03em;
  margin-bottom: 52px;
}
.ct-h2 em { font-style: italic; color: var(--teal-deep); }
.ct-email {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--mid);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(91,158,153,.25);
  padding-bottom: 10px;
  transition: color .3s, border-color .3s;
}
.ct-email:hover { color: var(--teal-deep); border-color: var(--teal-deep); }
.ct-email::after { content: '↗'; font-style: normal; font-size: .75rem; }

.ct-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 8px;
}
.ct-lbl {
  font-size: .55rem;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: .5;
  margin-bottom: 6px;
}
.ct-val {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--cream);
  border-top: 1px solid rgba(30,42,40,.08);
  padding: 52px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.foot-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.foot-links {
  display: flex;
  gap: 24px;
}

.foot-links a {
  font-size: .55rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: opacity .3s;
}

.foot-links a:hover {
  opacity: 0.6;
}

.foot-copy {
  font-size: .55rem;
  font-weight: 300;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mid);
  opacity: .35;
}

.foot-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
}

/* ═══════════════════════════════════════
   KEYFRAMES
═══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(48px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: min(320px, 40vw); }
}
@keyframes ringPulse {
  0%, 100% { opacity: .06; transform: scale(1); }
  50%       { opacity: .02; transform: scale(1.03); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollFill {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(200%); }
  100% { transform: translateY(200%); }
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   RESPONSIVE OVERHAUL
═══════════════════════════════════════ */
@media (max-width: 1080px) {
  nav { height: 110px; padding: 0 40px; }
  .nav-links { gap: 32px; }
  .hero-name { font-size: clamp(6rem, 18vw, 12rem); }
  .about-inner, .corridor-inner, .contact-inner { grid-template-columns: 1fr; gap: 80px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 60px; }
  .story { grid-template-columns: 1fr; }
  .story-visual { min-height: 50vh; }
}

@media (max-width: 768px) {
  nav { height: 80px; padding: 0 24px; }
  .nav-logo { font-size: 1.2rem; margin-left: -20px; }
  
  .hero-sm { min-height: 45vh; padding-top: 60px; }
  .hero-name { font-size: 3.5rem; text-align: center; }
  .hero-pre { font-size: 0.55rem; letter-spacing: 0.2em; margin-bottom: 20px; }
  .hero-underline { width: 40px; }

  /* Sections */
  .corridor, .about, .contact-page-inner, .verticals, .services-box, .story-text { padding: 60px 24px; }
  .corr-h2, .about-h2, .ct-h2, .story-h3 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 24px; }
  .corr-body, .story-p { font-size: 1rem; line-height: 1.7; }
  .about-body{ display: flex; justify-content: center; font-size: 1.5rem; line-height: 1.7;}
  
  .testimonials-grid { gap: 40px; }
  .testimonial .q-text { font-size: 1.2rem; line-height: 1.5; margin-bottom: 24px; }
  .testimonial .q-mark { transform: scale(0.7); transform-origin: left top; margin-bottom: 0px !important; }

  /* Grids */
  .services-head { grid-template-columns: 1fr; gap: 40px; }
  .svc-item { 
    grid-template-columns: 40px 1fr 30px; 
    gap: 15px; 
    align-items: center;
    border-bottom-color: rgba(30,42,40,0.1);
  }
  .svc-title { font-size: 1.1rem; line-height: 1.3; padding: 15px 0; }
  .svc-num { font-size: 0.7rem; font-family: var(--sans); letter-spacing: 0.1em; opacity: 0.4; }
  .svc-arr { font-size: 1rem; opacity: 0.3; }
  .svc-tag, .svc-ico { display: none; }
  .vert-grid { grid-template-columns: 1fr; gap: 30px; }
  .partner-logo-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }

  /* Footer */
  footer { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 32px; 
    padding: 60px 24px; 
  }
  .foot-right { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .foot-center {  }


  /* Hide Cursor on Mobile */
  #c-dot, #c-ring { display: none !important; }
  body { cursor: auto !important; }
  * { cursor: auto !important; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.8rem; }
  .corr-h2, .about-h2, .ct-h2, .story-h3 { font-size: 2.2rem; }
  .wa-btn-large { width: 100%; justify-content: center; }
  .submit-btn { width: 100%; }
}



@media (max-width: 768px) {
  .about-left,
  .about-stats {
    display: none;
  }
}