@font-face {
  font-family: "Jadey Product";
  src: url("../fonts/jadey-dm-sans/DM-Sans-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

/* Product marks form a full hero composition with the narrative beside them. */
.story-hero[data-branded-hero] {
  padding-block: clamp(48px, 5vw, 80px) clamp(64px, 6vw, 96px);
}
.story-hero__layout--branded {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 32px clamp(48px, 5vw, 80px);
}
.story-hero__layout--branded .story-heading {
  grid-column: 1;
  grid-row: 1;
  padding-top: 24px;
}
.story-hero__layout--branded .story-heading h1 {
  max-width: none;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.1;
  letter-spacing: -.04em;
  text-wrap: pretty;
}
.story-hero__layout--branded .story-hero__copy {
  grid-column: 1;
  grid-row: 2;
  padding: 0 0 24px;
  font-size: 18px;
  line-height: 1.65;
}
.story-brand {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-width: 0;
  min-height: 480px;
  margin: 0;
  padding: clamp(32px, 4vw, 56px);
  color: var(--fg-default);
  background: var(--ink-25);
  border-left: 1px solid var(--border-default);
}
.story-brand__art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 360px);
}
.story-brand__mark {
  display: block;
  flex: 144 1 0;
  min-width: 0;
  aspect-ratio: 144 / 128;
}
.story-brand__mark--suffix {
  flex: 84.32 1 0;
  aspect-ratio: 84.32 / 128;
}
.story-brand__mark .jd-mark {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.story-brand[data-product-brand="jadey-stripes"] .story-brand__art { width: min(100%, 440px); }
/* The point symbols include more empty space below their visible geometry. */
.story-brand:is([data-product-brand="jadey-ai"], [data-product-brand="jadey-steward"]) .story-brand__art { margin-bottom: -32px; }
.story-brand__name {
  color: var(--fg-default);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-align: center;
}

/* Product cards retain a quiet illustration surface within the overview. */
.product-component__art::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background-color: var(--bg-canvas);
  background-image:
    linear-gradient(var(--border-default) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-default) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  opacity: .38;
  mask-image: radial-gradient(ellipse at center, #000 24%, transparent 72%);
}
.story-copy > .product-components {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 36px 0;
  padding: 0;
  list-style: none;
}
.story-copy .product-component {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border-default);
  background: var(--bg-canvas);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.product-component__art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: 220px;
  margin: -28px -28px 28px;
  border-bottom: 1px solid var(--border-default);
  color: var(--fg-default);
}
.product-component__art .jd-mark {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
  transition: transform 300ms ease;
}
.product-component__name {
  margin: 0 0 16px;
  color: var(--fg-default);
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.product-component__copy { margin: 0 0 28px; font-size: 16px; line-height: 1.65; }
.product-component__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-default);
  color: var(--fg-default);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.product-component__link::after { position: absolute; inset: 0; content: ''; }
