/* Wedge Consulting — site stylesheet
   Palette and typography follow the "Your partner in India" presentation:
   white / black / sand panels, thin line graphics, spaced uppercase titles. */

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900; font-style: italic; font-display: swap;
}

:root {
  --ink: #0c0c0c;
  --paper: #ffffff;
  --sand: #e9e6df;
  --green: #9bc23c;
  --teal: #287f86;
  --muted: #5d5d5d;
  --line: rgba(12, 12, 12, .16);
  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Figtree", "Tenorite", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 26px); }
.nav a {
  text-decoration: none; text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; padding: 8px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.nav a:hover, .nav a.is-active { border-bottom-color: var(--ink); }
.lang { display: flex; gap: 2px; margin-left: 6px; border: 1px solid var(--ink); }
.lang a, .lang span { padding: 5px 9px; font-size: 12px; letter-spacing: .12em; border: 0; }
.lang span { background: var(--ink); color: #fff; }
.lang a:hover { background: var(--sand); border: 0; }
.nav-toggle { display: none; background: none; border: 1px solid var(--ink); width: 44px; height: 44px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }

@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px var(--pad) 28px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); overflow: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 14px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .lang { margin: 20px 0 0; }
  .lang a, .lang span { width: auto; padding: 8px 14px; border: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Sections & type ---------- */
.section { position: relative; padding: var(--section) 0; overflow: hidden; }
.section--dark { background: var(--ink); color: #fff; --line: rgba(255, 255, 255, .22); --muted: #b9b9b9; }
.section--sand { background: var(--sand); }

.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--muted);
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: currentColor; }
.title {
  text-transform: uppercase; letter-spacing: .1em; line-height: 1.2;
  font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px;
}
.subtitle { font-size: clamp(18px, 2vw, 22px); line-height: 1.4; color: var(--muted); max-width: 720px; margin-bottom: 0; }
.lede { font-size: clamp(18px, 1.8vw, 20px); max-width: 760px; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 820px; }
.h3 { text-transform: uppercase; letter-spacing: .14em; font-size: 15px; line-height: 1.4; margin-bottom: 14px; }
.muted { color: var(--muted); }

.art { position: absolute; pointer-events: none; user-select: none; z-index: 0; opacity: .8; max-width: none; }

/* Lists with a thin rule, as in the deck's content slides */
.rule-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.rule-list li:last-child { border-bottom: 1px solid var(--line); }
.dash-list li { position: relative; padding: 0 0 10px 26px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: currentColor; }

.callout {
  margin-top: clamp(32px, 4vw, 52px); padding: 4px 0 4px 26px; max-width: 860px;
  border-left: 3px solid var(--green); font-size: clamp(17px, 1.6vw, 19px);
}
.callout strong { text-transform: uppercase; letter-spacing: .12em; font-size: .78em; font-weight: 600; display: block; margin-bottom: 6px; }
.callout p { margin: 0; }

.btn {
  display: inline-block; padding: 15px 28px; text-decoration: none; cursor: pointer;
  text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-family: inherit;
  border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--dark .btn { border-color: #fff; background: #fff; color: var(--ink); }
.section--dark .btn:hover { background: transparent; color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 136px); min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero .art { top: -250px; left: -420px; width: 1150px; opacity: .5; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero h1 { text-transform: uppercase; letter-spacing: .08em; line-height: 1.12; font-size: clamp(34px, 5.4vw, 68px); margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero .lede { margin-bottom: 38px; color: var(--muted); }
.hero-logo { justify-self: end; width: min(100%, 340px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 28px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.hero-tags li { display: flex; align-items: center; gap: 28px; }
.hero-tags li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { justify-self: start; width: 190px; order: -1; }
  .hero .art { opacity: .35; }
}

/* ---------- Challenge ---------- */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.impact-grid li { background: var(--ink); padding: 26px 22px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.impact-grid .num { display: block; font-size: 12px; letter-spacing: .2em; color: var(--green); margin-bottom: 14px; }
@media (max-width: 900px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .impact-grid { grid-template-columns: 1fr; } }
#challenge .art { right: -160px; top: -120px; width: 760px; opacity: .55; }

/* ---------- Approach (sand panel with diagonal, like the "maze" slide) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
#approach::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 34%; background: #fff;
  clip-path: polygon(0 0, 100% 0, 32% 100%, 0 100%);
}
#approach .art { right: -420px; bottom: -420px; width: 820px; opacity: .35; }
@media (max-width: 860px) { #approach::before { display: none; } }

/* ---------- Module overview ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.module-card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); text-decoration: none; border-right: 1px solid var(--line); transition: background .2s; }
.module-card:last-child { border-right: 0; }
.module-card:hover { background: var(--sand); }
.module-card .num { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.module-card h3 { text-transform: uppercase; letter-spacing: .12em; font-size: 19px; line-height: 1.35; margin-bottom: 26px; min-height: 2.7em; }
.module-card dl { margin: 0 0 28px; }
.module-card dt { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.module-card dd { margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.module-card .more { margin-top: auto; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; }
.module-card .more::after { content: " →"; }
@media (max-width: 900px) {
  .modules { grid-template-columns: 1fr; }
  .module-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .module-card:last-child { border-bottom: 0; }
  .module-card h3 { min-height: 0; }
}

/* ---------- Module detail sections ---------- */
.module-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.section--dark .module-label { color: var(--green); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 48px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); position: absolute; left: 0; top: 18px; font-size: 12px; letter-spacing: .16em; color: var(--teal); }

.figure { margin: clamp(40px, 6vw, 72px) 0 0; }
.figure img { width: 100%; border: 1px solid var(--line); }
.figure figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 760px; }

.media-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media-split .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .media-split { grid-template-columns: 1fr; } .media-split .photo img { aspect-ratio: 4 / 3; } }
.block + .block { margin-top: 36px; }
.format { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--ink); }
.format strong { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; margin-right: 8px; }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--ink); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .panels { grid-template-columns: 1fr; } }
#coaching .art { left: -190px; bottom: -260px; width: 520px; opacity: .4; }

/* ---------- Why it works ---------- */
.statement { font-size: clamp(26px, 4vw, 46px); line-height: 1.22; letter-spacing: .01em; max-width: 980px; margin-bottom: 30px; }
.statement em { font-style: normal; color: var(--teal); }
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--ink); }
.results li { padding: 22px 20px 0 0; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; line-height: 1.45; }
.results li::before { content: ""; display: block; width: 28px; height: 3px; background: var(--green); margin-bottom: 16px; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr 1fr; } .results li { padding-bottom: 12px; } }

