/* ============================================================
   HUSTLE HUB — co-working space, Lahore
   Aesthetic: industrial-editorial, warm charcoal + ember
   ============================================================ */

:root {
  --ink:        #15110d;   /* near-black warm charcoal  */
  --ink-2:      #1d1812;   /* panel                     */
  --ink-3:      #2a2219;   /* raised panel / border     */
  --cream:      #f4eee4;   /* paper text                */
  --cream-dim:  #b8ad9c;   /* muted text                */
  --ember:      #ff4d1f;   /* primary accent            */
  --ember-soft: #ff7a4d;
  --line:       rgba(244,238,228,.12);
  --radius:     18px;
  --maxw:       1180px;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body:    "Hanken Grotesk", sans-serif;
  --font-mono:    "DM Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ember);
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ember);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85em 1.5em; border-radius: 100px; border: 1.5px solid var(--bg);
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255,77,31,.5); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.02rem; }
.btn--sm { padding: .6em 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--cream); border-color: var(--line);
}
.btn--ghost:hover { background: rgba(244,238,228,.06); border-color: var(--cream); box-shadow: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem clamp(1.1rem, 4vw, 2.4rem);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(21,17,13,.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--ember); color: var(--ink); border-radius: 9px;
  font-size: 1.15rem; font-weight: 800;
}
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; font-weight: 500; }
.nav__links a { color: var(--cream-dim); transition: color .2s; }
.nav__links a:hover { color: var(--cream); }
.nav__cta { margin-left: .4rem; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav__toggle span { width: 26px; height: 2px; background: var(--cream); transition: .3s; }
.nav__toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2){ opacity: 0; }
.nav__toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobilemenu {
  position: fixed; inset: 0 0 0 auto; z-index: 99; width: min(80vw, 320px);
  background: var(--ink-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .4rem; padding: 6rem 1.8rem 2rem;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.mobilemenu.open { transform: translateX(0); }
.mobilemenu a { padding: .7rem 0; font-size: 1.15rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobilemenu .btn { margin-top: 1rem; border-bottom: 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(8rem, 18vh, 12rem) clamp(1.1rem,4vw,2.4rem) clamp(4rem,8vh,6rem); overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 90vw; height: 80vh; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 40%, rgba(255,77,31,.26), transparent 70%);
  filter: blur(10px);
}
.hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
.hero .eyebrow { display: inline-block; margin-bottom: 1.4rem; padding: .4em .9em; border: 1px solid var(--line); border-radius: 100px; }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3rem, 9vw, 7rem); line-height: .96; letter-spacing: -.03em;
  margin-bottom: 1.6rem;
}
.hero__title span { display: block; }
.hero__accent { color: var(--ember); font-style: italic; }
.hero__sub { max-width: 560px; font-size: clamp(1.05rem,2.3vw,1.3rem); color: var(--cream-dim); margin-bottom: 2.2rem; }
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__meta { display: flex; gap: clamp(1.5rem,5vw,3.5rem); flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; }
.hero__meta span { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cream-dim); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--d, 0) * .09s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* scroll reveal (JS toggled) */
.in { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.in.show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .in { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none !important; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; overflow: hidden; background: var(--ink-2); }
.marquee__track { display: inline-flex; gap: 2rem; align-items: center; white-space: nowrap; animation: scroll 32s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.marquee__track .dot { color: var(--ember); font-size: 1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem,10vh,7.5rem) clamp(1.1rem,4vw,2.4rem); }
.section--dark { max-width: none; background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head .eyebrow { display: block; margin-bottom: 1rem; }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,4.5vw,3.1rem); line-height: 1.04; letter-spacing: -.02em; }
.section__note { margin-top: .8rem; font-size: .9rem; color: var(--cream-dim); font-style: italic; }

