/* Mysoreland Solutions. Design tokens first, then layout by page section. */

:root {
  --forest-950: #0B241B;
  --forest: #12372A;
  --forest-700: #1D4A38;
  --leaf: #2F6B3F;
  --leaf-light: #8CC29A;
  --gold: #C9962B;
  --gold-light: #E8C872;
  --gold-deep: #A87A1C;
  --gold-ink: #8A6414;
  --silk: #8E1B47;
  --silk-light: #F2A7C3;
  --cream: #FBF7EF;
  --sand: #F3EBDD;
  --paper: #FFFDF8;
  --ink: #17231D;
  --muted: #56645B;
  --line: rgba(18, 55, 42, 0.14);
  --line-light: rgba(251, 247, 239, 0.16);
  --wa: #15803D;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(11, 36, 27, 0.06), 0 12px 32px -12px rgba(11, 36, 27, 0.22);
  --header-h: 74px;
  --subnav-h: 34px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
address { font-style: normal; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  font-variation-settings: "SOFT" 60;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  color: inherit;
}
h2 { font-size: clamp(1.95rem, 3.6vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.icon.flip { transform: scaleX(-1); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--forest-950); padding: 10px 16px; border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1.5px; background: currentColor; vertical-align: middle; margin-right: 0.75rem; }
.eyebrow-light { color: var(--gold-light); }

.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.4rem; border-radius: var(--radius); border: 1.5px solid transparent; background-color: transparent;
  font: 600 0.98rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; color: inherit;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon:not(.flip) { transform: translateX(2px); }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.88rem; }
.btn-gold { background-color: var(--gold); color: var(--forest-950); }
.btn-gold:hover { background-color: var(--gold-light); }
.btn-forest { background-color: var(--forest); color: var(--cream); }
.btn-forest:hover { background-color: var(--forest-700); }
.btn-ghost-light { border-color: rgba(251, 247, 239, 0.45); color: var(--cream); }
.btn-ghost-light:hover { border-color: var(--cream); background-color: rgba(251, 247, 239, 0.08); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background-color: var(--forest); color: var(--cream); }
.btn-outline-light { border-color: rgba(251, 247, 239, 0.5); color: var(--cream); }
.btn-outline-light:hover { background-color: var(--cream); color: var(--forest); }
.btn-whatsapp { background-color: var(--wa); color: #fff; }
.btn-whatsapp:hover { background-color: #116932; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(18, 55, 42, 0.07); color: var(--forest); }
.chips-dark li { background: rgba(232, 200, 114, 0.12); color: var(--gold-light); border: 1px solid rgba(232, 200, 114, 0.25); }

.arch { border-radius: 999px 999px var(--radius) var(--radius); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBF7EF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.ticks-light li::before { background-color: var(--gold); }

.division-tag { font-size: 0.72rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silk) !important; margin-bottom: 0.3rem !important; }
.metrics-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin: 1.4rem 0 0.8rem; }
.metrics-dark { color: var(--gold-ink); }

/* Top bar */
.topbar { background: var(--forest-950); color: rgba(251, 247, 239, 0.82); font-size: 0.82rem; }
.topbar-inner { display: flex; align-items: center; gap: 1.75rem; min-height: 40px; flex-wrap: wrap; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }
.topbar-label { color: var(--gold-light); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.topbar .sep { opacity: 0.5; }
.topbar-loc { margin-left: auto !important; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11, 36, 27, 0.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.2rem; }
.brand img { height: 54px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 0.1rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 550; font-size: 0.95rem; color: var(--forest); padding: 0.5rem 0.7rem; border-radius: var(--radius); position: relative; white-space: nowrap; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.25rem; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.6rem; padding: 0.7rem 1.1rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; color: var(--forest); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

/* Hero */
.hero { position: relative; color: var(--cream); background: var(--forest-950); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 36, 27, 0.95) 0%, rgba(11, 36, 27, 0.86) 45%, rgba(11, 36, 27, 0.6) 75%, rgba(11, 36, 27, 0.55) 100%),
    linear-gradient(0deg, #07170F 0%, rgba(7, 23, 15, 0.94) 22%, rgba(11, 36, 27, 0) 55%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 72px);
  grid-template-areas: "eyebrow eyebrow" "title title" "lead divisions" "actions divisions";
  grid-template-rows: auto auto auto 1fr;
  align-items: start; padding-block: clamp(14px, 2.4vw, 34px) 0;
}
.hero-copy { display: contents; }
.hero .eyebrow { grid-area: eyebrow; }
.hero h1 {
  grid-area: title; font-size: clamp(2.1rem, 4.35vw, 4.15rem); line-height: 1.04; letter-spacing: -0.025em;
  margin-bottom: clamp(1rem, 2vw, 1.6rem); font-weight: 540; text-wrap: balance;
}
.hero h1 > span { display: block; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 500; }
.hero-lead { grid-area: lead; font-size: clamp(1.02rem, 1.35vw, 1.2rem); color: rgba(251, 247, 239, 0.86); max-width: 34em; margin-bottom: 1.15rem; }
.hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 0.15rem; }
.hero-divisions { grid-area: divisions; display: grid; gap: 0.9rem; }

.division-card {
  display: grid; grid-template-columns: 104px 1fr; gap: 1rem; align-items: center;
  background: rgba(251, 247, 239, 0.97); color: var(--ink); text-decoration: none;
  border-radius: var(--radius-lg); padding: 0.8rem; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.division-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7); }
.division-card img { width: 100%; height: 100%; min-height: 108px; object-fit: cover; object-position: center 30%; border-radius: 999px 999px 8px 8px; }
.division-card h2 { font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--forest); }
.division-items { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.3rem; line-height: 1.45; }
.division-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; font-weight: 650; font-size: 0.92rem; color: var(--forest); }
.division-link .icon { transition: transform 0.2s var(--ease); }
.division-card:hover .division-link .icon { transform: translateX(3px); }
.division-secondary { grid-template-columns: 1fr; background: rgba(251, 247, 239, 0.1); color: var(--cream); border: 1px solid rgba(232, 200, 114, 0.35); box-shadow: none; padding: 1rem 1.2rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.division-secondary h2 { color: var(--cream); font-size: 1.2rem; }
.division-secondary .division-tag { color: var(--gold-light) !important; }
.division-secondary .division-items { color: rgba(251, 247, 239, 0.8); }
.division-secondary .division-link { color: var(--gold-light); }

.skyline { position: relative; margin: -16px 0 0; }
.skyline canvas { display: block; width: 100%; touch-action: pan-y; }

.ticker { position: relative; border-top: 1px solid var(--line-light); background: #07170F; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 56s linear infinite; }
.ticker span {
  display: inline-flex; align-items: center; gap: 1.6rem; padding: 0.85rem 0 0.85rem 1.6rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.02rem; color: rgba(251, 247, 239, 0.8); white-space: nowrap;
}
.ticker span::after {
  content: ""; width: 10px; height: 12px; background: var(--gold);
  -webkit-mask: url("../img/grain.svg") center / contain no-repeat; mask: url("../img/grain.svg") center / contain no-repeat;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hero load sequence */
.load-in { animation: rise 0.9s var(--ease) both; }
.hero .eyebrow.load-in { animation-delay: 0.05s; }
.hero h1.load-in { animation-delay: 0.15s; }
.hero-lead.load-in { animation-delay: 0.28s; }
.hero-actions.load-in { animation-delay: 0.4s; }
.hero-divisions .load-in:nth-child(1) { animation-delay: 0.45s; }
.hero-divisions .load-in:nth-child(2) { animation-delay: 0.58s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (enabled by JS adding .js to <html>) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Sections */
.section { position: relative; padding-block: var(--section-y); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { margin: 1rem 0 0; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.split-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head h2 { margin-bottom: 0; }
.split-head .lead { margin: 0; }
.sub-title { font-size: clamp(1.45rem, 2.4vw, 2rem); margin-bottom: 1.5rem; }

/* Mysore silk zari border: gold temple-border motif with a slow shimmer */
.zari {
  position: absolute; top: 0; left: 0; right: 0; height: 18px; pointer-events: none;
  background: linear-gradient(90deg, #8A6414 0%, #E8C872 22%, #C9962B 42%, #FFF3C4 50%, #C9962B 58%, #E8C872 78%, #8A6414 100%);
  background-size: 200% 100%;
  -webkit-mask: url("../img/zari.svg") repeat-x left center / auto 100%;
  mask: url("../img/zari.svg") repeat-x left center / auto 100%;
  animation: zari-shimmer 9s linear infinite;
}
@keyframes zari-shimmer { to { background-position: -200% 0; } }

/* Mysore painting gilt frame: gold arch outlines that draw in on reveal */
.gilt { position: relative; }
.gilt::before, .gilt::after { content: ""; position: absolute; pointer-events: none; border-radius: 999px 999px 12px 12px; }
.gilt::after { inset: -12px; border: 1.5px solid var(--gold); }
.gilt::before { inset: -5px; border: 1px solid rgba(201, 150, 43, 0.5); }
.js .gilt::after { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--ease) 0.25s; }
.js .gilt::before { clip-path: inset(100% 0 0 0); transition: clip-path 1.8s var(--ease) 0.45s; }
.js .is-visible .gilt::before, .js .is-visible .gilt::after { clip-path: inset(0 0 0 0); }

/* Capabilities strip */
.capabilities { background: var(--paper); border-bottom: 1px solid var(--line); }
.capability-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.capability { display: flex; gap: 0.9rem; padding: clamp(22px, 3vw, 34px) clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--line); }
.capability:first-child { border-left: 0; padding-left: 0; }
.capability .icon { width: 28px; height: 28px; color: var(--gold-deep); margin-top: 2px; }
.capability h2 { font-size: 1.15rem; color: var(--forest); margin-bottom: 0.25rem; }
.capability p { margin: 0; font-size: 0.92rem; color: var(--muted); line-height: 1.5; }

/* Services */
.service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.service { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(201, 150, 43, 0.5); }
.service .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--forest); color: var(--gold-light); margin-bottom: 1rem; }
.service h3 { font-size: 1.15rem; color: var(--forest); margin-bottom: 0.4rem; }
.service p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* Industries */
.industries { background-color: var(--forest); color: var(--cream); background-image: radial-gradient(ellipse at 90% 0%, rgba(47, 107, 63, 0.55), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(201, 150, 43, 0.12), transparent 45%); }
.industries .lead { color: rgba(251, 247, 239, 0.82); }
.industry-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.industry { border: 1px solid var(--line-light); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; background: rgba(251, 247, 239, 0.04); }
.industry > .icon { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: 1rem; }
.industry h3 { font-size: 1.25rem; }
.industry .ticks { font-size: 0.93rem; color: rgba(251, 247, 239, 0.82); gap: 0.5rem; }

/* Journeys (program launch + export order) */
.journey { --stop: 60px; --elephant-w: 150px; --lift: 142px; }
.journey-track { position: relative; padding-top: var(--lift); }
.journey-rail {
  position: absolute; top: calc(var(--lift) + var(--stop) / 2 - 1px); left: var(--rail-left, 8%); width: var(--rail-width, 84%); height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px);
}
.journey-fill { position: absolute; top: 0; left: 0 !important; height: 3px; margin-top: -0.5px; width: 0; background: var(--gold); border-radius: 2px; transition: width 1.1s cubic-bezier(0.45, 0.05, 0.35, 1); }
.journey-elephant {
  position: absolute; top: 0; left: 0; width: var(--elephant-w); margin-left: calc(var(--elephant-w) / -2);
  transition: transform 1.1s cubic-bezier(0.45, 0.05, 0.35, 1); will-change: transform; pointer-events: none;
}
.journey-elephant svg { display: block; width: 100%; height: auto; overflow: visible; transition: transform 0.3s; }
.journey-elephant.is-facing-left svg { transform: scaleX(-1); }
.journey-elephant .leg { transform-box: fill-box; transform-origin: 50% 0; }
.journey-elephant.is-walking svg { animation: bob 0.32s ease-in-out infinite alternate; }
.journey-elephant.is-walking .leg-a { animation: swing 0.32s ease-in-out infinite alternate; }
.journey-elephant.is-walking .leg-b { animation: swing 0.32s ease-in-out infinite alternate-reverse; }
.journey-elephant.is-facing-left.is-walking svg { animation-name: bob-flipped; }
@keyframes swing { from { transform: rotate(-11deg); } to { transform: rotate(11deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes bob-flipped { from { transform: scaleX(-1) translateY(0); } to { transform: scaleX(-1) translateY(-2.5px); } }

.journey-stops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.journey-stops button {
  width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; padding: 0 0.3rem 0.4rem;
  background: none; border: 0; cursor: pointer; font: inherit; color: var(--muted); text-align: center; border-radius: var(--radius);
}
.stop-icon {
  width: var(--stop); height: var(--stop); border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); border: 2px dashed rgba(201, 150, 43, 0.7); color: var(--gold-deep);
  transition: background-color 0.4s, border-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.3s var(--ease);
}
.stop-icon .icon { width: 24px; height: 24px; }
.journey-stops button:hover .stop-icon { transform: translateY(-2px); }
.is-done .stop-icon { background: var(--forest); border: 2px solid var(--forest); color: var(--gold-light); }
.is-active .stop-icon { background: var(--gold); border: 2px solid var(--gold); color: var(--forest-950); box-shadow: 0 0 0 6px rgba(201, 150, 43, 0.22); }
.stop-label { display: grid; gap: 0.15rem; font-size: 0.95rem; line-height: 1.3; }
.stop-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-ink); }
.stop-name { font-family: var(--font-display); font-weight: 560; color: var(--forest); font-size: 1.05rem; }
.is-active .stop-name { color: var(--silk); }

.journey-panels { margin-top: clamp(28px, 4vw, 44px); }
.journey-panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 3vw, 44px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 2vw, 22px);
  box-shadow: var(--shadow);
}
.journey.is-ready .journey-panel:not([hidden]) { animation: panel-in 0.55s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.journey-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 10px; }
.panel-body { padding-right: clamp(0px, 2vw, 20px); }
.panel-step { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.4rem; }
.panel-body h3 { color: var(--forest); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.panel-body > p { color: var(--muted); }
.panel-body .ticks { margin-bottom: 1.2rem; font-size: 0.97rem; }
.panel-receive { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0; padding: 0.8rem 1rem; background: var(--sand); border-radius: var(--radius); font-size: 0.95rem; }
.panel-receive .icon { color: var(--silk); margin-top: 3px; }
.journey-controls { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1.4rem; }
.journey-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--forest); background: transparent; color: var(--forest); cursor: pointer; display: grid; place-items: center; transition: background-color 0.2s, color 0.2s; }
.journey-btn:hover:not(:disabled) { background: var(--forest); color: var(--cream); }
.journey-btn:disabled { opacity: 0.35; cursor: default; }

