/* Starship Studios — final rendered single-page site.
   Pulls together selected wireframe components in a polished page layout.
   Class prefix: ssp- (Starship Studios Page) */

:root {
  --ssp-paper: #f6f3ec;
  --ssp-paper-deep: #e8e3d8;
  --ssp-ink: #141414;
  --ssp-ink-soft: #555;
  --ssp-ink-faint: #9a948a;
  --ssp-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ssp-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ssp-live: #ff4d4d;
  --ssp-accent: #345a86;       /* calm slate-blue, softer than electric */
  --ssp-accent-deep: #284868;  /* darker hover state */
}

html, body { margin: 0; padding: 0; background: var(--ssp-paper); color: var(--ssp-ink); font-family: var(--ssp-sans); overflow-x: clip; }
html { scroll-behavior: smooth; }

.ssp-page {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   HERO — full-bleed dark with starfield shader, floating nav,
   big headline and CTAs. Same width as everything below it.
   ============================================================ */
.ssp-hero {
  position: relative;
  margin: 0 0 0;
  aspect-ratio: 16 / 8.5;
  background: #060912;
  overflow: hidden;
  color: var(--ssp-paper);
}
.ssp-hero__bg {
  position: absolute; inset: 0;
}
.ssp-hero__bg canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.ssp-hero__content {
  position: relative; z-index: 1;
  height: 100%; box-sizing: border-box;
  padding: 36px 56px 72px;
  display: flex; flex-direction: column;
  max-width: 2000px;
  margin: 0 auto;
}

.ssp-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(246, 243, 236, 0.18);
}
.ssp-nav__brand {
  font-family: var(--ssp-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ssp-nav__cta {
  font-family: var(--ssp-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(246, 243, 236, 0.55);
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}
.ssp-nav__cta:hover {
  background: rgba(246, 243, 236, 0.10);
  border-color: rgba(246, 243, 236, 0.85);
}

.ssp-hero__body {
  margin-top: auto;
  max-width: 720px;
}
.ssp-hero__kicker {
  font-family: var(--ssp-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ssp-hero__title {
  font-family: var(--ssp-sans);
  font-weight: 800;
  /* Fluid: shrinks with viewport so it never crowds the edges on
     mid-width windows, caps out on very wide screens. */
  font-size: clamp(44px, 5vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 18px 0 0;
}
.ssp-hero__intro {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.4;
  max-width: 540px;
  opacity: 0.92;
}
.ssp-hero__ctas {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.ssp-hero__ctas .pri {
  background: var(--ssp-paper);
  color: var(--ssp-ink);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--ssp-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.ssp-hero__ctas .pri:hover { transform: translateY(-1px); }
.ssp-hero__ctas .sec {
  font-family: var(--ssp-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ssp-paper);
  white-space: nowrap;
  cursor: pointer;
}

/* ============================================================
   SECTION HEAD — final-style (Inter 800), replaces the
   wireframe Caveat-based SectionHead component on this page.
   ============================================================ */
.ssp-secthead {
  margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.ssp-secthead__kicker {
  font-family: var(--ssp-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ssp-ink-faint);
}
.ssp-secthead__title {
  font-family: var(--ssp-sans);
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -0.025em;
  line-height: 1;
}

/* ============================================================
   EXPERTISE BAND — light tan section under the hero, three
   columns of areas. Same as Hero Options · Option B.
   ============================================================ */
.ssp-expertise {
  background: var(--ssp-paper);
  color: var(--ssp-ink);
  padding: 56px;
  box-sizing: border-box;
}
.ssp-expertise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1.4px solid var(--ssp-ink);
  border-bottom: 1.4px solid var(--ssp-ink);
}
.ssp-expertise__col {
  padding: 28px;
  border-right: 1px solid rgba(20, 20, 20, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ssp-expertise__col:last-child { border-right: none; }
.ssp-expertise__num {
  font-family: var(--ssp-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ssp-ink-faint);
}
.ssp-expertise__big {
  font-family: var(--ssp-sans);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.ssp-expertise__sub {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ssp-ink-soft);
  max-width: 340px;
}

/* ============================================================
   PROJECTS — each tile sits flush against the next. Chips
   that describe each project live INSIDE its tile.
   ============================================================ */
.ssp-projects {
  display: flex; flex-direction: column;
  gap: 0;
}
.ssp-project {
  display: flex; flex-direction: column;
  padding: 0;
}

/* Tile wrapper — lets us absolutely-position chip overlays inside. */
.ssp-tile {
  position: relative;
  width: 100%;
}

/* When ImgTile is dropped in here, kill its rounded corners and the
   inline CTA pill so our chip strip can sit cleanly in its place. */
.ssp-tile .ws-imgtile {
  width: 100%;
  border-radius: 0;
}
.ssp-tile .ws-imgtile__cta { display: none; }

/* Chip strip rendered INSIDE the dark tile overlay, bottom-left.
   Single unified style — features and stack render identically. */
.ssp-chips--overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ssp-chips--overlay li,
.ssp-chips--overlay li.is-feat {
  font-family: var(--ssp-sans);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(246, 243, 236, 0.28);
  color: var(--ssp-paper);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

/* Inline chip strip — used inside the bespoke Radio Paradise tile. */
.ssp-chips--inline {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ssp-chips--inline li,
.ssp-chips--inline li.is-feat {
  font-family: var(--ssp-sans);
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(246, 243, 236, 0.28);
  color: var(--ssp-paper);
}

/* Radio Paradise chips need more punch — the currents shader behind
   them is alive and washes out a low-contrast pill. Solid dark fill,
   subtle blur for separation, brighter border. */
.ssp-rp__body .ssp-chips--inline li,
.ssp-rp__body .ssp-chips--inline li.is-feat {
  background: rgba(10, 13, 20, 0.72);
  border-color: rgba(246, 243, 236, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-weight: 500;
  padding: 7px 12px;
}

/* ============================================================
   TIMECODE+ — bespoke tile with live clock + screenshot carousel.
   Dark background, left content stack, right phone with carousel.
   ============================================================ */
.ssp-tc-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(255, 107, 43, 0.10), transparent 55%),
    linear-gradient(180deg, #15161a 0%, #0a0b0e 100%);
  color: var(--ssp-paper);
}
.ssp-tc-tile__content {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 0;
}
.ssp-tc-tile__content > * { min-height: 0; min-width: 0; }
.ssp-tc__left {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 620px;
}
.ssp-tc__head {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  width: fit-content;
  transition: opacity 160ms ease;
}
.ssp-tc__head:hover { opacity: 0.85; }
.ssp-tc__icon {
  width: 56px; height: 56px;
  border-radius: 13px;
  display: block;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.ssp-tc__kicker {
  font-family: var(--ssp-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: -8px;
}
.ssp-tc__name {
  font-family: var(--ssp-sans);
  font-weight: 800;
  font-size: 48px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.ssp-tc__sub {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 480px;
  margin: 0;
}
.ssp-tc__stores { display: flex; align-items: center; gap: 16px; margin-top: 4px; flex-wrap: wrap; }
.ssp-tc__site-link {
  font-family: var(--ssp-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #ff6b2b;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 43, 0.4);
  padding-bottom: 1px;
  transition: border-color 160ms ease;
}
.ssp-tc__site-link:hover { border-bottom-color: #ff6b2b; }

/* Live timecode clock — signature element. Matches timecodeplus.com. */
.ssp-tc__clock {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 10px 18px;
  font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.85);
}
.ssp-tc__clock .tc-seg,
.ssp-tc__clock .tc-colon {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: ssp-tc-boot 0.4s ease-out forwards;
}
.ssp-tc__clock .tc-seg-1 { animation-delay: 0.2s; }
.ssp-tc__clock .tc-seg-2 { animation-delay: 0.35s; }
.ssp-tc__clock .tc-seg-3 { animation-delay: 0.5s; }
.ssp-tc__clock .tc-seg-4 { animation-delay: 0.65s; }
.ssp-tc__clock .tc-colon { color: rgba(255, 255, 255, 0.35); margin: 0 1px; }
.ssp-tc__clock .tc-frames {
  color: #ff6b2b;
  text-shadow: 0 0 12px rgba(255, 107, 43, 0.4);
}
@keyframes ssp-tc-boot {
  to { opacity: 1; transform: translateY(0); }
}

/* Right side: single phone shown, prev/next switches it (just like RP mobile). */
.ssp-tc__right {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 24px 16px;
  box-sizing: border-box;
}
.ssp-tc__shots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.ssp-tc__shots .ssp-rp-phone {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 19.5;
}
.ssp-tc__shots[data-active-shot="0"] .ssp-rp-phone:not(:nth-child(1)),
.ssp-tc__shots[data-active-shot="1"] .ssp-rp-phone:not(:nth-child(2)),
.ssp-tc__shots[data-active-shot="2"] .ssp-rp-phone:not(:nth-child(3)),
.ssp-tc__shots[data-active-shot="3"] .ssp-rp-phone:not(:nth-child(4)) {
  display: none;
}
.ssp-tc__shots-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: var(--ssp-paper);
}

/* ============================================================
   RADIO PARADISE — bespoke "hero3" tile with three phones and
   Currents shader, taken from Radio Paradise Promo.html.
   ============================================================ */
.ssp-rp-tile {
  position: relative;
  width: 100%;
  background: transparent;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.ssp-rp-tile__shader {
  position: absolute; inset: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0a0d14;
}
.ssp-rp-tile__shader canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.ssp-rp-tile__content {
  position: relative; z-index: 1;
  height: 100%;
  color: var(--ssp-paper);
}
.ssp-rp__left {
  padding: 40px 48px;
  display: flex; flex-direction: column;
  height: 100%;
  max-width: 46%;
  box-sizing: border-box;
  justify-content: flex-start;
}
.ssp-rp__live {
  display: inline-flex; align-items: center; gap: 9px;
  align-self: flex-start;
  margin-bottom: 28px;
  white-space: nowrap;
  font-family: var(--ssp-mono);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(246, 243, 236, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
}
.ssp-rp__live::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--ssp-live);
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.55);
  animation: ssp-pulse 2.2s infinite;
}
@keyframes ssp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.ssp-rp__body { margin-top: 0; }
.ssp-rp__wordmark {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 90px;
  margin-left: -10px;
  object-fit: cover;
  object-position: left 56%;
}
.ssp-rp__sub {
  font-size: 15px;
  opacity: 0.85;
  margin-top: 16px;
  line-height: 1.4;
  max-width: 400px;
  color: var(--ssp-paper);
}
.ssp-rp__stores {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 20px;
}
.ssp-rp__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.ssp-rp__badge img {
  height: 100%;
  width: auto;
  display: block;
}
.ssp-rp__badge:hover { transform: translateY(-1px); }
.ssp-rp__badge--soon { opacity: 0.55; cursor: default; }
.ssp-rp__badge--soon:hover { transform: none; }
.ssp-rp__badge-tag {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--ssp-paper);
  color: var(--ssp-ink);
  font-family: var(--ssp-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.ssp-rp__shots {
  position: absolute;
  right: 3%;
  bottom: -28%;
  width: 60%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.ssp-rp__shots .ssp-rp-phone { pointer-events: auto; }
.ssp-rp__shots .ssp-rp-phone:nth-child(1) {
  width: 30%;
  transform: translate(36%, -14%) rotate(-4deg);
  z-index: 1;
}
.ssp-rp__shots .ssp-rp-phone:nth-child(2) {
  width: 38%;
  transform: translateY(6%);
  z-index: 3;
}
.ssp-rp__shots .ssp-rp-phone:nth-child(3) {
  width: 30%;
  transform: translate(-36%, -14%) rotate(4deg);
  z-index: 1;
}
.ssp-rp-phone {
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  padding: 6px;
  background: linear-gradient(180deg, #2a2f3d 0%, #14171f 100%);
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.55),
    0 12px 30px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
  position: relative;
}
.ssp-rp-phone > img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 34px;
}
.ssp-rp-phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 32%; height: 24px;
  background: #0a0d14;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

/* Mobile-only carousel nav — hidden on desktop. */
.ssp-rp__shots-nav { display: none; }

/* ============================================================
   META STRIP — relies on .ws-projmeta in wireframe-styles.css.
   ============================================================ */
.ws-projmeta { margin-top: 18px; }

/* ============================================================
   FOOTER — Postcard CTA. A card-on-tan composition: tan field
   wraps a paper card that's split between the message (left) and
   the address/CTA (right). Sign-off underneath the card.
   ============================================================ */
.ssp-footer {
  margin: 0;
  background: var(--ssp-paper-deep);
  padding: 88px 56px;
  border-top: 1.4px solid var(--ssp-ink);
}
.ssp-postcard {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--ssp-paper);
  border: 1.4px solid var(--ssp-ink);
  padding: 64px 56px 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.ssp-postcard__title {
  font-family: var(--ssp-sans);
  font-weight: 800;
  font-size: 62px;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0;
}
.ssp-postcard__title em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(100deg, var(--ssp-accent) 0%, #5b8fc7 55%, #7fb0e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Tight title line-height crops the gradient paint box at the
     descenders ("g"); extend it down without shifting layout. */
  padding-bottom: 0.16em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ssp-postcard__sub {
  margin: 0;
  color: var(--ssp-ink-soft);
  font-size: 16px;
  line-height: 1.5;
  max-width: 480px;
}
.ssp-postcard__email {
  margin-top: 10px;
  font-family: var(--ssp-sans);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ssp-ink);
  word-break: break-word;
  border-bottom: 1.4px solid var(--ssp-ink);
  padding-bottom: 2px;
  transition: opacity 160ms ease;
}
.ssp-postcard__email:hover { opacity: 0.7; }
.ssp-postcard__emailrow {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ssp-postcard__emailrow .ssp-postcard__email { margin-top: 0; }
.ssp-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ssp-accent);
  border: 1.4px solid var(--ssp-accent);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  font-family: var(--ssp-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}
.ssp-copy::before {
  content: "";
  width: 10px; height: 10px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
  box-shadow: 3px -3px 0 -1.4px currentColor;
}
.ssp-copy:hover { background: var(--ssp-accent); color: #fff; transform: translateY(-1px); }
.ssp-copy.is-copied {
  background: var(--ssp-accent);
  color: #fff;
  border-color: var(--ssp-accent);
}
.ssp-copy.is-copied::before {
  width: 12px; height: 7px;
  border: none;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(-45deg) translate(1px, -2px);
}
.ssp-postcard__btn {
  display: inline-flex;
  align-items: center; gap: 12px;
  background: var(--ssp-accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ssp-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease;
}
.ssp-postcard__btn:hover { transform: translateY(-1px); background: var(--ssp-accent-deep); }
.ssp-postcard__btn::after { content: "\2192"; font-size: 14px; }

.ssp-postcard__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
/* Secondary CTA — quieter than "Send a note", with a small
   LinkedIn glyph. Text link feel, not a heavy second button. */
.ssp-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ssp-accent);
  text-decoration: none;
  font-family: var(--ssp-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms ease;
}
.ssp-linkedin__icon {
  width: 15px;
  height: 15px;
  display: block;
  flex: none;
}
.ssp-linkedin:hover { color: var(--ssp-accent-deep); }
.ssp-linkedin:hover span { text-decoration: underline; text-underline-offset: 3px; }
.ssp-postcard__base {
  margin: 32px auto 0;
  max-width: 1180px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--ssp-ink-faint);
  font-size: 12px;
  font-family: var(--ssp-mono);
  letter-spacing: 0.10em;
}
.ssp-postcard__base b { color: var(--ssp-ink); font-weight: 600; }
.ssp-postcard__social {
  color: var(--ssp-accent);
  text-decoration: none;
  transition: opacity 160ms ease;
}
.ssp-postcard__social:hover { opacity: 0.7; }

/* ============================================================
   Final tweak: kill the leftover wireframe meta strip if it
   sneaks in, and make sure the hero/tiles don't pick up any
   rounded corners from outside.
   ============================================================ */
.ssp-page .ws-imgtile { border-radius: 0; }
.ssp-page .nc-tile { border-radius: 0; }

/* ============================================================
   TABLET — Hero (701–1024px). Drop the fixed 16:8.5 aspect ratio
   and let the hero shrink-wrap its content (no forced height →
   no dead space). Content-driven height with comfortable padding.
   ============================================================ */
@media (min-width: 701px) and (max-width: 1024px) {
  .ssp-hero {
    aspect-ratio: auto;
  }
  .ssp-hero__content {
    padding: 32px 40px 52px;
  }
  .ssp-hero__body {
    /* Fixed gap below the nav instead of margin-top:auto, which
       only works when the container has a forced height. */
    margin-top: 72px;
  }
}

/* ============================================================
   MOBILE — Hero (matches M6 · Image-led from mobile-variations).
   Triggers ≤700px. Other sections still need their own mobile
   passes; this block scopes only to .ssp-hero.
   ============================================================ */
@media (max-width: 700px) {
  .ssp-hero {
    aspect-ratio: auto;
  }
  .ssp-hero__content {
    padding: 18px 20px 36px;
  }
  .ssp-nav {
    padding-bottom: 14px;
  }
  .ssp-nav__brand {
    font-size: 12px;
    letter-spacing: 0.14em;
  }
  .ssp-nav__cta {
    font-size: 10px;
    padding: 6px 12px;
    letter-spacing: 0.14em;
  }

  .ssp-hero__body {
    /* Content-driven height — fixed gap below the nav, no
       margin-top:auto/min-height pairing (that left dead space). */
    margin-top: 56px;
    max-width: none;
  }
  .ssp-hero__kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .ssp-hero__title {
    font-size: 44px;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-top: 10px;
  }
  .ssp-hero__intro {
    font-size: 14px;
    line-height: 1.35;
    margin-top: 14px;
    max-width: none;
  }
  .ssp-hero__ctas {
    margin-top: 20px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .ssp-hero__ctas .pri {
    padding: 10px 18px;
    font-size: 11px;
  }
  /* Secondary "say hi" inline CTA is redundant on mobile —
     the nav already has the Say hi pill. Hide it. */
  .ssp-hero__ctas .sec { display: none; }

  .ssp-footer { padding: 56px 20px; }
  .ssp-postcard { padding: 44px 24px 40px; gap: 16px; }
  .ssp-postcard__title { font-size: 40px; }
  .ssp-postcard__sub { font-size: 14.5px; }
  .ssp-postcard__email { font-size: 20px; }
}

/* ============================================================
   MOBILE / TABLET — Expertise band.
   ≤1024px : 2×2 grid (Mobile/Web on top, Design/AI below).
   ≤700px  : single stacked column with horizontal dividers.
   ============================================================ */
@media (max-width: 1024px) {
  .ssp-expertise { padding: 40px 32px; }
  .ssp-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* In 2-col layout: cols 1 & 3 get a right border, cols 2 & 4 don't.
     Cols 1 & 2 also need a bottom border to divide the two rows. */
  .ssp-expertise__col { border-right: 1px solid rgba(20, 20, 20, 0.18); }
  .ssp-expertise__col:nth-child(2n) { border-right: none; }
  .ssp-expertise__col:nth-child(-n+2) { border-bottom: 1px solid rgba(20, 20, 20, 0.18); }
  .ssp-expertise__big { font-size: 48px; }
}

@media (max-width: 700px) {
  .ssp-expertise { padding: 32px 18px; }
  .ssp-expertise__grid {
    grid-template-columns: 1fr;
  }
  .ssp-expertise__col {
    padding: 22px 0;
    border-right: none !important;
    border-bottom: 1px solid rgba(20, 20, 20, 0.18) !important;
    gap: 6px;
  }
  .ssp-expertise__col:last-child {
    border-bottom: none !important;
  }
  .ssp-expertise__big { font-size: 40px; }
  .ssp-expertise__sub { font-size: 14px; max-width: none; }
}

/* ============================================================
   MOBILE — Radio Paradise tile.
   Drop 21:9 aspect, stack content vertically, show one phone at
   a time with carousel arrows.
   Breakpoint is 900px (not 700px like other sections) because
   the desktop layout reserves the left column at 46% width —
   it needs ~1000px+ to fit the wordmark + tagline + side-by-side
   store badges. Below 900px, vertical stack looks cleaner.
   ============================================================ */
@media (max-width: 900px) {
  .ssp-rp-tile { aspect-ratio: auto; }
  .ssp-rp-tile__content {
    display: flex;
    flex-direction: column;
  }
  .ssp-rp__left {
    max-width: none;
    padding: 32px 24px 0;
  }
  .ssp-rp__sub { max-width: none; }

  .ssp-rp__shots {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 28px 0 14px;
    display: flex;
    justify-content: center;
  }
  /* Mobile: show only the active phone; carousel arrows switch it. */
  .ssp-rp__shots[data-active-shot="0"] .ssp-rp-phone:not(:nth-child(1)),
  .ssp-rp__shots[data-active-shot="1"] .ssp-rp-phone:not(:nth-child(2)),
  .ssp-rp__shots[data-active-shot="2"] .ssp-rp-phone:not(:nth-child(3)) {
    display: none;
  }
  /* Force the same width on all three phones (override desktop's
     per-nth-child widths) so heights stay equal between carousel
     steps — otherwise aspect-ratio creates a height jump. */
  .ssp-rp__shots .ssp-rp-phone,
  .ssp-rp__shots .ssp-rp-phone:nth-child(1),
  .ssp-rp__shots .ssp-rp-phone:nth-child(2),
  .ssp-rp__shots .ssp-rp-phone:nth-child(3) {
    width: 72%;
    max-width: 300px;
    transform: none;
    z-index: 1;
  }

  /* Scale phone chrome down to match the smaller phones. */
  .ssp-rp-phone {
    border-radius: 28px;
    padding: 4px;
  }
  .ssp-rp-phone > img { border-radius: 24px; }
  .ssp-rp-phone::before {
    top: 10px;
    height: 18px;
    width: 38%;
  }

  /* Make the tech chips visually quieter on mobile — they're
     a footnote, not a heavy block next to the marketing text. */
  .ssp-rp__body .ssp-chips--inline {
    margin-top: 12px;
    gap: 5px;
  }
  .ssp-rp__body .ssp-chips--inline li,
  .ssp-rp__body .ssp-chips--inline li.is-feat {
    font-size: 11px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(246, 243, 236, 0.18);
    opacity: 0.85;
  }

  /* Carousel nav: arrows on either side of dots, paper-tinted. */
  .ssp-rp__shots-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 24px 32px;
    color: var(--ssp-paper);
  }
}

/* ── Shared carousel-nav button styles (used by RP mobile + Timecode at all sizes) ── */
.ssp-rp__arrow {
  appearance: none;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(246, 243, 236, 0.28);
  color: var(--ssp-paper);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background 0.15s ease;
}
.ssp-rp__arrow:hover,
.ssp-rp__arrow:active { background: rgba(0, 0, 0, 0.5); }
.ssp-rp__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ssp-rp__dots button {
  appearance: none;
  background: rgba(246, 243, 236, 0.35);
  border: none;
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, width 0.15s ease;
}
.ssp-rp__dots button.is-on {
  background: var(--ssp-paper);
  width: 20px;
}

/* ============================================================
   MOBILE — Timecode tile. Stack vertically: text top, phone +
   carousel below. Same breakpoint as RP (≤900px) since the
   desktop two-column layout starts cramping below ~900px.
   ============================================================ */
@media (max-width: 900px) {
  .ssp-tc-tile {
    aspect-ratio: auto;
  }
  .ssp-tc-tile__content {
    grid-template-columns: 1fr;
  }
  .ssp-tc__left {
    padding: 40px 24px 8px;
    max-width: none;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
  }

  /* Clock sits below the title, left-aligned to match other tiles. */
  .ssp-tc__clock {
    align-self: flex-start;
    font-size: 22px;
    padding: 12px 20px;
    letter-spacing: 2px;
    border-radius: 14px;
  }

  /* Drop the small app icon on mobile — title carries it. */
  .ssp-tc__icon { display: none; }
  .ssp-tc__head {
    width: 100%;
    justify-content: flex-start;
    gap: 0;
  }
  .ssp-tc__kicker { opacity: 0.55; }
  .ssp-tc__name { font-size: 44px; }
  .ssp-tc__sub  { font-size: 15px; max-width: 38ch; opacity: 0.78; }

  .ssp-tc__stores {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .ssp-tc__right {
    padding: 28px 24px 32px;
  }
  .ssp-tc__shots .ssp-rp-phone {
    height: auto;
    width: 72%;
    max-width: 300px;
    max-height: none;
  }

  /* Quieter chips on mobile (footnote, not headline). */
  .ssp-tc__left .ssp-chips--inline {
    margin-top: 6px;
    gap: 5px;
    justify-content: flex-start;
  }
  .ssp-tc__left .ssp-chips--inline li,
  .ssp-tc__left .ssp-chips--inline li.is-feat {
    font-size: 11px;
    padding: 4px 9px;
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(246, 243, 236, 0.18);
    opacity: 0.85;
  }
}

/* ─── Floating contact pill ──────────────────────────────────────────────
   Persistent bottom-right CTA. Matches the hero's dark navy with paper text,
   and an inset paper-on-ink chip for the action. */
.ssp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 22px;
  background: #2D44FF;
  color: #ffffff;
  font-family: var(--ssp-sans);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  box-shadow:
    0 10px 30px rgba(45, 68, 255, 0.32),
    0 2px 8px rgba(0, 0, 0, 0.18);
  /* Hidden by default — fades + slides in once .is-visible lands. */
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 200ms ease,
    box-shadow 220ms ease;
}
.ssp-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ssp-fab.is-visible:hover {
  transform: translateY(-2px) scale(1);
  background: #1B33F2;
  box-shadow:
    0 14px 36px rgba(45, 68, 255, 0.42),
    0 3px 10px rgba(0, 0, 0, 0.22);
}
.ssp-fab__btn {
  background: #ffffff;
  color: #2D44FF;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .ssp-fab {
    right: 12px;
    bottom: 12px;
    gap: 10px;
    padding: 6px 6px 6px 16px;
    font-size: 13px;
  }
  .ssp-fab__btn { padding: 8px 14px; font-size: 13px; }
}

/* ─── BETA Technologies tile ─────────────────────────────────────────────
   Looping marketing reel as background, dark gradient overlay,
   monochrome content sitting bottom-left. */
.ssp-beta-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: #050505;
  color: #f6f3ec;
  isolation: isolate;
}
.ssp-beta-tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(0.15) contrast(1.05);
}
.ssp-beta-tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.30) 40%, rgba(0,0,0,0.88) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.20) 55%, rgba(0,0,0,0.10) 100%);
}
.ssp-beta-tile__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px 44px;
  gap: 12px;
  max-width: 720px;
}
.ssp-beta-tile__ticker {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 0.78em;
  letter-spacing: 0.08em;
  opacity: 0.78;
  white-space: nowrap;
}
.ssp-beta-tile__stores {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.ssp-beta-tile__badge {
  display: inline-flex;
  height: 44px;
  line-height: 0;
}
.ssp-beta-tile__badge img {
  height: 100%;
  width: auto;
  display: block;
}
.ssp-beta-tile__badge:hover { opacity: 0.85; }
.ssp-beta-tile__name {
  font-family: var(--ssp-sans);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.ssp-beta-tile__kicker {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
}
.ssp-beta-tile__desc {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.92;
  max-width: 58ch;
  margin-top: 6px;
}
.ssp-beta-tile__chips {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ssp-beta-tile__chips li {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  background: rgba(0,0,0,0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 900px) {
  .ssp-beta-tile {
    aspect-ratio: auto;
    min-height: 520px;
  }
  .ssp-beta-tile__content {
    padding: 32px 24px 28px;
    max-width: none;
  }
  .ssp-beta-tile__name {
    font-size: 44px;
  }
  .ssp-beta-tile__desc {
    font-size: 15px;
  }
  .ssp-beta-tile__overlay {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.95) 100%);
  }
}
