/* ==========================================================================
   The Bucketlist Experiences — home page
   Plain HTML + CSS. No JavaScript anywhere.
   Colours and fonts taken from the original Webflow site.
   ========================================================================== */

:root {
  --teal:      #4aaec2;
  --navy:      #132f44;
  --midnight:  #00182b;
  --footer:    #2e414e;
  --slate:     #243039;
  --white:     #ffffff;
  --offwhite:  #fafafa;
  --body:      #3c4a55;
  --maxw:      1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: Oxygen, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 6px;
}
.eyebrow.dark { color: var(--teal); }

.script-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--navy);
  margin: 0 0 24px;
}
.script-title.light { color: var(--white); }

.lead { font-size: 18px; }
.lead.light { color: rgba(255,255,255,.88); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease, transform .35s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--navy); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn-ghost:hover { background: var(--white); color: var(--navy); }

/* ---------- logo wordmark ---------- */

.logo {
  display: block;
  text-decoration: none;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.08;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
}
.logo span { display: block; }

/* ---------- header ---------- */

.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 22px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("images/hero-poster.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,24,43,.72) 0%, rgba(0,24,43,.45) 45%, rgba(0,24,43,.8) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 90px;
  padding-bottom: 60px;
}
.hero-kicker {
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  color: rgba(255,255,255,.9);
  margin-bottom: 10px;
}
.hero-title {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(2.05rem, 7.4vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: 1px;
  margin: 0 0 34px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* keeps "Mind-blowing" from splitting at the hyphen on narrow screens */
.nowrap { white-space: nowrap; }

/* ---------- play / watch the video link ---------- */

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 500;
}
.play-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 2px solid var(--white);
  border-radius: 50%;
  position: relative;
  transition: background-color .35s ease, border-color .35s ease, transform .35s ease;
}
.play-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--white);
  transition: border-color .35s ease;
}
.play-link:hover .play-icon {
  background: var(--white);
  transform: scale(1.06);
}
.play-link:hover .play-icon::after {
  border-left-color: var(--navy);
}
.play-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 36px;
}

/* ---------- client logo marquee ---------- */

.clients {
  background: var(--offwhite);
  padding: 54px 0;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: #8a949c;
  margin-bottom: 30px;
}
.marquee {
  position: relative;
  overflow: hidden;
  /* fade the edges so logos slide in and out softly */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee-track img {
  height: 38px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
}
@keyframes slide {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* respect the visitor's "reduce motion" setting */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; gap: 40px; }
  /* the second copy of the logos only exists to make the scroll loop seamlessly.
     With no scrolling there must be only one of each. */
  .marquee-track img[aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
}

/* ---------- services ---------- */

.services { padding: 86px 0; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.service {
  background: var(--offwhite);
  border-top: 3px solid var(--teal);
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-title {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: .5px;
  margin: 0 0 20px;
}
.service-title span { display: block; }

/* --- Read More / Read Less, done with a hidden checkbox (no JavaScript) --- */

.more-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.service-body {
  position: relative;
  max-height: 7.6em;      /* roughly 4 lines of text */
  overflow: hidden;
  transition: max-height .45s ease;
}
.service-body::after {    /* soft fade at the cut-off point */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3em;
  background: linear-gradient(180deg, rgba(250,250,250,0), var(--offwhite));
  transition: opacity .3s ease;
}
.more-toggle:checked ~ .service-body {
  max-height: 60em;
}
.more-toggle:checked ~ .service-body::after {
  opacity: 0;
}
.more-label {
  display: inline-block;
  margin: 14px 0 4px;
  cursor: pointer;
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  user-select: none;
}
.more-label:hover { color: var(--navy); }
.more-close { display: none; }
.more-toggle:checked ~ .more-label .more-open  { display: none; }
.more-toggle:checked ~ .more-label .more-close { display: inline; }
/* keyboard focus outline, since the label is the clickable thing */
.more-toggle:focus-visible ~ .more-label {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.service .btn { margin-top: 22px; }

/* ---------- incentive ---------- */

.incentive {
  background: var(--navy);
  color: rgba(255,255,255,.86);
  padding: 86px 0;
  text-align: center;
}
.incentive-stat {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.35;
  color: var(--white);
  margin-bottom: 1.2em;
}
.incentive .btn { margin-top: 18px; }

/* ---------- who we are ---------- */

.whoweare { padding: 86px 0; }

/* ---------- the difference ---------- */

.difference {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.difference-bg {
  position: absolute;
  inset: 0;
  background: url("images/difference-poster.jpg") center / cover no-repeat;
}
.difference-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,24,43,.78);
}
.difference-inner { position: relative; z-index: 2; }

/* ---------- experiences ---------- */

.experiences { padding: 86px 0; }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}
.exp-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
}
.exp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform .8s ease;
}
.exp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,24,43,0) 18%, rgba(0,24,43,.55) 46%, rgba(0,24,43,.88) 72%, rgba(0,24,43,.97) 100%);
}
.exp-card:hover .exp-img { transform: scale(1.12); }
.exp-text {
  position: relative;
  z-index: 2;
  padding: 30px 26px;
  color: var(--white);
}
.exp-name {
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  color: var(--teal);
  margin: 0 0 4px;
}
.exp-place {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  line-height: 1;
  margin: 0;
}
.exp-rule {
  display: block;
  width: 46px;
  height: 2px;
  background: var(--teal);
  margin: 16px 0;
}
.exp-text p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin: 0;
}