/* Why partner */
.partner { background-color: var(--forest-950); color: var(--cream); background-image: radial-gradient(ellipse at 100% 0%, rgba(47, 107, 63, 0.45), transparent 50%); }
.partner .lead { color: rgba(251, 247, 239, 0.82); }
.partner-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; margin-bottom: clamp(48px, 7vw, 88px); }
.run-list { list-style: none; padding: 0; margin: 2rem 0 0.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.run-list li { display: flex; gap: 0.9rem; }
.run-list .icon { width: 24px; height: 24px; color: var(--gold-light); margin-top: 3px; }
.run-list h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.run-list p { margin: 0; font-size: 0.93rem; color: rgba(251, 247, 239, 0.75); }
.partner-side { display: grid; gap: 1.5rem; }
.bpo-media { position: relative; padding-bottom: 16%; }
.bpo-main { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.bpo-inset { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 25%; border: 6px solid var(--forest-950); }
.why-mysuru { background: rgba(251, 247, 239, 0.05); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem 1.5rem; }
.why-mysuru .ticks { font-size: 0.94rem; color: rgba(251, 247, 239, 0.82); }
.why-mysuru strong { color: var(--cream); }
.models { list-style: none; padding: 0.8rem 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.model { position: relative; padding: 1.7rem 1.6rem; border: 1px solid var(--line-light); border-radius: var(--radius-lg); }
.model:first-child { border-color: rgba(232, 200, 114, 0.55); background: rgba(232, 200, 114, 0.07); }
.model-tag { position: absolute; top: -0.75rem; left: 1.4rem; background: var(--gold); color: var(--forest-950); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.65rem; border-radius: 999px; }
.model h4 { font-size: 1.3rem; }
.model p { margin: 0; color: rgba(251, 247, 239, 0.78); font-size: 0.97rem; }

.cta-band {
  margin-top: clamp(28px, 4vw, 44px); padding: clamp(24px, 4vw, 44px);
  background-color: var(--forest); color: var(--cream); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap;
  background-image: radial-gradient(circle at 100% 0%, rgba(201, 150, 43, 0.22), transparent 55%);
}
.cta-band h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-bottom: 0.3rem; }
.cta-band p { margin: 0; color: rgba(251, 247, 239, 0.78); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.cta-gold { background-color: var(--gold-light); color: var(--forest-950); background-image: radial-gradient(circle at 100% 0%, rgba(255, 243, 196, 0.8), transparent 55%); }
.cta-gold p { color: var(--forest); }

/* Careers */
.careers { background: var(--sand); }
.careers-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.careers-media { padding: 12px; max-width: 400px; }
.careers-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }
.careers-copy h2 { margin-bottom: 1rem; }
.careers-copy .chips { margin-bottom: 1.4rem; }
.careers-copy .chips li { background: var(--paper); border: 1px solid var(--line); }
.careers-points { margin-bottom: 1.8rem; font-size: 0.98rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 12px 12% 12% 12px; }
.about-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 70%; box-shadow: var(--shadow); }
.about-inset { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--cream); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; left: -8px; top: 16%;
  background: var(--gold); color: var(--forest-950); padding: 0.9rem 1.2rem; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1; box-shadow: var(--shadow);
}
.about-badge span { display: block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.35rem; }
.about-copy h2 { margin-bottom: 1.2rem; }
.about-copy strong { color: var(--forest); }
.roots { display: flex; gap: 0.7rem; padding: 1rem 1.1rem; background: var(--sand); border-left: 3px solid var(--silk); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.97rem; }
.roots .icon { color: var(--silk); margin-top: 3px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem; }
.mv { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.mv h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 0.5rem; color: var(--forest); }
.mv h3 .icon { color: var(--gold-deep); }
.mv p { margin: 0; font-size: 0.96rem; color: var(--muted); }
.principles { margin-top: var(--section-y); }
.principle-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color 0.3s; }
.principle:hover { background: var(--paper); }
.principle .num { display: block; font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--gold-deep); line-height: 1; margin-bottom: 1rem; }
.principle h3 { color: var(--forest); }
.principle p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Agri exports */
.exports { background: var(--paper); }
.product-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.product { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.product:hover img { transform: scale(1.04); }
.product-body { padding: 1.2rem 1.35rem 1.4rem; }
.product h3 { color: var(--forest); margin-bottom: 0.4rem; font-size: 1.3rem; }
.product p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.product-note { display: flex; align-items: center; gap: 0.6rem; justify-content: center; margin: clamp(24px, 4vw, 40px) 0 0; color: var(--muted); text-align: center; flex-wrap: wrap; }
.product-note .icon { color: var(--gold-deep); }
.product-note a { color: var(--forest); font-weight: 650; }
.policy-note { margin: 1.2rem auto 0; max-width: 60em; text-align: center; font-size: 0.85rem; color: var(--muted); }

.reasons-block { margin-top: clamp(56px, 7vw, 96px); }
.reasons-head { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(24px, 3vw, 36px); }
.reasons-head .gilt { flex: 0 0 110px; margin: 12px; }
.reasons-head img { width: 110px; aspect-ratio: 4 / 5; object-fit: cover; }
.reasons-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); color: var(--forest); margin: 0; }
.reasons-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); }
.reasons-grid li { display: grid; grid-template-columns: 56px 1fr; gap: 0.8rem; padding: 1.3rem 0; border-top: 1px solid var(--line); }
.reasons-grid .num { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold-deep); font-weight: 450; }
.reasons-grid h4 { color: var(--forest); margin-bottom: 0.3rem; font-size: 1.15rem; }
.reasons-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.export-journey-head { margin-top: clamp(56px, 7vw, 96px); margin-bottom: clamp(8px, 1vw, 16px); }
.journey-exports .stop-icon { background: var(--paper); }

