/*
 * Production bridge shared by the seven independent tenant brands.
 * Keep this file visually neutral: brand composition belongs in site/brands/*.css.
 */

.site-header .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(calc(-100% - 24px));
}

.skip-link:is(:focus, :focus-visible) {
  transform: translateY(0);
}

#main-content,
main > section[id] {
  scroll-margin-top: 112px;
}

.domain-brand-mark.brand-mark--header,
.domain-brand-mark.brand-mark--footer {
  flex: 0 0 auto;
  aspect-ratio: 1;
}

.header-booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  color: var(--paper);
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent-strong);
  box-shadow: none;
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.header-booking:hover {
  color: var(--paper);
  background: var(--ink);
}

.hero-kickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-kickers > .eyebrow {
  margin: 0;
}

.cleanwhale-platform-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 3px 10px 3px 3px;
  gap: 8px;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 92%, white);
  box-shadow: none;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.cleanwhale-platform-badge__logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.summary-card :is(.button-primary, .booking-start, .button-disabled):disabled {
  color: color-mix(in srgb, var(--ink) 48%, transparent);
  background: color-mix(in srgb, var(--ink) 10%, var(--paper));
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

.booking-gate-status[data-kind="error"] {
  color: #a12d23;
}

:where(.header-booking, .cleanwhale-platform-badge, .footer-status-link):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.domain-brand-mark,
.story-logo,
.blog-identity img {
  display: block;
  object-fit: contain;
}

.story-layout,
.results-layout,
.reviews-layout,
.blog-hero-layout {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.story-identity,
.blog-identity {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.story-identity img,
.blog-identity img {
  width: clamp(64px, 8vw, 104px);
  height: auto;
}

.story-identity span,
.blog-identity span {
  font-size: .8rem;
}

.story-copy,
.story-copy p,
.reviews-brand > p,
.platform-quality > p,
.blog-hero-layout p,
.blog-article p {
  max-width: 68ch;
}

.story-copy { min-width: 0; }

.story-descriptor {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.before-after-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
  border: 1px solid currentColor;
}

.before-after-panel {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  border-right: 1px solid currentColor;
}

.before-after-panel:nth-child(2) {
  border-right: 0;
}

.before-after-panel span {
  position: relative;
  z-index: 1;
  align-self: start;
  font-size: .75rem;
  font-weight: 800;
}

.evidence-photo-slot {
  align-self: center;
  justify-self: center;
  width: min(72%, 210px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: .26;
}

.before-after-panel:nth-child(2) .evidence-photo-slot {
  opacity: .48;
}

.evidence-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-top: 1px solid currentColor;
}

.evidence-empty p,
.review-empty p {
  margin-bottom: 0;
}

.review-empty,
.platform-quality {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid currentColor;
}

.quality-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-block: 24px;
}

.quality-numbers p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-right: 16px;
}

.quality-numbers p + p {
  padding-left: 16px;
  border-left: 1px solid currentColor;
}

.quality-numbers strong {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.quality-numbers span,
.platform-quality small {
  font-size: .78rem;
}

.platform-quality :is(h3, p, strong, span, small, a, .eyebrow) {
  color: inherit !important;
}

.platform-quality small,
.platform-quality > a {
  display: block;
  margin-top: 12px;
}

.platform-quality a,
.journal-index-link,
.journal-card a,
.blog-back,
.footer-links a {
  color: inherit;
  font-weight: 750;
  text-underline-offset: 4px;
}

.journal-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.journal-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid currentColor;
}

.journal-card > span {
  font-size: .76rem;
  font-weight: 800;
}

.journal-card p {
  flex: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.blog-main {
  min-height: 70vh;
}

.blog-hero-layout {
  align-items: end;
}

.blog-hero h1 {
  margin-block: 20px;
}

.blog-identity {
  justify-self: end;
  min-width: min(100%, 260px);
}

.blog-contents-heading {
  max-width: 720px;
  margin-bottom: clamp(32px, 7vw, 80px);
}

.blog-articles {
  display: grid;
  gap: clamp(48px, 10vw, 120px);
}

.blog-article {
  scroll-margin-top: 120px;
}

.blog-article-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  margin-bottom: 32px;
}

.blog-article-heading > span {
  padding-top: 8px;
  font-weight: 800;
}

.blog-article-heading h2 {
  max-width: 22ch;
  margin-top: 0;
}

.blog-article-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-left: 96px;
}

.blog-article-body section {
  padding-top: 18px;
  border-top: 1px solid currentColor;
}

.blog-booking-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: clamp(28px, 5vw, 54px);
  border-block: 1px solid currentColor;
}

@media (max-width: 1020px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .primary-nav {
    display: none;
  }

  .story-layout,
  .results-layout,
  .reviews-layout,
  .blog-hero-layout {
    grid-template-columns: 1fr;
  }

  .blog-identity {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-booking {
    display: none;
  }

  .hero-kickers {
    display: grid;
    justify-items: start;
  }

  .cleanwhale-platform-badge {
    min-height: 34px;
    font-size: .72rem;
  }

  .cleanwhale-platform-badge__logo {
    width: 26px;
    height: 26px;
  }

  .before-after-frame,
  .journal-grid,
  .blog-article-body {
    grid-template-columns: 1fr;
  }

  .before-after-panel {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .before-after-panel:nth-child(2) {
    border-bottom: 0;
  }

  .quality-numbers {
    grid-template-columns: 1fr;
  }

  .quality-numbers p + p {
    margin-top: 16px;
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid currentColor;
    border-left: 0;
  }

  .journal-heading,
  .blog-booking-card {
    display: grid;
    justify-items: start;
  }

  .journal-card {
    min-height: 0;
  }

  .blog-article-heading {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .blog-article-body {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-booking {
    scroll-behavior: auto;
    transition: none;
  }
}
