/* ==========================================================================
   SVSS — "Take-off" (case-study-svss.html)
   The page is one parasail flight. A fixed sky layer changes colour with
   altitude (svss.js); sections are transparent and carry their own ink.
   ========================================================================== */

.sv-page {
  --magenta: #d7127b;
  --cinnabar: #ee372d;
  --cyan: #26aae1;
  --ncs: #0f89af;
  --peach: #ffe1ab;
  --jonquil: #fbcd0b;
  --purple: #6e499c;
  --usafa: #0159a3;
  --black: #0e0e0e;
  --sv-font: "Lexend Deca", var(--font-sans);
  --sv-gap: 140px;
  background: var(--peach);
}

.sv {
  position: relative;
  overflow-x: clip;
  font-family: var(--sv-font);
}

.sv-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--peach);
}

.sv-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sv-wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.sv-sec {
  position: relative;
  padding-top: var(--sv-gap);
  padding-bottom: 20px;
  color: var(--ink);
  /* Each section paints its own sky, fading in from the one before */
  background: linear-gradient(var(--prev), var(--bgc) 150px);
}

/* Thin wave line drawn at every section break */
.sv-rule {
  position: absolute;
  top: calc(var(--sv-gap) / 2 - 12px);
  left: 50%;
  width: min(1120px, 100% - 40px);
  height: 24px;
  transform: translateX(-50%);
  overflow: visible;
}

.sv-rule path {
  fill: none;
  stroke: currentColor;
  stroke-opacity: 0.35;
  stroke-width: 1.5;
}

.sv-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Chapter number: ink-coloured pill with the sky showing through the digits */
.sv-eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 22px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bgc);
}

.sv-head h2 {
  max-width: 820px;
  margin-top: 16px;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.sv-head h2 em {
  font-style: normal;
  color: var(--magenta);
}

.sv-lead {
  max-width: 640px;
  margin-top: 22px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.sv-hero {
  position: relative;
  padding-top: 96px;
  color: var(--black);
  overflow: hidden;
}

.sv-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}

.sv-brush-sky {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-top: 18px;
}

.sv-title {
  margin-top: 28px;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--usafa);
}

.sv-sub {
  max-width: 440px;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
}

.sv-logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sv-logo .lp {
  transform-box: fill-box;
  transform-origin: center;
}

.sv-logo .lp-parachute {
  transform-origin: 50% 100%;
}

/* The boat rides the hero's own sea: the logo's water dips past the crest */
.sv-logo-hero {
  position: relative;
  z-index: 2;
  max-width: 500px;
  justify-self: end;
  align-self: end;
  margin-bottom: -58px;
}

.sv-info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  margin-bottom: 0;
  color: #fff;
}

.sv-info > div {
  padding: 4px 28px 4px 0;
  margin: 0 28px 10px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.sv-info > div:last-child {
  border-right: 0;
}

.sv-info dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
}

.sv-info dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.sv-hero-sea {
  position: relative;
  padding: 128px 0 48px;
}

.sv-hero-sea i {
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20 Q25 0 50 20 T100 20 T150 20 T200 20 V40 H0Z'/%3E%3C/svg%3E");
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: var(--cyan);
  -webkit-mask: var(--wave) 0 0 / 400px 40px repeat-x, linear-gradient(#000, #000) 0 39px / 100% 100% no-repeat;
  mask: var(--wave) 0 0 / 400px 40px repeat-x, linear-gradient(#000, #000) 0 39px / 100% 100% no-repeat;
  animation: sv-roll 9s linear infinite;
}

.sv-hero-sea i + i {
  top: 56px;
  height: auto;
  background: var(--ncs);
  animation-duration: 6s;
  animation-direction: reverse;
}

@keyframes sv-roll {
  to {
    -webkit-mask-position: 400px 0, 0 39px;
    mask-position: 400px 0, 0 39px;
  }
}

/* ==========================================================================
   01 BRIEFING — departure board
   ========================================================================== */
.sv-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
  perspective: 900px;
}

.sv-flap {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(1, 89, 163, 0.1);
  transform-origin: 50% 0;
}

/* Boarding-pass perforation */
.sv-flap::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 100px;
  border-top: 2px dashed var(--peach);
}

