/* ============================================================
   CLEAN LINE SKI — style.css
   ============================================================ */

/* --- Reset & base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Design tokens ----------------------------------------- */
:root {
  --ink:        #111111;
  --blue:       #1666A8;
  --blue-dark:  #0D4F85;
  --blue-light: #9fd4ff;
  --blue-soft:  #E8F3FB;
  --white:      #FFFFFF;
  --surface:    #F8F8F8;
  --mid:        #6B6B6B;
  --border:     #E0E0DC;
  --max-w:      1100px;
}

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; letter-spacing: 0.1em; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.subHeading {
color: #FFFFFF;
}

.label {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.6rem;
}

/* --- Layout helpers ---------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 5rem; }
.section--sm { padding-block: 3rem; }

.text-center { text-align: center; }
.text-mid { color: var(--mid); }

/* --- Buttons ----------------------------------------------- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

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

/* --- Skip link --------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 1000;
  font-size: 0.875rem;
}
.skip-link:focus { top: 0.5rem; }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 1.25rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  padding: 0.9rem 0;
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 60px; width: auto; }

/* Logo swap: light logo on dark hero, dark logo on white scrolled nav */
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark  { display: none; }
.site-header.scrolled .nav-logo .logo-light { display: none; }
.site-header.scrolled .nav-logo .logo-dark  { display: block; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}

.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover, .site-header.scrolled .nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }

/* On transparent nav (dark hero behind) — use light blue for hover/active */
.site-header:not(.scrolled) .nav-links a:hover,
.site-header:not(.scrolled) .nav-links a.active { color: var(--blue-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

.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); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--blue-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--text-only {
  min-height: 26rem;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_image.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero__bg { background-image: url('../images/hero_mobile.webp'); }
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
}

.hero--text-only .hero__content { max-width: var(--max-w); }

.hero h1 { color: var(--white); max-width: 820px; }
.hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin-top: 1.2rem; font-size: 1.1rem; }
.hero__tagline { white-space: nowrap; max-width: none; }
.hero .hero-cta { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Labels on dark hero backgrounds use light blue */
.hero .label { color: var(--blue-light); }

/* ============================================================
   HOME — SECTIONS
   ============================================================ */

/* Why CLS */
.why-cls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-cls__img { border-radius: 2px; overflow: hidden; }
.why-cls__img img { width: 100%; height: 420px; object-fit: cover; }
.why-cls__text { order: -1; }
.why-cls__text h2 { margin-bottom: 1.2rem; }
.why-cls__text p { color: var(--mid); }
.why-cls__text .btn { margin-top: 1.5rem; }

/* Trip cards */
.trip-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.trip-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.trip-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.trip-card__resort { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.trip-card__dates { font-size: 0.85rem; color: var(--mid); margin-bottom: 0.75rem; }
.trip-card__detail { font-size: 0.85rem; color: var(--mid); margin-bottom: 0.3rem; }
.trip-card__price { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--blue); margin-top: 1rem; margin-bottom: 1.2rem; }
.trip-card .btn { width: 100%; text-align: center; }

/* Section header */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.6rem; }
.section-header p { color: var(--mid); max-width: 560px; }

/* Manifesto */
.manifesto {
  background: var(--ink);
  padding-block: 5rem;
}
.manifesto__inner {
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}
.manifesto__quote {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}
.manifesto__attr { color: rgba(255,255,255,0.45); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 1.5rem; }

/* Who it's for */
#who p { color: var(--mid); }

.who-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.8rem;
  margin-bottom: 2rem;
}
.who-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--mid);
}
.who-list li::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ============================================================
   ABOUT
   ============================================================ */
.story-block {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
  color: var(--mid);
}
.story-block h2 { margin-bottom: 1.5rem; color: var(--ink); }

.story-statement {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-block: 1.8rem;
}

.story-closer {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 2px solid var(--blue);
  color: var(--ink);
}

.story-closer p { color: var(--ink); }

.story-alignment {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 0;
}

.presence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.presence__img { border-radius: 2px; overflow: hidden; }
.presence__img img { width: 100%; height: 400px; object-fit: cover; }
.presence__text h2 { margin-bottom: 1rem; }
.presence__text p { color: var(--mid); }

/* Values */
.values-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.values-list__item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.values-list__label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 0.1rem;
}
.values-list__desc { color: var(--mid); }

/* CTA section */
.cta-section {
  background: var(--surface);
  text-align: center;
  padding-block: 4rem;
}
.cta-section h2 { margin-bottom: 0.8rem; }
.cta-section p { color: var(--mid); margin-bottom: 2rem; }

/* ============================================================
   TRIPS
   ============================================================ */