/* ---------- India advisory ---------- */
.maze { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 760px) { .maze { grid-template-columns: 1fr; } }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.service { padding: 28px 26px 8px 0; }
.service + .service { padding-left: 26px; border-left: 1px solid var(--line); }
.service h3 { text-transform: uppercase; letter-spacing: .14em; font-size: 15px; margin-bottom: 18px; min-height: 2.8em; }
.service li { font-size: 15px; line-height: 1.45; padding: 9px 0; border-top: 1px solid var(--line); }
.service li b { font-weight: 600; }
@media (max-width: 980px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--ink); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); }
  .service:first-child { border-top: 0; }
  .service h3 { min-height: 0; }
}
.also { margin-top: 36px; font-size: 15px; color: var(--muted); max-width: 900px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-grid .portrait img { width: 100%; filter: grayscale(1); }
.about-grid .role { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--muted); margin: 8px 0 24px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid .portrait { max-width: 340px; } }
.about-grid + .about-grid { margin-top: clamp(56px, 8vw, 104px); }
.who { margin-bottom: clamp(56px, 8vw, 104px); }
.tagline { font-style: italic; margin-top: 24px; }
#about .art { right: -330px; top: -140px; width: 640px; opacity: .3; }

/* ---------- References ---------- */
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { display: flex; align-items: center; justify-content: center; padding: 22px; aspect-ratio: 3 / 2; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 980px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-logo { width: 150px; margin-bottom: 32px; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list .k { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--muted); padding-top: 5px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-bottom-color: #fff; }
form .field { margin-bottom: 20px; }
form label { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
form input, form textarea {
  width: 100%; background: transparent; color: #fff; font: inherit; font-size: 16px;
  border: 0; border-bottom: 1px solid var(--line); padding: 8px 0 10px; border-radius: 0;
}
form textarea { min-height: 130px; resize: vertical; border: 1px solid var(--line); padding: 12px; }
form input:focus, form textarea:focus { outline: none; border-color: var(--green); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
#contact .art { right: -40px; top: 40px; width: 260px; opacity: .7; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9b9b9; border-top: 1px solid rgba(255, 255, 255, .22); padding: 26px 0; font-size: 12px; letter-spacing: .08em; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .site-header, .nav-toggle, form, .art { display: none !important; }
  .section--dark { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Decorative lines: keep them clear of the text on small screens */
@media (max-width: 860px) {
  .art { display: none; }
  .hero .art { display: block; opacity: .22; }
}
