/*
Theme Name: Onesto New Design
Theme URI: https://onestoconsultancy.com
Author: Onesto Management Consultancy
Description: Custom WordPress theme for Onesto Management Consultancy. New design: consistent navy and amber pages, brand photography, and full English and Spanish versions.
Version: 2.1.8
License: All Rights Reserved
Text Domain: onesto
*/


/* ═══════════════════════════════════════
   BRAND TOKENS
   Recolored July 2026: navy/bg/amber palette.
   Variable NAMES are unchanged on purpose, only the hex values below
   were updated, so every other template that references these same
   var(--teal-deep) etc. tokens recolors automatically with no edits
   needed there. Old six-color family (teal/cream/rose) is now
   consolidated into navy + amber + bg, matching the new brand file.
═══════════════════════════════════════ */
:root {
  --teal:        #042C53;
  --teal-deep:   #FAC775;
  --teal-dark:   #042C53;
  --teal-light:  #A9C3D9;
  --teal-pale:   #D3E1EE;
  --teal-wash:   #F0F5FA;
  --cream:       #F0F5FA;
  --cream-warm:  #FFFFFF;
  --cream-mid:   #DCE4EE;
  --rose:        #FAC775;
  --rose-deep:   #F5B955;
  --rose-pale:   #FAC775;
  --ink:         #042C53;
  --ink2:        #042C53;
  --mid:         rgba(4, 44, 83, 0.72);
  --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;
  
}

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;
}



/* ═══════════════════════════════════════
   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;
  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(240, 245, 250, 0.1);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(240, 245, 250, 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);
  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: 1001;
}
.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, shown whenever a submenu column is open */
.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: 1001;
}
.nav-logo em{
	color: var(--rose);
}

/* Dims the page behind the drawer. Click to close. */
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 44, 83, 0.5);
  z-index: 495;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-in-out);
}
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* Left side flyout drawer. Columns sit side by side and extend the
   drawer to the right as deeper levels open on hover / tap. */
.nav-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 500;
  display: flex;
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-in-out);
  pointer-events: none;
}
body.nav-open .nav-drawer {
  transform: translateX(0);
  pointer-events: auto;
}

.nav-col {
  width: 0;
  height: 100%;
  overflow: hidden;
  background: var(--teal-dark);
  border-right: 1px solid rgba(240,245,250,.08);
  opacity: 0;
  flex-shrink: 0;
  transition: width 0.5s var(--ease-in-out), opacity 0.35s var(--ease-in-out);
}
.nav-col.is-open { width: 340px; opacity: 1; }

/* Slightly deeper shade per level so the cascade reads as depth.
   Adjust these two hex values freely, they are just steps off --teal-dark. */
.nav-col[data-level="1"] { background: #0A3A6B; }
.nav-col[data-level="2"] { background: #021931; }

.nav-col-inner {
  width: 340px;
  height: 100%;
  padding: 170px 44px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Belt and suspenders alongside the JS scroll lock: keeps the page
   behind the drawer from scrolling on browsers that respect this. */
body.nav-open { overflow: hidden; }

.nav-col-links { list-style: none; }
.nav-col-links li {
  margin: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.nav-col-links a {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 300;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: .75;
  transition: opacity .3s, transform .3s, color .3s;
  display: block;
}
.nav-col-links li:hover a,
.nav-col-links li.is-active-parent a {
  opacity: 1;
  color: var(--rose-pale);
  transform: translateX(4px);
}
.sub-arrow {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--cream);
  opacity: .4;
  transition: transform .3s, opacity .3s, color .3s;
  flex-shrink: 0;
}
.nav-col-links li:hover .sub-arrow,
.nav-col-links li.is-active-parent .sub-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--rose-pale);
}

.nav-cta-drawer {
  margin-top: 44px;
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--cream);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 14px 30px;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  opacity: .9;
  transition: background 0.3s, color 0.3s, opacity .3s;
}
.nav-cta-drawer:hover { background: var(--cream); color: var(--teal-dark); opacity: 1; }

/* ═══════════════════════════════════════
   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(240,245,250,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: #ffffff;
  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: #ffffff;
  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: #ffffff;
  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: .75; 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(240,245,250,.2);
  position: relative;
  overflow: hidden;
}
.hero-scroll-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #ffffff;
  animation: scrollFill 2s ease-in-out infinite;
}
.hero-scroll-txt {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #ffffff;
  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(240,245,250,.06);
  border-bottom: 1px solid rgba(240,245,250,.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(4,44,83,.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(4,44,83,.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(4,44,83,.3) 30%, rgba(4,44,83,.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(240,245,250,.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(240,245,250,.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(250,199,117,.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 15%, rgba(4,44,83,.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(240,245,250,.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(4,44,83,.7) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.vc-4::after { background: linear-gradient(to top, rgba(4,44,83,.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(240,245,250,.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(240,245,250,.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(250,199,117,.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(4,44,83,.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
═══════════════════════════════════════ */
@media (max-width: 1080px) {
  nav { height: 110px; padding: 0 40px; }
  .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; }

  /* Below desktop width the drawer stops cascading side by side and
     becomes a single full-width panel per level, matching main.js
     which only opens one column at a time under this breakpoint. */
  .nav-col.is-open { width: 100vw; }
  .nav-col-inner {
    width: 100vw;
    padding: 150px 36px 60px;
    /* Top-aligned, not centered: with justify-content: center, content
       taller than the viewport (the India / Europe columns, 7+ links)
       can overflow past the top edge and become unreachable by scroll
       in some mobile browsers. Top alignment plus overflow-y: auto
       keeps everything reachable regardless of list length. */
    justify-content: flex-start;
  }

  /* Real touch targets: the full row is clickable (JS listens on the
     li), so give it generous padding rather than relying on text size. */
  .nav-col-links li { margin: 4px 0; border-radius: 6px; }
  .nav-col-links a { padding: 13px 2px; }
  .nav-col-links li.has-sub { padding: 0 4px; }
  .nav-col-links li:active { background: rgba(240,245,250,.07); }
}

@media (max-width: 768px) {
  nav { height: 80px; padding: 0 24px; }
  .nav-logo { font-size: 1.2rem; margin-left: -20px; }
  .nav-col-inner { padding-top: 110px; }

  .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(4,44,83,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 {  }
}

@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;
  }
}