.sv-flap-num {
  height: 60px;
  font-size: 56px;
  font-weight: 600;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: var(--usafa);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sv-flap-num span {
  margin: 0 4px;
  color: var(--magenta);
}

.sv-flap:last-child .sv-flap-num {
  font-size: 40px;
}

.sv-flap-label {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.4;
}

.sv-flap-label em {
  font-style: normal;
  color: var(--magenta);
}

.sv-source {
  margin-top: 18px;
  font-size: 12px;
  opacity: 0.6;
}

.sv-source a {
  color: inherit;
}

/* ==========================================================================
   02 GEAR UP — exploded logo, proportion system
   ========================================================================== */
.sv-explode {
  height: 240vh;
}

.sv-explode-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
}

.sv-explode-box {
  position: relative;
  width: min(54vh, 440px, 70vw);
}

.sv-logo-explode .lp {
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.sv-logo-explode.is-focus .lp {
  opacity: 0.15;
  filter: saturate(0);
}

.sv-logo-explode.is-focus .lp.is-lit {
  opacity: 1;
  filter: none;
}

.sv-tag {
  position: absolute;
  left: var(--tx);
  top: var(--ty);
  padding: 7px 14px 7px 12px;
  border: 0;
  border-radius: 100px;
  background: #fff;
  color: var(--black);
  font-family: var(--sv-font);
  font-size: 14px;
  white-space: nowrap;
  cursor: default;
  box-shadow: 0 10px 22px rgba(1, 89, 163, 0.14);
  transform: translate(-50%, -50%);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.sv-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--magenta);
  vertical-align: 1px;
}

.sv-tag:hover,
.sv-tag:focus-visible,
.sv-tag.is-lit {
  background: var(--usafa);
  color: #fff;
}

.sv-explode-cap {
  max-width: 420px;
  margin-top: 70px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

/* ==========================================================================
   03 RULES OF FLIGHT — the guide's four rules, drawn live
   ========================================================================== */
.sv-rule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 56px;
}

.sv-rule-card,
.sv-ground {
  padding: 28px 28px 30px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 40px rgba(1, 89, 163, 0.08);
}

.sv-rule-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.sv-rule-num span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 22px;
  border-radius: 100px;
  background: var(--usafa);
  color: #fff;
  font-size: 12px;
}

.sv-dia {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px 0 14px;
  overflow: visible;
  font-family: var(--sv-font);
}

.sv-dia text {
  font-size: 11px;
  fill: var(--usafa);
}

.sv-dia .d-strong {
  font-weight: 600;
  fill: var(--black);
}

.sv-dia .d-or {
  font-size: 34px;
  fill: #9a9a9a;
}

.sv-dia .d-dim path {
  stroke-width: 1;
}

.sv-rule-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

.sv-rule-text b {
  font-weight: 600;
}

/* 05 — the logo stays the same while the ground changes */
.sv-ground {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 18px;
}

.sv-ground-stage {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: var(--g);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: background-color 0.7s var(--ease);
}

.sv-logo-ground {
  width: 38%;
}

.sv-ground-text {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
}

.sv-ground-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.sv-ground-chips button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 8px;
  border: 0;
  border-radius: 100px;
  background: #fff;
  font-family: var(--sv-font);
  font-size: 14px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.sv-ground-chips i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.sv-ground-chips button[aria-pressed="true"] {
  background: var(--black);
  color: #fff;
}

/* ==========================================================================
   04 TAKE-OFF — palette as the guide's colour pills
   ========================================================================== */
.sv-palette {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 28px;
  margin-top: 56px;
  padding: 32px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 50px rgba(1, 89, 163, 0.12);
}

