/* Mosaic architecture. No two bands share the same internal grid. */

.mosaic,
.band,
.product,
.reviews,
.connector,
.doc,
.contact-mosaic {
  width: min(var(--mosaic-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

main { padding-bottom: var(--space-8); }

/* ——— Hero: type and portrait overlap; a void holds the giant 70 ——— */
.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  gap: var(--space-5) var(--space-4);
  padding-top: var(--space-8);
  padding-bottom: var(--space-7);
  position: relative;
}

.hero-copy { grid-column: 1 / 8; grid-row: 1; position: relative; z-index: 2; padding-right: var(--space-6); }
.hero-figure {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  margin-left: -2.75rem;
  position: relative;
  z-index: 1;
  min-height: 28rem;
}
.hero-deck { grid-column: 1 / 6; grid-row: 2; position: relative; z-index: 2; }
.hero-byline { grid-column: 1 / 5; grid-row: 3; }
.hero-void {
  grid-column: 6 / 8;
  grid-row: 3;
  position: relative;
  min-height: 7rem;
}

.hero h1 {
  margin: var(--space-4) 0 0;
  font-size: var(--text-hero);
  max-width: 8ch;
}

.kicker, .idx, .meta, .byline, .caption, .source, .updated {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.kicker + .kicker { margin-top: 0.85rem; letter-spacing: 0.08em; }

.kicker em {
  font-style: normal;
  color: var(--brand-accent);
}

.hero-figure img,
.note img,
.product-figure img,
.split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.2) brightness(0.95);
}

.hero-figure { overflow: hidden; background: var(--surface-raised); }
.hero-figure img { object-position: 50% 30%; aspect-ratio: 4 / 5; }

.hero-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(transparent, rgba(18, 26, 36, 0.88));
  font-size: var(--text-sm);
}

.giant {
  position: absolute;
  right: -0.4rem;
  bottom: -1.4rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: rgba(94, 182, 255, 0.16);
  pointer-events: none;
  user-select: none;
}

/* ——— Intro: one stripe band, text only on the left ——— */
.intro {
  width: 100%;
  margin: 0 0 var(--space-8);
  padding: var(--space-7) var(--gutter);
  background-color: var(--surface-raised);
  background-image: var(--stripe-soft);
  border-block: 1px solid var(--border-subtle);
}

.intro__inner {
  width: min(var(--mosaic-max), 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.intro__inner p {
  grid-column: 1 / 7;
  margin: 0;
  font-size: var(--text-h3);
  line-height: 1.45;
  font-weight: 300;
}

/* ——— Product: image breaks the left edge; price sits in a narrow last column ——— */
.product {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  align-items: start;
  margin-bottom: var(--space-9);
}

.product-figure {
  --break: max(var(--gutter), min(8vw, (100vw - min(100vw, var(--mosaic-max))) / 2));
  grid-column: 1 / 6;
  margin: 0 0 0 calc(-1 * var(--break));
  width: calc(100% + var(--break));
  background: var(--surface-raised);
  overflow: hidden;
}

.product-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-position: 50% 40%;
}

.product-copy { grid-column: 6 / 11; padding-top: var(--space-6); }
.product-meta {
  grid-column: 11 / 13;
  padding-top: var(--space-8);
  border-left: 1px solid var(--border-subtle);
  padding-left: var(--space-4);
}

.product h2 { font-size: var(--text-h1); margin: 0 0 var(--space-4); }

.specs { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.specs li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-sm);
}
.specs li:last-child { border-bottom: 1px solid var(--border-subtle); }

/* ——— Five notes: unequal spans, five different internals ——— */
.notes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(160px, auto);
  gap: var(--space-4);
  margin-bottom: var(--space-9);
}

.note { position: relative; background: var(--surface-raised); min-width: 0; }
.note--overlay { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 34rem; overflow: hidden; }
.note--stripe { grid-column: 8 / 13; grid-row: 1; }
.note--narrow { grid-column: 9 / 13; grid-row: 2; }
.note--split { grid-column: 1 / 9; grid-row: 3; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 22rem; }
.note--spec { grid-column: 4 / 13; grid-row: 4; }

