/* Gupta Group — calm, practical 2026 visual system */

:root {
  --navy: #10243b;
  --navy-2: #17324d;
  --navy-3: #29445f;
  --ink: #172337;
  --text: #4f5d6c;
  --muted: #5f6b76;
  --canvas: #fbfaf7;
  --paper: #f1efe9;
  --white: #ffffff;
  --accent: #d97945;
  --accent-dark: #a84d28;
  --accent-soft: #f5e1d5;
  --line: rgba(23, 35, 55, 0.13);
  --line-dark: rgba(255, 255, 255, 0.15);
  --success: #24704f;
  --danger: #b33c2f;
  --font-sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --header-height: 76px;
  --container: 1200px;
  --radius-sm: 8px;
  --radius: 14px;
  --shadow-sm: 0 14px 36px rgba(16, 36, 59, 0.08);
  --shadow: 0 24px 64px rgba(16, 36, 59, 0.13);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

p {
  color: var(--text);
}

::selection {
  background: var(--accent-soft);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
}

.eyebrow,
.section-index p {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span,
.section-index p::before {
  content: "";
  flex: 0 0 28px;
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: #f2b690;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.82rem 1.25rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.button-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
}

.button-accent:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button-outline {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.button-outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.button-dark {
  min-width: 166px;
}

.button svg,
.text-link svg,
.map-link svg,
.business-more svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.button:hover svg,
.text-link:hover svg,
.map-link:hover svg,
.business-card:hover .business-more svg {
  transform: translateX(3px);
}

.icon-fill,
.button svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.text-link,
.map-link,
.business-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  color: var(--navy-2);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.map-link:hover {
  color: var(--accent-dark);
}

.text-link-light {
  color: var(--white);
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(16, 36, 59, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  width: min(100% - 48px, 1360px);
  height: 100%;
  margin-inline: auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  text-decoration: none;
}

.brand-link > .logo {
  display: none;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-text strong {
  font-weight: 850;
}

.brand-text::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.12em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
  margin-left: auto;
  margin-right: clamp(1.2rem, 2.5vw, 2.5rem);
}

.nav-link {
  position: relative;
  padding: 0.35rem 0;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.1rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
}

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

.header-nav .lang-link {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
}

.header-nav .lang-link::after {
  display: none;
}

.header-nav .lang-link:hover {
  border-color: var(--navy-3);
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-phone {
  display: none;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 180ms ease;
}

.mobile-menu-btn.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Home hero */

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, var(--container)) minmax(24px, 1fr);
  grid-template-rows: minmax(570px, calc(100svh - var(--header-height) - 112px)) auto;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero-media {
  position: relative;
  z-index: 0;
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  min-width: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.04), transparent 52%, rgba(16, 36, 59, 0.26));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.82) contrast(1.03);
}

.hero-overlay {
  z-index: 1;
  display: block;
  grid-column: 1 / -1;
  grid-row: 1 / 3;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.88) 0%, rgba(251, 250, 247, 0.74) 36%, rgba(251, 250, 247, 0.48) 66%, rgba(16, 36, 59, 0.2) 100%),
    linear-gradient(90deg, rgba(251, 250, 247, 0.3), transparent 26%, transparent 74%, rgba(251, 250, 247, 0.24));
  pointer-events: none;
}

.hero-content {
  z-index: 2;
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: clamp(4rem, 9vh, 6.75rem) 0 clamp(4.5rem, 10vh, 7.5rem);
}

.hero-copy {
  width: min(100%, 820px);
  text-align: center;
}

.home-hero .eyebrow-light {
  justify-content: center;
  color: var(--navy-2);
}