.import-note { display: flex; gap: 1rem; align-items: flex-start; margin-top: clamp(32px, 4vw, 48px); padding: 1.2rem 1.4rem; border: 1px dashed rgba(201, 150, 43, 0.6); border-radius: var(--radius); background: var(--cream); }
.import-note .icon { width: 26px; height: 26px; color: var(--gold-deep); margin-top: 2px; }
.import-note p { margin: 0; color: var(--muted); }
.import-note strong { color: var(--forest); }

/* Rooted in Mysuru: impact band + Dasara palace illumination */
.impact { position: relative; color: var(--cream); padding-top: var(--section-y); overflow: hidden; background-color: #06140E; background-image: linear-gradient(180deg, var(--forest-950) 0%, #06140E 100%); }
.impact h2 { max-width: 900px; font-size: clamp(1.8rem, 3.6vw, 3.1rem); font-style: italic; font-weight: 480; margin-bottom: clamp(36px, 5vw, 64px); }
.impact-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.impact-list li { border-top: 1px solid rgba(232, 200, 114, 0.4); padding-top: 1.4rem; }
.impact-list .icon { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: 1rem; }
.impact-list h3 { font-size: 1.3rem; }
.impact-list p { color: rgba(251, 247, 239, 0.8); margin: 0; }
.palace { position: relative; margin: clamp(40px, 6vw, 80px) 0 0; }
.palace::before {
  content: ""; position: absolute; left: 50%; bottom: 40px; width: min(1300px, 110%); height: 90%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242, 170, 60, 0.26), rgba(242, 170, 60, 0.08) 60%, transparent);
  opacity: 0; transition: opacity 2.4s var(--ease); pointer-events: none;
}
.palace.is-lit::before { opacity: 1; }
.palace canvas { position: relative; display: block; width: 100%; max-width: 1400px; margin-inline: auto; touch-action: pan-y; cursor: crosshair; }
.palace-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.3rem calc(1.8rem + env(safe-area-inset-bottom, 0px)); color: rgba(251, 247, 239, 0.72); font-size: 0.93rem; }
.palace-caption p { margin: 0; }
.palace-hint { color: var(--gold-light); }
.hint-touch { display: none; }
@media (hover: none) { .hint-pointer { display: none; } .hint-touch { display: inline; } }
.palace.is-lit [data-palace-toggle] .icon { color: var(--gold-light); filter: drop-shadow(0 0 6px rgba(255, 214, 120, 0.8)); }

