/* ============================================
   HAPPY MESS — design tokens
   ============================================ */
:root {
  --paper: #FFF8EC;
  --card: #FFFDF7;
  --ink: #221B2E;
  --ink-soft: #6a6278;
  --coral: #FF4F5E;
  --mustard: #FFC53D;
  --violet: #6C5CE7;
  --mint: #2FBF8F;
  --orange: #FF9F43;

  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --container: 1200px;
  --header-h: 78px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

p { margin: 0; color: var(--ink-soft); }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 96px 32px;
}

.section__head {
  max-width: 620px;
  margin-bottom: 48px;
}

.section__head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 14px;
}

.section__head p { font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, background .25s ease;
}
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--dark {
  background: var(--ink);
  color: var(--paper);
}
.btn--dark:hover { background: var(--coral); }

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
}
.topbar__track {
  display: inline-flex;
  gap: 10px;
  padding: 9px 0;
  animation: scroll-left 22s linear infinite;
}
.topbar a { color: var(--mustard); text-decoration: underline; }
.topbar .dot { color: var(--coral); }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 236, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  border-color: var(--ink);
  box-shadow: 0 6px 18px rgba(34,27,46,0.06);
}

.nav-wrap {
  max-width: var(--container);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* pehle space-between tha */
  gap: 24px;
} 

/* Logo inside the navbar */
.nav-logo { flex-shrink: 0; display: block; line-height: 0; }
.nav-wrap img[src*="Logo-Navbar.png"] {
  height: 85px;
  width: auto;
  max-width: none;
  display: block;
  margin-left: -35px;
} 



.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  transform: rotate(-6deg);
}
.logo__word {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.logo__word em { color: var(--coral); font-style: normal; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 500;
  margin-left: auto;   /* nav ko right side dhakelta hai */
  margin-right: 28px;  /* icons se thoda gap */
} 

.nav-item { position: relative; display: flex; align-items: center; }

/* Shared look for the top-level links / dropdown triggers */
.main-nav .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--coral);
  transition: right .25s ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link.is-active::after,
.nav-item:hover > .nav-link::after,
.nav-item.is-open > .nav-link::after { right: 0; }

.nav-caret { transition: transform .25s ease; flex-shrink: 0; }
.nav-item:hover .nav-caret,
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

/* Separate caret button, used when the label itself is a real link (e.g. "Themes") */
.nav-caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-left: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}
.nav-caret-btn:hover,
.nav-item.is-open > .nav-caret-btn { background: rgba(34,27,46,0.08); }

/* ---- Dropdown panel ---- */
.dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 232px;
  margin-top: 14px;
  padding: 10px;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 120;
}
/* Invisible bridge so the menu doesn't close in the gap */
.dropdown::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown,
.nav-item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  --accent: var(--coral);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dropdown__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--accent);
  color: #fff;
  transform: translateX(3px);
}
.dropdown a:hover .dropdown__dot,
.dropdown a:focus-visible .dropdown__dot {
  background: #fff;
  transform: scale(1.25);
}

.dropdown__more {
  margin-top: 4px;
  padding-top: 12px !important;
  border-top: 1px dashed rgba(34,27,46,0.22);
  font-weight: 600;
}
.dropdown__more .dropdown__dot {
  background: var(--ink) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease;
}
.icon-btn:hover { background: rgba(34,27,46,0.06); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 32px 60px;
}

.hero__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.confetti-piece {
  position: absolute;
  border-radius: 3px;
  opacity: .85;
  animation: float-confetti linear infinite;
}
@keyframes float-confetti {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-140px) rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero__kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--coral);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(38px, 5.6vw, 66px);
  color: var(--ink);
}
.ink-underline {
  position: relative;
  white-space: nowrap;
}
.ink-underline::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 2px;
  height: 12px;
  background: var(--mustard);
  z-index: -1;
  transform: skewX(-8deg);
}

.hero__sub {
  margin-top: 22px;
  font-size: 18px;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 2px dashed rgba(34,27,46,0.18);
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-family: var(--font-display); font-size: 22px; }
.trust-item span { font-size: 13px; color: var(--ink-soft); }

.hero__collage {
  position: relative;
  height: 460px;
}
.tile {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 34px rgba(34,27,46,0.16);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  transition: transform .35s ease; 
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
}

.tile__tag {
  position: relative;
  z-index: 2;
} 

