/* ============================================================================
   sections.css — content-section styling built on base.css tokens.
   Home sub-sections, Feed, About, Settings. (Booking visuals live in
   booking.css owned by the booking module; this file only provides the
   shell-level scaffolding + the home page composition.)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   HOME — intro paragraph block under hero
   --------------------------------------------------------------------------- */
.intro { background: var(--c-white); }
.intro__lead {
  font-family: var(--font-display); font-weight: var(--fw-xlight);
  font-size: var(--fz-h3); line-height: 1.4; color: var(--c-ink); letter-spacing: var(--ls-tight);
}
.intro__lead .hl { color: var(--c-red); font-weight: var(--fw-light); }

/* quick-action grid on home */
.quickgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.quickcard {
  background: var(--surface-2); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-3); min-height: 132px;
  position: relative; overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid);
}
.quickcard:active { transform: scale(.98); }
.quickcard--dark { background: var(--c-black); color: #fff; }
.quickcard--red { background: var(--c-red); color: #fff; box-shadow: var(--sh-red); }
.quickcard__ic { width: 30px; height: 30px; }
.quickcard__ic .ic { width: 30px; height: 30px; }
.quickcard__title { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: 17px; line-height: 1.2; }
.quickcard__sub { font-size: 12.5px; opacity: .72; line-height: 1.4; margin-top: auto; }
.quickcard__arrow { position: absolute; top: var(--sp-4); right: var(--sp-4); opacity: .5; }
.quickcard__arrow .ic { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------------
   DAILY SPARK card (WOW feature) — home
   --------------------------------------------------------------------------- */
.spark {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #000 100%);
  color: #fff; padding: var(--sp-6) var(--sp-5);
  border: 1px solid rgba(255,255,255,.08);
}
.spark::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,208,78,.20), transparent 70%);
  pointer-events: none;
}
.spark__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--c-gold);
  font-family: var(--font-head); font-size: 11px; font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wider); text-transform: uppercase; margin-bottom: var(--sp-4); }
.spark__eyebrow .ic { width: 16px; height: 16px; }
.spark__quote {
  font-family: var(--font-serif); font-size: clamp(20px, 5vw, 27px); line-height: 1.35;
  margin-bottom: var(--sp-5); min-height: 2.6em;
}
.spark__quote::before { content: "\201C"; color: var(--c-red); margin-right: 2px; }
.spark__quote::after { content: "\201D"; color: var(--c-red); margin-left: 1px; }
.spark__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.spark__by { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.spark__actions { display: flex; gap: 8px; }
.spark__btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.10); color: #fff; transition: all var(--t-fast) var(--ease-out);
}
.spark__btn:hover { background: rgba(255,255,255,.2); }
.spark__btn:active { transform: scale(.88); }
.spark__btn .ic { width: 19px; height: 19px; }
.spark.is-swapping .spark__quote { animation: sparkSwap .5s var(--ease-out); }
@keyframes sparkSwap { 0%{opacity:0;transform:translateY(8px);} 100%{opacity:1;transform:none;} }

/* ---------------------------------------------------------------------------
   "ARE YOU READY?" — philosophy, dark with B&W arms-open photo
   --------------------------------------------------------------------------- */
.ready { position: relative; }
.ready__photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden; margin-bottom: var(--sp-6);
  aspect-ratio: 4/3; background: #000;
}
.ready__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); }
.ready__photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); }
.ready__photocap { position: absolute; left: var(--sp-5); right: var(--sp-5); bottom: var(--sp-5); z-index: 1; }
.ready__photocap h3 { color: #fff; font-family: var(--font-display); font-weight: var(--fw-xlight);
  font-size: clamp(26px,7vw,40px); line-height: 1.1; }
.ready__list { display: grid; gap: var(--sp-4); }
.ready__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.ready__num { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--c-red); color: var(--c-red); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: var(--fw-semi); font-size: 17px; }
.ready__item h4 { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: 17px; margin-bottom: 4px; }
.ready__item p { font-size: 14.5px; line-height: 1.65; color: var(--text-on-dark-soft); }
.section--dark .ready__item p { color: var(--text-on-dark-soft); }

/* ---------------------------------------------------------------------------
   CLIENTS — logo strip
   --------------------------------------------------------------------------- */
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); align-items: center; }
.client {
  aspect-ratio: 3/2; background: var(--surface-2); border-radius: var(--r-md);
  display: grid; place-items: center; padding: var(--sp-4);
}
.client img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .72;
  transition: filter var(--t-mid) var(--ease-out), opacity var(--t-mid); }