/* ---------- cards (spaces) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  position: relative; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem;
  transition: transform .3s, border-color .3s, background .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,77,31,.5); }
.card--feature { background: linear-gradient(160deg, #241b12, var(--ink-2)); border-color: rgba(255,77,31,.4); }
.card__num { font-family: var(--font-mono); font-size: .85rem; color: var(--ember); margin-bottom: 2.5rem; }
.card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: .6rem; }
.card p { color: var(--cream-dim); font-size: .98rem; margin-bottom: 1.3rem; }
.card__tag { position: absolute; top: 1.3rem; right: 1.3rem; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ember); color: var(--ink); padding: .3em .7em; border-radius: 100px; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.5rem; font-size: .95rem; color: var(--cream); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--ember); border-radius: 2px; transform: rotate(45deg); }

/* ---------- amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.amenity { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); transition: transform .3s, border-color .3s; }
.amenity:hover { transform: translateY(-4px); border-color: rgba(255,77,31,.4); }
.amenity__ic { font-size: 1.7rem; display: block; margin-bottom: .9rem; }
.amenity h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.amenity p { font-size: .88rem; color: var(--cream-dim); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
.plan { position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.9rem; display: flex; flex-direction: column; gap: 1.1rem; }
.plan--feature { background: linear-gradient(165deg, #2a1d11, var(--ink-2)); border-color: var(--ember); transform: scale(1.03); }
.plan__badge { position: absolute; top: -.8rem; left: 1.9rem; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ember); color: var(--ink); padding: .35em .8em; border-radius: 100px; }
.plan h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.plan__price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.plan__price .cur { font-size: .85rem; font-weight: 500; color: var(--cream-dim); vertical-align: top; margin-right: .3em; letter-spacing: .02em; }
.plan__price .per { font-size: .95rem; font-weight: 500; color: var(--cream-dim); }
.plan__desc { color: var(--cream-dim); font-size: .92rem; margin-top: -.4rem; }
.plan .ticks { flex: 1; }
.pricing__foot { text-align: center; margin-top: 2rem; color: var(--cream-dim); }
.pricing__foot a { color: var(--ember); font-weight: 600; }

/* ---------- gallery / placeholders ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.ph {
  display: grid; place-items: center; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--ink), var(--ink) 12px, var(--ink-3) 12px, var(--ink-3) 13px);
  border: 1px solid var(--line); color: var(--cream-dim);
  font-family: var(--font-mono); font-size: .85rem; text-align: center; padding: 1rem;
}
.ph--tall { grid-row: span 2; }
.ph--wide { grid-column: span 2; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; }
.quote p { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.4; font-weight: 500; margin-bottom: 1.4rem; }
.quote footer { display: flex; flex-direction: column; }
.quote strong { font-weight: 700; }
.quote span { font-size: .85rem; color: var(--cream-dim); }

/* ---------- book / contact ---------- */
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.book__text { color: var(--cream-dim); margin: 1.2rem 0 1.8rem; max-width: 42ch; }
.wa { display: inline-flex; align-items: center; gap: .8rem; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4); color: var(--cream); padding: .9rem 1.2rem; border-radius: 100px; transition: background .25s, transform .25s; }
.wa:hover { background: rgba(37,211,102,.2); transform: translateY(-2px); }
.wa__ic { display: grid; place-items: center; width: 30px; height: 30px; background: #25d366; color: #0b2e18; border-radius: 50%; font-size: 1rem; }
.book__contact { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.book__contact li { display: grid; grid-template-columns: 70px 1fr; align-items: center; border-top: 1px solid var(--line); padding-top: .9rem; font-size: .95rem; }
.book__contact span { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cream-dim); }
.book__contact a { color: var(--cream); }
.book__contact a:hover { color: var(--ember); }

.book__form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cream-dim); }
.field input, .field select, .field textarea {
  background: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  color: var(--cream); font-family: var(--font-body); font-size: .95rem; padding: .75rem .9rem;
  transition: border-color .2s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.field input::placeholder, .field textarea::placeholder { color: #6b6050; }
.book__form .btn { grid-column: 1 / -1; }
.book__success { grid-column: 1/-1; text-align: center; color: #7ee0a0; font-weight: 600; }

/* ---------- location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: center; }
.location address { font-style: normal; font-size: 1.2rem; line-height: 1.7; margin: 1.2rem 0 1.8rem; }
.location__map { min-height: 300px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(3rem,6vh,4.5rem) clamp(1.1rem,4vw,2.4rem) 2rem; }
.footer > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.footer__top { margin-bottom: 2.5rem; }
.footer__tag { color: var(--cream-dim); margin-top: .7rem; font-family: var(--font-display); font-size: 1.1rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer__cols h5 { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ember); margin-bottom: 1rem; }
.footer__cols a { display: block; color: var(--cream-dim); padding: .32rem 0; font-size: .95rem; transition: color .2s; }
.footer__cols a:hover { color: var(--cream); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.8rem; font-size: .85rem; color: var(--cream-dim); font-family: var(--font-mono); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .cards, .pricing, .quotes { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .book__grid, .location { grid-template-columns: 1fr; }
  .plan--feature { transform: none; }
  .location__map { min-height: 220px; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .book__form { grid-template-columns: 1fr; }
  .ph--wide { grid-column: span 2; }
}
@media (max-width: 460px) {
  .amenities { grid-template-columns: 1fr; }
}