/* More business lines */
.more { background: var(--cream); }
.more-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.more-card { border: 1px solid var(--line); border-top: 3px solid var(--silk); border-radius: var(--radius); padding: 1.4rem 1.3rem; background: var(--paper); }
.more-card .icon { width: 26px; height: 26px; color: var(--silk); margin-bottom: 0.9rem; }
.more-card h3 { font-size: 1.2rem; color: var(--forest); }
.more-card p { margin: 0; font-size: 0.94rem; color: var(--muted); }

/* Contact */
.contact { background: var(--sand); }
.desk-switch { display: none; }
.desk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: stretch; }
.desk { border-radius: var(--radius-lg); padding: clamp(22px, 3.2vw, 40px); display: flex; flex-direction: column; gap: 1.4rem; }
.desk-exports { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.desk-bpo { background: var(--forest); color: var(--cream); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.desk-bpo .division-tag { color: var(--silk-light) !important; }
.desk-head h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-bottom: 0.9rem; }
.desk-exports h3 { color: var(--forest); }
.desk-lines { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-weight: 600; font-size: 0.97rem; }
.desk-lines li { display: flex; align-items: center; gap: 0.45rem; }
.desk-lines a { text-decoration: none; }
.desk-lines a:hover { text-decoration: underline; }
.desk-lines .icon { color: var(--gold-deep); }
.desk-bpo .desk-lines .icon { color: var(--gold-light); }
.enquiry { display: grid; gap: 0.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.enquiry label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
.enquiry label.check { display: flex; align-items: center; gap: 0.6rem; font-weight: 550; font-size: 0.93rem; cursor: pointer; }
.enquiry label.check input { width: 20px; height: 20px; accent-color: var(--forest); padding: 0; }
.enquiry input, .enquiry select, .enquiry textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  padding: 0.75rem 0.85rem; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.enquiry textarea { resize: vertical; min-height: 88px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 150, 43, 0.3); }
.enquiry [aria-invalid="true"] { border-color: #C0392B; }
.desk-bpo .enquiry input, .desk-bpo .enquiry select, .desk-bpo .enquiry textarea { background: rgba(251, 247, 239, 0.97); border-color: transparent; }
.form-error { margin: 0; color: #B03A2E; font-weight: 600; font-size: 0.92rem; }
.desk-bpo .form-error { color: #FFB4A8; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.3rem; }
.form-actions .btn { flex: 1 1 180px; }
.form-status { display: grid; gap: 0.7rem; justify-items: start; padding: 1rem 1.1rem; border-radius: var(--radius); background: rgba(47, 107, 63, 0.1); border: 1px solid rgba(47, 107, 63, 0.3); font-size: 0.93rem; }
.form-status p { margin: 0; }
.desk-bpo .form-status { background: rgba(251, 247, 239, 0.08); border-color: var(--line-light); }
.office { display: flex; align-items: flex-start; justify-content: center; gap: 0.5rem; margin: clamp(24px, 4vw, 40px) auto 0; max-width: 56em; color: var(--muted); font-size: 0.95rem; text-align: center; }
.office .icon { color: var(--gold-deep); margin-top: 3px; }
.office strong { color: var(--forest); }

/* Footer */
.site-footer { position: relative; background: var(--forest-950); color: rgba(251, 247, 239, 0.78); padding-top: clamp(56px, 7vw, 88px); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 30em; }
.footer-address { font-size: 0.88rem; color: rgba(251, 247, 239, 0.6); }
.site-footer h3 { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.footer-nav, .footer-desk { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line-light); padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); font-size: 0.85rem; }
.footer-base p { margin: 0; }

/* WhatsApp floating chooser */
.wa-fab { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem; transition: transform 0.35s var(--ease), opacity 0.35s; }
.wa-fab.is-tucked { transform: translateY(120%); opacity: 0; pointer-events: none; }
.wa-button { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45); transition: transform 0.2s var(--ease); }
.wa-button:hover { transform: scale(1.06); }
.wa-button .icon { width: 30px; height: 30px; }
.wa-menu { background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4); padding: 0.9rem; min-width: 260px; }
.wa-menu p { margin: 0 0 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-inline: 0.4rem; }
.wa-menu a { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.6rem; border-radius: var(--radius); text-decoration: none; font-weight: 600; color: var(--forest); }
.wa-menu a:hover { background: var(--sand); }
.wa-menu .icon { color: var(--gold-deep); }

/* Short laptop screens: keep the lit skyline in view on the first screen */
@media (min-width: 1101px) and (max-height: 820px) {
  .hero-grid { padding-top: 12px; }
  .hero h1 { font-size: clamp(2.1rem, 3.7vw, 3.5rem); margin-bottom: 0.9rem; }
  .hero-lead { margin-bottom: 1.2rem; }
  .division-card img { min-height: 96px; }
  .skyline { margin-top: -28px; }
}

/* Responsive */
@media (max-width: 1180px) {
  .site-nav a:not(.btn) { padding-inline: 0.5rem; font-size: 0.92rem; }
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "lead" "divisions" "actions"; grid-template-rows: none; }
  .hero-divisions { grid-template-columns: 1.2fr 1fr; margin-bottom: 1.4rem; }
  .capability-grid, .service-grid, .industry-grid, .more-grid { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1060px) {
  .topbar-loc { display: none !important; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 0.8rem var(--gutter) 1.2rem;
    box-shadow: 0 20px 30px -20px rgba(11, 36, 27, 0.4);
    display: none;
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 0.8rem 0 0; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .icon-open { display: none; }
  .site-header.nav-open .icon-close { display: block; }
}

@media (max-width: 960px) {
  .about-grid, .partner-intro, .split-head, .desk-grid, .careers-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .careers-media { max-width: 320px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-list { grid-template-columns: 1fr; }
  .models { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .reasons-grid { grid-template-columns: 1fr; }
  .journey-panel { grid-template-columns: 1fr; }
  .journey-panel img { aspect-ratio: 16 / 9; }
  .stop-name { font-size: 0.9rem; }

  .desk-switch { display: flex; gap: 0.4rem; padding: 0.35rem; margin: 0 auto 1rem; max-width: 460px; background: var(--paper); border-radius: 999px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; box-shadow: var(--shadow); }
  .desk-switch button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.7rem 0.8rem; border: 0; border-radius: 999px; background: transparent; font: 650 0.92rem/1.2 var(--font-body); color: var(--forest); cursor: pointer; }
  .desk-switch button[aria-selected="true"] { background: var(--forest); color: var(--cream); }
  .desk-grid[data-active="exports"] #contact-bpo, .desk-grid[data-active="bpo"] #contact-exports { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .topbar-inner { justify-content: space-between; gap: 0.3rem 1rem; padding-block: 0.4rem; }
  .topbar-desk a[href^="mailto"], .topbar-desk .sep { display: none; }
  .brand img { height: 44px; }

  .hero-grid { padding-top: 8px; }
  .hero .eyebrow { font-size: 0.7rem; margin-bottom: 0.7rem; }
  .hero .eyebrow .dot { display: none; }
  .hero .eyebrow .eyebrow-2 { display: block; }
  .hero h1 { font-size: 2.05rem; margin-bottom: 0.9rem; }
  .hero h1 > span { display: inline; }
  .hero-lead { margin-bottom: 1rem; }
  .lead-extra { display: none; }
  .hero-divisions { grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 1rem; }
  .division-card { grid-template-columns: 1fr; padding: 0.8rem 0.9rem; gap: 0; align-items: start; }
  .division-card img { display: none; }
  .division-card h2 { font-size: 1.05rem; line-height: 1.2; }
  .division-items { font-size: 0.8rem; margin: 0.2rem 0 0; }
  .division-link { font-size: 0.82rem; margin-top: 0.4rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .hero-actions .btn { padding: 0.8rem 0.6rem; font-size: 0.92rem; }
  .skyline { margin-top: 4px; }

  .capability-grid { grid-template-columns: 1fr; }
  .capability, .capability:nth-child(3) { border-left: 0; padding: 1rem 0; border-top: 1px solid var(--line); }
  .capability:first-child { border-top: 0; }
  .about-media { padding-right: 16%; }
  .mv-grid { grid-template-columns: 1fr; }
  .roots { font-size: 0.93rem; }
  .reasons-head .gilt { flex-basis: 76px; }
  .reasons-head img { width: 76px; }

  /* Swipeable rows keep the long page short on phones */
  .carousel {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding: 0.8rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; border: 0 !important; background: none !important; border-radius: 0 !important;
  }
  .carousel::-webkit-scrollbar { display: none; }
  .carousel > * { flex: 0 0 82%; scroll-snap-align: start; }
  .principle-grid > .principle { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }

  .journey { --stop: 44px; --elephant-w: 92px; --lift: 88px; }
  .stop-icon .icon { width: 20px; height: 20px; }
  .stop-name { display: none; }
  .journey-stops button { gap: 0.4rem; padding-inline: 0; }

  .run-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-badge { left: 0; }
  .wa-button { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track, .zari { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Multi-page additions: home doors, signature stories, range, single-desk contact ===== */

.division-items { text-wrap: balance; }
.reasons-grid h3 { color: var(--forest); margin-bottom: 0.3rem; font-size: 1.15rem; }

/* Home hero: company story and two doors */
.hero-home .hero-grid { grid-template-columns: 1fr; grid-template-areas: "eyebrow" "title" "lead" "doors"; grid-template-rows: none; padding-bottom: 8px; }
.hero-home .hero-lead { max-width: 46em; margin-bottom: 1.4rem; }
.doors { grid-area: doors; display: grid; grid-template-columns: 1.08fr 1fr; gap: 1rem; }
.door {
  display: grid; grid-template-columns: 118px 1fr; gap: 1.1rem; align-items: center; padding: 0.9rem;
  border-radius: var(--radius-lg); text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s, background-color 0.3s;
}
.door:hover { transform: translateY(-3px); }
.door img { width: 100%; height: 100%; min-height: 168px; object-fit: cover; object-position: center 30%; border-radius: 999px 999px 8px 8px; }
.door h2 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin-bottom: 0.3rem; }
.door-text { font-size: 0.93rem; line-height: 1.5; margin-bottom: 0.35rem; }
.door .division-items { margin-bottom: 0.8rem; }
.door-cta { pointer-events: none; }
.door-primary { background: rgba(251, 247, 239, 0.97); color: var(--ink); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); }
.door-primary h2 { color: var(--forest); }
.door-primary .door-text { color: var(--muted); }
.door-primary:hover { box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7); }
.door-secondary { background: rgba(251, 247, 239, 0.1); color: var(--cream); border: 1px solid rgba(232, 200, 114, 0.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.door-secondary:hover { background: rgba(251, 247, 239, 0.16); }
.door-secondary .division-tag { color: var(--gold-light) !important; }
.door-secondary .door-text, .door-secondary .division-items { color: rgba(251, 247, 239, 0.84); }

/* Signature product stories (exports) */
.signature { background: var(--paper); }
.story { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 7vw, 96px); }
.story-flip .story-media { order: 2; }
.story-media { position: relative; padding-bottom: 8%; }
.story-main { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.story-flip .story-main { margin-left: auto; }
.story-inset { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--paper); box-shadow: var(--shadow); }
.kn { font-family: "Noto Serif Kannada", "Kannada Sangam MN", "Tunga", "Noto Sans Kannada", serif; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; color: var(--gold-deep); line-height: 1.15; margin: 0 0 0.3rem; }
.story-kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silk); margin-bottom: 0.7rem; }
.story-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--forest); margin-bottom: 0.8rem; }
.story-body > p { color: var(--muted); }
.supply-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink) !important; margin: 1.3rem 0 0.7rem; }
.demand { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.5rem 0 0; padding: 1rem 1.15rem; background: var(--forest); color: rgba(251, 247, 239, 0.9) !important; border-radius: var(--radius); font-size: 0.95rem; }
.demand .icon { color: var(--gold-light); margin-top: 3px; }
.demand strong { color: var(--gold-light); }
.formats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.formats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-align: center; font-weight: 650; font-size: 0.88rem; color: var(--forest); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.formats li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.formats img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.formats span { display: block; padding: 0.65rem 0.4rem; }

