:root {
  --ink: #08291f;
  --ink-2: #123a2e;
  --gold: #aa7f38;
  --gold-soft: #d8bd83;
  --paper: #f8f3e8;
  --paper-2: #eee2cd;
  --white: #fffaf0;
  --muted: #6a655c;
  --line: rgba(8, 41, 31, 0.14);
  --shadow: 0 28px 80px rgba(8, 41, 31, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-soft); color: var(--ink); }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.scrolled {
  background: rgba(248, 243, 232, 0.9);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 16px 48px rgba(8, 41, 31, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  letter-spacing: .02em;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(170,127,56,.25);
}
.brand strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1;
}
.brand small {
  display: block;
  font-family: "Noto Serif Bengali", serif;
  font-size: .78rem;
  color: var(--gold);
  margin-top: 3px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(8, 41, 31, .78);
  font-size: .93rem;
  font-weight: 600;
}
.site-nav a:hover { background: rgba(170,127,56,.11); color: var(--ink); }
.nav-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: center;
  padding: 70px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(170,127,56,.15), transparent 30%),
    linear-gradient(135deg, #f8f3e8 0%, #fffaf0 42%, #eadfc9 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -12% -45% 48%;
  height: 76%;
  border-radius: 999px;
  background: rgba(8,41,31,.08);
  filter: blur(30px);
  z-index: -2;
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8,41,31,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,41,31,.024) 1px, transparent 1px);
  background-size: 54px 54px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow.center { text-align: center; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4.6rem, 11vw, 9.2rem);
  line-height: .85;
  letter-spacing: -.06em;
}
.tagline {
  margin-bottom: 24px;
  font-family: "Noto Serif Bengali", serif;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-2);
}
.hero-lede {
  max-width: 640px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(8,41,31,.22);
}
.btn.ghost {
  border: 1px solid rgba(8,41,31,.18);
  background: rgba(255,250,240,.58);
}
.hero-mark {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(170,127,56,.26);
  background: rgba(255,250,240,.74);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-mark img {
  border-radius: calc(var(--radius-xl) - 10px);
  mix-blend-mode: multiply;
}

.section { padding: clamp(76px, 10vw, 132px) 0; }
.origin-grid,
.proof-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}
.heritage-frame {
  position: relative;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(170,127,56,.52), rgba(255,250,240,.35));
  box-shadow: var(--shadow);
}
.heritage-frame:before {
  content: "";
  position: absolute;
  inset: 30px -16px -16px 36px;
  border: 1px solid rgba(170,127,56,.25);
  border-radius: var(--radius-xl);
  z-index: -1;
}
.photo-card {
  overflow: hidden;
  border-radius: 24px;
  background: #efe6d5;
  border: 10px solid var(--white);
}
.photo-card img {
  width: 100%;
  filter: sepia(.16) contrast(1.04);
}
.caption {
  margin: 16px 0 6px;
  text-align: center;
  font-family: "Noto Serif Bengali", serif;
  font-weight: 700;
  color: var(--ink-2);
}
.origin-copy h2,
.proof-copy h2,
.narrow h2,
.section-head h2,
.closing h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: 22px;
}
.origin-copy p,
.proof-copy p,
.narrow p,
.closing p {
  font-size: 1.04rem;
  color: var(--muted);
}
.origin-copy strong { color: var(--ink); font-family: "Noto Serif Bengali", serif; }
.legacy-proof { background: var(--ink); color: var(--white); }
.legacy-proof .proof-copy p { color: rgba(255,250,240,.74); }
.legacy-proof .eyebrow { color: var(--gold-soft); }
.document-card {
  padding: 14px;
  border: 1px solid rgba(216,189,131,.28);
  border-radius: var(--radius-lg);
  background: rgba(255,250,240,.08);
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}
.document-card img {
  border-radius: 16px;
  width: 100%;
}
.narrow { max-width: 820px; text-align: center; }
.mother-brand { background: #fff8ea; }
.values-grid,
.venture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.value-card,
.venture-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.44);
  box-shadow: 0 16px 50px rgba(8,41,31,.06);
}
.value-card span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
}
.value-card h3,
.venture-card h3 {
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.08;
}
.value-card p,
.venture-card p { margin-bottom: 0; color: var(--muted); }
.section-head { max-width: 760px; }
.venture-grid { grid-template-columns: repeat(4, 1fr); }
.venture-card {
  min-height: 230px;
  background: linear-gradient(180deg, rgba(255,250,240,.9), rgba(238,226,205,.55));
}
.closing {
  padding: clamp(76px, 10vw, 130px) 0;
  background: linear-gradient(135deg, var(--ink), #0b3428);
  color: var(--white);
  text-align: center;
}
.closing-inner { max-width: 800px; }
.closing img {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 26px;
  box-shadow: 0 0 0 1px rgba(216,189,131,.5), 0 28px 80px rgba(0,0,0,.28);
}
.closing p { color: rgba(255,250,240,.75); }
.site-footer {
  padding: 38px 0;
  background: #041c15;
  color: var(--white);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.site-footer h2 {
  margin: 0 0 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
}
.site-footer p { margin: 0; color: rgba(255,250,240,.68); font-family: "Noto Serif Bengali", serif; }
.footer-label {
  font-family: Inter, sans-serif !important;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-soft) !important;
}
.site-footer a { font-weight: 800; color: var(--gold-soft); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 120ms; }
.delay-2 { transition-delay: 220ms; }
.delay-3 { transition-delay: 320ms; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 46px; }
  .hero-grid,
  .origin-grid,
  .proof-grid { grid-template-columns: 1fr; }
  .hero-mark { max-width: 620px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
  .venture-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { min-height: 72px; }
  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255,250,240,.78);
    place-content: center;
  }
  .nav-toggle span { width: 17px; height: 2px; background: var(--ink); border-radius: 99px; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(248,243,232,.96);
    box-shadow: 0 18px 50px rgba(8,41,31,.12);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .site-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 12px 14px; }
  h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 70px 0; }
  .venture-grid { grid-template-columns: 1fr; }
  .venture-card { min-height: unset; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

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