:root {
  --ink: #18362f;
  --forest: #1e4d3c;
  --forest-dark: #12372d;
  --leaf: #8faf36;
  --leaf-soft: #dce9ad;
  --saffron: #e6912d;
  --paper: #fbf8ef;
  --sand: #eee6d4;
  --white: #fffef9;
  --muted: #64716b;
  --border: rgba(24, 54, 47, 0.16);
  --shadow: 0 24px 70px rgba(28, 51, 42, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -100px; padding: 10px 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.topbar { background: var(--forest-dark); color: #f6f0df; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.topbar .container { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 239, 0.94); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 230px; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 34%; border: 1px solid var(--border); background: white; }
.brand-name { display: block; font: 700 1.18rem/1.05 var(--serif); letter-spacing: 0.04em; }
.brand-note { color: var(--muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 0.91rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--saffron); }
.nav-cta { padding: 10px 17px; border-radius: 100px; background: var(--forest); color: white !important; }
.menu-button { display: none; background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 9px; color: var(--ink); }

.eyebrow { margin: 0 0 14px; color: var(--saffron); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.08; }
h1 { font-size: clamp(3.1rem, 7vw, 6.7rem); font-weight: 500; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); font-weight: 500; letter-spacing: -0.035em; }
h3 { font-size: 1.45rem; }
.lede { max-width: 650px; color: #50625c; font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 21px; border-radius: 100px; border: 1px solid var(--forest); background: var(--forest); color: white; text-decoration: none; font-size: 0.88rem; font-weight: 750; }
.button:hover { background: var(--forest-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--forest); }

.hero { overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 70px; align-items: center; padding: 70px 0 80px; }
.hero h1 span { color: var(--forest); }
.heritage-line { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.heritage-line::before { content: ""; width: 44px; height: 1px; background: var(--saffron); }
.hero-visual { position: relative; min-height: 560px; }
.hero-card { position: absolute; overflow: hidden; border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card.main { inset: 0 12% 0 10%; }
.hero-card.mini { right: -2%; bottom: 24px; width: 44%; height: 42%; border-radius: 50% 50% 18px 18px; border: 7px solid var(--paper); }
.hero-stamp { position: absolute; top: 36px; left: -20px; width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; background: var(--saffron); color: white; text-align: center; font: 700 0.76rem/1.25 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(-8deg); }
.hero-stamp strong { display: block; font: 500 2rem/1 var(--serif); letter-spacing: 0; }

.stats { background: var(--forest); color: white; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 30px; border-right: 1px solid rgba(255,255,255,0.16); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 500 2.3rem/1 var(--serif); color: var(--leaf-soft); }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,0.76); font-size: 0.83rem; }

.section { padding: 105px 0; }
.section.soft { background: var(--white); }
.section.dark { background: var(--forest-dark); color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading .lede { margin: 0; max-width: 480px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-image { position: relative; aspect-ratio: 1.16; overflow: hidden; background: var(--sand); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-tag { position: absolute; top: 16px; left: 16px; padding: 7px 11px; border-radius: 100px; background: rgba(255,254,249,.9); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.product-copy { padding: 26px; }
.product-copy h3 { margin-bottom: 8px; }
.product-copy p { color: var(--muted); font-size: .92rem; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--forest); font-weight: 800; text-decoration: none; font-size: .84rem; }
.text-link::after { content: "\2192"; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 84px; align-items: center; }
.story-image { position: relative; }
.story-image img { width: 100%; aspect-ratio: .92; object-fit: cover; border-radius: 200px 200px 18px 18px; }
.story-image::before { content: ""; position: absolute; z-index: -1; inset: -18px 22px 22px -18px; border: 1px solid var(--saffron); border-radius: 220px 220px 20px 20px; }
.story-copy p { color: #54655f; }
.quote { margin: 28px 0; padding: 22px 0 22px 24px; border-left: 3px solid var(--saffron); font: 500 1.35rem/1.4 var(--serif); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.principle { padding-top: 18px; border-top: 1px solid var(--border); }
.principle strong { display: block; margin-bottom: 6px; font-family: var(--serif); }
.principle span { color: var(--muted); font-size: .82rem; }

.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.use-card { padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: rgba(255,255,255,.04); }
.use-card .number { display: block; margin-bottom: 35px; color: var(--leaf-soft); font: 500 1.3rem var(--serif); }
.use-card p { color: rgba(255,255,255,.68); font-size: .9rem; }

.faq-list { max-width: 850px; margin: 46px auto 0; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font: 600 1.08rem var(--sans); cursor: pointer; }
.faq-question span:last-child { color: var(--saffron); font-size: 1.5rem; transition: transform .2s ease; }
.faq-answer { display: none; max-width: 760px; padding: 0 0 24px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

.cta-band { padding: 68px 0; background: var(--saffron); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 760px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.cta-inner .button { flex: none; background: var(--forest-dark); border-color: var(--forest-dark); }

.page-hero { position: relative; overflow: hidden; padding: 100px 0 90px; border-bottom: 1px solid var(--border); }
.page-hero::after { content: ""; position: absolute; width: 430px; height: 430px; right: -140px; top: -180px; border: 1px solid var(--saffron); border-radius: 50%; }
.page-hero h1 { max-width: 980px; font-size: clamp(3.2rem, 6.6vw, 6rem); }
.page-hero.story-hero { display: grid; min-height: 650px; padding: 104px 0 66px; align-items: end; border-bottom: 0; color: #fff; background-image: linear-gradient(90deg, rgba(6, 31, 25, .96) 0%, rgba(6, 31, 25, .84) 38%, rgba(6, 31, 25, .42) 69%, rgba(6, 31, 25, .18) 100%), linear-gradient(0deg, rgba(6, 31, 25, .78) 0%, rgba(6, 31, 25, .05) 62%), url("../images/shimla-heritage-panorama.webp"); background-position: center, center, center 56%; background-size: cover; }
.story-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .28; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0, transparent 22px, rgba(255,255,255,.04) 23px, transparent 24px); mix-blend-mode: soft-light; }
.page-hero.story-hero::after { width: 520px; height: 520px; right: -105px; top: -300px; border-color: rgba(233, 151, 54, .64); box-shadow: 0 0 0 34px rgba(233, 151, 54, .06), 0 0 0 68px rgba(233, 151, 54, .035); }
.story-hero .container { position: relative; z-index: 1; }
.story-hero .breadcrumbs, .story-hero .lede { color: rgba(255,255,255,.78); }
.story-hero .breadcrumbs a { color: #fff; }
.story-hero .eyebrow { color: #f3b96f; }
.story-hero h1 { max-width: 900px; text-wrap: balance; text-shadow: 0 3px 28px rgba(0,0,0,.25); }
.story-hero .lede { max-width: 720px; margin-bottom: 34px; }
.heritage-line { display: inline-flex; gap: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(9, 40, 32, .38); box-shadow: 0 12px 36px rgba(0,0,0,.16); backdrop-filter: blur(9px); }
.heritage-line span { padding: 11px 18px; color: rgba(255,255,255,.9); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.heritage-line span + span { border-left: 1px solid rgba(255,255,255,.24); color: #f7c98f; }
.breadcrumbs { margin-bottom: 24px; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span { margin: 0 8px; color: var(--saffron); }
.product-hero-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 70px; align-items: center; }
.product-hero-image { overflow: hidden; border-radius: 220px 220px 18px 18px; min-height: 590px; box-shadow: var(--shadow); }
.product-hero-image img { width: 100%; height: 590px; object-fit: cover; }
.fact-list { display: grid; gap: 0; margin: 32px 0; border-top: 1px solid var(--border); }
.fact { display: grid; grid-template-columns: 145px 1fr; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.fact strong { color: var(--muted); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 80px; align-items: start; }
.prose h2 { margin: 50px 0 18px; font-size: clamp(2rem, 3.7vw, 3.2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 12px; }
.prose p, .prose li { color: #53645e; }
.prose ul, .prose ol { padding-left: 20px; }
.note { padding: 22px; border-left: 3px solid var(--saffron); background: #f6efdf; font-size: .9rem; }
.sidebar-card { position: sticky; top: 112px; padding: 26px; border-radius: 18px; background: var(--forest); color: white; }
.sidebar-card p { color: rgba(255,255,255,.7); font-size: .88rem; }
.sidebar-card .button { width: 100%; margin-top: 10px; background: var(--saffron); border-color: var(--saffron); }
.source-list { display: grid; gap: 16px; }
.source-card { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.source-card a { color: var(--forest); font-weight: 800; }
.source-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; margin-top: 40px; }
.gallery-item { overflow: hidden; min-height: 300px; margin: 0; border-radius: 18px; background: var(--sand); }
.gallery-item img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.gallery-item:first-child { grid-row: span 2; min-height: 620px; }
.gallery-item:first-child img { min-height: 620px; }
.paired-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.paired-images figure { overflow: hidden; min-height: 460px; margin: 0; border-radius: 180px 180px 18px 18px; background: var(--sand); }
.paired-images img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-card { padding: 36px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; }
.contact-card h2 { font-size: 2rem; margin-bottom: 22px; }
.contact-line { display: grid; grid-template-columns: 100px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--border); }
.contact-line strong { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { padding: 65px 0 22px; background: #0c2922; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 46px; }
.footer-brand p { max-width: 420px; color: rgba(255,255,255,.62); font-size: .9rem; }
.footer-title { margin-bottom: 14px; color: var(--leaf-soft); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .73rem; }

@media (max-width: 900px) {
  .topbar span:last-child { display: none; }
  .menu-button { display: inline-flex; }
  .nav-links { position: absolute; display: none; inset: 82px 20px auto; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 5px; }
  .hero-grid, .product-hero-grid, .split, .content-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 55px; gap: 45px; }
  .hero-visual { min-height: 540px; }
  .product-grid, .use-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-row: auto; grid-column: span 2; min-height: 460px; }
  .gallery-item:first-child img { min-height: 460px; }
  .paired-images figure, .paired-images img { min-height: 380px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .section-heading { display: block; }
  .section-heading .lede { margin-top: 18px; }
  .product-hero-image, .product-hero-image img { height: 520px; min-height: 520px; }
  .sidebar-card { position: static; }
  .page-hero.story-hero { min-height: 620px; background-position: center, center, 58% 54%; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand { min-width: 0; }
  .brand-note { display: none; }
  .topbar { font-size: .68rem; }
  .hero-grid { min-height: auto; }
  .hero-visual { min-height: 450px; }
  .hero-card.main { inset: 0 6% 0 5%; }
  .hero-stamp { left: 0; width: 102px; height: 102px; }
  .product-grid, .use-grid, .principles, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: auto; min-height: 400px; }
  .gallery-item:first-child img { min-height: 400px; }
  .paired-images { grid-template-columns: 1fr 1fr; }
  .paired-images figure, .paired-images img { min-height: 280px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 25px 18px; }
  .section { padding: 75px 0; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { gap: 32px; }
  .page-hero { padding: 70px 0 65px; }
  .page-hero.story-hero { min-height: 610px; padding: 76px 0 46px; background-image: linear-gradient(90deg, rgba(6,31,25,.94) 0%, rgba(6,31,25,.76) 76%, rgba(6,31,25,.47) 100%), linear-gradient(0deg, rgba(6,31,25,.88) 0%, rgba(6,31,25,.08) 72%), url("../images/shimla-heritage-panorama.webp"); background-position: center, center, 43% center; }
  .story-hero .lede { margin-bottom: 26px; }
  .heritage-line { display: flex; width: fit-content; border-radius: 15px; flex-direction: column; }
  .heritage-line span { padding: 9px 14px; font-size: .62rem; }
  .heritage-line span + span { border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
  .product-hero-image, .product-hero-image img { height: 430px; min-height: 430px; }
  .fact { grid-template-columns: 110px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
