:root {
  --ink: #f3efe4;
  --ink-dim: #c9c2b2;
  --paper: #08110c;
  --moss: #122018;
  --forest: #1c3326;
  --leaf: #8fbf7a;
  --gold: #e0b25a;
  --gold-2: #f0d9a0;
  --teal: #7ec8b8;
  --mist: #dfe8df;
  --card: rgba(18, 32, 24, 0.78);
  --line: rgba(224, 178, 90, 0.28);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  --radius: 22px;
  --bn: "Noto Sans Bengali", "Noto Serif Bengali", sans-serif;
  --bn-serif: "Noto Serif Bengali", "Noto Sans Bengali", serif;
  --en: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--bn);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(142, 191, 122, 0.12), transparent 55%),
    var(--paper);
  line-height: 1.75;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

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

a {
  color: var(--gold-2);
  text-decoration: none;
}

button,
input {
  font-family: inherit;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.2s ease, transform 9s ease;
}

.hero-slides img.is-on {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(8, 17, 12, 0.28) 0%, rgba(8, 17, 12, 0.72) 70%),
    linear-gradient(180deg, rgba(8, 17, 12, 0.2) 0%, rgba(8, 17, 12, 0.86) 100%);
}

.hero-float {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-float img {
  position: absolute;
  width: min(18vw, 210px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 3px solid rgba(243, 239, 228, 0.18);
  opacity: 0.88;
}

.hero-float img:nth-child(1) {
  top: 12%;
  left: 6%;
  transform: rotate(-11deg);
}

.hero-float img:nth-child(2) {
  top: 18%;
  right: 7%;
  transform: rotate(9deg);
}

.hero-float img:nth-child(3) {
  bottom: 14%;
  left: 10%;
  transform: rotate(7deg);
  width: min(14vw, 160px);
}

.hero-float img:nth-child(4) {
  bottom: 16%;
  right: 9%;
  transform: rotate(-8deg);
  width: min(15vw, 170px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 10vw));
  margin: 0 auto;
  padding: 6rem 0 5rem;
}

.kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  font-family: var(--en);
}

.hero h1 {
  font-family: var(--bn-serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.28;
  margin: 0.7rem auto 1rem;
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.5);
}