.client:hover img { filter: none; opacity: 1; }

/* ---------------------------------------------------------------------------
   TESTIMONIAL
   --------------------------------------------------------------------------- */
.testimonial { text-align: center; max-width: 36ch; margin-inline: auto; }
.testimonial__mark { font-family: var(--font-serif); color: var(--c-red); font-size: 56px; line-height: .6; }
.testimonial__quote { font-family: var(--font-display); font-weight: var(--fw-light);
  font-size: clamp(20px,4.6vw,28px); line-height: 1.45; margin: var(--sp-3) 0 var(--sp-5); }
.testimonial__author { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: 15px; }
.testimonial__org { font-size: 13px; color: var(--text-soft); letter-spacing: .04em; }

/* ---------------------------------------------------------------------------
   FEED — list of content cards
   --------------------------------------------------------------------------- */
.feed-filters { padding: 0 var(--gutter) var(--sp-4); }
.feed-list { display: grid; gap: var(--sp-5); padding: 0 var(--gutter) var(--sp-6); }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.fcard--interactive { cursor: pointer; transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid); }
.fcard--interactive:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.fcard--interactive:active { transform: translateY(-1px) scale(.99); }
.fcard__media { position: relative; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.fcard--interactive:hover .fcard__media img { transform: scale(1.04); }
.fcard__media--bw img { filter: grayscale(100%) contrast(1.05); }
.fcard__play { position: absolute; inset: 0; display: grid; place-items: center; }
.fcard__play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(231,29,29,.92);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: transform var(--t-fast) var(--ease-spring); }
.fcard--interactive:hover .fcard__play span { transform: scale(1.08); }
.fcard__play .ic { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.fcard__badge { position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-family: var(--font-head); font-size: 10.5px; font-weight: var(--fw-semi);
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: var(--r-pill); }
.fcard__badge--quote { background: rgba(231,29,29,.92); }
.fcard__body { padding: var(--sp-5) var(--sp-5) var(--sp-5); }
.fcard__title { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: 18px; line-height: 1.3; margin-bottom: 6px; }
.fcard__excerpt { font-size: 14px; line-height: 1.6; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fcard__meta { display: flex; align-items: center; gap: 10px; margin-top: var(--sp-4);
  font-size: 12px; color: var(--text-soft); }
.fcard__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--c-gray-lt); }

/* quote-style feed card (text-forward) */
.fcard--quote .fcard__body { background: linear-gradient(135deg,#111,#000); color: #fff; padding: var(--sp-6) var(--sp-5); }
.fcard--quote .fcard__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(19px,4.4vw,24px);
  line-height: 1.4; margin-bottom: var(--sp-4); }
.fcard--quote .fcard__meta { color: rgba(255,255,255,.6); margin-top: 0; }

/* ---------------------------------------------------------------------------
   FEED DETAIL (in sheet)
   --------------------------------------------------------------------------- */
.detail__media { aspect-ratio: 16/9; background: #000; border-radius: var(--r-md); overflow: hidden; margin-bottom: var(--sp-5); }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__media iframe { width: 100%; height: 100%; border: 0; }
.detail h2 { margin-bottom: var(--sp-3); }
.detail__meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-soft);
  margin-bottom: var(--sp-5); }
.detail__body { font-size: 15.5px; line-height: 1.75; color: var(--text); }
.detail__body p + p { margin-top: 1em; }

/* ---------------------------------------------------------------------------
   ABOUT
   --------------------------------------------------------------------------- */
.about__hero { position: relative; aspect-ratio: 4/5; max-height: 56vh; overflow: hidden; }
.about__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.about__hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.9)); }
.about__herocap { position: absolute; left: var(--gutter); right: var(--gutter); bottom: var(--sp-6); z-index: 1; color: #fff; }
.about__herocap .t-eyebrow { color: #fff; opacity: .8; }
.about__herocap h1 { color: #fff; }
.about__body { font-size: 15.5px; line-height: 1.8; color: var(--text); }
.about__body p + p { margin-top: 1.1em; }
.about__pullquote {
  font-family: var(--font-display); font-weight: var(--fw-xlight); font-size: clamp(22px,5vw,32px);
  line-height: 1.35; color: var(--c-ink); border-left: 3px solid var(--c-red);
  padding-left: var(--sp-5); margin: var(--sp-6) 0; }
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-3); margin: var(--sp-6) 0; }
.stat { text-align: center; padding: var(--sp-4) var(--sp-2); background: var(--surface-2); border-radius: var(--r-md); }
.stat__num { font-family: var(--font-display); font-weight: var(--fw-light); font-size: clamp(24px,6vw,34px); color: var(--c-red); }
.stat__lbl { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); margin-top: 2px; }

