:root {
  --green: #1c4637;
  --cream: #f8f5ee;
  --ink: #263c33;
  --muted: #66716a;
  --line: #dedfd6;
  --gold: #9c7c40;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.85 'Noto Sans Bengali', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.wrap {
  width: min(1160px, 90%);
  margin: auto;
}

.eyebrow {
  font: 12px/1.5 Arial, sans-serif;
  letter-spacing: 2.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 18px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, .quote {
  font-family: 'Noto Serif Bengali', serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.45;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.5;
  margin-bottom: 22px;
}

h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
}

.top {
  background: var(--green);
  color: #e6ecdf;
  text-align: center;
  padding: 7px;
  font-size: 12px;
  letter-spacing: 1px;
}

header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.02);
  opacity: 0.95;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}

nav a:hover,
nav a.active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: var(--green);
  color: white;
  padding: 12px 25px;
  border: 1px solid var(--green);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btn:hover {
  background: #2c5c48;
}

.btn.outline {
  background: transparent;
  color: var(--green);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.menu {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 13px;
}

.hero {
  padding: 70px 0 65px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 65px;
  align-items: center;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero p {
  max-width: 520px;
  margin-bottom: 30px;
}

.photo {
  position: relative;
}

.hero img {
  height: 470px;
  border-radius: 160px 160px 4px 4px;
}

.photo-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #f8f5eeeF;
  padding: 15px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
}

.photo-caption strong {
  font: 30px Georgia;
}

.photo-caption span {
  font: 11px Arial;
  letter-spacing: 1.8px;
}

.ribbon {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  font-size: 14px;
}

.ribbon span::before {
  content: '✦';
  color: var(--gold);
  margin-right: 12px;
}

section {
  padding: 86px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}

.story-title {
  max-width: 380px;
}

.story-copy {
  padding-top: 25px;
}

.mini {
  display: flex;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
  font: 12px Arial;
  letter-spacing: 1px;
}

.white {
  background: #fff;
}

.center {
  text-align: center;
  max-width: 660px;
  margin: auto auto 48px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-top: 55px;
}

.milestone {
  border-top: 1px solid #afbeaf;
  position: relative;
  padding-top: 28px;
}

.milestone::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 5px solid white;
  box-sizing: content-box;
  position: absolute;
  top: -10px;
  left: 0;
  border-radius: 50%;
}

.year {
  font: 35px Georgia;
  color: var(--green);
  margin-bottom: 20px;
}

.milestone h3 {
  font-size: 16px;
}

.milestone p {
  font-size: 14px;
}

.heritage-note {
  margin-top: 45px;
  border-left: 3px solid var(--gold);
  padding: 18px 25px;
  background: var(--cream);
  display: flex;
  gap: 45px;
  align-items: center;
}

.heritage-note h3 {
  min-width: 245px;
  margin: 0;
}