.note--overlay img {
  position: absolute;
  inset: 0;
  object-position: 50% 40%;
}

.note__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(18, 26, 36, 0.1) 10%, rgba(18, 26, 36, 0.88) 72%);
}

.note__content { position: relative; z-index: 1; padding: var(--space-6); }
.note--overlay .note__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-6);
}

.note h2 { font-size: var(--text-h2); margin: 0.4rem 0 var(--space-4); }

.note--stripe {
  background-color: var(--brand-secondary);
  background-image: var(--stripe-strong);
  padding: var(--space-6);
}

.note--narrow { padding: var(--space-6) var(--space-5); overflow: hidden; }
.note--narrow img {
  aspect-ratio: 5 / 3;
  object-position: 50% 30%;
  margin: 0 calc(-1 * var(--space-5)) var(--space-4);
  width: calc(100% + 2 * var(--space-5));
  max-width: none;
}

.note--split .split-photo { overflow: hidden; margin-left: -3vw; }
.note--split .split-photo img { height: 100%; object-position: 50% 45%; }
.note--split .note__content { padding: var(--space-6) var(--space-5); align-self: end; }

.note--spec {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: transparent;
  gap: var(--space-5);
  align-items: center;
}
.note--spec .spec-photo { overflow: hidden; background: var(--surface-raised); }
.note--spec .spec-photo img { aspect-ratio: 1 / 1.05; object-position: 50% 60%; }
.note--spec .note__content {
  padding: var(--space-5) 0;
  background-image: var(--stripe-thin);
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: top left;
  padding-top: var(--space-5);
}

/* ——— Connector: narrow copy, vast striped void ——— */
.connector {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-9);
  min-height: 16rem;
  align-items: stretch;
}

.connector__copy {
  grid-column: 1 / 6;
  margin: 0;
  font-size: var(--text-h3);
  font-weight: 300;
  line-height: 1.45;
  align-self: center;
}

.connector__void {
  grid-column: 6 / 13;
  background-color: var(--surface-deep);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(94, 182, 255, 0.16) 0 10px,
    transparent 10px 22px
  );
}

/* ——— Reviews: one giant quote, two subordinates ——— */
.reviews {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.reviews h2 { grid-column: 1 / -1; font-size: var(--text-h2); margin: 0 0 var(--space-3); }

.review--lead { grid-column: 1 / 8; padding: var(--space-6) var(--space-6) var(--space-6) 0; }
.review--b, .review--c {
  grid-column: 8 / 13;
  padding: var(--space-5);
  background: var(--surface-raised);
  border-top: 8px solid transparent;
  border-image: var(--stripe-thin) 1;
}

.review blockquote {
  margin: var(--space-3) 0;
  font-weight: 300;
  font-style: italic;
}
.review--lead blockquote { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.45; }
.review footer { color: var(--text-secondary); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.06em; }

.stars { display: flex; gap: 0.15rem; color: var(--brand-accent); }
.stars svg { width: 1rem; height: 1rem; fill: currentColor; }

/* ——— CTA: full-bleed sky, type locked left ——— */
.cta {
  width: 100%;
  background-color: var(--surface-inverse);
  background-image:
    radial-gradient(700px 320px at 100% 100%, rgba(244, 247, 251, 0.16), transparent 60%),
    repeating-linear-gradient(-45deg, transparent 0 16px, rgba(244, 247, 251, 0.08) 16px 18px);
  color: var(--text-inverse);
  padding: var(--space-10) var(--gutter);
  margin-top: var(--space-6);
}

.cta__inner { width: min(var(--mosaic-max), 100%); margin-inline: auto; }
.cta h2 { font-size: var(--text-hero); max-width: 12ch; margin: 0 0 var(--space-5); }
.cta p { max-width: 36rem; color: var(--text-inverse); }
.cta .price { color: rgba(247, 251, 255, 0.82); font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; font-size: var(--text-sm); }

/* ——— Footer: statement, then the legal record ——— */
.site-footer {
  background: var(--surface-deep);
  color: var(--text-primary);
  padding: var(--space-8) var(--gutter) var(--space-6);
  border-top: 1px solid var(--border-subtle);
}

.footer-inner { width: min(var(--mosaic-max), 100%); margin-inline: auto; }

.footer-statement {
  max-width: 28rem;
  font-weight: 300;
  font-size: var(--text-h3);
  line-height: 1.4;
  margin: var(--space-5) 0 var(--space-7);
}

.footer-nav, .footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.2rem;
  margin-bottom: var(--space-5);
}

