/* Image-led business stories share OfferDuel's existing typography and materials. */
:root {
  --story-header-height: 92px;
  --story-gutter: clamp(24px, 5vw, 100px);
  --story-text: var(--paper);
  --story-muted: #dedbcf;
  --story-shade-heavy: #050908ed;
  --story-shade-mid: #050908bd;
  --story-shade-clear: #0509081f;
  --story-shade-top: #050908c9;
  --story-focus: var(--gold);
  --story-dialog-ground: #0d1513;
  --story-button-hover: #ffffff0a;
  --story-clear: transparent;
  --story-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
.site-header {
  height: var(--story-header-height);
  border-bottom: 0;
  gap: 24px;
  padding-inline: var(--story-gutter);
}
.site-header nav {
  gap: clamp(18px, 2.4vw, 40px);
}
.site-header nav a,
.site-header .header-link {
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.header-actions {
  gap: 22px;
}
#language + .ls-ui-control {
  flex: 0 0 auto;
  width: auto;
}
#language + .ls-ui-control .ls-ui-select-button {
  min-width: 60px;
  min-height: 44px;
  width: auto;
  padding: 10px 2px;
  border: 0;
  border-radius: 0;
  background: var(--story-clear);
  box-shadow: none;
  color: var(--paper);
  font-size: 14px;
  gap: 9px;
}
#language + .ls-ui-control .ls-ui-select-button:hover {
  color: var(--accent);
  background: var(--story-clear);
}
#language + .ls-ui-control .ls-ui-pills {
  flex-wrap: nowrap;
  gap: 0;
}
#language + .ls-ui-control .ls-ui-pill {
  min-width: 32px;
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  border-radius: 0;
  background: var(--story-clear);
}
.hero {
  min-height: 100svh;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: calc(var(--story-header-height) + 14px) var(--story-gutter) 24px;
  overflow: visible;
  background: var(--ink);
  isolation: isolate;
}
.hero-image {
  z-index: -3;
  object-position: var(--story-focal, 60% 50%);
  transition: opacity 0.4s;
}
.hero[data-media-state='neutral'] .hero-image {
  display: none;
}
.hero-shade {
  z-index: -2;
  background:
    linear-gradient(180deg, var(--story-shade-top), var(--story-clear) 38%),
    linear-gradient(
      90deg,
      var(--story-shade-heavy),
      var(--story-shade-mid) 42%,
      var(--story-shade-clear) 88%
    ),
    linear-gradient(0deg, var(--ink), var(--story-clear) 40%);
}
.story-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  position: relative;
  z-index: 1;
  min-height: 44px;
}
#story-context {
  margin: 0;
  max-width: 60%;
  font: 12px/1.6 var(--sans);
  letter-spacing: 0.12em;
  color: var(--story-muted);
  text-transform: uppercase;
}
.story-topline > div {
  display: flex;
  align-items: center;
  gap: 25px;
}
.story-topline button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 6px 0;
  border: 0;
  background: var(--story-clear);
  color: var(--paper);
  font-size: 14px;
  white-space: nowrap;
}
.story-topline button:hover {
  color: var(--accent);
}
.story-topline svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.4;
}
.hero-copy {
  max-width: 900px;
  width: min(900px, 75%);
  margin: auto 0;
  padding: 40px 0;
}
.hero #hero-title {
  font: 400 clamp(48px, 5.7vw, 94px) / 1.08 var(--serif);
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 0 25px;
  overflow-wrap: normal;
  hyphens: auto;
  text-wrap: balance;
}
.hero #hero-title span,
.hero #hero-title em {
  display: inline;
  line-height: inherit;
}
.hero #hero-title em:empty {
  display: none;
}
.hero #hero-title em {
  color: var(--accent);
  font-weight: 400;
}
.hero #hero-title em:not(:empty)::before {
  content: ' ';
}
.hero #hero-description {
  color: var(--story-muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px 30px;
  flex-wrap: wrap;
}
.hero-actions .button {
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 3px;
  border-width: 1.5px;
  background: var(--story-clear);
  color: var(--paper);
  font-size: 15px;
  gap: 25px;
}
.hero-actions .button:hover {
  color: var(--accent);
  background: var(--story-clear);
}
.hero-actions .text-link {
  min-height: 48px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.hero .brand-replay {
  min-height: 44px;
  margin-top: 16px;
  font-size: 14px;
}
.hero .story-controls {
  position: relative;
  inset: auto;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  flex: 0 0 auto;
}
.story-stages {
  display: flex;
  align-items: center;
  gap: 35px;
}
.story-stages button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid var(--story-clear);
  border-radius: 0;
  padding: 8px 0;
  background: var(--story-clear);
  color: var(--story-muted);
  text-align: left;
  font-size: 14px;
}
.story-stages button small {
  font-size: 14px;
  color: var(--accent);
}
.story-stages button[aria-pressed='true'] {
  color: var(--paper);
  border-bottom-color: var(--accent);
}
.story-stages button:hover {
  color: var(--accent);
}
.story-arrows {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.story-arrows #story-progress {
  font-size: 14px;
  color: var(--story-muted);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.story-arrows button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--story-clear);
  border: 0;
  border-radius: 0;
  padding: 10px;
  color: var(--paper);
}
.story-arrows button:hover {
  color: var(--accent);
  background: var(--story-button-hover);
}
.story-arrows button:disabled {
  opacity: 0.35;
}
.story-arrows svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.story-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero[data-viewport-fullscreen='true'] {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: auto;
  padding-top: 20px;
  min-height: 100dvh;
}
.hero:fullscreen {
  padding-top: 20px;
  min-height: 100dvh;
  overflow: auto;
}
.hero[data-viewport-fullscreen='true'] .hero-copy,
.hero:fullscreen .hero-copy {
  width: min(1000px, 80%);
}
.hero[data-story-stage='0'] .hero-image {
  transform: scale(1.02);
}
.hero[data-story-stage='1'] .hero-image {
  transform: scale(1.06);
}
.hero[data-story-stage='2'] .hero-image {
  transform: scale(1.035);
}
.hero-image {
  transition:
    transform 950ms var(--story-ease),
    opacity 350ms;
}
.industry-picker {
  width: min(1100px, calc(100vw - 48px));
  max-height: min(900px, calc(100dvh - 48px));
  border: 0;
  padding: clamp(24px, 4vw, 55px);
  background: var(--story-dialog-ground);
  color: var(--paper);
  border-radius: 4px;
}
.industry-picker::backdrop {
  background: var(--experience-veil);
  backdrop-filter: blur(10px);
}
.industry-picker-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}
.industry-picker-top h2 {
  font: 400 clamp(32px, 4vw, 52px) / 1.12 var(--serif);
  margin: 0 0 25px;
  letter-spacing: -0.025em;
}
.industry-picker-top .eyebrow {
  margin-bottom: 10px;
}
#industry-picker-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--story-clear);
  border: 0;
  padding: 10px;
  color: var(--paper);
}
#industry-picker-close svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.4;
}
#industry-picker-search {
  width: 100%;
  height: 52px;
  border: 0;
  border-bottom: 1px solid var(--experience-border);
  border-radius: 0;
  padding: 10px 0;
  background: var(--story-clear);
  color: var(--paper);
  font-size: 18px;
}
#industry-picker-search::placeholder {
  color: var(--muted);
}
.industry-picker-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}
#industry-picker-count {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
#industry-picker-reset {
  min-height: 44px;
  border: 0;
  padding: 8px 0;
  background: var(--story-clear);
  color: var(--accent);
  font-size: 14px;
}
.industry-picker-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 30px;
  margin: 18px 0 30px;
}
.industry-picker-group-title {
  grid-column: 1/-1;
  font: 400 15px/1.5 var(--sans);
  color: var(--accent);
  margin: 0 0 10px;
}

