@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f7f3ea;
  --paper-deep: #efe9db;
  --ink: #16201e;
  --ink-soft: #4d5854;
  --line: #d9d2c2;
  --accent: #b5441f;
  --mv-bg: #003f3a;
  --mv-text: #e6f8f1;
  --mv-accent: #00b879;
  --hoi-bg: #0a0610;
  --hoi-text: #f6efe2;
  --hoi-accent: #f2b84b;
  --hoi-red: #ef4136;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  z-index: 10;
}
.skip:focus { left: var(--gutter); top: 8px; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header */

.site-header { border-bottom: 1px solid var(--line); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav { display: flex; gap: clamp(16px, 3vw, 32px); font-size: 0.95rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */

.hero { padding-block: clamp(56px, 10vw, 128px) clamp(48px, 7vw, 88px); }

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 8.2vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 13em;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 32px 0 0;
}

/* Products */

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 5vw, 64px) var(--gutter);
  min-height: 620px;
}
.product-mv {
  background: var(--mv-bg);
  color: var(--mv-text);
  --tint: var(--mv-accent);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.product-hoi {
  background: var(--hoi-bg);
  color: var(--hoi-text);
  --tint: var(--hoi-accent);
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.product-head { display: flex; align-items: center; gap: 14px; }
.product-head img { width: 52px; height: 52px; border-radius: 12px; }
.product-head h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.product-claim {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.product p.desc { margin: 0; opacity: 0.86; max-width: 34em; }

.product-stage { flex: 1; display: flex; align-items: center; min-height: 120px; }

.say {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.05rem;
}
.bars { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.bars i { display: block; width: 4px; border-radius: 2px; background: var(--mv-accent); }
.bars i:nth-child(1) { height: 10px; }
.bars i:nth-child(2) { height: 20px; }
.bars i:nth-child(3) { height: 26px; }
.bars i:nth-child(4) { height: 16px; }
.bars i:nth-child(5) { height: 8px; }

.bangla {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--hoi-accent);
}
.bangla span { color: var(--hoi-red); }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
}
.facts li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }

.product-link {
  align-self: flex-start;
  color: var(--tint);
  font-weight: 600;
  text-underline-offset: 4px;
}
.product-link:focus-visible { outline-color: currentColor; }

/* Sections */

.section { padding-block: clamp(64px, 9vw, 112px); }

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.principles li { border-top: 2px solid var(--ink); padding-top: 16px; }
.principles h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 10px;
}
.principles p { margin: 0; color: var(--ink-soft); }

.contact { background: var(--paper-deep); }
.contact .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
}
.contact p { margin: 12px 0 0; color: var(--ink-soft); max-width: 32em; }
.contact-mail {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  overflow-wrap: anywhere;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

/* Footer */

.site-footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 0.92rem; color: var(--ink-soft); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-underline-offset: 3px; }

/* Legal pages */

.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal .wrap { max-width: calc(760px + var(--gutter) * 2); }
.legal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}
.legal .updated { color: var(--ink-soft); margin: 12px 0 32px; font-size: 0.95rem; }
.legal .summary {
  background: var(--paper-deep);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin: 0 0 16px;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 44px 0 10px;
  scroll-margin-top: 16px;
}
.legal p, .legal li { color: #2c3633; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { text-underline-offset: 3px; }

.table-scroll { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 16px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; }

@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; }
  .product { min-height: 0; }
  .principles { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .brand { font-size: 1.2rem; }
  .site-nav { gap: 12px; font-size: 0.85rem; }
}

@media (max-width: 350px) {
  .site-nav a[href="#approach"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