.hero-copy h1 {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 1.35rem;
  margin-left: auto;
  color: var(--navy);
  font-size: clamp(3.5rem, 5.5vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy h1 em {
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-lead {
  max-width: 640px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: #34465a;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.72;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.5rem;
  margin-top: 2rem;
}

.home-hero .text-link-light {
  color: var(--navy);
}

.home-hero .text-link-light:hover {
  color: var(--accent-dark);
}

.hero-metrics {
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(16, 36, 59, 0.12);
  background: rgba(251, 250, 247, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.metrics-grid {
  display: grid;
  grid-template-columns: 0.75fr 0.8fr 0.95fr 1.25fr;
  min-height: 112px;
}

.metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.3rem 1.8rem;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  padding-left: 0;
}

.metric:last-child {
  border-right: 0;
}

.metric-value {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric-value small {
  margin-left: 0.3rem;
  font-size: 0.45em;
  letter-spacing: 0;
}

.metric-wide .metric-value {
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
}

.metric-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Shared section headings */

.intro-section,
.story-section,
.team-intro,
.team-section,
.company-overview,
.other-companies,
.projects-section,
.values-section {
  background: var(--canvas);
}

/* The quote form already follows the projects section on the homepage. */
#projects + .partnership-banner {
  display: none;
}

.intro-layout,
.story-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
}

.section-index {
  padding-top: 0.45rem;
}

.intro-copy h2,
.story-content > h2 {
  max-width: 880px;
  margin-bottom: 2.4rem;
  font-size: clamp(2.5rem, 4.4vw, 4.35rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.intro-copy-grid,
.story-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}

.intro-copy-grid p,
.story-columns p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.82;
}

.section-heading {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading h2,
.values-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.45rem, 4.2vw, 4rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-heading-compact h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.6rem);
}

/* Businesses */

.businesses-section,
.company-products,
.founder-section,
.leadership-section,
.contact-section {
  background: var(--paper);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.company-ggpl,
.company-gos,
.company-gepl,
.company-krishak {
  --company-color: var(--accent);
}

.business-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1.28fr);
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.business-card:hover {
  border-color: rgba(16, 36, 59, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.business-media {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--navy);
}

.business-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.98);
  transition: transform 500ms ease;
}

.business-card:hover .business-media img {
  transform: scale(1.025);
}

.business-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.7rem;
}

.business-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.business-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.business-sector,
.reference-sector,
.team-role,
.direction-label {
  margin-bottom: 0.45rem;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.business-body h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
}

.business-body h3 a {
  color: inherit;
  text-decoration: none;
}

.business-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.business-body h3 a:focus-visible {
  outline: none;
}