.product-component__arrow { color: var(--orange-500); font-size: 24px; line-height: 1; transition: transform 220ms ease; }
.product-component:focus-within { outline: 2px solid var(--orange-500); outline-offset: 4px; }
.product-component__link:focus-visible { outline: none; }
@media (hover: hover) {
  .product-component:hover { border-color: var(--border-strong); box-shadow: 0 12px 32px -24px var(--fg-default); }
  .product-component:hover .jd-mark { transform: translateY(-4px); }
  .product-component:hover .product-component__arrow { transform: translate(3px, -3px); }
}
@media (max-width: 980px) {
  .story-hero__layout--branded { grid-template-columns: 1fr; grid-template-rows: auto; gap: 32px; }
  .story-hero__layout--branded .story-heading { padding-top: 0; }
  .story-hero__layout--branded .story-heading h1 { max-width: 26ch; font-size: clamp(36px, 6vw, 52px); }
  .story-hero__layout--branded .story-hero__copy { grid-row: 3; padding-bottom: 0; }
  .story-brand { grid-column: 1; grid-row: 2; min-height: 360px; padding: 32px; border-left: 0; border-top: 1px solid var(--border-default); }
  .story-brand__art { width: 280px; max-width: 100%; }
  .story-brand[data-product-brand="jadey-stripes"] .story-brand__art { width: 360px; max-width: 100%; }
}
@media (max-width: 640px) {
  .story-copy > .product-components { grid-template-columns: 1fr; }
  .product-component__name { font-size: 32px; }
}
@media (max-width: 480px) {
  .story-brand { min-height: 280px; padding: 24px; gap: 16px; }
  .story-brand__art { width: 220px; }
  .story-brand:is([data-product-brand="jadey-ai"], [data-product-brand="jadey-steward"]) .story-brand__art { margin-bottom: -20px; }
  .story-brand__name { font-size: 30px; }
  .story-hero__layout--branded .story-hero__copy { font-size: 17px; }
  .story-copy .product-component { padding: 24px; }
  .product-component__art { margin: -24px -24px 24px; height: 200px; }
  .product-component__art .jd-mark { width: 210px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-component, .product-component__art .jd-mark, .product-component__arrow { transition: none; }
  .product-component:hover .jd-mark, .product-component:hover .product-component__arrow { transform: none; }
}

/* Branded component heroes and earlier product previews retain their masthead. */
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero[data-branded-hero] {
  padding-block: clamp(48px, 5vw, 80px) clamp(64px, 7vw, 104px);
  scroll-margin-top: 100px;
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(40px, 4vw, 64px) clamp(56px, 7vw, 112px);
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand {
  grid-column: 1 / -1;
  grid-row: 1;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: .25em;
  min-height: 0;
  padding: 0 0 clamp(36px, 4vw, 64px);
  border: 0;
  border-bottom: 1px solid var(--border-default);
  background: transparent;
  font-size: clamp(88px, 10.5vw, 160px);
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand::before,
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand::after { content: none; }
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand__art {
  position: relative;
  flex: 0 0 .85em;
  width: .85em;
  height: .85em;
  margin: 0;
}
/* Compensate for the original SVG's empty viewBox margins, preserving geometry. */
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand__mark {
  position: absolute;
  top: -30%;
  left: -40%;
  width: 180%;
  height: 160%;
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand__name {
  align-self: auto;
  padding: 0;
  border: 0;
  font-family: "Jadey Product", var(--font-display);
  font-size: inherit;
  font-weight: 700;
  font-variation-settings: "opsz" 14;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-heading {
  grid-column: 1;
  grid-row: 2;
  padding: 0;
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-heading h1 {
  max-width: 23ch;
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.12;
  text-wrap: balance;
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-hero__copy {
  grid-column: 2;
  grid-row: 2;
  padding: 0;
}
body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero .section-actions {
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
@media (max-width: 980px) {
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded { grid-template-columns: 1fr; gap: 32px; }
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand { font-size: clamp(64px, 12vw, 112px); }
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-heading h1 { max-width: 26ch; font-size: clamp(34px, 5vw, 48px); }
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-hero__copy { grid-column: 1; grid-row: 3; max-width: 65ch; }
}
@media (max-width: 480px) {
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero[data-branded-hero] { padding-block: 40px 56px; }
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand { font-size: clamp(42px, 13.5vw, 64px); padding-bottom: 32px; }
  body:is([data-jadey-page="product"], [data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-heading h1 { font-size: 34px; }
}

/* The longer component names have their own optical scale within the family. */
body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand {
  font-size: clamp(72px, 8.5vw, 128px);
}
body[data-jadey-page="product-atlas"] .story-brand__art {
  flex-basis: 1.25em;
  width: 1.25em;
  height: 1.12em;
}
body[data-jadey-page="product-atlas"] .story-brand__mark {
  inset: 0;
  width: 100%;
  height: 100%;
}
body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(48px, 6vw, 96px);
}
body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded .story-hero__copy {
  font-size: 17px;
  line-height: 1.7;
}
body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero .section-actions {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}

/* Pair each section's thesis with a readable text column; diagrams span both. */
@media (min-width: 1180px) {
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 24px clamp(40px, 4vw, 64px);
    padding-block: 56px 72px;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section > .story-heading {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section .story-heading h2 {
    font-size: clamp(30px, 2.5vw, 38px);
    line-height: 1.15;
    text-wrap: pretty;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section > .story-copy {
    display: contents;
    font-size: 17px;
    line-height: 1.7;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section > .story-copy > * {
    grid-column: 2;
    min-width: 0;
    margin: 0;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section > .story-copy > .story-visual {
    grid-column: 1 / -1;
    margin-top: 16px;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-section--closing {
    padding: 40px;
  }
}
@media (max-width: 980px) {
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand {
    font-size: clamp(48px, 8.5vw, 88px);
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-hero__layout--branded {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand {
    font-size: clamp(28px, 8.4vw, 40px);
    padding-bottom: 28px;
  }
  body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-brand__art {
    flex-basis: 1.1em;
    width: 1.1em;
    height: 1.1em;
  }
  body[data-jadey-page="product-atlas"] .story-brand__art {
    flex-basis: 1.45em;
    width: 1.45em;
    height: 1.3em;
  }
}

body:is([data-jadey-page="product-steward"], [data-jadey-page="product-atlas"]) .story-visual__index {
  flex-shrink: 0;
  white-space: nowrap;
}
