/* Mirchi Capital Partner - Scandinavian look (25 Oct 2026): light neutrals, hairlines, quiet type.
   Brand colours from the logo are kept as small accents only. Previous warm style: source/previous-styles */
:root {
  --paper: #FAF8F5;
  --white: #FFFFFF;
  --mist: #F2EFEA;
  --sand: #EAE4DB;
  --oak: #D9CBB6;
  --ink: #2A2623;
  --muted: #6E6862;
  --line: #E3DDD4;
  --terra: #B5552F;
  --honey: #C9963F;
  --brown: #3A2620;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: var(--ink); }
h1, h2, h3 { font-family: 'Jost', 'Avenir Next', 'Inter', sans-serif; font-weight: 400; line-height: 1.15; margin: 0 0 .55em; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 300; }
h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 500; color: var(--muted); margin-bottom: 1.4em; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--terra); }
.intro { font-size: 1.1rem; color: var(--muted); max-width: 640px; font-weight: 300; }

/* buttons: flat, square, quiet */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 28px; border-radius: var(--radius); font-weight: 500; font-size: .95rem; letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s; text-align: center; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--terra); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn:focus-visible, .nav a:focus-visible, .thumb:focus-visible, .centre:focus-visible, .jump a:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .92rem; letter-spacing: .02em; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover { border-bottom-color: var(--ink); }
.nav a.nav-cta { border: 1px solid var(--ink); padding: 8px 20px; border-radius: var(--radius); }
.nav a.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); border-radius: var(--radius); padding: 8px 18px; font: inherit; font-size: .9rem; cursor: pointer; }

/* hero: text on paper beside a large calm image */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.1rem); font-weight: 300; letter-spacing: -.02em; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--muted); font-weight: 300; max-width: 520px; }
.hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center; border-radius: var(--radius); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* figures row */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.stats { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; }
.stats li { display: flex; flex-direction: column; padding: 34px 28px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { font-family: 'Jost', sans-serif; font-size: 2.6rem; line-height: 1.1; color: var(--ink); font-weight: 300; }
.stats span { font-size: .88rem; color: var(--muted); letter-spacing: .02em; }

/* sections */
.section { padding: 120px 0; }
.section.tint { background: var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }

.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps li { border-top: 1px solid var(--ink); padding-top: 26px; }
.steps .num { display: block; font-family: 'Jost', sans-serif; font-size: .95rem; color: var(--terra); letter-spacing: .1em; margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; font-weight: 300; }

.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.pillars li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.pillars li:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.pillars p { color: var(--muted); margin: 0; font-size: .97rem; font-weight: 300; }

/* projects */
.jump { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 40px 0 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.jump a { text-decoration: none; color: var(--muted); font-size: .92rem; letter-spacing: .04em; }
.jump a:hover { color: var(--ink); }
.project { display: grid; grid-template-columns: 1.35fr 1fr; gap: 72px; align-items: center; padding: 80px 0; border-bottom: 1px solid var(--line); }
.project:last-of-type { border-bottom: 0; }
.project.flip { grid-template-columns: 1fr 1.35fr; }
.project.flip .project-media { order: 2; }
.main-img { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: var(--white); cursor: zoom-in; }
.main-img img { width: 100%; height: 100%; transition: transform .6s ease; }
.main-img:hover img.cover { transform: scale(1.02); }
img.cover { object-fit: cover; }
img.contain { object-fit: contain; background: var(--white); }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.thumb { padding: 0; border: 0; border-bottom: 2px solid transparent; width: 76px; aspect-ratio: 3 / 2; cursor: pointer; background: var(--white); opacity: .55; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-bottom-color: var(--ink); opacity: 1; }
.project h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 22px 0 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: .97rem; }
.project-text p { font-weight: 300; }
.credit { font-size: .84rem; color: var(--muted); }

/* centres */
.centres { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); }
.centre { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: var(--white); padding: 30px 16px; text-decoration: none; color: var(--ink); transition: background .2s; }
a.centre:hover { background: var(--paper); }
.centre img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 14px; }
.centre-name { font-weight: 500; line-height: 1.35; font-size: .97rem; }
.centre-place { font-size: .85rem; color: var(--muted); }
.centre-link { font-size: .8rem; color: var(--terra); margin-top: 8px; letter-spacing: .03em; }

/* talent */
.talent { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.talent li { border-top: 1px solid var(--line); padding-top: 24px; }
.talent p { color: var(--muted); margin: 0; font-size: .97rem; font-weight: 300; }

/* contact */
.contact { background: var(--sand); padding: 112px 0; }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.contact-inner p { color: var(--muted); max-width: 540px; font-weight: 300; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-links .btn { overflow-wrap: anywhere; }

/* footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.footer-logo { width: 200px; height: auto; }
.footer-small p { font-size: .84rem; color: var(--muted); margin-bottom: .7em; font-weight: 300; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(250, 248, 245, .97); display: grid; place-items: center; z-index: 200; padding: 32px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 88vh; background: var(--white); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: var(--radius); background: transparent; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }

/* 404 */
.notfound { background: var(--paper); }
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; }

/* responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-img img { aspect-ratio: 3 / 2; }
  .talent { grid-template-columns: repeat(2, 1fr); }
  .project, .project.flip { grid-template-columns: 1fr; gap: 32px; }
  .project.flip .project-media { order: 0; }
  .split, .contact-inner, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { border-bottom-color: var(--line); }
  .nav a.nav-cta { margin-top: 16px; text-align: center; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 38px; }
  .header-row { min-height: 68px; }
  .hero { padding: 40px 0 64px; }
  .section { padding: 80px 0; }
  .stats li { padding: 24px 16px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li, .pillars li:nth-child(even) { padding: 24px 0; border-left: 0; }
  .talent { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .thumb { width: 60px; }
  .centres { grid-template-columns: repeat(2, 1fr); }
  .contact { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