.industry-option {
  min-height: 48px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--story-clear);
  padding: 10px 0;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
.industry-option:hover {
  color: var(--accent);
}
.industry-picker-empty {
  padding: 25px 0;
  font-size: 16px;
  color: var(--muted);
}
.business-followups {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.business-followups .copy-config {
  width: auto;
  min-height: 44px;
  margin: 6px 0;
  font-size: 14px;
  border: 0;
  padding: 7px 0;
  color: var(--paper);
}
#your-brand .config-note {
  font-size: 14px;
  line-height: 1.6;
}
@media (min-width: 1900px) {
  .hero-copy {
    max-width: 1150px;
    width: 72%;
  }
  .hero #hero-title {
    font-size: 112px;
  }
  .hero #hero-description {
    font-size: 21px;
  }
}
@media (max-width: 1100px) {
  :root {
    --story-header-height: 88px;
  }
  .site-header .wordmark > span {
    font-size: 20px;
    letter-spacing: 2px;
  }
  .site-header .wordmark small {
    font-size: 14px;
    letter-spacing: 2px;
  }
  .site-header nav {
    gap: 18px;
  }
  .site-header nav a,
  .site-header .header-link {
    font-size: 14px;
  }
  .header-actions {
    gap: 12px;
  }
  .hero-copy {
    width: 85%;
  }
  .hero #hero-title {
    font-size: clamp(46px, 6.5vw, 72px);
  }
  .story-stages {
    gap: 24px;
  }
  .story-stages button {
    font-size: 14px;
    gap: 9px;
  }
}
@media (max-width: 800px) {
  :root {
    --story-header-height: 112px;
    --story-gutter: 26px;
  }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 62px 44px;
    gap: 0 20px;
    height: var(--story-header-height);
    padding-top: 3px;
  }
  .site-header > .wordmark {
    grid-column: 1;
    grid-row: 1;
  }
  .site-header > nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 24px;
    margin: 0;
  }
  .site-header nav a {
    font-size: 14px;
  }
  .site-header .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .site-header .header-link {
    display: none;
  }
  .site-header .wordmark img {
    width: 28px;
    height: 34px;
  }
  .site-header .wordmark > span {
    font-size: 21px;
    letter-spacing: 2px;
  }
  .site-header .wordmark small {
    font-size: 14px;
  }
  .hero {
    padding-top: calc(var(--story-header-height) + 7px);
  }
  .hero-copy {
    width: 100%;
    max-width: 650px;
    padding: 27px 0;
  }
  .hero #hero-title {
    font-size: clamp(40px, 7.2vw, 58px);
    max-width: 17ch;
    margin-bottom: 20px;
  }
  .hero #hero-description {
    font-size: 17px;
    max-width: 43ch;
    margin-bottom: 22px;
  }
  .story-topline {
    align-items: start;
    gap: 10px;
  }
  #story-context {
    font-size: 14px;
    letter-spacing: 0.09em;
    max-width: 50%;
    padding-top: 10px;
  }
  .story-topline > div {
    gap: 15px;
  }
  .story-topline button {
    font-size: 14px;
  }
  .hero-shade {
    background:
      linear-gradient(180deg, var(--story-shade-top), var(--story-clear) 38%),
      linear-gradient(90deg, var(--story-shade-heavy), var(--story-shade-mid) 68%, var(--story-shade-clear)),
      linear-gradient(0deg, var(--ink), var(--story-clear) 70%);
  }
  .hero .story-controls {
    flex-wrap: wrap;
    gap: 4px 14px;
    padding-top: 10px;
  }
  .story-stages {
    gap: 18px;
    flex: 1;
    justify-content: space-between;
  }
  .story-stages button {
    font-size: 14px;
    gap: 7px;
  }
  .story-arrows {
    margin-left: auto;
  }
  .industry-picker-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 24px;
  }
}
@media (max-width: 480px) {
  :root {
    --story-gutter: 22px;
  }
  .site-header nav {
    justify-content: space-between;
    gap: 10px;
  }
  .site-header nav a {
    font-size: 14px;
  }
  .site-header .wordmark > span {
    font-size: 19px;
  }
  .hero {
    padding-bottom: 14px;
  }
  .hero-copy {
    padding: 22px 0;
  }
  .hero #hero-title {
    font-size: clamp(36px, 9.6vw, 47px);
    line-height: 1.09;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    max-width: 17ch;
  }
  .hero #hero-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
  }
  .hero-actions {
    gap: 7px 20px;
  }
  .hero-actions .button,
  .hero-actions .text-link {
    font-size: 14px;
    min-height: 46px;
  }
  .hero-actions .button {
    padding: 10px 18px;
    gap: 18px;
  }
  .hero .brand-replay {
    font-size: 14px;
    margin-top: 8px;
  }
  .hero .story-controls {
    min-height: 86px;
  }
  .story-stages {
    width: 100%;
    flex-basis: 100%;
    gap: 12px;
  }
  .story-stages button {
    font-size: 14px;
    gap: 6px;
    min-height: 40px;
  }
  .story-arrows {
    gap: 5px;
  }
  .story-arrows button {
    height: 40px;
    width: 40px;
  }
  .story-arrows #story-progress {
    font-size: 14px;
  }
  .story-topline {
    flex-wrap: wrap;
    row-gap: 0;
  }
  #story-context {
    flex-basis: 100%;
    min-width: 0;
    max-width: none;
    font-size: 14px;
    overflow-wrap: anywhere;
    padding-top: 0;
  }
  .story-topline > div {
    min-width: 0;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }
  .story-topline button {
    font-size: 14px;
    white-space: normal;
    text-align: left;
  }
  .story-topline svg {
    flex-shrink: 0;
  }
  .industry-picker {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px;
  }
  .industry-picker-group {
    grid-template-columns: 1fr;
  }
}
@media (max-height: 740px) {
  .hero-copy {
    padding-block: 20px;
  }
}
@media (max-height: 650px) and (max-width: 800px) {
  :root {
    --story-header-height: 65px;
  }
  .site-header {
    grid-template-rows: 58px;
  }
  .site-header > nav {
    display: none;
  }
  .hero-actions .text-link {
    display: none;
  }
  .hero-copy {
    padding-block: 16px;
  }
  .hero #hero-title {
    font-size: 36px;
    max-width: 21ch;
  }
  .hero #hero-description {
    font-size: 15px;
  }
}
@media (max-height: 550px) and (min-width: 650px) {
  :root {
    --story-header-height: 58px;
    --story-gutter: 30px;
  }
  .site-header {
    display: flex;
    height: 58px;
    padding-block: 0;
  }
  .site-header > nav {
    display: flex;
  }
  .site-header .wordmark small {
    display: none;
  }
  .site-header .wordmark img {
    width: 22px;
    height: 27px;
  }
  .site-header .header-link {
    display: none;
  }
  .hero {
    padding-top: 65px;
    padding-bottom: 8px;
  }
  .story-topline {
    min-height: 34px;
  }
  #story-context {
    font-size: 14px;
    padding-top: 0;
  }
  .story-topline button {
    min-height: 32px;
    font-size: 14px;
  }
  .hero-copy {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 8px 32px;
    max-width: none;
    width: 100%;
    padding: 12px 0;
  }
  .hero #hero-title {
    grid-column: 1;
    grid-row: 2/4;
    font-size: 36px;
    margin: 0;
    max-width: 18ch;
  }
  .hero #hero-description {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    align-self: end;
  }
  .hero-actions {
    grid-column: 2;
    grid-row: 3;
  }
  .hero-actions .text-link {
    display: none;
  }
  .hero-actions .button {
    min-height: 42px;
    padding-block: 8px;
    font-size: 14px;
  }
  .hero .story-controls {
    margin-top: 8px;
    padding-top: 5px;
    min-height: 48px;
    flex-wrap: nowrap;
  }
  .story-stages {
    flex-basis: auto;
    width: auto;
    justify-content: flex-start;
    gap: 22px;
  }
  .story-stages button {
    font-size: 14px;
    min-height: 40px;
  }
  .story-arrows button {
    width: 36px;
    height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-image {
    transition: none !important;
    transform: none !important;
  }
}
/* The product headline and context already carry the message; avoid repeated slogans. */
.hero .hero-world-label,
.industry-option {
  border-bottom: 0;
}
@media (max-width: 480px) {
  .hero-actions .text-link {
    display: none;
  }
}