.sv-pal-title {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
}

.sv-pal-title span {
  margin-left: 6px;
  font-weight: 300;
  opacity: 0.55;
}

.sv-pills {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
}

.sv-pill {
  display: grid;
  grid-template-rows: 230px auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: none;
  font-family: var(--sv-font);
  text-align: left;
  cursor: copy;
  transition: transform 0.35s var(--ease);
}

.sv-pill:hover,
.sv-pill:focus-visible {
  transform: translateY(-6px);
}

.sv-pill-top {
  display: flex;
  align-items: flex-end;
  padding: 14px 8px;
  background: var(--c);
  color: var(--t);
}

.sv-pill.is-white .sv-pill-top {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  border-radius: 18px;
}

.sv-pill-label {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.sv-pill-label b {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
}

.sv-pill-label small {
  font-size: 10px;
  letter-spacing: 0.02em;
  opacity: 0.85;
  white-space: nowrap;
}

.sv-tints {
  display: grid;
}

.sv-tints i {
  display: grid;
  place-items: center;
  height: 34px;
  background: color-mix(in srgb, var(--c) var(--p), #fff);
  color: var(--tt);
  font-size: 12px;
  font-style: normal;
}

/* ==========================================================================
   05 ALTITUDE — type specimens
   ========================================================================== */
.sv-type {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.sv-type-row {
  display: grid;
  grid-template-columns: 240px 170px 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.sv-type-name {
  font-size: 22px;
  font-weight: 500;
}

.sv-type-role {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jonquil);
}

.sv-type-use {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  opacity: 0.85;
}

.sv-type-aa {
  margin: 0;
  width: 150px;
  height: auto;
  font-size: 118px;
  font-weight: 500;
  line-height: 1;
}

.sv-lexend {
  font-family: "Lexend Deca", sans-serif;
}

.sv-type-abc {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.sv-type-weights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 14px;
  font-size: 15px;
  opacity: 0.85;
}

.sv-type-body .sv-abc {
  display: block;
  width: auto;
  max-width: 100%;
  height: 34px;
  object-fit: contain;
  object-position: left;
}

.sv-type-body .sv-abc + .sv-abc {
  margin-top: 14px;
}

.sv-type-row-bn {
  grid-template-columns: 240px 1fr;
}

.sv-type-bn {
  width: 100%;
  max-width: 640px;
  height: auto;
}

/* ==========================================================================
   05 ALTITUDE — towed banners
   ========================================================================== */
.sv-tows {
  position: relative;
  height: 300px;
  margin: 40px 0 30px;
  overflow: hidden;
}

.sv-tow {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  will-change: transform;
}

.sv-tow-1 {
  top: 30px;
  flex-direction: row-reverse;
}

.sv-tow-1 .sv-tow-boat {
  order: 0;
}

.sv-tow-2 {
  top: 170px;
}

.sv-tow-2 .sv-tow-boat {
  transform: scaleX(-1);
}

.sv-tow-boat {
  width: 110px;
  flex: none;
}

.sv-rope {
  width: 120px;
  height: 2px;
  flex: none;
  background: rgba(255, 255, 255, 0.8);
}

.sv-flag {
  display: block;
  flex: none;
  padding: 18px 40px;
  border-radius: 40px 70px 50px 60px / 50px 40px 60px 40px;
  transform: rotate(-2deg);
}

.sv-flag img {
  display: block;
  width: auto;
  height: 66px;
}

.sv-flag-y { background: var(--jonquil); }
.sv-flag-m { background: var(--magenta); transform: rotate(2deg); }

/* ==========================================================================
   06 SPLASH — jerseys
   ========================================================================== */
.sv-altitude {
  padding-bottom: 130px;
}

.sv-splash {
  margin-top: 0;
  padding-top: calc(var(--sv-gap) - 40px);
  background: var(--bgc);
}

/* The section before the splash keeps its colour down to the wave */
.sv-view {
  padding-bottom: 120px;
}

.sv-splash-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -118px;
  height: 120px;
  color: var(--ncs);
}

.sv-splash-wave svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.sv-drops {
  position: absolute;
  left: 50%;
  top: 0;
}

.sv-drops i {
  position: absolute;
  width: 10px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
}

.sv-jersey {
  margin-top: 46px;
}

.sv-jersey-tabs {
  position: relative;
  display: inline-flex;
  padding: 5px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
}

.sv-jersey-tabs button {
  position: relative;
  z-index: 1;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 100px;
  background: none;
  color: #fff;
  font-family: var(--sv-font);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.sv-jersey-tabs button[aria-selected="true"] {
  color: var(--usafa);
}

.sv-jersey-pill {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  border-radius: 100px;
  background: #fff;
  transition: left 0.45s var(--ease), width 0.45s var(--ease), top 0.45s var(--ease);
}

.sv-jersey-stage {
  display: grid;
  margin-top: 26px;
  border-radius: 24px;
  overflow: hidden;
  background: #e9edf0;
  perspective: 1400px;
}

.sv-jersey-img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.sv-jersey-img.is-on {
  opacity: 1;
}

.sv-jersey-note {
  max-width: 560px;
  min-height: 3em;
  margin-top: 18px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

/* ==========================================================================
   07 LANDING — billboard pan and stationery
   ========================================================================== */
.sv-banner-fig {
  margin: 56px 0 0;
}

.sv-banner-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(120, 80, 30, 0.22);
}

.sv-banner-fig figcaption {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
  opacity: 0.6;
}

.sv-stat-lead {
  margin-top: 90px;
}

.sv-desk {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.1fr;
  grid-template-rows: repeat(3, 180px);
  gap: 18px;
  margin-top: 36px;
}

.sv-desk figure {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px 18px 30px;
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(120, 80, 30, 0.12);
}

.sv-desk img {
  position: absolute;
  inset: 14px 14px 30px;
  width: calc(100% - 28px);
  height: calc(100% - 44px);
  object-fit: contain;
}

.sv-desk figcaption {
  position: absolute;
  left: 16px;
  bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}

.d-letter { grid-row: 1 / span 3; background: #ececec !important; padding: 0 !important; }
.d-letter img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-cards { grid-row: 1 / span 3; }
.d-id, .d-mug, .d-cap { grid-column: 3; }

/* ==========================================================================
   FINALE
   ========================================================================== */
.sv-finale {
  position: relative;
  padding: 200px 0 140px;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(var(--prev), var(--bgc) 150px);
}

.sv-landing {
  padding-bottom: 120px;
}

.sv-finale-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.sv-takeoff-type {
  display: block;
  width: min(560px, 100%);
  height: auto;
}

.sv-finale-text {
  max-width: 480px;
  margin-top: 30px;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
}

.sv-finale-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* The logo rises out of a sun disc, matching the logo's own sun */
.sv-finale-badge {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.sv-finale-sun {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 34%, #ffe1ab 35% 60%, rgba(255, 225, 171, 0.35) 61% 100%);
}

.sv-logo-finale {
  position: relative;
  width: 72%;
}

.sv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border-radius: 100px;
  background: #fff;
  color: var(--magenta);
  font-family: var(--sv-font);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}

.sv-btn svg {
  width: 12px;
  height: 12px;
}

.sv-btn-ghost {
  background: none;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.sv-btn:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   ALTIMETER
   ========================================================================== */
.sv-alt {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 100px;
  background: rgba(14, 14, 14, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: var(--sv-font);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.sv-alt.is-hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.sv-alt svg {
  width: 40px;
  height: 40px;
}

.sv-alt svg circle:first-child {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
}

.sv-alt-ticks line {
  stroke: rgba(255, 255, 255, 0.6);
}

.sv-alt-needle {
  stroke: var(--jonquil);
  stroke-width: 2.2;
  stroke-linecap: round;
  transform-origin: 20px 20px;
}

.sv-alt svg circle:last-child {
  fill: #fff;
}

.sv-alt p {
  font-size: 12px;
  line-height: 1.35;
}

.sv-alt-k,
.sv-alt-u {
  opacity: 0.6;
}

.sv-alt-v {
  display: inline-block;
  min-width: 3ch;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.sv-alt-l {
  opacity: 0.75;
}

/* ==========================================================================
   Motion hand-over + responsive
   ========================================================================== */
.pre-motion .sv-hero .lp,
.pre-motion .sv-brush-sky,
.pre-motion .sv-title,
.pre-motion .sv-sub {
  opacity: 0;
}

@media (max-width: 900px) {
  .sv-page {
    --sv-gap: 88px;
  }

  .sv-hero {
    padding-top: 48px;
  }

  .sv-hero-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sv-logo-hero {
    width: 74vw;
    justify-self: center;
    margin-top: 28px;
    margin-bottom: -38px;
  }

  .sv-hero-sea {
    padding: 112px 0 36px;
  }

  .sv-hero-sea i + i {
    top: 46px;
  }

  .sv-brush-sky {
    width: 76vw;
  }

  .sv-info > div {
    flex: 1 1 40%;
    border-right: 0;
    margin-right: 0;
  }

  .sv-board {
    grid-template-columns: 1fr 1fr;
  }

  .sv-flap-num {
    font-size: 44px;
  }

  .sv-flap:last-child .sv-flap-num {
    font-size: 26px;
  }

  .sv-explode-box {
    width: 58vw;
  }

  .sv-tag {
    padding: 5px 10px 5px 9px;
    font-size: 11px;
  }

  .sv-tows {
    height: 200px;
  }

  .sv-flag img {
    height: 40px;
  }

  .sv-tow-2 {
    top: 110px;
  }

  .sv-jersey-tabs {
    display: flex;
    width: 100%;
  }

  .sv-jersey-tabs button {
    flex: 1;
    padding: 0 8px;
    font-size: 13px;
  }

  .sv-j-more {
    display: none;
  }

  .sv-desk {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 200px 200px;
  }

  .d-letter,
  .d-cards {
    grid-row: auto;
  }

  .d-id {
    grid-column: 1 / -1;
  }

  .d-mug,
  .d-cap {
    grid-column: auto;
  }

  .sv-alt {
    right: 12px;
    bottom: 12px;
    padding: 6px 12px 6px 6px;
  }

  .sv-alt svg {
    width: 30px;
    height: 30px;
  }
}

/* The footer sits on paper, not on the sky */
.sv-page .site-footer {
  position: relative;
  margin-top: 0;
  padding-top: 64px;
  background: #fff;
}

@media (max-width: 900px) {
  .sv-rule-grid,
  .sv-ground,
  .sv-palette,
  .sv-finale-grid {
    grid-template-columns: 1fr;
  }

  .sv-rule-card,
  .sv-ground {
    padding: 22px;
  }

  .sv-palette {
    padding: 18px;
    gap: 22px;
  }

  .sv-pill {
    grid-template-rows: 170px auto;
    border-radius: 12px;
  }

  .sv-pill-label b {
    font-size: 14px;
  }

  .sv-pill-label small:last-child {
    display: none;
  }

  .sv-tints i {
    height: 26px;
    font-size: 10px;
  }

  .sv-type-row,
  .sv-type-row-bn {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .sv-type-aa {
    width: 96px;
    font-size: 76px;
  }

  .sv-type-abc {
    font-size: 16px;
  }

  .sv-type-body .sv-abc {
    height: 22px;
  }

  .sv-finale {
    padding: 140px 0 100px;
  }

  .sv-finale-badge {
    order: -1;
    max-width: 240px;
  }
}

/* Palette copy confirmation */
.sv-copied {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  margin: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font: 500 14px/1 var(--sv-font);
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(14, 14, 14, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
}

.sv-copied.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