.trip-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.trip-block + .trip-block { margin-top: 0; }

.trip-block__header {
  background: var(--ink);
  color: var(--white);
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.trip-block__title { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.08em; }
.trip-block__dates { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }
.trip-block__price { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.8rem; color: var(--white); text-align: right; }
.trip-block__price-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: block; text-align: right; }

.trip-block__body { padding: 2rem; }

.trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.trip-meta__item { font-size: 0.85rem; }
.trip-meta__item strong { font-weight: 600; display: block; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--mid); }

.trip-block__desc { color: var(--mid); margin-bottom: 1.5rem; }

.trip-availability {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}
.trip-availability--open { background: #E6F4EA; color: #2E7D32; }
.trip-availability--limited { background: #FFF3E0; color: #E65100; }

.trip-block__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Compliance block */
.compliance-block {
  background: var(--blue-soft);
  border: 1px solid #C5DFF0;
  border-radius: 2px;
  padding: 1.5rem 2rem;
  margin-top: 3rem;
}
.compliance-block h3 { font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: 0.6rem; color: var(--ink); }
.compliance-block p { font-size: 0.85rem; color: var(--mid); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin-inline: auto; margin-top: 1rem; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.3rem 0;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-question[aria-expanded="true"] { color: var(--blue); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding-bottom: 1.3rem;
  color: var(--mid);
  font-size: 0.95rem;
}
.faq-answer.open { display: block; }
.faq-answer ul {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
}
.faq-answer ul li {
  padding: 0.25rem 0 0.25rem 1.6rem;
  position: relative;
}
.faq-list--included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #3a9e5f;
  font-weight: 700;
}
.faq-list--excluded li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
}
.faq-answer p + ul { margin-top: 0.3rem; }
.faq-answer ul + p { margin-top: 1.2rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--mid); }
.contact-info .contact-email { display: block; margin-top: 1.5rem; margin-bottom: 2rem; font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1rem; color: var(--blue); letter-spacing: 0.05em; }
.contact-info .contact-email:hover { color: var(--blue-dark); text-decoration: underline; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22,102,168,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.78rem; color: var(--mid); margin-top: 0.3rem; }

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; text-align: center; }

.form-msg {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  text-align: center;
}
.form-msg.success { background: #E6F4EA; color: #2E7D32; display: block; }
.form-msg.error { background: #FDE8E8; color: #C0392B; display: block; }

.compliance-text { font-size: 0.78rem; color: var(--mid); margin-top: 1rem; line-height: 1.5; }
.compliance-note { font-size: 0.82rem; color: var(--mid); margin-top: 1.2rem; line-height: 1.6; }

/* ============================================================
   TERMS
   ============================================================ */
.terms-body {
  max-width: 780px;
  margin-inline: auto;
}
.terms-section { margin-bottom: 3rem; }
.terms-section h2 { font-size: 1rem; letter-spacing: 0.15em; margin-bottom: 1rem; border-bottom: 2px solid var(--blue); padding-bottom: 0.5rem; display: inline-block; }
.terms-section p, .terms-section li { color: var(--mid); margin-bottom: 0.6rem; font-size: 0.95rem; }
.terms-section ul { margin-left: 1.2rem; list-style: disc; }
.terms-section ul li { margin-bottom: 0.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding-block: 3rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img { height: 60px; width: auto; opacity: 0.9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; }
.footer-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright { font-size: 0.78rem; }
.footer-credit { font-size: 0.75rem; color: var(--blue-light); opacity: 0.7; }
.footer-credit a { color: inherit; text-decoration: none; }
.footer-credit a:hover { opacity: 1; text-decoration: underline; }
.footer-compliance { font-size: 0.75rem; max-width: 500px; text-align: right; line-height: 1.5; }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .why-cls { grid-template-columns: 1fr; gap: 2rem; }
  .why-cls__text { order: 0; }
  .why-cls__img img { height: 300px; }

  .trip-cards { grid-template-columns: 1fr 1fr; }

  .presence { grid-template-columns: 1fr; gap: 2rem; }
  .presence__img img { height: 300px; }

  .values-list__item { grid-template-columns: 1fr; gap: 0.4rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero__tagline { white-space: normal; }

  .section { padding-block: 3.5rem; }

  .trip-cards { grid-template-columns: 1fr; }
  .trip-block__header { flex-direction: column; }
  .trip-block__price { text-align: left; }
  .trip-block__price-label { text-align: left; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-compliance { text-align: center; max-width: 100%; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }

  .btn { padding: 0.65rem 1.5rem; }

  .hero--text-only { min-height: 20rem; padding-bottom: 2.5rem; }

  .manifesto__quote { font-size: 1.2rem; }
}