/* Product range (exports) */
.range { background: var(--cream); }
.range-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.range .product { background: var(--paper); }
.range .product img { aspect-ratio: 4 / 3; }
.range .product h3 { font-size: 1.15rem; }
.range .product p { font-size: 0.9rem; }

/* Exports reasons */
.exports-why { background: var(--sand); }
.impact-strip { list-style: none; padding: 0; margin: clamp(28px, 4vw, 44px) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.impact-strip li { display: flex; gap: 0.8rem; padding: 1.1rem 1.25rem; background: var(--forest); color: rgba(251, 247, 239, 0.86); border-radius: var(--radius-lg); font-size: 0.95rem; }
.impact-strip .icon { color: var(--gold-light); width: 26px; height: 26px; }
.impact-strip strong { color: var(--cream); }

/* Single-desk contact (business pages) */
.contact-single { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-intro h2 { margin-bottom: 1rem; }
.desk-lines-stack { flex-direction: column; gap: 0.6rem; margin: 1.4rem 0; }
.contact-intro .desk-lines .icon { color: var(--gold-deep); }
.next-title { font-size: 1.15rem; color: var(--forest); margin: 1.6rem 0 0.7rem; }
.next-steps { padding-left: 1.2rem; margin: 0 0 1.6rem; color: var(--muted); display: grid; gap: 0.45rem; }
.next-steps li::marker { color: var(--gold-deep); font-weight: 700; }
.office-block { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--muted); padding-top: 1.2rem; border-top: 1px solid var(--line); }
.office-block .icon { color: var(--gold-deep); margin-top: 3px; }
.office-block strong { color: var(--forest); }
.privacy-note { display: flex; gap: 0.5rem; align-items: center; margin: 0.2rem 0 0; font-size: 0.82rem; }
.desk-bpo .privacy-note { color: rgba(251, 247, 239, 0.8); }
.desk-exports .privacy-note { color: var(--muted); }

/* Home contact cards */
.desk-cards { display: grid; grid-template-columns: 1.1fr 1.1fr 0.9fr; gap: 1rem; align-items: stretch; }
.desk-card { padding: 1.6rem 1.5rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; align-items: flex-start; }
.desk-card > .icon { width: 30px; height: 30px; margin-bottom: 0.9rem; }
.desk-card h3 { font-size: 1.4rem; margin-bottom: 0.2rem; }
.desk-card .desk-lines-stack { margin: 0.9rem 0 1.3rem; }
.desk-card .btn { margin-top: auto; }
.desk-card-bpo { background: var(--forest); color: var(--cream); box-shadow: var(--shadow); }
.desk-card-bpo > .icon, .desk-card-bpo .desk-lines .icon { color: var(--gold-light); }
.desk-card-bpo .division-tag { color: var(--silk-light) !important; }
.desk-card-exports { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.desk-card-exports h3 { color: var(--forest); }
.desk-card-exports > .icon, .desk-card-exports .desk-lines .icon, .desk-card-general > .icon, .desk-card-general .desk-lines .icon { color: var(--gold-deep); }
.desk-card-general { border: 1.5px dashed rgba(18, 55, 42, 0.25); }
.desk-card-general h3 { color: var(--forest); }
.about-copy a { color: inherit; }

@media (min-width: 1101px) and (max-height: 820px) {
  .door img { min-height: 128px; }
  .hero-home .hero-lead { margin-bottom: 1rem; }
}

@media (max-width: 1100px) {
  .desk-cards { grid-template-columns: 1fr 1fr; }
  .desk-card-general { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .story, .contact-single { grid-template-columns: 1fr; }
  .story-flip .story-media { order: 0; }
  .story-media { max-width: 460px; }
  .impact-strip { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .doors { grid-template-columns: 1fr; gap: 0.6rem; }
  .door { grid-template-columns: 1fr; padding: 0.85rem 1rem; }
  .door img, .door-text { display: none; }
  .door h2 { font-size: 1.15rem; margin-bottom: 0.15rem; }
  .door .division-items { font-size: 0.8rem; margin-bottom: 0.55rem; }
  .door-cta { padding: 0.45rem 0.8rem; font-size: 0.8rem; }
  .formats { gap: 0.5rem; }
  .formats span { font-size: 0.78rem; }
  .desk-cards { grid-template-columns: 1fr; }
  .kn { font-size: 2.6rem; }
}

.chips-spaced { margin-top: 0.9rem; }

/* Phones: keep the lit skyline in view under the hero */
@media (max-width: 720px) {
  .hero-grid { padding-top: 8px; }
  .hero .eyebrow { margin-bottom: 0.5rem; }
  .hero h1 { font-size: 1.9rem; margin-bottom: 0.7rem; }
  .hero-lead { font-size: 0.98rem; margin-bottom: 0.85rem; }
  .skyline { margin-top: -18px; }
}

.product-wide { grid-column: span 2; display: grid; grid-template-rows: auto 1fr; }
.product-wide .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; overflow: hidden; }
.range .product-wide .duo img { aspect-ratio: 4 / 3; }
@media (max-width: 960px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); }
}
.product-wide .trio { grid-template-columns: repeat(3, 1fr); }

/* Round 4: product thumbnails in the exports hero card, lighter exports hero, palace crop */
.division-card .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 100%; min-height: 108px; }
.division-card .thumbs img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 999px 999px 6px 6px; }
.page-exports .division-primary { grid-template-columns: 200px 1fr; }
.page-exports .hero::before {
  background:
    linear-gradient(100deg, rgba(11, 36, 27, 0.9) 0%, rgba(11, 36, 27, 0.72) 45%, rgba(11, 36, 27, 0.35) 75%, rgba(11, 36, 27, 0.25) 100%),
    linear-gradient(0deg, #07170F 0%, rgba(7, 23, 15, 0.9) 20%, rgba(11, 36, 27, 0) 50%);
}
.about-main { object-position: center 88%; }
@media (max-width: 720px) {
  .page-exports .division-primary { grid-template-columns: 1fr; }
  .division-card .thumbs { display: grid; min-height: 0; height: 64px; margin-bottom: 0.6rem; }
  .division-card .thumbs img { display: block; border-radius: 6px; }
}

/* Round 5 */
.reasons-grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 720px) {
  .range .product-wide .duo img { aspect-ratio: 3 / 4; }
}
.careers-media .careers-photo { object-position: 30% center; }
.bpo-main { object-position: center 70%; }