.heritage-note p {
  margin: 0;
  font-size: 14px;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.value {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.symbol {
  color: var(--gold);
  font: 28px Georgia;
  margin-bottom: 20px;
}

.value h3 {
  font: 18px Georgia;
}

.value p {
  font-size: 14px;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-visual {
  height: 225px;
  background-image: var(--product-bg, url("../assets/products.20d625d754a3.jpg"));
  background-size: 300% 100%;
  border-radius: 4px;
  margin-bottom: 24px;
}

.product:nth-child(2) .product-visual {
  background-position: 50%;
}

.product:nth-child(3) .product-visual {
  background-position: 100%;
}

.product small {
  font: 11px Arial;
  letter-spacing: 2px;
  color: var(--gold);
}

.product h3 {
  margin-top: 12px;
}

.product p {
  font-size: 14px;
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.product-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.text-link {
  font-size: 14px;
  border-bottom: 1px solid var(--green);
  padding-bottom: 5px;
  display: inline-block;
}

.product-card-link:hover .text-link {
  color: var(--gold);
  border-bottom-color: var(--gold);
}


.philosophy {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 85px 0;
}

.philosophy .eyebrow {
  color: #cbb684;
}

.quote {
  font-size: clamp(27px, 3.5vw, 43px);
  line-height: 1.8;
  max-width: 870px;
  margin: auto;
}

.philosophy p {
  color: #c7d5c9;
  margin: 25px auto 0;
  max-width: 690px;
}

.quality {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 90px;
}

.quality-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 35px;
}

.quality-item {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.quality-item span {
  font: 14px Georgia;
  color: var(--gold);
}

.quality-item h3 {
  font: 18px Georgia;
  margin: 12px 0;
}

.quality-item p {
  font-size: 14px;
  margin: 0;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
}

.review blockquote {
  margin: 20px 0;
  color: var(--muted);
  font-size: 16px;
}

.review small {
  font-size: 12px;
  color: var(--muted);
}

.notice {
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0 0;
  text-align: center;
}

.teams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.avatar {
  height: 150px;
  background: #e9eee6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #748773;
  font: 52px Georgia;
  margin-bottom: 22px;
  border-radius: 4px;
}

.team h3 {
  font-size: 18px;
}

.team p {
  font-size: 14px;
}

.commit {
  border: 1px solid var(--line);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  border-radius: 4px;
}

.commit p {
  margin: 0;
}

.commit-tags {
  font: 12px Arial;
  letter-spacing: 1px;
  color: var(--gold);
  margin-top: 22px;
}

.cta {
  text-align: center;
  padding: 60px 0 80px;
}

.cta .buttons {
  justify-content: center;
}

.cta p {
  max-width: 610px;
  margin: 0 auto 28px;
}

footer {
  background: #173b2e;
  color: #e6eadd;
  padding: 45px 0 20px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
}

footer .brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

footer .footer-brand-logo {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

footer .brand:hover .footer-brand-logo,
footer .brand:focus-visible .footer-brand-logo {
  background: #ffffff;
  transform: scale(1.02);
}

footer p {
  color: #c2cfc3;
  font-size: 14px;
  max-width: 350px;
  margin-top: 18px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.copyright {
  border-top: 1px solid #3d5746;
  margin-top: 30px;
  padding-top: 17px;
  font: 11px Arial;
  color: #afc1b1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.developed-by {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #afc1b1;
}

.attribution-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.attribution-link:hover,
.attribution-link:focus-visible {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.attribution-logo {
  height: 18px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  vertical-align: middle;
  display: block;
}

.attribution-fallback {
  font-weight: 600;
  color: #c2d0b6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-footer-btn {
  background: transparent;
  border: none;
  color: #afc1b1;
  font: 11px Arial;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.consent-footer-btn:hover {
  color: #fff;
}

/* Consent Banner */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #173b2ef8;
  color: #e6eadd;
  border-top: 1px solid #3d5746;
  padding: 16px 0;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.consent-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.consent-text {
  font-size: 13px;
  line-height: 1.5;
}

.consent-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: #fff;
}

.consent-text p {
  margin: 0;
  color: #c2cfc3;
}

.consent-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.consent-buttons .btn {
  min-height: 38px;
  padding: 8px 18px;
  font-size: 13px;
}

.consent-buttons .btn.outline {
  color: #e6eadd;
  border-color: #55725f;
}

.consent-buttons .btn.outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--gold);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 8px;
}

/* Preferences Modal */
.consent-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 24, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.consent-modal-card {
  background: var(--cream);
  color: var(--ink);
  max-width: 520px;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  overflow: hidden;
}

.consent-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.consent-modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--green);
}

.consent-close-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}

.consent-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-height: 60vh;
  overflow-y: auto;
}

.consent-option {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.consent-option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.consent-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.consent-option p {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0 24px;
  line-height: 1.5;
}

.consent-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #f1ede4;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 800px) {
  .consent-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .consent-buttons {
    width: 100%;
    flex-wrap: wrap;
  }
}



.mobile-cta {
  display: none;
}

.reveal {
  animation: appear 0.8s ease both;
}

@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 800px) {
  .nav {
    height: 72px;
  }
  .brand strong {
    font-size: 18px;
  }
  .menu {
    display: block;
  }
  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 5%;
    border-bottom: 1px solid var(--line);
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 17px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 32px 0 40px;
  }
  .breadcrumb {
    margin-bottom: 25px;
  }
  .hero img {
    height: 360px;
    border-radius: 100px 100px 4px 4px;
  }
  .hero p {
    margin-bottom: 25px;
  }
  .ribbon {
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
  }
  .split,
  .quality,
  .commit {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .story-copy {
    padding-top: 0;
  }
  section {
    padding: 55px 0;
  }
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }
  .milestone {
    border-top: 0;
    border-left: 1px solid #afbeaf;
    margin-left: 10px;
    padding: 0 0 26px 30px;
  }
  .milestone::before {
    left: -10px;
    top: 0;
  }
  .year {
    font-size: 29px;
    margin-bottom: 8px;
  }
  .milestone p {
    margin-bottom: 0;
  }
  .heritage-note {
    display: block;
    padding: 20px;
  }
  .heritage-note h3 {
    min-width: 0;
    margin-bottom: 12px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .products,
  .reviews,
  .teams {
    grid-template-columns: 1fr;
  }
  .product-visual {
    height: 260px;
  }
  .center {
    margin-bottom: 32px;
  }
  .philosophy {
    padding: 55px 0;
  }
  .quality-list {
    gap: 25px;
  }
  .commit {
    padding: 27px;
  }
  .foot {
    flex-direction: column;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .copyright {
    gap: 20px;
    line-height: 1.6;
  }
  footer {
    padding-bottom: 85px;
  }
  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 5%;
    background: #f8f5eef5;
    border-top: 1px solid var(--line);
    z-index: 20;
  }
  .mobile-cta .btn {
    width: 100%;
    min-height: 44px;
  }
  .top {
    font-size: 10px;
  }
  .mini {
    gap: 18px;
    font-size: 10px;
  }
  .quality-item h3 {
    line-height: 1.6;
  }
  .cta {
    padding-bottom: 55px;
  }
}

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