@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400&family=Marcellus&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --wine: #3a0709;
  --wine-deep: #180203;
  --ivory: #f4eee3;
  --gold: #c8a46b;
  --muted: #c9bdb0;
  --line: rgba(220, 190, 139, .28);
  --paw-cursor: url('/assets/cheetah-paw-cursor.png?v=3') 18 17, auto;
  --heading-page: clamp(3rem, 6.4vw, 6.4rem);
  --heading-section: clamp(2.4rem, 4.3vw, 4.6rem);
}

* { box-sizing: border-box; }

html,
body,
body *,
body *::before,
body *::after { cursor: var(--paw-cursor) !important; }

html { background: var(--wine-deep); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ivory);
  background: #210304;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(20, 1, 2, .38), rgba(20, 1, 2, .66)), url('/assets/portfolio/maroon-embossed-paw-trail.png') center / cover;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  isolation: isolate;
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 -5.5rem;
  background: linear-gradient(
    180deg,
    rgba(55, 8, 4, 0.9) 0%,
    rgba(55, 8, 4, 0.58) 46%,
    rgba(55, 8, 4, 0) 100%
  );
  pointer-events: none;
}

.brand img {
  display: block;
  width: clamp(3.84rem, 6vw, 5.52rem);
  height: auto;
  filter: drop-shadow(0 0.15rem 0.7rem rgba(66, 10, 4, 0.28));
}

.header-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.header-links a {
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  color: #efd9b5;
  font-family: "Marcellus", serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: border-color .25s ease, color .25s ease;
}

.header-links a:hover,
.header-links a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold);
}

.portfolio-hero {
  min-height: min(50vh, 480px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 82px 24px 58px;
  background-color: #210304;
  background-image:
    radial-gradient(circle at 24% 24%, rgba(200, 164, 107, .18), transparent 40%),
    radial-gradient(circle at 78% 72%, rgba(112, 24, 32, .36), transparent 43%),
    linear-gradient(135deg, rgba(20, 1, 2, .2), rgba(58, 7, 9, .42));
  animation: portfolio-hero-mood 16s ease-in-out infinite;
}

.portfolio-hero-slideshow {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.portfolio-hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 2, 2, .5), rgba(31, 3, 3, .46)),
    radial-gradient(circle at 50% 40%, rgba(83, 18, 18, .08), rgba(20, 1, 2, .54) 72%);
}

.portfolio-hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.78) brightness(.68);
  transform: scale(1.025);
  transition: opacity 1.5s ease, transform 7s ease;
}

.portfolio-hero-slideshow img.is-visible {
  opacity: 1;
  transform: scale(1.075);
}

@keyframes portfolio-hero-mood {
  0%, 100% { background-color: #210304; }
  25% { background-color: #38100b; }
  50% { background-color: #2d071c; }
  75% { background-color: #3a1608; }
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  z-index: 0;
  background: linear-gradient(transparent, #210304);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; max-width: 940px; text-align: center; }

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: clamp(12px, .9vw, 14px);
  font-weight: 500;
  letter-spacing: .4em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: "Cormorant Garamond", serif; font-weight: 400; }

h1 {
  margin: 0;
  font-size: var(--heading-page);
  line-height: .78;
  letter-spacing: -.045em;
  text-shadow: 0 10px 40px rgba(0,0,0,.34);
}

.hero-intro {
  max-width: 560px;
  margin: 35px auto 0;
  color: rgba(244,238,227,.76);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 32px;
  translate: -50%;
  font-size: clamp(11px, .8vw, 13px);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .68;
}

.portfolio-section {
  position: relative;
  background: linear-gradient(180deg, #210304, #160102 72%, #100101);
  padding: 90px clamp(22px, 5vw, 82px) 130px;
}

.section-heading { max-width: 1240px; margin: 0 auto 55px; }
.section-heading h2 { margin: 0; font-size: var(--heading-section); line-height: 1; }
.section-heading p:last-child { max-width: 520px; color: var(--muted); line-height: 1.8; }

.destination-grid, .event-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(44px, 5vw, 72px) clamp(22px, 3vw, 42px);
}

.destination-card { align-self: start; }

.card-image {
  position: relative;
  overflow: hidden;
  background: #110101;
  aspect-ratio: 4 / 4.65;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, transparent 58%, rgba(11,0,0,.38));
  pointer-events: none;
}

.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.86) contrast(1.03);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}

.destination-card:hover img, .event-card:hover img { transform: scale(1.035); filter: saturate(1) contrast(1); }

.card-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.card-meta h2,
.card-meta h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: .035em;
  line-height: 1;
  text-transform: uppercase;
}
.event-card .card-meta h3 {
  font-size: clamp(20px, 1.8vw, 29px);
  line-height: 1;
}
.card-meta span { padding-bottom: 5px; color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }

.detail-hero {
  min-height: 76vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 160px clamp(22px, 6vw, 96px) 72px;
  overflow: hidden;
}

.detail-hero-media { position: absolute; inset: 0; }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.8); }
/* Tight cover crop: include both faces while keeping the hero full-bleed. */
body[data-destination="delhi"][data-event="bindya-shiven"] .detail-hero-media img {
  object-fit: cover;
  object-position: center 23%;
  transform: none;
  -webkit-mask-image: none;
  mask-image: none;
}
body[data-destination="jaipur"] .detail-hero-media img { object-position: center 20%; }
body[data-destination="jaipur"][data-event="manat-samrath"] .detail-hero-media img { object-position: center 35%; }
body[data-destination="jaipur"][data-event="meher-aman"] .detail-hero-media img { object-position: center 20%; }
/* Portrait covers need a face-led crop in the landscape story cards. */
body[data-destination="delhi"] .event-card-bindya-shiven .card-image img { object-position: center 30%; }
body[data-destination="jaipur"] .event-card .card-image img { object-position: center 35%; }
body[data-destination="udaipur"] .event-card-jigyasa-samar .card-image img { object-position: center 72%; }
/* The portrait has generous sky above the couple; bias the crop lower to keep their faces in frame. */
body[data-destination="udaipur"][data-event="jigyasa-samar"] .detail-hero-media img { object-position: center 72%; }
body[data-destination="goa"] .detail-hero-media img { object-position: center 30%; }
body[data-destination="goa"][data-event="juhi-jatin"] .detail-hero-media img { object-position: center 30%; }
/* Lift Bangalore's header composition slightly within its full-bleed crop. */
body[data-destination="bangalore"] .detail-hero-media img { object-position: center 55%; }
body[data-destination="indore"][data-event="juhi-jatin"] .detail-hero-media img { object-position: center 60%; }
body[data-destination="thailand"] .detail-hero-media img { object-position: center 65%; }
body[data-destination="thailand"][data-event="ritika-manav"] .detail-hero-media img { object-position: center 65%; }
.detail-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,1,2,.35), rgba(21,1,2,.2) 45%, #210304); }
.detail-hero .hero-copy { text-align: left; max-width: 1000px; }
.detail-hero h1 { font-size: var(--heading-page); }