/* Rice flagship */
.flagship { background: var(--cream); }
.story-flagship { margin-top: clamp(24px, 4vw, 48px); }
.flagship-badge {
  position: absolute; left: -6px; top: 18%; margin: 0;
  background: var(--gold); color: var(--forest-950); padding: 0.8rem 1.1rem; border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1; box-shadow: var(--shadow);
}
.flagship-badge span { display: block; font-family: var(--font-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.3rem; }
.formats-4 { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.formats-4 span { font-size: 0.8rem; }
.story-cta { margin-top: 1.4rem; }
.signature { background: var(--paper); }
.product-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.3rem; padding: 1.6rem 1.5rem; background: var(--forest) !important; color: var(--cream); border: 0 !important; }
.product-cta > .icon { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: 0.6rem; }
.product-cta h3 { color: var(--cream) !important; }
.product-cta p { color: rgba(251, 247, 239, 0.82) !important; margin-bottom: 1rem !important; }
@media (max-width: 720px) {
  .formats-4 { grid-template-columns: repeat(2, 1fr); }
  .flagship-badge { left: 0; }
}

/* Leadership */
.leadership { background: var(--sand); }
.leader { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.leader-media { position: sticky; top: calc(var(--header-h) + 32px); padding: 12px; }
.leader-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); }
.leader-monogram {
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, var(--forest-700), var(--forest) 60%, var(--forest-950));
}
.leader-monogram span { font-family: var(--font-display); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 500; color: var(--gold-light); letter-spacing: 0.04em; }
.leader-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.leader-facts li { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 0.8rem 0.9rem; display: grid; gap: 0.15rem; }
.leader-facts strong { font-family: var(--font-display); font-weight: 560; color: var(--forest); font-size: 1.1rem; }
.leader-facts span { font-size: 0.85rem; color: var(--muted); }
.leader-body h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--forest); margin-bottom: 0.6rem; }
.leader-body > p:not(.lead):not(.division-tag):not(.supply-label) { color: var(--muted); }
.career { list-style: none; padding: 0; margin: 0 0 0.5rem; border-left: 2px solid rgba(201, 150, 43, 0.5); }
.career li { position: relative; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.8rem; padding: 0.45rem 0 0.45rem 1.2rem; font-size: 0.95rem; }
.career li::before { content: ""; position: absolute; left: -6px; top: 0.85rem; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--sand); }
.career li:first-child::before { background: var(--silk); }
.career .yr { color: var(--gold-ink); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.02em; padding-top: 0.1rem; }
.career .role { color: var(--muted); }
.career strong { color: var(--forest); }
.leader-quote { margin: 1.8rem 0 0; padding: 1.3rem 1.5rem; background: var(--forest); color: var(--cream); border-radius: var(--radius-lg); border-left: 4px solid var(--gold); }
.leader-quote p { margin: 0 0 0.6rem; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.45; }
.leader-quote footer { font-size: 0.85rem; color: var(--gold-light); }

