/* Urgency variant: original layout and brand tokens are inherited unchanged. */
/* Match Jacob's app mark and blue wordmark in the header. */
.logo.logo-app { gap: 3px; font-size: 1.25rem; font-weight: 700; color: var(--logo-ink); }
.logo.logo-app img { width: 1.3em; height: 1.3em; }
@media (max-width: 960px) {
  .header-inner { position: relative; }
  .header-inner .logo-app {
    position: absolute; left: 50%; margin: 0;
    transform: translate(-50%, -0.07em);
  }
  .header-inner .mobile-cta { margin-left: auto; }
  /* logo-mark.png has transparent padding (42px left, 52px right of 256), which
     pushed the wordmark right of the centre line; trim it so the visible mark
     and word are what get centred. */
  .header-inner .logo-app img { margin: 0 -0.1em 0 -0.21em; }
}
.urgency-hero .hero-content h1 { max-width: 650px; }
.urgency-hero .hero-content > p:not(.hero-eyebrow):not(.hero-note) { max-width: 490px; }
.urgency-hero .hero-content .urgency-trial { margin: 18px 0 0; font-size: .88rem; }
.urgency-hero .hero-media .remy-chip { top: 6%; border-left: 3px solid var(--bad); }
.urgency-closing-note { margin: 20px auto 0; max-width: 560px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .urgency-hero .hero-content .hero-eyebrow { font-size: .69rem; letter-spacing: .09em; }
  .urgency-hero .hero-content .urgency-trial { font-size: .8rem; }
}
/* Keep the full aftermath visible above the copy on narrow screens. */
@media (max-width: 960px) {
  .urgency-hero { --urgency-photo-height: clamp(260px, 40vw, 340px); }
  .urgency-hero .hero-media { background: var(--cream); }
  .urgency-hero .hero-media > img {
    height: var(--urgency-photo-height);
    object-position: 80% 60% !important;
  }
  .hero-bleed.text-dark.urgency-hero .hero-scrim-light {
    height: var(--urgency-photo-height);
    background: linear-gradient(to bottom, rgb(var(--cream-rgb) / 0) 70%, var(--cream) 100%);
  }
  .urgency-hero .hero-content { padding-top: calc(var(--urgency-photo-height) - 8px); }
}

/* Let section headings use the available page width. Body copy keeps its measure. */
.section-head { max-width: none; }

/* Equal phone frames, aligned at the top, with the complete camera image visible. */
.contrast { align-items: start; }
.cs-noise .cs-ph { max-width: 260px; }
.contrast .cs-screen { height: 360px; min-height: 360px; }
.cs-clip { height: auto; aspect-ratio: 3 / 2; }
.cs-clip img { display: block; object-fit: contain; object-position: center; }

/* The alert cards now occupy the space previously reserved for category chips. */
#safety-rail .pcard-chip { top: 20px; }

@media (max-width: 640px) {
  .contrast .cs-screen { height: 330px; min-height: 330px; }
  .contrast .cs-list li { white-space: normal; }
}

/* Additional homepage sections reconciled from Jacob, origin/main 744be2a. */
/* ===== index.html: bundle picks under the hero ===== */
.bundle-picks { background: var(--white); padding: 60px 0 52px; }
.bundle-pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; }
.bundle-pick {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bundle-pick:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgb(var(--shadow-cool-rgb) / 0.12); }
.bundle-pick-media {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 210px; margin: 10px 10px 0; padding: 6px;
  background: var(--cream); border-radius: 12px;
}
.bundle-pick-media img { display: block; height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bundle-pick .shop-badge { top: 12px; left: 12px; padding: 3px 10px; font-size: 0.72rem; }
.bundle-pick-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.bundle-pick-title { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; margin: 0 0 4px; }
.bundle-pick-title a { color: var(--ink); text-decoration: none; }
.bundle-pick-title a::after { content: ""; position: absolute; inset: 0; }
.bundle-pick-desc { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 14px; }
.bundle-pick-price {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule);
}
.bundle-pick-now { font-family: var(--sans); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.bundle-pick-was { margin-right: 8px; font-size: 0.8em; font-weight: 400; color: var(--ink-soft); text-decoration-color: var(--bad); }
.bundle-pick-per { font-size: 0.82rem; color: var(--ink-soft); }
.bundle-pick-btn { position: relative; z-index: 1; margin-top: 14px; width: 100%; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
.bundle-pick-foot { margin-top: 26px; text-align: center; color: var(--ink-soft); font-size: 0.86rem; }
.bundle-pick-foot a { position: relative; }
@media (max-width: 900px) {
  .bundle-pick-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
}


/* Customer reviews: real words from real people, quoted as written (an
   App Store review and two letters of support). Used on the home page after the
   safety cards, and on the bundle product pages. */
.review-band { background: var(--cream); padding: 64px 0; }
.review-band.review-band-pdp { background: var(--white); padding: 56px 0; }
.review-band .section-head { margin-bottom: 28px; }
.review-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 900px; margin: 0 auto;
}
.review-card {
  display: flex; flex-direction: column; margin: 0; padding: 20px 20px 18px;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-md);
}
.review-stars { color: var(--mark); font-size: 0.95rem; letter-spacing: 2px; line-height: 1; margin-bottom: 10px; }
.review-text { margin: 0; }
.review-text p { font-family: var(--serif); font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.review-meta { margin-top: auto; padding-top: 14px; font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft); }
.review-meta b { display: block; color: var(--ink); }
@media (max-width: 900px) {
  .review-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}


