:root {
  color-scheme: light;
  --ink: #101726;
  --ink-2: #182338;
  --paper: #f7f5ee;
  --white: #ffffff;
  --muted: #5d6878;
  --line: #d8dee8;
  --gold: #d9a441;
  --gold-2: #f1c76a;
  --green: #1c6656;
  --blue: #2d5c82;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a { color: inherit; }

.shell {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 238, .94);
  border-bottom: 1px solid rgba(216, 222, 232, .82);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: #3c4758;
  font-size: 15px;
  font-weight: 800;
}

.nav-links a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: url("brand-assets/kailash-hero-bg-v3.png") center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,23,38,.97), rgba(16,23,38,.82) 48%, rgba(16,23,38,.28));
}

.page-hero .shell {
  position: relative;
  z-index: 1;
  padding: 104px 0 112px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 22px;
  padding: 0 14px;
  border: 1px solid rgba(241,199,106,.58);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: .96;
  letter-spacing: 0;
}

.lead {
  max-width: 840px;
  margin: 28px 0 0;
  color: #dbe5f1;
  font-size: clamp(18px, 1.8vw, 24px);
}

.hero-note {
  max-width: 760px;
  margin: 22px 0 0;
  color: #dbe5f1;
  font-size: 16px;
  font-weight: 800;
}

section {
  padding: 104px 0;
}

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

.soft {
  background: #eef3f2;
}

.dark {
  background: var(--ink);
  color: var(--white);
}

.dark .section-copy,
.dark .card p,
.dark .metric span {
  color: #dbe5f1;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

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

.card {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.soft .card {
  border-color: #c8d7d4;
  background: rgba(255,255,255,.78);
}

.dark .card {
  border-color: #273653;
  background: #172136;
}

.card small {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.14;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 64px;
  align-items: center;
}

.media-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 34px 90px rgba(16,23,38,.16);
}

.media-frame img {
  display: block;
  width: 100%;
}

.work-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 68px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(45, 92, 130, .28), transparent 30%),
    radial-gradient(circle at 14% 8%, rgba(241, 199, 106, .16), transparent 24%),
    linear-gradient(135deg, #080e19, #101726 48%, #0b2423);
}

.work-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--gold-2), var(--green), var(--blue));
}

.work-hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .58fr) minmax(0, 1.42fr);
  gap: 44px;
  align-items: center;
}

.work-hero h1 {
  font-size: clamp(46px, 4.5vw, 68px);
  line-height: .98;
}

.work-hero-copy .lead {
  max-width: 660px;
  margin-top: 22px;
  font-size: clamp(18px, 1.55vw, 22px);
}

.work-hero-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.work-hero-cues span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #edf4fb;
  font-size: 14px;
  font-weight: 900;
}

.work-hero-frame {
  margin: 0;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: #0d1320;
  box-shadow: 0 46px 110px rgba(0,0,0,.36);
  overflow: hidden;
}

.work-hero-frame img {
  display: block;
  width: 100%;
}

.showcase-band {
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 16%, rgba(45, 92, 130, .26), transparent 30%),
    linear-gradient(135deg, #101726, #19263d 55%, #10251f);
  color: var(--white);
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(340px, .68fr) minmax(0, 1.32fr);
  gap: 56px;
  align-items: center;
}

.showcase-copy .kicker {
  color: var(--gold-2);
  border-color: rgba(241, 199, 106, .52);
}

.showcase-copy .section-copy {
  margin-top: 24px;
  color: #dbe5f1;
}

.showcase-points {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.showcase-points span {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #edf4fb;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.38;
}

.showcase-points b {
  color: var(--gold-2);
  font-size: 20px;
  line-height: 1;
}

.showcase-art {
  position: relative;
  margin: 0;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 8px;
  background: #0d1320;
  box-shadow: 0 46px 110px rgba(0,0,0,.34);
  overflow: hidden;
}

.showcase-art img {
  display: block;
  width: 100%;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.principle-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}

.principle-card small {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.principle-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.12;
}

.principle-card p {
  margin: 0;
  color: #dbe5f1;
  font-size: 16px;
  line-height: 1.52;
}

.concept-section {
  background: #f9faf7;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.concept-card {
  min-height: 500px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(16,23,38,.08);
}

.concept-card small {
  display: block;
  margin: 24px 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.concept-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.08;
}

.concept-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.concept-visual {
  position: relative;
  height: 230px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #101726, #1c6656);
}

.concept-visual::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  height: 58px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
}

.concept-visual span {
  position: absolute;
  display: block;
  border-radius: 8px;
}

.concept-visual span:nth-child(1) {
  left: 22px;
  top: 22px;
  width: 44%;
  height: 20px;
  background: var(--gold-2);
}

.concept-visual span:nth-child(2) {
  left: 22px;
  top: 62px;
  width: 58%;
  height: 80px;
  background: rgba(255,255,255,.9);
}

.concept-visual span:nth-child(3) {
  right: 22px;
  top: 42px;
  width: 34%;
  height: 130px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
}

.concept-card.beauty .concept-visual {
  background: linear-gradient(135deg, #25162a, #8b4768 56%, #d9a441);
}

.concept-card.auto .concept-visual {
  background: linear-gradient(135deg, #141b25, #2d5c82 58%, #1c6656);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.check-list span {
  display: block;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  background: #f6f8fa;
  color: #394657;
  font-size: 16px;
  font-weight: 800;
}

.dark .check-list span {
  border-left-color: var(--gold-2);
  background: #111a2b;
  color: #dbe5f1;
}

.audit-hero .actions {
  margin-top: 42px;
}

.audit-method,
.example-grid {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}

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

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

.leak-card {
  min-height: 290px;
}

.example-card {
  min-height: 430px;
}

.example-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding-left: 20px;
  color: #394657;
  font-size: 16px;
  line-height: 1.5;
}

.example-card b {
  display: block;
  color: var(--green);
  font-size: 16px;
  line-height: 1.5;
}

.audit-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 48px;
}

.audit-flow span {
  min-height: 126px;
  display: flex;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: #dbe5f1;
  font-size: 16px;
  font-weight: 900;
}

.handoff-section {
  background: #f9faf7;
}

.handoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.handoff-card {
  min-height: 250px;
  padding: 30px;
  border-top: 5px solid var(--green);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.handoff-card small {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.handoff-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.14;
}

.handoff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.metric {
  min-height: 160px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
}

.metric strong {
  display: block;
  color: var(--gold-2);
  font-size: 46px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 48px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-item strong {
  color: var(--green);
  font-size: 20px;
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.price {
  min-height: 300px;
}

.price strong {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-2);
  font-size: 58px;
  line-height: 1;
}

.price ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #dbe5f1;
  font-size: 16px;
}

.cta-band {
  background: #f0eadc;
}

.cta-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--gold-2);
  background: var(--gold-2);
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
}

.button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.3);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

footer {
  padding: 38px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .shell {
    width: min(100% - 32px, 1120px);
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
  }

  .page-hero {
    min-height: 68vh;
  }

  .page-hero::after {
    background: linear-gradient(180deg, rgba(16,23,38,.96), rgba(16,23,38,.78));
  }

  .page-hero .shell {
    padding: 72px 0 82px;
  }

  .intro,
  .media-layout,
  .showcase-layout,
  .work-hero-layout,
  .cta-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .work-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .concept-grid,
  .principle-grid,
  .metric-grid,
  .audit-method,
  .example-grid,
  .handoff-grid,
  .audit-flow {
    grid-template-columns: 1fr;
  }

  .cta-row .button {
    width: 100%;
  }
}