.business-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.business-body > p:not(.business-sector) {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.business-meta {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}

.business-more {
  margin-top: 1rem;
}

/* Proof and references */

.proof-section,
.direction-section,
.team-belief {
  background: var(--navy);
  color: var(--white);
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.proof-intro h2,
.direction-section h2,
.team-belief h2 {
  max-width: 560px;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
}

.proof-intro > p:not(.eyebrow) {
  max-width: 510px;
  margin-bottom: 1.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.proof-list {
  border-top: 1px solid var(--line-dark);
}

.proof-list article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 1rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.proof-list article > span {
  padding-top: 0.15rem;
  color: #f2b690;
  font-size: 0.8rem;
  font-weight: 800;
}

.proof-list h3 {
  margin-bottom: 0.4rem;
  color: var(--white);
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.proof-list p {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.67;
}

.credential-card {
  max-width: 330px;
  margin: 0 0 1.8rem;
}

.credential-marks {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.credential-hincol {
  width: 170px;
  height: auto;
}

.credential-partner {
  width: 54px;
  height: 54px;
}

.credential-relation {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.credential-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-top: 0.7rem;
}

.credential-card strong {
  color: var(--white);
  font-size: 0.9rem;
}

.credential-card figcaption span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.reference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reference-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 1rem;
  min-height: 300px;
  padding: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.reference-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.reference-row h3 {
  max-width: 420px;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.reference-summary {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.reference-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-self: end;
  margin: auto 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.reference-meta dt {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reference-meta dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.reference-meta a {
  color: var(--navy-2);
  text-underline-offset: 3px;
}

/* Call to action and contact */

.partnership-banner {
  background: var(--navy-2);
}

.partnership-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 168px;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

.partnership-inner > p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.partnership-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.partnership-banner .button {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--navy);
}

.partnership-banner .button:hover {
  border-color: var(--white);
  background: var(--white);
}

.partnership-banner .button-outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--white);
}

.partnership-banner .button-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  min-height: 610px;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--navy);
}

.contact-kicker {
  margin-bottom: 0.8rem;
  color: #f2b690;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-panel h3 {
  margin-bottom: 2rem;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.contact-details {
  margin: auto 0 2rem;
}

.contact-details > div {
  padding: 1rem 0;
  border-top: 1px solid var(--line-dark);
}

.contact-details dt {
  margin-bottom: 0.3rem;
  color: #f2b690;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  overflow-wrap: anywhere;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--white);
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.contact-channels a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.contact-channels a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

.contact-channels svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-channels svg.icon-fill {
  fill: currentColor;
  stroke: none;
}

.map-link {
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.field label small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 0.9rem;
  border: 1px solid rgba(23, 35, 55, 0.2);
  border-radius: var(--radius-sm);
  outline: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field textarea {
  min-height: 126px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder,
.field select:invalid {
  color: #697580;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(168, 77, 40, 0.14);
}

.field select {
  padding-right: 2.35rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2310243b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-position: right 0.8rem center;
  background-repeat: no-repeat;
  background-size: 17px;
  cursor: pointer;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 50px;
}

#status {
  margin-bottom: 0;
  font-size: 0.8rem;
  font-weight: 650;
}

#status.status-sending {
  color: var(--accent-dark);
}

#status.status-success {
  color: var(--success);
}

#status.status-error {
  color: var(--danger);
}

/* About and people heroes */

.inner-hero {
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 600px) minmax(0, 600px) minmax(24px, 1fr);
  min-height: 530px;
  overflow: hidden;
  background: var(--canvas);
}

.inner-hero-media {
  position: relative;
  grid-column: 3 / 5;
  grid-row: 1;
  overflow: hidden;
  background: var(--paper);
}

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

.inner-hero-overlay {
  display: none;
}

.inner-hero-content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 5rem clamp(3rem, 6vw, 5.5rem) 5rem 0;
}

.inner-hero-content .eyebrow-light {
  color: var(--accent-dark);
}

.inner-hero-content h1 {
  max-width: 660px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.inner-hero-content h1 em {
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.inner-hero-content > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
}

.people-hero .inner-hero-media img {
  object-position: 62% 34%;
}

/* About */

.story-columns a {
  color: var(--navy-2);
  font-weight: 750;
  text-decoration-color: rgba(16, 36, 59, 0.3);
  text-underline-offset: 3px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.about-facts > div {
  padding: 1.7rem;
  border-right: 1px solid var(--line);
}

.about-facts > div:last-child {
  border-right: 0;
}

.about-facts strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-facts span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.founder-portrait {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.founder-portrait > img {
  width: 100%;
  max-height: 650px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
}

.portrait-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(0deg, rgba(16, 36, 59, 0.92), transparent);
  color: var(--white);
}

.portrait-caption strong,
.portrait-caption span {
  display: block;
}

.portrait-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
}

.founder-message h2 {
  max-width: 680px;
  margin-bottom: 1.7rem;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.founder-message > p:not(.eyebrow) {
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}

.signature {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.signature span,
.signature small {
  display: block;
}

.signature span {
  color: var(--ink);
  font-weight: 800;
}

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

.direction-section .section-heading h2 {
  color: var(--white);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.direction-grid article {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.direction-grid article:first-child {
  border-right: 1px solid var(--line-dark);
}

.direction-label {
  color: #f2b690;
}

.direction-grid h3 {
  max-width: 520px;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.direction-grid article > p:last-child,
.direction-grid li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.direction-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.direction-grid li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.direction-grid li::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.values-heading {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.values-grid article {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.values-grid h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.values-grid h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 1rem;
  border-radius: 3px;
  background: var(--accent);
}

.values-grid p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

/* Company pages */

.company-hero {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--canvas);
}

.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.company-hero-copy {
  min-width: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumb a {
  color: var(--navy-2);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.company-identity img {
  width: 58px;
  height: 58px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.company-identity .eyebrow {
  margin-bottom: 0;
}

.company-hero h1 {
  max-width: 660px;
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.company-hero h1 em {
  color: var(--accent-dark);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.company-lead {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 1rem;
}

.company-hero-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.company-hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--accent);
}

.company-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.98);
}

.company-facts {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact {
  padding: 1.6rem 1.75rem;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.fact span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.overview-grid h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 3.7vw, 3.45rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.overview-copy p {
  font-size: 0.98rem;
  line-height: 1.82;
}

.overview-copy p:last-child {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.product-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.product-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 1.2rem;
  border-radius: 3px;
  background: var(--accent);
}

.product-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
}

.product-card p {
  margin-bottom: 0;
  font-size: 0.86rem;
}

.company-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.company-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 106px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.company-link-card:hover {
  border-color: rgba(16, 36, 59, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.company-link-card img {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.company-link-card strong,
.company-link-card small {
  display: block;
}

.company-link-card strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.company-link-card small {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.76rem;
}

/* People */

.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.leader-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.leader-photo {
  min-height: 360px;
  overflow: hidden;
  background: var(--paper);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.leader-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.7rem;
}

.leader-body h3 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.leader-body > p:not(.team-role) {
  margin-bottom: 1.2rem;
  font-size: 0.87rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.team-card:hover {
  border-color: rgba(16, 36, 59, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.88);
}

.team-placeholder {
  display: grid;
  place-items: center;
  background: var(--navy-2);
}

.team-placeholder > span {
  color: #f2b690;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.team-card-body {
  min-height: 178px;
  padding: 1.35rem;
}

.team-card-body h3 {
  margin-bottom: 0.6rem;
  font-size: 1.18rem;
}

.team-card-body > p:last-child {
  margin-bottom: 0;
  font-size: 0.83rem;
}

.team-belief {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.team-belief-inner {
  max-width: 980px;
}

.team-belief h2 {
  max-width: 900px;
}

.team-belief-inner > p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

/* Footer and quick contact */

.site-footer {
  padding: 4rem 0 1.4rem;
  background: #0c1c2e;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.75fr) minmax(120px, 0.55fr) minmax(260px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
}

.brand-link-footer {
  color: var(--white);
}

.footer-brand > p {
  max-width: 360px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.footer-companies,
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer-companies > p,
.footer-links > p,
.footer-contact > p {
  margin-bottom: 0.55rem;
  color: #f2b690;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-companies a,
.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-companies a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.72rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #167c45;
  color: var(--white);
  box-shadow: 0 14px 30px rgba(16, 36, 59, 0.24);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.mobile-actions {
  display: none !important;
}

/* 404 */

.not-found {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 220px);
  padding: 6rem 0;
  background: var(--navy);
}

.not-found h1 {
  max-width: 850px;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: clamp(3rem, 6vw, 5.4rem);
  letter-spacing: -0.06em;
}

.not-found h1 em {
  color: #f2b690;
  font-family: var(--font-serif);
  font-weight: 400;
}

.not-found p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.72);
}

/* Nepali type */

html[lang="ne"] {
  font-size: 103.125%;
}

html[lang="ne"] body {
  font-family: "Mukta", var(--font-sans);
}

html[lang="ne"] .brand-text {
  font-family: var(--font-sans);
}

html[lang="ne"] h1,
html[lang="ne"] h2,
html[lang="ne"] h3,
html[lang="ne"] .partnership-inner > p {
  letter-spacing: 0;
  line-height: 1.22;
}

html[lang="ne"] .hero-copy h1 em,
html[lang="ne"] .inner-hero-content h1 em,
html[lang="ne"] .company-hero h1 em {
  font-family: inherit;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0;
}

html[lang="ne"] .eyebrow,
html[lang="ne"] .section-index p,
html[lang="ne"] .business-sector,
html[lang="ne"] .business-meta,
html[lang="ne"] .reference-sector,
html[lang="ne"] .team-role,
html[lang="ne"] .direction-label,
html[lang="ne"] .contact-kicker,
html[lang="ne"] .contact-details dt,
html[lang="ne"] .footer-companies > p,
html[lang="ne"] .footer-links > p,
html[lang="ne"] .footer-contact > p {
  letter-spacing: 0.02em;
}

html[lang="ne"] p,
html[lang="ne"] li,
html[lang="ne"] dd {
  line-height: 1.8;
}

/* Responsive */

@media (max-width: 1120px) {
  .header-nav {
    gap: 1rem;
    margin-right: 1.2rem;
  }

  .business-card {
    grid-template-columns: minmax(160px, 0.65fr) minmax(0, 1.35fr);
  }

  .leader-grid {
    grid-template-columns: 1fr;
  }

  .leader-card {
    grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .header-shell {
    width: min(100% - 36px, var(--container));
  }

  .mobile-menu-btn {
    display: block;
  }

  .header-actions {
    display: none;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100dvh - var(--header-height));
    margin: 0;
    padding: 1.5rem 1.1rem 2rem;
    overflow-y: auto;
    background: var(--white);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: visibility 0s linear 180ms, opacity 180ms ease, transform 180ms ease;
  }

  .header-nav.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }

  .nav-link {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .header-nav .lang-link {
    width: fit-content;
    margin-top: 1.25rem;
    padding: 0.5rem 0.85rem;
  }

  .inner-hero {
    grid-template-columns: minmax(18px, 1fr) minmax(0, 720px) minmax(18px, 1fr);
    grid-template-rows: auto minmax(340px, 50vw) auto;
    min-height: 0;
  }

  .inner-hero-content {
    grid-column: 2;
    grid-row: 1;
    padding: clamp(4rem, 10vw, 5.5rem) 0;
  }

  .home-hero {
    grid-template-columns: minmax(18px, 1fr) minmax(0, 720px) minmax(18px, 1fr);
    grid-template-rows: minmax(560px, calc(100svh - var(--header-height) - 112px)) auto;
    min-height: 0;
  }

  .hero-content {
    grid-column: 2;
    grid-row: 1;
    padding: clamp(4rem, 9vw, 5.5rem) 0 clamp(4.5rem, 10vw, 6rem);
  }

  .hero-copy h1,
  .inner-hero-content h1 {
    max-width: 680px;
  }

  .inner-hero-media {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero-metrics {
    grid-row: 2;
  }

  .intro-layout,
  .story-layout {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 2.5rem;
  }

  .intro-copy-grid,
  .story-columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .business-card {
    grid-template-columns: 1fr;
  }

  .business-media {
    min-height: 230px;
  }

  .proof-layout,
  .company-hero-grid,
  .overview-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .company-hero-media {
    aspect-ratio: 16 / 9;
  }

  .contact-panel {
    min-height: 500px;
  }

  .founder-layout {
    grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
    gap: 3rem;
  }

  .values-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container,
  .header-shell {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 4.5rem 0;
  }

  .inner-hero {
    grid-template-columns: 14px minmax(0, 1fr) 14px;
    grid-template-rows: auto 290px auto;
  }

  .inner-hero-content {
    padding: 3.5rem 0;
  }

  .home-hero {
    grid-template-columns: 14px minmax(0, 1fr) 14px;
    grid-template-rows: minmax(535px, calc(100svh - var(--header-height) - 204px)) auto;
  }

  .hero-content {
    grid-column: 2;
    grid-row: 1;
    padding: 3.75rem 0 4.25rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(251, 250, 247, 0.94) 0%, rgba(251, 250, 247, 0.84) 44%, rgba(251, 250, 247, 0.58) 72%, rgba(16, 36, 59, 0.22) 100%),
      linear-gradient(90deg, rgba(251, 250, 247, 0.34), transparent 50%, rgba(251, 250, 247, 0.3));
  }

  .hero-media img {
    object-position: center 58%;
  }

  .hero-copy h1,
  .inner-hero-content h1 {
    font-size: clamp(2.85rem, 12.5vw, 4rem);
    line-height: 1;
  }

  .hero-lead,
  .inner-hero-content > p:last-child {
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1.1rem;
  }

  .hero-actions .button {
    min-width: 190px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric {
    min-height: 102px;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(n + 3) {
    border-bottom: 0;
  }

  .metric:nth-child(odd) {
    padding-left: 0;
  }

  .metric-value,
  .metric-wide .metric-value {
    font-size: 1.45rem;
  }

  .intro-layout,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-index {
    padding-top: 0;
  }

  .intro-copy h2,
  .story-content > h2,
  .section-heading h2,
  .values-heading h2 {
    font-size: clamp(2.25rem, 10.5vw, 3.35rem);
  }

  .business-grid,
  .reference-list,
  .direction-grid,
  .company-links,
  .leader-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    min-height: 0;
  }

  .business-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .reference-row {
    min-height: 0;
    padding: 1.5rem;
  }

  .partnership-inner {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .partnership-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .contact-panel,
  .contact-form {
    padding: 1.6rem;
  }

  .contact-panel {
    min-height: 480px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-facts > div:nth-child(2) {
    border-right: 0;
  }

  .about-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-portrait > img {
    max-height: none;
  }

  .direction-grid article:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:first-child {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-photo {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .team-card-body {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}

@media (max-width: 430px) {
  .brand-text {
    font-size: 1rem;
  }

  .partnership-actions {
    grid-template-columns: 1fr;
  }

  .reference-meta {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-facts > div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
