:root {
  --ink: #0f1f2e;
  --ink-2: #1b3044;
  --sand: #f6f1e8;
  --sand-2: #ece3d3;
  --paper: #fffdf9;
  --text: #1e2a35;
  --muted: #5d6b78;
  --accent: #e2733b;
  --accent-2: #c95d27;
  --sky: #3a8fd6;
  --line: rgba(15, 31, 46, .12);
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.lead { font-size: 1.2rem; color: var(--ink); }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #ffd2b8; margin-bottom: 1rem;
}
.eyebrow--dark { color: var(--accent-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--yt { background: #ff0033; color: #fff; }
.btn--yt svg { width: 20px; height: 20px; fill: currentColor; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; text-decoration: none; color: #fff; transition: color .3s; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.nav:not(.is-solid) .nav__links a:not(.nav__cta) { text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.nav.is-solid .nav__brand { text-shadow: none; }
.nav__brand span { color: var(--accent); }
.nav.is-solid .nav__brand { color: var(--ink); }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.9); transition: color .2s; }
.nav.is-solid .nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--accent); }
.nav__links .nav__cta { padding: .55em 1.2em; border-radius: 999px; background: var(--accent); color: #fff !important; }
.nav__links .nav__cta:hover { background: var(--accent-2); }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px 8px; cursor: pointer; }
.nav__toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .3s, background .3s; }
.nav.is-solid .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--ink); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; transform: scale(1.06); animation: settle 2.4s ease-out forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,28,.78) 0%, rgba(8,18,28,.5) 38%, rgba(8,18,28,0) 70%),
    linear-gradient(180deg, rgba(8,18,28,.45) 0%, rgba(8,18,28,0) 22%, rgba(8,18,28,.25) 45%, rgba(8,18,28,.92) 100%);
}
.hero__content { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero .eyebrow { color: #ffc9a8; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.hero__actions .btn { text-shadow: none; }
.btn--ghost { background: rgba(8,18,28,.35); backdrop-filter: blur(6px); }
.hero__content { position: relative; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px clamp(72px, 12vh, 130px); }
.hero h1 { font-size: clamp(3.2rem, 10vw, 7.5rem); font-weight: 400; margin-bottom: .25em; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero__lede { max-width: 560px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 500; color: #fff; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: 32px; bottom: 36px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about__photo { position: relative; margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(15,31,46,.35); }
.about__photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--accent); border-radius: var(--radius); z-index: -1; }
.about__photo figcaption {
  position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
}
.about__photo figcaption svg { width: 16px; height: 16px; fill: var(--accent); }
.about__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.about__facts li { background: var(--paper); padding: 16px; }
.about__facts strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.about__facts span { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.4; display: block; }

/* Quote */
.quote { background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 140px) 0; position: relative; overflow: hidden; }
.quote::before {
  content: "“"; position: absolute; top: -.18em; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 26rem; line-height: 1; color: rgba(226,115,59,.12); pointer-events: none;
}
.quote blockquote { position: relative; margin: 0 auto; max-width: 900px; text-align: center; }
.quote p { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.3; font-weight: 400; }
.quote em { color: #ffb48a; }
.quote cite { font-style: normal; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* Work */
.work { background: var(--sand); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(15,31,46,.3); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: #fde6d8; display: grid; place-items: center; margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Videos */
.videos { background: var(--ink-2); color: #fff; }
.videos h2 { color: #fff; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filter {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .55em 1.15em; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: transparent; color: rgba(255,255,255,.85); transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: #fff; color: #fff; }
.filter.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.filter span { display: inline-block; margin-left: .35em; padding: 0 .5em; min-width: 1.6em; border-radius: 999px; background: rgba(255,255,255,.14); font-size: .78rem; line-height: 1.6; }
.filter.is-active span { background: var(--accent); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery__item.is-featured { grid-column: span 2; grid-row: span 2; }
.vid { all: unset; display: block; cursor: pointer; width: 100%; }
.vid:focus-visible .vid__thumb { outline: 3px solid var(--accent); outline-offset: 3px; }
.vid__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0a1520; }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.vid:hover .vid__thumb img { transform: scale(1.05); filter: brightness(.8); }
.vid__play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .3s, background .3s;
}
.vid__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 4px; }
.vid:hover .vid__play { transform: scale(1.1); background: var(--accent); }
.vid:hover .vid__play svg { fill: #fff; }
.is-featured .vid__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.gallery__item { position: relative; }
.vid__tags { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.vid__tag { pointer-events: auto; font: inherit; color: #fff; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.vid__tag:hover, .vid__tag:focus-visible { background: var(--accent); outline: none; }
.vid__tag { background: rgba(15,31,46,.75); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.vid__title {
  margin: 14px 0 0; font-family: "Manrope", "Hind Siliguri", system-ui, sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vid__place { color: rgba(255,255,255,.6); font-size: .88rem; margin-top: 2px; }
.is-featured .vid__title { font-size: 1.35rem; -webkit-line-clamp: 3; }
.gallery__item.is-hidden { display: none; }
.videos__more { margin: 48px 0 0; text-align: center; }
.videos__more a { color: #ffb48a; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,20,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox__frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .8; }
.lightbox__close:hover { opacity: 1; }

/* Contact */
.contact { background: var(--sand); text-align: center; }
.contact__inner { max-width: 760px; }
.contact .lead { color: var(--muted); }
.contact__email {
  display: inline-block; margin: 1.2rem 0 2.2rem; font-family: var(--serif);
  font-size: clamp(1.8rem, 5.5vw, 3.4rem); color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat; transition: background-size .4s;
  word-break: break-word;
}
.contact__email:hover { background-size: 100% 3px; }
.socials { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600;
  padding: 12px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; transition: transform .2s, border-color .2s;
}
.socials a:hover { transform: translateY(-2px); border-color: var(--accent); }
.socials svg { width: 20px; height: 20px; fill: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.6); font-size: .88rem; padding: 28px 0; }
.footer__inner { text-align: center; }
.footer p { margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
  .hero__scroll span { animation: none; }
}

/* Wide screens: mirror the photo and widen it so Sajedul stands in the open space on the right */
@media (min-width: 1000px) and (min-aspect-ratio: 4/3) {
  .hero__bg { width: 125%; max-width: none; scale: -1 1; object-position: 0 48%; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 460px; }
  .about__photo::before { inset: 16px -12px -16px 16px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .nav__inner, .hero__content { padding-left: 16px; padding-right: 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 84px 24px 32px; flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--paper); box-shadow: 0 20px 40px rgba(0,0,0,.15);
    transform: translateY(-110%); transition: transform .35s ease; z-index: -1;
  }
  .nav__links a { color: var(--ink) !important; font-size: 1.15rem; }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__brand { color: var(--ink); }
  .cards, .gallery { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: 0 0 auto; }
  .gallery__item.is-featured { grid-column: auto; grid-row: auto; }
  .is-featured .vid__title { font-size: 1.3rem; }
  .about__facts { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  /* Taller photo anchored to the bottom, so the head sits up in the sky above the text */
  .hero__bg { top: auto; bottom: 0; height: 126%; object-position: 44% 50%; transform-origin: 50% 100%; }
  .quote::before { font-size: 16rem; }
}