/* Brand preview uses the selected industry's photo behind the merchant identity. */
.brand-configurator {
  border: 0;
}
.brand-preview {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 340px;
  background: var(--ink);
  padding: 35px 25px;
}
.brand-preview .brand-preview-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  z-index: -2;
  opacity: 0.6;
  margin: 0;
}
.brand-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, var(--story-shade-heavy), var(--story-shade-clear));
}
.brand-preview .brand-preview-mark {
  position: static;
  width: 48px;
  height: 57px;
}
.brand-preview strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--paper);
}
.brand-form {
  border: 0;
  padding-inline: 0;
}
.brand-copy h2 {
  font-size: clamp(44px, 5vw, 76px);
  overflow-wrap: anywhere;
}
.brand-copy h2 span {
  display: block;
}
.brand-copy h2 em:empty {
  display: none;
}
.brand-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.6;
}
.section-heading > p:empty {
  display: none;
}
@media (max-width: 650px) {
  .brand-preview {
    min-height: 300px;
  }
  .brand-copy h2 {
    font-size: 46px;
  }
}

#email-pilot-brief {
  min-height: 44px;
  font-size: 14px;
  color: var(--accent);
}
.hero [hidden] {
  display: none !important;
}

/* Bound only the animated photograph; keep text in normal, uncut document flow. */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.hero-media > .hero-image {
  z-index: 0;
}

/* Expose optional controls only once their event handlers are ready. */
.hero:not([data-story-ready='true']) .story-controls,
.hero:not([data-story-ready='true']) #story-world-trigger {
  visibility: hidden;
}