/* ---------- team ---------- */

.team {
  background: var(--slate);
  padding: 86px 0;
}
.team .eyebrow { color: var(--teal); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 46px;
}
.member {
  background: rgba(255,255,255,.04);
  border-top: 3px solid var(--teal);
  padding: 0 0 34px;
  text-align: center;
}
.member img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  height: 340px;
  object-fit: cover;
  object-position: top center;
}
.member-text { padding: 0 32px; }
.member h3 {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 22px;
  color: var(--white);
  margin: 22px 0 2px;
}
.member .role {
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 18px;
}
.member-text p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
}

/* ---------- testimonials ---------- */

.testimonials {
  padding: 86px 0;
  background: var(--offwhite);
}
.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.tm {
  margin: 0;
  background: var(--white);
  padding: 34px 30px;
  border-top: 3px solid var(--teal);
  display: flex;
  flex-direction: column;
}
.tm blockquote {
  margin: 0 0 24px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--navy);
  flex: 1;
}
.tm figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tm figcaption img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 54px;
}
.tm figcaption strong {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
}
.tm figcaption em {
  display: block;
  font-size: 13px;
  color: #8a949c;
  font-style: normal;
}

/* ---------- contact ---------- */

.contact {
  background: var(--navy);
  padding: 90px 0;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.field { display: block; }
.field.full { grid-column: 1 / -1; }
.field > span {
  display: block;
  font-family: Poppins, sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  color: var(--teal);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--white);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22);
  padding: 14px 16px;
  transition: border-color .3s ease, background-color .3s ease;
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255,255,255,.12);
}
.hidden-field { display: none !important; }
.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  border: 0;
  font-family: Poppins, sans-serif;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--footer);
  padding: 46px 0 28px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.copyright {
  text-align: center;
  margin: 34px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

/* ==========================================================================
   VIDEO POPUPS — pure CSS, driven by the # in the address bar.
   Hidden until its link is clicked, so the YouTube players never load
   on page view. Closing is a link back to #top, so the browser
   back button closes it too.
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox:target { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,10,20,.9);
  backdrop-filter: blur(3px);
}
.lightbox-panel {
  position: relative;
  width: 100%;
  max-width: 1000px;
}
.lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
}
.lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  line-height: 34px;
  text-align: center;
  font-size: 30px;
  text-decoration: none;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  transition: background-color .3s ease, color .3s ease;
}
.lightbox-close:hover { background: var(--white); color: var(--navy); }

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

@media (max-width: 960px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .tm-grid  { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 34px; }
  .team-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { padding: 16px 0; }
  .logo { font-size: 13px; letter-spacing: 1.5px; }
  .btn { padding: 13px 20px; font-size: 12px; letter-spacing: 1.5px; }
  .hero { min-height: 88vh; }
  .hero-inner { padding-top: 110px; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card { min-height: 380px; }
  .contact-form { grid-template-columns: 1fr; }
  .play-row { gap: 26px; flex-direction: column; align-items: center; }
  .play-icon { width: 48px; height: 48px; flex-basis: 48px; }
  .services, .incentive, .whoweare, .experiences, .team, .testimonials, .contact { padding: 60px 0; }
  .difference { padding: 70px 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .lightbox { padding: 16px; }
  .lightbox-close { top: -44px; }
  .marquee-track { gap: 42px; }
  .marquee-track img { height: 30px; }
}