/* social row */
.social-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px;
  border-radius: var(--r-pill); border: 1.5px solid var(--line); font-family: var(--font-head);
  font-size: 13px; font-weight: var(--fw-med); transition: all var(--t-fast) var(--ease-out); }
.social-btn:hover { border-color: var(--c-ink); transform: translateY(-2px); }
.social-btn .ic { width: 18px; height: 18px; }

/* ---------------------------------------------------------------------------
   SETTINGS
   --------------------------------------------------------------------------- */
.settings-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: var(--sp-5); }
.settings-group__title { font-family: var(--font-head); font-size: 11.5px; font-weight: var(--fw-semi);
  letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--text-soft);
  padding: var(--sp-4) var(--gutter) var(--sp-2); }
.setrow { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--gutter);
  border-top: 1px solid var(--line); }
.setrow:first-child { border-top: 0; }
.setrow__ic { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--surface-2);
  display: grid; place-items: center; flex: 0 0 auto; }
.setrow__ic .ic { width: 20px; height: 20px; color: var(--c-ink); }
.setrow__main { flex: 1; min-width: 0; }
.setrow__title { font-size: 15px; font-weight: var(--fw-med); }
.setrow__sub { font-size: 12.5px; color: var(--text-soft); margin-top: 1px; line-height: 1.4; }
.setrow__action { flex: 0 0 auto; }

/* toggle switch */
.switch { position: relative; width: 50px; height: 30px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; background: var(--c-gray-lt); border-radius: var(--r-pill);
  transition: background var(--t-mid) var(--ease-out); }
.switch__thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff;
  border-radius: 50%; box-shadow: var(--sh-1); transition: transform var(--t-mid) var(--ease-spring); }
.switch input:checked ~ .switch__track { background: var(--c-red); }
.switch input:checked ~ .switch__thumb { transform: translateX(20px); }
.switch input:disabled ~ .switch__track { opacity: .5; }

.status-pill { font-family: var(--font-head); font-size: 11px; font-weight: var(--fw-semi);
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill); }
.status-pill--on { background: rgba(52,211,153,.15); color: #0E9F6E; }
.status-pill--off { background: var(--surface-2); color: var(--text-soft); }
.status-pill--warn { background: rgba(231,29,29,.12); color: var(--c-red-deep); }

/* ---------------------------------------------------------------------------
   INSTALL PROMPT CARD (WOW) — appears on home when installable
   --------------------------------------------------------------------------- */
.install-card { display: flex; gap: var(--sp-4); align-items: center;
  background: var(--c-ink); color: #fff; border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-5);
  margin: 0 var(--gutter); box-shadow: var(--sh-3); }
.install-card__ic { width: 46px; height: 46px; border-radius: var(--r-sm); flex: 0 0 auto;
  background: #000; display: grid; place-items: center; }
.install-card__ic img { width: 46px; height: 46px; border-radius: var(--r-sm); }
.install-card__main { flex: 1; min-width: 0; }
.install-card__title { font-family: var(--font-head); font-weight: var(--fw-semi); font-size: 15px; }
.install-card__sub { font-size: 12px; color: rgba(255,255,255,.66); margin-top: 1px; line-height: 1.4; }
.install-card__x { color: rgba(255,255,255,.5); padding: 6px; }

/* iOS install instructions (shown in sheet) */
.ios-steps { display: grid; gap: var(--sp-4); }
.ios-step { display: flex; gap: var(--sp-4); align-items: flex-start; }
.ios-step__n { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--c-red);
  color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: var(--fw-semi); font-size: 14px; }
.ios-step p { font-size: 14.5px; line-height: 1.55; }
.ios-step .ic { width: 18px; height: 18px; display: inline; vertical-align: -3px; color: var(--c-red); }

/* ---------------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------------- */
.appfooter { text-align: center; padding: var(--sp-7) var(--gutter); color: var(--text-soft); font-size: 12px; }
.appfooter .appbar__mono { display: inline-block; color: var(--c-ink); margin-bottom: var(--sp-3); font-size: 16px; }

/* ---------------------------------------------------------------------------
   EMPTY STATE
   --------------------------------------------------------------------------- */
.empty { text-align: center; padding: var(--sp-8) var(--gutter); color: var(--text-soft); }
.empty .ic { width: 44px; height: 44px; margin: 0 auto var(--sp-4); color: var(--c-gray-lt); }
.empty h3 { font-family: var(--font-head); color: var(--c-ink); margin-bottom: var(--sp-2); }