.book-band { scroll-margin-top: 80px; }
.book-calendar { max-width: 1000px; margin: 24px auto 0; }
.book-calendar .calendly-inline-widget { min-width: 320px; height: 700px; }
/* Keep the booking widget clear of the introduction at narrow widths. */
@media (max-width: 900px) { .consult-calendar, .book-calendar { margin-top: 16px; } }
.consult-fallback { margin-top: 14px; text-align: center; font-size: 0.86rem; color: var(--ink-soft); }

.shop-badge {
  position: absolute; top: 4px; left: 0; z-index: 1;
  padding: 6px 14px; border-radius: 999px;
  background: var(--badge-3-bg); color: var(--ok-text); border: 1.5px solid var(--ok-text);
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
}
.book-calendar .calendly-inline-widget { min-width: 0; width: 100%; }

/* Expert endorsement, below the customer reviews: one photo, his words, his title. */
.expert-band { background: var(--white); }
.expert {
  display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
.expert-photo { display: block; width: 340px; height: 380px; object-fit: cover; object-position: 50% 20%; border-radius: 6px; }
.expert blockquote { margin: 0; }
.expert blockquote p { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--ink); }
.expert figcaption { margin-top: 24px; font-size: 0.9rem; line-height: 1.55; color: var(--ink-soft); max-width: 560px; }
.expert figcaption b { display: block; font-size: 1rem; color: var(--ink); }
@media (max-width: 700px) {
  .expert { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .expert-photo { width: 100%; max-width: 340px; height: auto; aspect-ratio: 9 / 10; }
}

/* Reviews strip under the hero: small white cards with a light border, three in
   view, stepped by the arrows and every few seconds by script.js. */
.review-strip { background: var(--white); padding: 32px 0 8px; }
.review-carousel { display: flex; align-items: center; gap: 12px; }
.review-viewport { flex: 1; min-width: 0; overflow: hidden; }
.review-strip-grid {
  --per-view: 3; --gap: 20px;
  display: flex; gap: var(--gap); transition: transform 0.5s ease;
}
.review-strip-grid > .review-card {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
}
.review-arrow {
  flex: none; width: 32px; height: 32px; padding: 0 0 3px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--white); color: var(--ink);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.review-arrow:hover { border-color: var(--ink-soft); }
.review-strip .review-card { padding: 12px 16px 13px; border-radius: 14px; background: var(--white); }
.review-strip .review-stars { font-size: 0.7rem; margin-bottom: 5px; }
.review-strip .review-text p { font-family: var(--sans); font-size: 0.86rem; line-height: 1.4; color: var(--ink); }
.review-strip .review-meta { padding-top: 6px; font-size: 0.76rem; }
.review-strip .review-meta b { display: inline; }
.review-strip .review-meta b::after { content: " · "; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 900px) {
  .review-strip-grid { --per-view: 1; --gap: 10px; }
  .review-carousel { gap: 8px; }
}

/* Phone number: tap-to-call in the header, under the hero buttons and beside the
   booking calendar. The header copy drops out where the nav runs out of room. */
/* Desktop only: below 961px home-base.css hides .header-cta, and this must not undo that. */
@media (min-width: 961px) { .header-cta { display: flex; align-items: center; gap: 18px; } }
.header-phone { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone:hover { opacity: 0.7; }
@media (max-width: 1180px) { .header-phone { display: none; } }
.urgency-hero .hero-content .hero-phone { margin: 6px 0 0; font-size: .95rem; color: var(--ink); }
.hero-phone a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* NYC installation page (nyc-installation.html): upfront price card beside the
   monthly plan card. */
.install-offer {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px;
  max-width: 1100px; margin: 0 auto; align-items: center;
}
.install-media img { display: block; width: 100%; height: auto; }
.install-card .install-then { margin: 0 0 14px; color: var(--ink); font-size: 1rem; }
.install-then b { font-weight: 700; }
.install-card {
  display: flex; flex-direction: column; padding: 26px 28px;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-md);
}
.install-card-soft { background: var(--cream); }
.install-card p { color: var(--ink-soft); font-size: 0.97rem; }
.install-card p + p { margin-top: 12px; }
.install-label { font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.install-card .install-price {
  margin: 6px 0 8px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.4rem);
  line-height: 1; color: var(--ink);
}
.install-price small { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.install-list { list-style: none; margin: 0 0 20px; padding: 0; }
.install-list li { position: relative; padding: 5px 0 5px 28px; color: var(--ink); border-top: 1px solid var(--rule); }
.install-list li:first-child { border-top: none; }
.install-list li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 11px; height: 6px;
  border-left: 2px solid var(--ok-text); border-bottom: 2px solid var(--ok-text); transform: rotate(-45deg);
}
.install-btn { justify-content: center; }
.install-card .install-fine { margin-top: 12px; font-size: 0.8rem; line-height: 1.45; }
@media (max-width: 800px) {
  .install-offer { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .install-card { padding: 26px 22px; }
}
/* NYC hero: copy beside the hardware graphic (two cameras, laptop, phone) on white. */
/* Background: View from the Brooklyn Bridge, Marco Almbauer, 2017. Public domain
   (Wikimedia Commons, no attribution required). A light wash keeps the copy
   readable on the left and lets the skyline show through on the right. */
.nyc-hero {
  position: relative; padding: 64px 0 72px;
  background:
    linear-gradient(90deg, rgb(var(--white-rgb) / 0.95) 0%, rgb(var(--white-rgb) / 0.88) 42%, rgb(var(--white-rgb) / 0.1) 75%, rgb(var(--white-rgb) / 0) 100%),
    url("assets/photos/nyc/brooklyn-bridge-view.jpg") center 40% / cover no-repeat;
}
.nyc-hero-grid { max-width: 1200px; }
.nyc-hero-copy { max-width: 640px; }
.nyc-hero .eyebrow {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--btn); margin-bottom: 14px;
}
.nyc-hero h1 { margin-bottom: 16px; font-size: clamp(2.1rem, 3.8vw, 3rem); }
.nyc-lede { color: var(--ink-soft); font-size: 1.05rem; max-width: 52ch; margin-bottom: 22px; }
.nyc-price-note { margin: 18px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.nyc-phone { margin: 6px 0 0; font-size: 0.95rem; color: var(--ink); }
.nyc-phone a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* Minimal header on the ad page: logo left, phone right, at every width
   (home.css centres the logo absolutely on mobile; undo that here). */
.nyc-header .header-inner { justify-content: space-between; }
.nyc-header-phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nyc-header-phone:hover { opacity: 0.7; }
@media (max-width: 960px) {
  .nyc-header .header-inner { padding-right: var(--gutter); }
  .nyc-header .header-inner .logo-app { position: static; transform: none; margin: 0; }
}
@media (max-width: 480px) { .nyc-header-phone-label { display: none; } }
@media (max-width: 900px) {
  .nyc-hero {
    padding: 32px 0 40px;
    background:
      linear-gradient(180deg, rgb(var(--white-rgb) / 0.92) 0%, rgb(var(--white-rgb) / 0.8) 100%),
      url("assets/photos/nyc/brooklyn-bridge-view.jpg") center / cover no-repeat;
  }
}

/* Keep the logo intact with the RPM link in the desktop navigation. */
.header-inner .logo-app { flex-shrink: 0; }
@media (min-width: 1181px) and (max-width: 1320px) {
  .main-nav { gap: 20px; }
}
