:root {
  --ink: #14302B;
  --teal: #2A7A6F;
  --teal-light: #6FA89D;
  --teal-pale: #DCEAE6;
  --paper: #F3EFE3;
  --paper-dim: #EAE4D2;
  --marigold: #E2A63B;
  --brick: #B5482F;
  --line: rgba(20, 48, 43, 0.18);

  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--marigold);
  color: var(--ink);
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 227, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 0 3px var(--teal-pale);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.75;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: opacity .2s ease, border-color .2s ease;
}

.nav-links a:hover {
  opacity: 1;
  border-color: var(--marigold);
}

.nav-links a.cta {
  opacity: 1;
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 999px;
  border-bottom: none;
}

.nav-links a.cta:hover {
  background: var(--teal);
}

.menu-btn {
  display: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(226, 166, 59, 0.18), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(111, 168, 157, 0.25), transparent 40%);
  pointer-events: none;
}

.route-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.route-label .line {
  flex: 0 0 40px;
  height: 1px;
  background: var(--teal-light);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 920px;
  position: relative;
}

.hero h1 em {
  font-style: normal;
  color: var(--marigold);
}

.hero p.lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(243, 239, 227, 0.82);
  max-width: 560px;
  margin: 0 0 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .18s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--marigold);
  color: var(--ink);
}

.btn-primary:hover {
  background: #EEB859;
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(243, 239, 227, 0.35);
}

.btn-ghost:hover {
  border-color: var(--paper);
}

.hero-ticket {
  position: absolute;
  right: -40px;
  top: 90px;
  width: 300px;
  transform: rotate(6deg);
  opacity: 0.95;
}

@media (max-width: 980px) {
  .hero-ticket {
    display: none;
  }
}

/* ---------- TICKET COMPONENT (signature element) ---------- */
.ticket {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  position: relative;
  box-shadow: 0 18px 40px rgba(20, 48, 43, 0.16);
  border: 1px solid var(--line);
}

.ticket-notch {
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.ticket-notch.left {
  left: -13px;
}

.ticket-notch.right {
  right: -13px;
}

.hero .ticket-notch {
  background: var(--ink);
}

.ticket .perforation {
  border-top: 2px dashed var(--line);
  margin: 0 22px;
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.ticket-body {
  padding: 4px 24px 24px;
}

/* ---------- MARQUEE STRIP ---------- */
.marquee {
  background: var(--teal);
  color: var(--paper);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.marquee-track {
  display: inline-flex;
  animation: scroll-left 32s linear infinite;
}

.marquee span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 0 28px;
  text-transform: uppercase;
  opacity: 0.9;
}

.marquee span.accent {
  color: var(--marigold);
}

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

  to {
    transform: translateX(-50%);
  }
}

/* ---------- SECTION SHARED ---------- */
section {
  padding: 96px 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow .dash {
  width: 28px;
  height: 1px;
  background: var(--teal);
}

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- STORY ---------- */
.story {
  background: var(--paper);
}

.story .grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.story p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(20, 48, 43, 0.85);
  margin: 0 0 18px;
}

.story p:last-child {
  margin-bottom: 0;
}

.story-figure {
  background: var(--ink);
  color: var(--paper);
  border-radius: 22px;
  padding: 36px;
  position: relative;
}

.story-figure .place {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 18px;
}

.story-figure blockquote {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 24px;
}

.story-figure .sign {
  font-size: 14px;
  color: rgba(243, 239, 227, 0.7);
}

@media (max-width: 860px) {
  .story .grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- PILLARS (ticket cards) ---------- */
.pillars {
  background: var(--paper-dim);
}

.pillars-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.pillars-head p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(20, 48, 43, 0.8);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.pillar {
  position: relative;
}

.pillar .ticket-head {
  justify-content: flex-start;
  gap: 10px;
}

.pillar .num {
  color: var(--marigold);
}

.pillar h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(20, 48, 43, 0.75);
  margin: 0;
}

.pillar .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
}

/* ---------- STATS STRIP ---------- */
.stats {
  background: var(--ink);
  color: var(--paper);
}

.stats .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid rgba(243, 239, 227, 0.18);
  border-radius: 20px;
  overflow: hidden;
}

.stat {
  flex: 1 1 220px;
  padding: 40px 32px;
  border-right: 1px dashed rgba(243, 239, 227, 0.25);
  position: relative;
}

.stat:last-child {
  border-right: none;
}

.stat .value {
  font-family: var(--display);
  font-size: 46px;
  font-weight: 700;
  color: var(--marigold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat .label {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 227, 0.65);
}

@media (max-width: 700px) {
  .stat {
    border-right: none;
    border-bottom: 1px dashed rgba(243, 239, 227, 0.25);
  }

  .stat:last-child {
    border-bottom: none;
  }
}

/* ---------- HOW WE WORK ---------- */
.how {
  background: var(--paper);
}

.how-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

@media (max-width: 860px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.how-list {
  display: flex;
  flex-direction: column;
}

.how-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.how-item:last-child {
  border-bottom: 1px solid var(--line);
}

.how-item .tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.how-item h4 {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
}

.how-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(20, 48, 43, 0.75);
}

/* ---------- TEAM / FOUNDER NOTE ---------- */
.founder {
  background: var(--teal);
  color: var(--paper);
}

.founder .wrap {
  max-width: 820px;
}

.founder .eyebrow {
  color: rgba(243, 239, 227, 0.8);
}

.founder .eyebrow .dash {
  background: rgba(243, 239, 227, 0.8);
}

.founder blockquote {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  font-weight: 500;
  margin: 0 0 28px;
}

.founder .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.founder .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--marigold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
}

.founder .who-text b {
  display: block;
  font-size: 15px;
}

.founder .who-text span {
  font-size: 13px;
  opacity: 0.75;
}

/* ---------- CTA / FOOTER ---------- */
.cta-section {
  background: var(--paper);
  text-align: center;
}

.cta-ticket {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.cta-ticket .ticket-body {
  padding-bottom: 30px;
}

.cta-ticket h2 {
  margin-bottom: 14px;
}

.cta-ticket p {
  font-size: 16px;
  color: rgba(20, 48, 43, 0.75);
  margin: 0 0 28px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: var(--teal);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

footer {
  background: var(--ink);
  color: rgba(243, 239, 227, 0.6);
  padding: 40px 0;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

footer .fbrand {
  color: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
}

footer .flinks {
  display: flex;
  gap: 22px;
}

footer .flinks a {
  text-decoration: none;
  color: inherit;
  opacity: 0.8;
}

footer .flinks a:hover {
  opacity: 1;
  color: var(--marigold);
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
}

/* ==========================
   Looh Hostels Preloader
========================== */

#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity .5s ease, visibility .5s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    width: 75px;
    height: auto;
    animation: pulse 1.8s ease-in-out infinite;
    z-index: 2;
}

.loader-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 5px solid rgba(51,115,112,.15);
    border-top: 5px solid #337370;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

/* Rotation */
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Logo Pulse */
@keyframes pulse {
    0%,100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}