.tile:hover { transform: translateY(-6px) rotate(0deg) !important; }
.tile__tag {
  background: rgb(0, 0, 0);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.tile--1 {
  width: 58%; height: 62%;
  top: 0; left: 4%;
  transform: rotate(-4deg);
  z-index: 2;
}
.tile--2 {
  width: 40%; height: 44%;
  top: 4%; right: 0;
  transform: rotate(6deg);
  z-index: 1;
}
.tile--3 {
  width: 38%; height: 40%;
  bottom: 0; left: 0;
  transform: rotate(5deg);
  z-index: 1;
}
.tile--4 {
  width: 46%; height: 42%;
  bottom: 2%; right: 4%;
  transform: rotate(-5deg);
  z-index: 2;
}
.squiggle {
  position: absolute;
  bottom: -34px;
  left: 10%;
  width: 60%;
  opacity: .8;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.marquee__track {
  display: inline-flex;
  animation: scroll-left 34s linear infinite;
}
.marquee__group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  padding: 0 8px;
}
.marquee__sep {
  font-size: 15px;
  opacity: .55;
  padding: 0 28px;
}

/* ============================================
   BENTO CATEGORIES
   ============================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.bento__card {
  --accent: var(--coral);
  grid-column: span 5;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.bento__card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .16;
}
.bento__card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--ink);
}
.bento__card--lg { grid-column: span 7; min-height: 270px; }
.bento__card--wide { grid-column: span 12; flex-direction: row; align-items: center; gap: 24px; min-height: auto; padding: 34px 40px; }
.bento__card--wide h3, .bento__card--wide p { margin: 0; }
.bento__card--wide .bento__glyph { font-size: 40px; }

.bento__card--more {
  border-style: dashed;
  background: transparent;
}
.bento__card--more::before { opacity: .1; }
.bento__card--more .bento__card--more__copy { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bento__link--more { margin-top: 0; flex-shrink: 0; }

.bento__glyph {
  font-size: 34px;
  z-index: 1;
}
.bento__card h3 {
  font-size: 24px;
  z-index: 1;
}
.bento__card p {
  font-size: 15px;
  z-index: 1;
}
.bento__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  z-index: 1;
}
.bento__link::after { content: " ›"; }

/* ============================================
   COMING SOON BANNER
   ============================================ */
.coming-soon {
  background: var(--violet);
  color: #fff;
  text-align: center;
  padding: 64px 32px;
}
.coming-soon h2 {
  font-size: clamp(50px, 4vw, 66px);
  font-style: italic;
  font-weight: 500; 
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 2px solid var(--ink);
}
.step__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--mustard);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15px; }

/* ============================================
   PINBOARD / TESTIMONIALS
   ============================================ */
.pinboard { background: #FFF1DB; }
.pin-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.pin {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  box-shadow: 0 14px 26px rgba(34,27,46,0.1);
}
.pin--1 { transform: rotate(-3deg); }
.pin--2 { transform: rotate(2deg); margin-top: 20px; }
.pin--3 { transform: rotate(-2deg); }
.pin--4 { transform: rotate(3deg); margin-top: 14px; }
.pin blockquote {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}
.pin figcaption { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

/* ============================================
   MESS CLUB CTA
   ============================================ */
.mess-club {
  background: linear-gradient(115deg, var(--coral) 0%, var(--coral) 48%, var(--mustard) 48%, var(--mustard) 100%);
  padding: 90px 32px;
}
.mess-club__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.mess-club h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
}
.mess-club p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 30px; }
.mess-club__form {
  display: flex;
  gap: 12px;
  background: #fff;
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(34,27,46,0.2);
}
.mess-club__form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  color: var(--ink);
}
.mess-club__form .btn { padding: 12px 24px; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 32px 20px;
}
.contact-hero__inner { max-width: 560px; }
.contact-hero h1 {
  font-size: clamp(34px, 4.6vw, 52px);
  margin: 10px 0 16px;
}
.contact-hero__sub { font-size: 17px; }

.contact-body { padding-top: 40px; }

/* 35% photo / 65% "Reach us directly" card */
.contact-grid {
  display: grid;
  /* 35 : 65 split — fr keeps the ratio exact once the gap is accounted for */
  grid-template-columns: 35fr 65fr;
  gap: 40px;
  align-items: stretch;
}

.contact-photo {
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
  min-height: 440px;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
.contact-photo:hover img { transform: scale(1.04); }

.contact-info {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
}
.contact-info h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.contact-info__intro { font-size: 16px; margin-bottom: 28px; }

.contact-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px dashed rgba(34,27,46,0.18);
  padding-bottom: 16px;
  min-width: 0;
}
.contact-list__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--coral);
}
.contact-list a,
.contact-list span:not(.contact-list__label) {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  word-break: break-word;
}
.contact-list a { transition: color .2s ease; }
.contact-list a:hover { color: var(--coral); }

.contact-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-info__social { margin-top: auto; }
.contact-info__social a { color: var(--ink); border-color: rgba(34,27,46,0.3); }
.contact-info__social a:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-photo { min-height: 260px; max-height: 340px; }
  .contact-photo img { min-height: 260px; }
  .contact-info { padding: 30px 24px; }
}
@media (max-width: 560px) {
  .contact-list { grid-template-columns: 1fr; gap: 16px; }
  .contact-info__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,248,236,0.75);
  padding: 70px 32px 26px;
}
.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,248,236,0.15);
}
.footer__brand p { color: rgba(255,248,236,0.65); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.logo--footer .logo__word { color: var(--paper); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,248,236,0.3);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}
.footer__social a:hover { background: var(--coral); border-color: var(--coral); }