.led-by { display: grid; grid-template-columns: 120px 1fr auto; gap: 1.4rem; align-items: center; margin: 0 0 clamp(48px, 7vw, 88px); padding: 1.4rem; border: 1px solid rgba(232, 200, 114, 0.4); border-radius: var(--radius-lg); background: rgba(251, 247, 239, 0.05); }
.led-by-photo { width: 120px; aspect-ratio: 4 / 5; border-radius: 999px 999px 8px 8px; }
.led-by-photo span { font-size: 2.4rem; }
.led-by h3 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.led-by h3 span { display: block; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--gold-light); margin-top: 0.25rem; }
.led-by p:not(.division-tag) { color: rgba(251, 247, 239, 0.8); font-size: 0.95rem; margin-bottom: 0.8rem; }
.led-by .division-tag { color: var(--silk-light) !important; }

@media (max-width: 960px) {
  .leader { grid-template-columns: 1fr; }
  .leader-media { position: static; max-width: 380px; }
  .led-by { grid-template-columns: 96px 1fr; }
  .led-by-photo { width: 96px; }
  .led-by > .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 720px) {
  .career li { grid-template-columns: 1fr; gap: 0.1rem; }
  .leader-quote p { font-size: 1.05rem; }
}
@media (max-width: 720px) {
  .leader-media { max-width: none; display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; align-items: center; padding: 10px; }
  .leader-monogram span { font-size: 2.8rem; }
  .leader-facts { grid-template-columns: 1fr; margin: 0; }
}

/* Leadership page, home teaser, nav current page */
.site-nav a[aria-current="page"]:not(.btn) { color: var(--silk); }
.site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-slim .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "lead" "actions"; grid-template-rows: none; }
.hero-slim .hero-lead { max-width: 44em; }
.leader-cta { padding-top: 0; background: var(--sand); }
.led-by-band { background: var(--cream); padding-block: 0 clamp(48px, 7vw, 88px); }
.led-by-light { margin: 0; background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.led-by-light h3 { color: var(--forest); }
.led-by-light h3 span { color: var(--gold-ink); }
.led-by-light p:not(.division-tag) { color: var(--muted); margin-bottom: 0; }
.led-by-light .division-tag { color: var(--silk) !important; }
@media (max-width: 1240px) and (min-width: 1061px) {
  .site-nav a:not(.btn) { padding-inline: 0.45rem; font-size: 0.9rem; }
  .nav-cta { margin-left: 0.3rem; padding-inline: 0.9rem; }
}

/* Leadership team grid */
.team-grid { list-style: none; padding: 0; margin: 0 auto clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; gap: clamp(16px, 3vw, 40px); }
.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-photo { width: 100%; max-width: 200px; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); margin-bottom: 1.1rem; }
.team-photo span { font-size: 3rem; }
.team-card h3 { font-size: 1.25rem; color: var(--forest); margin-bottom: 0.2rem; }
.team-card .team-link { margin-top: auto; padding-top: 0.5rem; }
.team-role { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silk); }
.team-link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.6rem; font-weight: 650; font-size: 0.92rem; color: var(--forest); text-decoration: none; }
.team-link:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
  .team-photo { max-width: 110px; }
  .team-photo span { font-size: 1.8rem; }
  .team-card h3 { font-size: 0.95rem; }
  .team-role { font-size: 0.66rem; }
}

.footer-regs { display: flex; flex-wrap: wrap; gap: 0.3rem 1.2rem; font-size: 0.82rem; color: rgba(251, 247, 239, 0.62); letter-spacing: 0.02em; }
.footer-regs strong { color: rgba(251, 247, 239, 0.9); font-weight: 600; letter-spacing: 0.04em; }

/* Leader portraits */
img.team-photo, img.led-by-photo, img.leader-photo { object-fit: cover; object-position: center top; background: var(--sand); }

/* Leadership surprise (leadership.html?surprise) */
.prank-locked, .prank-locked body { overflow: hidden; }
.prank-curtain { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
.prank-half {
  position: absolute; top: 0; bottom: 0; width: 50.5%;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 38px),
    radial-gradient(ellipse at 50% 0%, #8E1B47 0%, #5E0F2E 55%, #3A0A1D 100%);
  transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1) 0.2s;
}
.prank-left { left: 0; border-right: 6px solid var(--gold); box-shadow: inset -14px 0 30px rgba(0, 0, 0, 0.35); }
.prank-right { right: 0; border-left: 6px solid var(--gold); box-shadow: inset 14px 0 30px rgba(0, 0, 0, 0.35); }
.prank-half::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px;
  background: linear-gradient(90deg, #8A6414, #E8C872, #C9962B, #FFF3C4, #C9962B, #E8C872, #8A6414);
  -webkit-mask: url("../img/zari.svg") repeat-x left center / auto 100%; mask: url("../img/zari.svg") repeat-x left center / auto 100%;
}
.prank-content {
  position: relative; text-align: center; color: var(--cream); width: min(560px, calc(100% - 32px)); padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px);
  background: radial-gradient(ellipse at 50% 0%, #6E1336, #3A0A1D 75%); border: 1.5px solid var(--gold); border-radius: 22px;
  box-shadow: 0 0 0 6px rgba(58, 10, 29, 0.9), 0 0 0 7.5px rgba(201, 150, 43, 0.6), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); animation: rise 1s var(--ease) both;
}
.prank-content img { width: 170px; height: auto; margin: 0 auto 1.4rem; }
.prank-eyebrow { text-wrap: balance; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.6rem; }
.prank-content h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--cream); margin-bottom: 1.6rem; }
.prank-enter { font-size: 1.05rem; padding: 1rem 1.6rem; box-shadow: 0 0 0 6px rgba(232, 200, 114, 0.18), 0 12px 32px -8px rgba(0, 0, 0, 0.5); animation: prank-pulse 2s ease-in-out infinite; }
@keyframes prank-pulse { 50% { box-shadow: 0 0 0 12px rgba(232, 200, 114, 0.08), 0 12px 32px -8px rgba(0, 0, 0, 0.5); } }
.prank-hint { display: flex; justify-content: center; align-items: center; gap: 0.4rem; margin: 1.1rem 0 0; font-size: 0.85rem; color: rgba(251, 247, 239, 0.7); }
.prank-curtain.is-open { pointer-events: none; }
.prank-curtain.is-open .prank-content { animation: prank-out 0.25s var(--ease) forwards; }
@keyframes prank-out { to { opacity: 0; transform: scale(0.96); } }
.prank-curtain.is-open .prank-left { transform: translateX(-102%); }
.prank-curtain.is-open .prank-right { transform: translateX(102%); }
.prank-stop {
  position: fixed; left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border: 0; border-radius: 999px;
  background: var(--forest); color: var(--cream); font: 600 0.9rem/1 var(--font-body); cursor: pointer; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
}
.prank-stop .icon { color: var(--gold-light); }
@media (prefers-reduced-motion: reduce) {
  .prank-half { transition: none; }
  .prank-curtain.is-open { opacity: 0; transition: opacity 0.3s; }
}
.prank-enter:focus-visible { outline-offset: 5px; }

