/* craft.css · the quiet layer. Loaded after style.css on every page.
   Purpose: remove the generated look without touching layout or markup.
   Rules live in /DESIGN.md. Keep this file readable; it is reviewed by humans. */

/* 1. Labels, eyebrows, meta, captions: body face, sentence case, untracked, a step smaller, muted.
      Tracked uppercase in a label role is the single strongest "made by a template" tell. */
.eyebrow,
.hero-eyebrow,
.hero-intro .hi-eyebrow,
.product-title-block .product-eyebrow,
.product-philosophy .product-eyebrow,
body.hub-page--expedition .hub-hero .eyebrow,
.pcard-meta,
.pcard-price small,
.day-stops,
.step,
.trust-inner,
.foot-h,
footer h5,
.field label,
.cal-grid .cal-dow,
.prose th,
.prose tbody td[data-label]:not(:first-child)::before,
.mobile-drawer-nav .nav-meta,
.mobile-nav-group-label,
.hero-scroll-hint__label,
.booking-progress,
.st-drawer__step-indicator,
.booking-moat-table thead th,
.reviews-platform-rank,
.reviews-carousel-tour,
.hub-trust-row,
.hub-route-card__dir,
body.hub-page--expedition .hub-route-card__dir,
.hub-price-anchor span,
.hub-faq-group__label,
.booking-receive-title,
.checkout-pay-title,
.bank-transfer-badge,
.bank-transfer-amount__label,
body.booking-page .pf-book-rail__field-label {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.eyebrow,
.hero-intro .hi-eyebrow,
.product-title-block .product-eyebrow,
.product-philosophy .product-eyebrow,
.hub-faq-group__label,
.mobile-nav-group-label {
  font-size: var(--text-sm);
  color: var(--muted);
}

.hero-eyebrow {
  font-size: var(--text-sm);
  color: rgba(245, 239, 230, .9);
  font-weight: 500;
}

.pcard-meta,
.day-stops,
.hub-route-card__dir,
body.hub-page--expedition .hub-route-card__dir {
  color: var(--muted);
}

.field label,
body.booking-page .pf-book-rail__field-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.trust-inner {
  font-size: var(--text-sm);
  font-weight: 500;
}

.foot-h,
footer h5 {
  font-size: var(--text-body);
  font-weight: 600;
  letter-spacing: -.005em;
}

.prose th,
.booking-moat-table thead th {
  font-size: var(--text-sm);
  font-weight: 600;
}

.pcard-badge {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: var(--text-xs);
  border-radius: 8px;
}

/* Controls follow the display voice: sentence case, no glued arrows. */
.photo-card .card-cta,
.carousel-slide .slide-overlay .slide-cta {
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--text-sm);
  font-weight: 600;
}
.photo-card .card-cta::after,
.carousel-slide .slide-overlay .slide-cta::after {
  content: none;
}

/* 2. Headings: let Fraunces do the work. Optical size on, a touch of the soft axis for the hero,
      tighter measure so the h1 reads as a line of type, not a block. */
h1, h2, h3 {
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
h1 {
  font-variation-settings: "SOFT" 60, "WONK" 1;
  letter-spacing: -.032em;
}
.hero-inner h1 { max-width: 16ch; }
.section-head h2 { max-width: 22ch; }
.section-head p { max-width: 56ch; }

/* 3. Review stars read as a rating, not tracked text. */
.review-stars { letter-spacing: .02em; }

/* 4. Motion: name the properties. */
.book-tab,
body.booking-page .chip,
.chip {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: var(--dur);
  transition-timing-function: var(--ease);
}

/* 5. Overflow: clip keeps sticky working; hidden breaks it. */
html, body { overflow-x: clip; }

/* 6. Disabled is three channels, not one. */
.carousel-btn[disabled],
.btn[disabled],
button[disabled] {
  cursor: not-allowed;
  opacity: 1;
}
.carousel-btn[disabled] {
  background: rgba(45, 58, 84, .35);
  color: rgba(255, 255, 255, .55);
  box-shadow: none;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  background: var(--paper-2);
  color: var(--muted);
  box-shadow: none;
  transform: none;
}

/* 7. Image grid tracks use minmax(0,1fr) at source in style.css; nothing to add here. */

/* 8. One edge treatment per surface: the book card keeps its shadow and drops the hairline. */
.book-card { border-color: transparent; }

/* 9. Hero stats: numbers in the display face, labels quiet. Already close; align the baseline rhythm. */
.hero-stat span,
.hi-stat span { letter-spacing: 0; font-size: var(--text-sm); color: rgba(245, 239, 230, .78); }

/* 10. Homepage only. The desktop hero picture had no height, so on a tall
   window the boat stopped and the headline sat on a flat gray field.
   The photo fills the frame it already occupied. Sections stay. */
body.has-video-hero .hero.hero-desktop-only .hero-bg picture,
body.has-video-hero .hero.hero-desktop-only .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
body.has-video-hero .hero.hero-desktop-only .hero-bg img {
  object-fit: cover;
}

/* 11. Homepage step numbers were tracked like a template label. */
body.has-video-hero .step-card .step-n {
  letter-spacing: 0;
  font-weight: 600;
}