.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: var(--font-body);
  color: var(--paper);
  font-size: 14px;
  margin-bottom: 6px;
}
.footer__col a { font-size: 14px; transition: color .2s ease; }
.footer__col a:hover { color: var(--mustard); }

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 8px;
} 

.footer__brand img {
  height: 68px;
  width: auto;
  margin-left: -12px;
} 


/* ============================================
   SCROLL REVEAL (thematic: settles into place)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px) rotate(-1deg);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* ============================================
   THEMES PAGE
   ============================================ */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.theme-card {
  --accent: var(--coral);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.theme-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .16;
}
.theme-card:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--ink); }
.theme-card__glyph { font-size: 34px; z-index: 1; }
.theme-card h3 { font-size: 22px; z-index: 1; }
.theme-card > p { font-size: 15px; z-index: 1; }
.theme-card__services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}
.theme-card__services li {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34,27,46,0.07);
  color: var(--ink);
}
.theme-card__actions {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 1;
}
.theme-card__actions .btn { padding: 10px 20px; font-size: 14px; }
.theme-card--soon .theme-card__badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---- Laptops / small desktops ---- */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
  .nav-wrap { gap: 16px; }
  .nav-wrap img[src*="Logo-Navbar.png"] { height: 62px; }
}

@media (max-width: 980px) {
  .hero { padding: 48px 24px 48px; }
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__sub { max-width: 640px; }
  .hero__collage { height: 380px; margin-top: 24px; }
  .hero__trust { gap: 24px; margin-top: 36px; flex-wrap: wrap; }
  .bento__card,
  .bento__card--lg { grid-column: span 6; min-height: 210px; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: span 3; }
}

/* ---- Tablet + mobile: collapse the nav ---- */

  @media (max-width: 860px) {
  .hamburger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    padding: 16px 20px 26px;
    border-bottom: 2px solid var(--ink);
    box-shadow: 0 14px 24px rgba(34,27,46,0.10);
    max-height: calc(100vh - var(--header-h) - 34px);
    overflow-y: auto;
    margin-left: 0;      /* <-- ye add karo */
    margin-right: 0;     /* <-- ye add karo */
  }
  .site-header.nav-open .main-nav { display: flex; }


  .nav-item { width: 100%; flex-wrap: wrap; }

  .main-nav .nav-link {
    flex: 1 1 auto;
    width: auto;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px dashed rgba(34,27,46,0.16);
  }
  .main-nav .nav-link::after { display: none; }

  /* Themes: separate caret button sits beside the "Themes" link */
  .nav-caret-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border-bottom: 1px dashed rgba(34,27,46,0.16);
  }
  .nav-item > .dropdown { flex: 1 1 100%; }

  /* Dropdowns become tap-open accordions */
  .dropdown,
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 6px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease, padding .32s ease;
  }
  .dropdown::before { display: none; }

  .nav-item.is-open > .dropdown {
    max-height: 620px;
    padding: 8px 0 12px 6px;
  }

  .dropdown a {
    padding: 11px 12px;
    font-size: 15px;
  }
  .dropdown a:hover { transform: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .nav-wrap { padding: 0 18px; }
  .nav-wrap img[src*="Logo-Navbar.png"] { height: 48px; margin-left: -8px; }
  .icon-btn { width: 36px; height: 36px; }

  .topbar { font-size: 12px; }
  .section { padding: 60px 20px; }
  .section__head { margin-bottom: 34px; }

  .hero { padding: 36px 20px 40px; }
  .hero__title { font-size: clamp(32px, 9vw, 46px); }
  .hero__sub { font-size: 16px; margin-top: 18px; }
  .hero__ctas { margin-top: 26px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__collage { height: 320px; }
  .hero__trust { gap: 18px 22px; }
  .trust-item strong { font-size: 19px; }

  .marquee__item { font-size: 17px; }
  .marquee__sep { padding: 0 18px; }

  .bento { gap: 16px; }
  .bento__card,
  .bento__card--lg { grid-column: span 12; min-height: 0; padding: 26px 22px; }
  .bento__card--wide { flex-direction: column; align-items: flex-start; text-align: left; gap: 14px; padding: 26px 22px; }
  .bento__link--more { align-self: flex-start; }

  .coming-soon { padding: 48px 20px; }
  .coming-soon h2 { font-size: clamp(32px, 9vw, 48px); }

  .mess-club__form { flex-direction: column; border-radius: 20px; }

  .site-footer { padding: 54px 20px 24px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; text-align: left; }

  .contact-hero { padding: 48px 20px 12px; }

  .theme-grid { gap: 16px; }
  .theme-card { padding: 24px 20px; }
}

@media (max-width: 460px) {
  .hero__collage { height: 260px; }
  .hero__trust { flex-direction: row; }
  .trust-item { flex: 1 1 40%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .btn { padding: 13px 22px; font-size: 14.5px; }
}

/* Avoid sticky-header overlap when jumping to an anchor */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Nothing should push the page sideways (clip, not hidden — keeps the sticky header working) */
html, body { overflow-x: clip; max-width: 100%; } 
.logo__img {
  height: 48px;
  width: auto;
}
.logo--footer .logo__img { height: 56px; }