/* Surprise: mass-entry effects on Doreswamy's photos */
.dore-fx { position: relative; display: block; width: 100%; transform-style: preserve-3d; cursor: pointer; will-change: transform; }
.team-card .dore-fx { max-width: 200px; margin-bottom: 1.1rem; }
.team-card .dore-fx .team-photo { margin-bottom: 0; }
.dore-fx img { transition: none; will-change: transform, filter; }
.dore-fx-canvas { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2;
  --fade-x: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  --fade-y: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 20px), transparent);
  -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in;
  mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect; }
.dore-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; mix-blend-mode: multiply;
  background: radial-gradient(ellipse 75% 70% at 50% 36%, rgba(255, 190, 110, 0) 40%, rgba(70, 28, 0, 0.85) 100%), linear-gradient(180deg, rgba(200, 120, 40, 0.35), rgba(90, 40, 5, 0.6)); }
.dore-badge {
  position: absolute; left: 50%; bottom: 10%; z-index: 3; display: grid; justify-items: center; gap: 0.1rem;
  padding: 0.4rem 0.9rem 0.45rem; border-radius: 8px; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 10, 0, 0.72), rgba(20, 10, 0, 0.88)); border: 1.5px solid #F2C45A;
  box-shadow: 0 0 24px rgba(255, 170, 60, 0.55); opacity: 0; transform: translateX(-50%) rotate(-4deg) scale(0.6);
}
.dore-badge-kn { font-family: "Noto Serif Kannada", "Kannada Sangam MN", "Tunga", "Noto Sans Kannada", serif; font-weight: 700; font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.1;
  background: linear-gradient(180deg, #FFF3C4, #F2C45A 45%, #B8801E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dore-badge-en { font: 800 0.62rem/1 var(--font-body); letter-spacing: 0.32em; text-transform: uppercase; color: #F2C45A; padding-left: 0.32em; }
.dore-badge.is-slammed { animation: dore-slam 0.45s cubic-bezier(0.2, 1.6, 0.4, 1) forwards; }
.dore-badge.is-slammed.is-faded { animation: dore-slam 0.45s forwards, dore-fade 1.2s 2s forwards; }
@keyframes dore-slam { 0% { opacity: 0; transform: translateX(-50%) rotate(-4deg) scale(2.6); } 60% { opacity: 1; transform: translateX(-50%) rotate(-4deg) scale(0.92); } 100% { opacity: 1; transform: translateX(-50%) rotate(-4deg) scale(1); } }
@keyframes dore-fade { to { opacity: 0; } }
@media (max-width: 720px) {
  .team-card .dore-fx { max-width: 110px; }
  .dore-badge { padding: 0.25rem 0.5rem; bottom: 6%; }
  .dore-badge-en { font-size: 0.45rem; letter-spacing: 0.2em; }
}

/* More than one profile on the page */
.leader + .leader { margin-top: clamp(52px, 7vw, 96px); padding-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.leader-media.is-compact { max-width: 260px; }
.leader-media.is-compact .leader-facts { grid-template-columns: 1fr; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 0.55rem; }
.steps li { counter-increment: step; position: relative; padding-left: 2.4rem; color: var(--muted); font-size: 0.95rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); color: var(--gold-ink); font: 650 0.8rem/1 var(--font-body); }
.steps strong { color: var(--forest); }

/* Questions and answers (also the text AI answer engines lift) */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(28px, 4vw, 56px); max-width: 1040px; margin: 0 auto; }
.faq-item { border-top: 2px solid var(--gold); padding-top: 0.9rem; }
.faq-item h3 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--forest); margin-bottom: 0.45rem; }
.faq-item p { color: var(--muted); font-size: 0.96rem; margin: 0; }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; gap: 22px; } }

/* Company facts table: plain key-value rows, easy for a person or a machine to read */
.facts-wrap { margin-top: clamp(48px, 6vw, 88px); }
.facts { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 15rem; color: var(--forest); font-weight: 650; background: rgba(201, 150, 43, 0.06); }
.facts td { color: var(--muted); }
@media (max-width: 720px) {
  .facts th, .facts td { display: block; width: auto; padding: 0.5rem 0.85rem; }
  .facts th { border-bottom: 0; padding-bottom: 0.1rem; }
}

/* Handicrafts: photo grid of pieces the client's artisans make */
.crafts { background: var(--paper); }
.craft-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(28px, 4vw, 44px); }
.craft-card { display: flex; flex-direction: column; background: var(--cream); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.craft-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.craft-card figcaption { padding: 0.75rem 0.9rem 0.95rem; }
.craft-card strong { display: block; font-family: var(--font-display); font-weight: 560; color: var(--forest); font-size: 1.02rem; margin-bottom: 0.15rem; }
.craft-card span { color: var(--muted); font-size: 0.88rem; }
.craft-lead { max-width: 60ch; }
@media (max-width: 960px) { .craft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .craft-grid { grid-template-columns: 1fr; } }
.craft-intro { max-width: 68ch; margin: clamp(22px, 3vw, 34px) auto 0; display: grid; gap: 0.9rem; }
.craft-intro > p:first-child { color: var(--muted); }
.craft-heading { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--forest); text-align: center; margin: clamp(40px, 5vw, 64px) 0 0; }
.craft-item { max-width: 68ch; margin: clamp(26px, 3vw, 36px) auto 0; }
.craft-item h4 { font-family: var(--font-display); font-weight: 560; font-size: clamp(1.15rem, 1.9vw, 1.4rem); color: var(--forest); padding-bottom: 0.4rem; border-bottom: 2px solid var(--gold); }
.facts-people { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.facts-people li { display: grid; gap: 0.05rem; }
.facts-people strong { color: var(--forest); font-weight: 650; }
.facts-people span { font-size: 0.88rem; color: var(--muted); }
.craft-note { font-size: 0.88rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 0.9rem; }

/* Second header row: the sections of the page you are on */
.sub-nav-wrap { border-top: 1px solid var(--line); background: rgba(251, 247, 239, 0.92); }
.sub-nav { display: flex; align-items: center; gap: 0.2rem; height: var(--subnav-h); overflow-x: auto; scrollbar-width: none; }
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a { position: relative; text-decoration: none; white-space: nowrap; font-size: 0.82rem; font-weight: 550; color: var(--muted); padding: 0.3rem 0.65rem; border-radius: var(--radius); }
.sub-nav a:hover { color: var(--forest); }
.sub-nav a::after { content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.sub-nav a.is-current { color: var(--forest); }
.sub-nav a.is-current::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--berry); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--berry); }

/* Pointer from the exports page to the handicrafts page */
.crafts-teaser { background: var(--paper); }
.teaser-card { display: grid; grid-template-columns: 280px 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: clamp(18px, 2.5vw, 28px); }
.teaser-card img { width: 100%; height: 100%; max-height: 210px; object-fit: cover; }
.teaser-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.5rem; }
.teaser-card p { color: var(--muted); margin-bottom: 1.1rem; }
@media (max-width: 720px) {
  .teaser-card { grid-template-columns: 1fr; }
  .sub-nav { gap: 0; }
}