.footer-nav a, .footer-legal-nav a, .site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--brand-accent); }

.footer-disclosures {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-5);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  max-width: 78ch;
}

.footer-disclosures p { margin-bottom: var(--space-3); }
.footer-copy { color: var(--text-secondary); font-size: var(--text-sm); }

/* ——— Legal / contact: offset column, not the homepage mosaic ——— */
.doc {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  padding: var(--space-8) 0 var(--space-9);
}

.doc__label {
  grid-column: 1 / 4;
  position: sticky;
  top: 6rem;
  align-self: start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(94, 182, 255, 0.85);
  height: 16rem;
}

.doc__body { grid-column: 4 / 11; }
.doc__body h1 { font-size: var(--text-h1); margin: 0 0 var(--space-4); }
.doc__body h2 { font-size: var(--text-h3); margin: var(--space-7) 0 var(--space-3); }
.doc__rail {
  grid-column: 11 / 13;
  background-image: var(--stripe-thin);
  background-color: var(--surface-deep);
  min-height: 12rem;
}

.contact-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
  padding: var(--space-8) 0 var(--space-8);
}

.contact-mosaic h1 { grid-column: 1 / 8; font-size: var(--text-h1); margin: 0; }
.contact-mosaic .lede { grid-column: 1 / 7; font-size: var(--text-h3); font-weight: 300; }
.contact-card { background: var(--surface-raised); padding: var(--space-5); }
.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}
.card-wide { grid-column: 1 / 8; }
.card-mid { grid-column: 8 / 13; }
.card-a { grid-column: 1 / 5; }
.card-b { grid-column: 5 / 9; }
.card-c { grid-column: 9 / 13; }
.contact-note { grid-column: 1 / 9; }
.contact-updated { grid-column: 1 / -1; margin: 0; }

.source a, .doc a, .contact-card a { color: var(--text-link); }

ul.plain { margin: 0 0 var(--space-4); padding-left: 1.1rem; }
ul.plain li { margin: 0.25rem 0; }

@media (max-width: 1100px) {
  .hero-figure { margin-left: 0; min-height: 0; }
  .product-figure img { width: 100%; margin-left: 0; }
  .note--split .split-photo { margin-left: 0; }
  .note--narrow { grid-column: 8 / 13; }
  .doc__body { grid-column: 4 / 13; }
  .doc__rail { display: none; }
}

@media (max-width: 900px) {
  .hero,
  .intro__inner,
  .product,
  .notes,
  .connector,
  .reviews,
  .doc,
  .contact-mosaic,
  .note--spec,
  .note--split {
    display: flex;
    flex-direction: column;
  }

  .hero-copy, .hero-deck, .hero-figure, .product-copy, .product-meta, .product-figure,
  .note, .connector__copy, .connector__void, .review, .doc__label, .doc__body,
  .contact-card, .contact-mosaic h1, .contact-mosaic .lede, .contact-note {
    grid-column: auto;
    width: 100%;
  }

  .hero { padding-top: var(--space-6); }
  .hero h1, .cta h2 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .hero-figure { order: -1; }
  .hero-void { min-height: 4.5rem; }
  .giant { font-size: 6rem; bottom: 0; }
  .note--overlay { min-height: 26rem; }
  .note--split .split-photo img, .note--spec .spec-photo img { aspect-ratio: 4 / 3; height: auto; }
  .product-meta { border-left: 0; padding-left: 0; padding-top: 0; }
  .product-figure { margin-left: 0; width: 100%; }
  .connector__void { min-height: 7rem; }
  .doc__label {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
    position: static;
  }
  .intro__inner p { font-size: 1.2rem; }
  .wordmark--giant .wordmark__name { font-size: 4.2rem; }
}

@media (min-width: 1700px) {
  :root { --mosaic-max: 1600px; }
}