.back-link {
  display: inline-block;
  margin-top: 35px;
  color: var(--gold);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.event-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-card .card-image { aspect-ratio: 16 / 11; }

.story-words-section {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) clamp(22px, 5vw, 60px) clamp(24px, 4vw, 48px);
  text-align: center;
}

.story-words-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-words-kicker {
  margin: 0 0 24px;
  color: var(--gold);
  font-family: "Marcellus", serif;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.story-words-quote {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
}

.story-words-quote::before {
  content: "“";
  display: block;
  margin-bottom: -0.25em;
  color: rgba(200, 164, 107, 0.32);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
}

.story-words-quote p {
  margin: 0;
  color: #ede2d5;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(21px, 2.2vw, 29px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: balance;
}

.story-words-quote p + p {
  margin-top: 1.15em;
}

.story-words-quote cite {
  display: inline-block;
  margin-top: 24px;
  color: var(--gold);
  font-family: "Marcellus", serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.gallery {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(12px, 3vw, 48px) 40px;
}

.gallery-single {
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-featured {
  margin-bottom: clamp(14px, 2vw, 28px);
}

.gallery-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.gallery-sequence {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 28px);
}

.gallery-row {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.gallery-row .gallery-button {
  flex: var(--image-ratio) 1 0;
  min-width: 0;
}

.gallery-row.is-incomplete .gallery-button {
  max-width: 50%;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.story-back-section {
  max-width: 1500px;
  margin: 0 auto clamp(60px, 8vw, 110px);
  padding: 0 clamp(12px, 3vw, 48px);
  text-align: center;
}

.story-back-section .back-link {
  margin-top: 0;
  display: inline-block;
  border: 1px solid rgba(200, 164, 107, 0.45);
  padding: 14px 28px;
  border-radius: 999px;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.story-back-section .back-link:hover {
  border-color: var(--gold);
  background: rgba(200, 164, 107, 0.12);
  color: var(--ivory);
}

.gallery-button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #140404;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 2px;
}

.gallery-featured .gallery-button,
.gallery-single .gallery-button,
.gallery-button.is-featured {
  aspect-ratio: 16 / 9;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity .3s ease, transform .45s ease;
}

.gallery-button:hover img {
  opacity: .88;
  transform: scale(1.025);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 54px;
  background: rgba(7,0,1,.96);
}

.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 22px; right: 28px; border: 0; background: none; color: white; font-size: 34px; cursor: pointer; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(22px, 5vw, 82px);
  border-top: 1px solid var(--line);
  background: #100101;
  color: #a99c91;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .site-header { padding-inline: 1rem; }
  .header-links { gap: clamp(0.55rem, 2.5vw, 0.9rem); }
  .header-links a { font-size: clamp(0.52rem, 2.25vw, 0.66rem); letter-spacing: 0.12em; }
  .portfolio-hero { min-height: min(56vh, 480px); padding-block: 88px 58px; }
  .destination-grid, .event-grid { grid-template-columns: 1fr; gap: 58px; }
  .card-image { aspect-ratio: 4 / 4.65; }
  .detail-hero { min-height: 66vh; padding-bottom: 50px; }
  .gallery-columns, .gallery-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-sequence, .gallery-row { gap: 18px; }
  .gallery-row { flex-direction: column; }
  .gallery-row .gallery-button {
    flex: none;
    width: 100%;
    aspect-ratio: auto !important;
  }
  .gallery-row .gallery-button img {
    height: auto;
  }
  .gallery-row.is-incomplete .gallery-button { max-width: none; }
  .gallery-col { gap: 18px; }
  .site-footer { flex-direction: column; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 721px) and (max-width: 1050px) {
  .destination-grid, .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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