/** Shopify CDN: Minification failed

Line 43:0 All "@import" rules must come first

**/
/* ===================================================================
   SHORT STORY LONG - brand stylesheet
   Ported from the design prototype. Add this file to assets/
   and link it once in layout/theme.liquid (see INSTALL.md).
   =================================================================== */

/* -------------------------------------------------------------------
   1. FONTS

   Upload your .woff2 files in Shopify admin under Content > Files,
   then copy each file's URL and paste it in place of the
   REPLACE-WITH-... markers below.

   BN Bergen is a commercial typeface. Check your licence covers
   web embedding before you go live. If it doesn't, the fallback
   stack below will be used instead and the site will still work.
   ------------------------------------------------------------------- */

@font-face {
  font-family: "BN Bergen";
  src: url("REPLACE-WITH-BN-BERGEN-BOLD-URL.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BN Bergen";
  src: url("REPLACE-WITH-BN-BERGEN-LIGHT-URL.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Work Sans is on Google Fonts, so it can load from there rather than
   from your Files. If you would rather self-host it, replace this
   import with @font-face rules the same way as above. */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap");

/* -------------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------------- */

:root {
  /* palette */
  --ssl-cream: #F4ECC6;
  --ssl-cream-soft: #FBF3CC;
  --ssl-cream-pale: #FBF0C6;
  --ssl-yellow: #F3D80D;
  --ssl-navy: #42449C;
  --ssl-blush: #FFF1E6;
  --ssl-pink: #F4B9D0;
  --ssl-pink-soft: #F8D3E1;
  --ssl-magenta: #D6127E;
  --ssl-gold-accent: #F0C33B;

  /* type */
  --ssl-font-display: "BN Bergen", system-ui, sans-serif;
  --ssl-font-label: "Work Sans", system-ui, sans-serif;
  --ssl-tracking-display: -0.01em;
  --ssl-tracking-label: 0.06em;

  /* shape */
  --ssl-radius-tag: 100px;
  --ssl-radius-card: 18px;
  --ssl-radius-image: 14px;
}

/* -------------------------------------------------------------------
   3. SHARED PIECES
   ------------------------------------------------------------------- */

.ssl-section {
  padding: 80px 40px;
}

.ssl-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.ssl-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ssl-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ssl-image {
  width: 100%;
  height: auto;
  border-radius: var(--ssl-radius-image);
  display: block;
}

/* pill label, e.g. "vol. one" */
.ssl-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ssl-navy);
  color: var(--ssl-blush);
  border-radius: var(--ssl-radius-tag);
  padding: 6px 16px;
  font-family: var(--ssl-font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--ssl-tracking-label);
  text-transform: lowercase;
  white-space: nowrap;
  width: fit-content;
}

.ssl-tag--magenta {
  background: var(--ssl-magenta);
}

.ssl-tag--yellow {
  background: var(--ssl-yellow);
  color: var(--ssl-navy);
}

/* display headings */
.ssl-display {
  font-family: var(--ssl-font-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: var(--ssl-tracking-display);
  color: var(--ssl-navy);
  margin: 0;
}

.ssl-display--hero {
  font-size: clamp(40px, 5vw, 64px);
}

.ssl-display--section {
  font-size: clamp(26px, 3.4vw, 34px);
}

.ssl-body {
  font-family: var(--ssl-font-label);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ssl-navy);
  max-width: 440px;
  margin: 0;
}

.ssl-body--italic {
  font-style: italic;
}

/* buttons */
.ssl-button {
  display: inline-block;
  background: var(--ssl-navy);
  color: var(--ssl-blush);
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--ssl-font-label);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.ssl-button:hover {
  background: var(--ssl-magenta);
  color: var(--ssl-blush);
  transform: translateY(-1px);
}

.ssl-button:focus-visible {
  outline: 3px solid var(--ssl-magenta);
  outline-offset: 3px;
}

.ssl-note {
  font-family: var(--ssl-font-label);
  font-size: 13px;
  color: var(--ssl-navy);
  opacity: 0.7;
}

.ssl-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* -------------------------------------------------------------------
   4. QUESTION CARD
   Sizing is driven by --ssl-card-w so one rule set covers every size.
   Ratio and proportions match the original component exactly.
   ------------------------------------------------------------------- */

.ssl-card {
  --ssl-card-w: 230px;
  --ssl-card-ink: var(--ssl-navy);
  width: var(--ssl-card-w);
  height: calc(var(--ssl-card-w) / 0.7194);
  background: var(--ssl-cream-soft);
  color: var(--ssl-card-ink);
  border-radius: var(--ssl-radius-card);
  box-sizing: border-box;
  padding: calc(var(--ssl-card-w) * 0.07);
  display: flex;
  flex-direction: column;
  font-family: var(--ssl-font-display);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ssl-card--vol2 {
  --ssl-card-ink: var(--ssl-magenta);
  background: var(--ssl-pink);
}

.ssl-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-weight: 700;
  font-size: calc(var(--ssl-card-w) * 0.048);
  letter-spacing: 0.02em;
  padding-bottom: calc(var(--ssl-card-w) * 0.05);
  border-bottom: 2px solid currentColor;
  border-bottom-color: color-mix(in srgb, currentColor 13%, transparent);
}

.ssl-card__question {
  flex: 1;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: calc(var(--ssl-card-w) * 0.115);
  line-height: 0.98;
  letter-spacing: var(--ssl-tracking-display);
}

/* the fanned arrangement on the home page */
.ssl-fan {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.ssl-fan > * {
  transition: transform 0.25s ease;
}

.ssl-fan > *:nth-child(1) { transform: rotate(-3deg); }
.ssl-fan > *:nth-child(2) { transform: rotate(2deg); margin-top: 14px; }
.ssl-fan > *:nth-child(3) { transform: rotate(-1.5deg); }
.ssl-fan > *:nth-child(4) { transform: rotate(3deg); margin-top: 14px; }
.ssl-fan > *:nth-child(5) { transform: rotate(-2deg); }
.ssl-fan > *:nth-child(6) { transform: rotate(1.5deg); margin-top: 14px; }

.ssl-fan > *:hover {
  transform: rotate(0deg) translateY(-6px);
}

/* even grid of cards, used on the product page */
.ssl-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

/* -------------------------------------------------------------------
   5. RESPONSIVE
   ------------------------------------------------------------------- */

@media screen and (max-width: 989px) {
  .ssl-section {
    padding: 56px 24px;
  }

  .ssl-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ssl-body {
    max-width: none;
  }

  .ssl-fan {
    gap: 18px;
  }

  .ssl-fan > * {
    transform: none !important;
    margin-top: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ssl-fan > *,
  .ssl-button {
    transition: none;
  }

  .ssl-fan > *:hover {
    transform: none;
  }
}