.hero-en {
  font-family: var(--en);
  font-style: italic;
  font-size: clamp(1.1rem, 2.1vw, 1.7rem);
  color: var(--gold-2);
  margin-bottom: 1.6rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.chip {
  background: rgba(11, 18, 14, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: calc(0.75rem + env(safe-area-inset-top)) 4vw 0.75rem;
  background: rgba(8, 17, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transform: translateY(-110%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s ease, visibility 0.35s ease;
}

.nav.is-on {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.nav a {
  color: var(--ink);
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(224, 178, 90, 0.08);
}

.wrap {
  width: min(1180px, calc(100% - 8vw));
  margin: 0 auto;
}

.section {
  padding: 4.8rem 0 1.2rem;
  scroll-margin-top: 4.6rem;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.4rem;
}

.section-head h2 {
  font-family: var(--bn-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin: 0.35rem 0 0.7rem;
}

.lede,
.note {
  color: var(--ink-dim);
}

.section-head .lede,
.section-head .note {
  margin: 0.4rem auto;
}

.controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat,
.field {
  background: var(--moss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  text-align: center;
}

.stat b,
.field span {
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.stat span {
  font-family: var(--en);
  font-size: 1.6rem;
}

.field input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 1.4rem;
  font-family: var(--en);
  outline: none;
  text-align: center;
}

.day {
  margin: 4.5rem 0 6rem;
  scroll-margin-top: 4.2rem;
}

.day-banner {
  position: relative;
  width: min(1400px, calc(100% - 4vw));
  margin: 0 auto;
  min-height: 64vh;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.day-banner img {
  width: 100%;
  height: 64vh;
  object-fit: cover;
}

.day-banner figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 4rem 8vw 2.2rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(8, 17, 12, 0.94));
}

.day-banner .when {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.day-banner h3 {
  font-family: var(--bn-serif);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  margin: 0.25rem 0 0.35rem;
}

.day-banner .en {
  font-family: var(--en);
  font-style: italic;
  color: var(--gold-2);
}

.day-sub {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
  margin: 1.5rem auto 0.4rem;
  color: var(--ink-dim);
  text-align: center;
}

.day-sub strong {
  color: var(--gold-2);
  font-family: var(--en);
  font-size: 1.2rem;
}

.day-track {
  position: relative;
  width: min(1180px, calc(100% - 6vw));
  margin: 2.2rem auto 0;
}

.day-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0.45;
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 1.2rem;
  align-items: center;
  margin: 0 0 3.2rem;
}

.stop-node {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--gold);
  color: var(--gold-2);
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.2;
  padding: 0.3rem;
  box-shadow: 0 0 0 8px rgba(8, 17, 12, 0.92);
}

.stop-left .mosaic {
  grid-column: 1;
  grid-row: 1;
}

.stop-left .stop-body {
  grid-column: 3;
}

.stop-right .mosaic {
  grid-column: 3;
  grid-row: 1;
}

.stop-right .stop-body {
  grid-column: 1;
  text-align: right;
}

.stop-right .costs,
.stop-right .time {
  justify-content: flex-end;
}

.stop-body {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  padding: 1.25rem 1.3rem;
  backdrop-filter: blur(10px);
}

.stop-body h4 {
  font-family: var(--bn-serif);
  font-size: 1.28rem;
  margin: 0 0 0.55rem;
}

.time {
  display: inline-block;
  color: var(--leaf);
  font-weight: 600;
  font-size: 0.92rem;
}

.costs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 0.9rem;
}

.costs span {
  background: rgba(224, 178, 90, 0.12);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.82rem;
  color: var(--gold-2);
}

.intro {
  margin: 0 0 0.9rem;
}

.tips {
  background: rgba(224, 178, 90, 0.08);
  border-left: 3px solid var(--gold);
  padding: 0.8rem 0.95rem;
  border-radius: 0 14px 14px 0;
  color: var(--mist);
  font-size: 0.95rem;
  text-align: left;
}

.stop-right .tips {
  border-left: 0;
  border-right: 3px solid var(--gold);
  border-radius: 14px 0 0 14px;
}

.tips b {
  color: var(--gold);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 118px;
  gap: 0.55rem;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  cursor: zoom-in;
  background: #1a2a20;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .mosaic img:hover {
    transform: scale(1.04) rotate(0deg);
    z-index: 3;
  }
}

.mosaic img:first-child {
  grid-row: 1 / 3;
  min-height: 240px;
  transform: rotate(-2.4deg);
}

.mosaic img:nth-child(2) {
  transform: rotate(3deg) translateY(8px);
}

.mosaic img:nth-child(3) {
  transform: rotate(-2deg);
}

.mosaic img:nth-child(4),
.mosaic img:nth-child(5) {
  transform: rotate(1.8deg);
}

.stop-right .mosaic img:first-child {
  transform: rotate(2.4deg);
}

.featured {
  position: relative;
  width: min(1320px, calc(100% - 5vw));
  margin: 0.4rem auto 2.8rem;
  border-radius: 32px;
  overflow: hidden;
  min-height: 52vh;
  box-shadow: var(--shadow);
}

.featured img {
  width: 100%;
  height: 52vh;
  object-fit: cover;
  cursor: zoom-in;
}

.featured span {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  background: rgba(11, 18, 14, 0.72);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  max-width: calc(100% - 1.5rem);
  text-align: center;
  line-height: 1.35;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto 2rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.table th,
.table td {
  text-align: center;
  padding: 0.85rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.table th {
  color: var(--gold);
  font-weight: 600;
}

.fix-grid,
.tip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.card {
  background: var(--moss);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 1.15rem 1.25rem;
  text-align: center;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--gold-2);
}

.do {
  border-color: rgba(142, 191, 122, 0.35);
}

.dont {
  border-color: rgba(240, 183, 160, 0.35);
}

.check-group {
  margin: 1.4rem auto 2rem;
  max-width: 760px;
}

.check-group h3 {
  font-family: var(--bn-serif);
  color: var(--gold-2);
  margin: 0 0 0.7rem;
  text-align: center;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.check-item input {
  margin-top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--gold);
}

.check-item small {
  grid-column: 2;
  color: var(--ink-dim);
}

.check-item.done span {
  text-decoration: line-through;
  opacity: 0.65;
}

.eight {
  display: grid;
  gap: 1rem;
}

.eight article {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: var(--moss);
  border-radius: 18px;
  padding: 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.eight .d {
  font-family: var(--en);
  color: var(--gold);
  text-align: center;
}

.stay {
  color: var(--teal);
  font-size: 0.92rem;
}

.extra {
  color: var(--ink-dim);
  font-size: 0.88rem;
  text-align: right;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox img {
  max-height: 86dvh;
  max-width: min(92vw, 100%);
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: max(0.6rem, env(safe-area-inset-top));
  right: max(0.8rem, env(safe-area-inset-right));
  background: transparent;
  border: 0;
  color: white;
  font-size: 2.4rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  line-height: 1;
}

@media (max-width: 1100px) {
  .controls {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 4.2rem;
  }

  .hero-float {
    display: none;
  }

  .hero-copy {
    width: min(820px, calc(100% - 8vw));
    padding: 4.5rem 0 3.5rem;
  }

  .kicker {
    letter-spacing: 0.16em;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.35rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.35rem 0.8rem;
    font-size: 0.84rem;
  }

  .wrap {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .section {
    padding: 3.2rem 0 0.8rem;
    scroll-margin-top: 4.2rem;
  }

  .fix-grid,
  .tip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .day {
    margin: 2.8rem 0 3.4rem;
  }

  .day-track {
    width: min(1180px, calc(100% - 1.25rem));
  }

  .day-track::before {
    left: 21px;
    transform: none;
  }

  .stop,
  .stop-left,
  .stop-right {
    grid-template-columns: 42px 1fr;
    gap: 0.75rem 0.85rem;
    margin-bottom: 2.2rem;
  }

  .stop-node {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    font-size: 0.58rem;
    align-self: start;
    margin-top: 0.85rem;
    box-shadow: 0 0 0 6px rgba(8, 17, 12, 0.92);
  }

  .stop-left .mosaic,
  .stop-right .mosaic {
    grid-column: 2;
    grid-row: 1;
  }

  .stop-left .stop-body,
  .stop-right .stop-body {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }

  .stop-right .costs,
  .stop-right .time {
    justify-content: flex-start;
  }

  .stop-right .tips {
    border-right: 0;
    border-left: 3px solid var(--gold);
    border-radius: 0 14px 14px 0;
  }

  .stop-body {
    border-radius: 20px;
    padding: 1rem 1.05rem;
  }

  .featured {
    width: auto;
    margin: 0.2rem 0 1.8rem 3.4rem;
    border-radius: 22px;
  }

  .eight article {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .extra {
    text-align: center;
  }

  .day-banner {
    width: calc(100% - 1.25rem);
    border-radius: 22px;
  }

  .day-banner,
  .day-banner img,
  .featured,
  .featured img {
    min-height: 36vh;
    height: 36vh;
  }

  .day-banner figcaption {
    padding: 2.4rem 1.1rem 1.2rem;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 3.8rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8.4vw, 2.4rem);
  }

  .hero-en {
    font-size: 1.05rem;
    margin-bottom: 1.15rem;
  }

  .chip {
    padding: 0.32rem 0.7rem;
    font-size: 0.8rem;
  }

  .hero-meta {
    gap: 0.4rem;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .fix-grid,
  .tip-grid {
    grid-template-columns: 1fr;
  }

  .controls {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .stat,
  .field {
    padding: 0.85rem 0.65rem;
    border-radius: 16px;
  }

  .stat span,
  .field input {
    font-size: 1.15rem;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 96px;
    min-height: 0;
    gap: 0.4rem;
  }

  .mosaic img {
    border-radius: 12px;
    transform: none;
  }

  .mosaic img:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 160px;
    height: 160px;
    transform: none;
  }

  .stop-body h4 {
    font-size: 1.12rem;
  }

  .card {
    text-align: left;
    padding: 1rem;
  }

  .table thead {
    display: none;
  }

  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
    width: 100%;
  }

  .table tr {
    background: var(--moss);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 0.7rem;
    padding: 0.85rem 1rem;
  }

  .table td {
    text-align: left;
    border-bottom: 0;
    padding: 0.15rem 0;
  }

  .table td:last-child {
    color: var(--gold-2);
    font-family: var(--en);
    font-size: 1.05rem;
    padding-top: 0.35rem;
  }

  .day-banner,
  .day-banner img,
  .featured,
  .featured img {
    min-height: 30vh;
    height: 30vh;
  }

  .check-item {
    gap: 0.45rem 0.7rem;
  }

  .lightbox img {
    max-height: 78dvh;
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  .controls {
    grid-template-columns: 1fr;
  }

  .wrap {
    width: calc(100% - 1rem);
  }

  .day-track {
    width: calc(100% - 0.85rem);
  }

  .day-banner {
    width: calc(100% - 0.85rem);
    border-radius: 16px;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 140px;
  }

  .mosaic img:first-child {
    height: 140px;
    min-height: 140px;
  }
}
