.pet-journey { --journey-phone-height: clamp(320px, 62svh, 500px); padding-block: 64px 72px; background: var(--surface); }
.journey-scene { padding-block: 12px; }
.pet-journey[data-scroll=on] .journey-scene { position: sticky; top: var(--journey-top, 12px); }
.journey-scroll-hint { margin-top: 24px; color: #645541; font-size: 13px; }
.pet-journey[data-scroll=on] .journey-panel-caption { display: none; }
.journey-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.journey-heading h2 { max-width: 17ch; font-size: clamp(40px, 4.5vw, 62px); }
.journey-eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 650; color: #645541; }
.journey-heading > p { padding-bottom: 5px; max-width: 28ch; color: #5f594b; font-size: 16px; line-height: 1.5; }
.journey-pets { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.journey-pet { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 5px 18px 5px 7px; border: 1px solid transparent; border-radius: 32px; background: transparent; font-size: 15px; font-weight: 650; line-height: 1.3; }
.journey-pet img { width: 38px; height: 38px; object-fit: contain; }
.journey-pet[aria-pressed=true] { background: #f5ecde; border-color: #a99a83; }
.journey-pet:disabled { background: transparent; color: #645541; cursor: default; }
.journey-pet[aria-pressed=true]:disabled { background: #f5ecde; border-color: #a99a83; }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px minmax(0, 1fr); grid-template-areas: 'specimen phone copy' 'steps steps steps'; column-gap: clamp(36px, 5.2vw, 76px); align-items: center; max-width: 1060px; margin-inline: auto; }
.journey-specimen { grid-area: specimen; width: min(100%, 238px); justify-self: center; margin-top: 32px; }
.journey-photo-print { padding: 9px 9px 0; background: #faf6ee; transform: rotate(-5deg); box-shadow: 0 12px 24px #51422920; }
.journey-photo-print > img { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; }
.journey-photo-print figcaption { padding: 10px 4px 13px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
.journey-specimen > p { max-width: 30ch; margin: 27px 0 0 4px; font-size: 13px; line-height: 1.55; color: #5f594b; }
.journey-display { grid-area: phone; min-width: 0; justify-self: center; }
.journey-phone.phone-device { width: min(300px, 100%); height: var(--journey-phone-height); background: #302d27; box-shadow: 0 20px 34px #51422920; }
.journey-phone .phone-screen { background: #faf6ee; }
.journey-phone .phone-home { margin-top: auto; }
.journey-panels { flex: 1; min-height: 0; position: relative; }
.journey-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.journey-app-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px 15px; border-bottom: 1px solid #e5dbcc; }
.journey-app-header strong { font-family: Satoshi, sans-serif; font-size: 20px; line-height: 1.2; letter-spacing: -.04em; }
.journey-app-header > span { color: #645541; font-size: 12px; line-height: 1.3; text-align: right; }
.journey-photo-frame { margin: 14px 14px 0; flex: 1; min-height: 0; overflow: hidden; border-radius: 13px; background: #e4d5be; }
.journey-photo-frame > img { width: 100%; height: 100%; object-fit: cover; }
.journey-source-missing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; height: 100%; padding: 26px; text-align: center; color: #625541; }
.journey-source-missing > svg { width: 42px; height: 42px; stroke-width: 1.3; stroke: currentColor; }
.journey-source-missing strong { font-size: 17px; font-weight: 500; }
.journey-panel-note { flex-shrink: 0; padding: 13px 18px; font-size: 13px; line-height: 1.45; color: #625541; }
.journey-preview-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); justify-items: center; align-items: center; gap: 0; padding: 8px 10px; flex: 1; min-height: 0; }
.journey-preview-grid img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.journey-preview-grid img:last-child { grid-column: 1 / -1; width: 65%; }
.journey-preview-grid::after { content: 'Önizleme'; position: absolute; top: 44%; left: 50%; padding: 3px 9px; transform: translate(-50%, -50%) rotate(-12deg); border-radius: 3px; background: #ffffffd4; color: #645541; font-size: 13px; font-weight: 600; pointer-events: none; }
html:lang(en) .journey-preview-grid::after { content: 'Preview'; }
html:lang(es) .journey-preview-grid::after { content: 'Vista previa'; }
.journey-pack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); align-items: center; gap: 2px; flex: 1; min-height: 0; padding: 8px 9px 0; }
.journey-pack-grid > img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.journey-chat-panel .phone-chat-header, .journey-chat-panel .phone-composer { background: #f8faf7; }
.journey-chat-panel .phone-sticker, .journey-chat-panel .phone-sticker > img { width: clamp(120px, calc(var(--journey-phone-height) - 265px), 205px); }
.journey-chat-panel .phone-sticker > img { height: auto; aspect-ratio: 1; }
.pet-journey[data-scroll=on] .journey-chat-panel .phone-sticker { display: flex; flex-direction: column; flex: 1; min-height: 0; max-height: 225px; }
.pet-journey[data-scroll=on] .journey-chat-panel .phone-sticker > img { width: 100%; height: 0; min-height: 0; flex: 1; aspect-ratio: auto; }
.pet-journey[data-scroll=on] .journey-chat-panel .phone-message-meta { flex-shrink: 0; }
.journey-explanation { grid-area: copy; min-width: 0; }
.journey-active-copy { max-width: 29ch; }
.journey-example-label { margin-bottom: 18px; color: #645541; font-size: 13px; font-weight: 650; }
.journey-active-copy h3 { max-width: 12ch; margin-bottom: 17px; font-size: clamp(29px, 3vw, 40px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; }
#journey-active-copy { min-height: 4.65em; color: #5f594b; font-size: 16px; line-height: 1.55; }
.journey-example-note { max-width: 24ch; margin-top: 18px; padding-top: 14px; border-top: 1px solid #a99a83; font-size: 13px; line-height: 1.5; color: #645541; }
.journey-steps { grid-area: steps; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 680px); list-style: none; padding: 0; margin: 18px auto 0; }
.journey-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; min-height: 58px; padding: 0 6px; text-align: center; }
.journey-step::before, .journey-step::after { content: ''; position: absolute; top: 16px; width: calc(50% - 22px); height: 1px; background: #a99a83; }
.journey-step::before { left: 0; }
.journey-step::after { right: 0; }
.journey-step:first-child::before, .journey-step:last-child::after { display: none; }
.journey-step > span { display: grid; place-items: center; flex-shrink: 0; width: 33px; height: 33px; border: 1px solid #a99a83; border-radius: 50%; color: #645541; font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600; }
.journey-step strong { display: block; color: #5f594b; font-size: 15px; font-weight: 500; line-height: 1.3; }
.journey-step[aria-current=step] > span { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.journey-step[aria-current=step] strong { color: var(--ink); font-weight: 750; }
.journey-links { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 25px; }
.journey-links .button { min-height: 56px; }
.journey-links .text-link { font-size: 15px; }
@media (hover: hover) and (pointer: fine) {
  .journey-pet:not(:disabled):hover { background: #f1e7d7; }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion=on][data-input=pointer] .journey-pet { transition: background-color 160ms var(--ease); }
}
@media (max-width: 1099px) and (min-width: 760px) {
  .journey-layout { grid-template-columns: minmax(0, 1fr) 310px minmax(0, 1fr); column-gap: 30px; }
  .journey-active-copy h3 { font-size: 30px; }
  #journey-active-copy { font-size: 15px; }
}
@media (max-width: 899px) {
  .pet-journey { padding-block: 60px; }
  .journey-heading { margin-bottom: 28px; }
  .journey-layout { grid-template-columns: 310px minmax(0, 1fr); grid-template-areas: 'phone copy' 'steps steps'; max-width: 680px; gap: 0 40px; }
  .journey-specimen { display: none; }
  .journey-active-copy { max-width: 27ch; }
  .journey-heading > p { max-width: 23ch; font-size: 15px; }
}
@media (max-width: 759px) {
  .pet-journey { padding-block: 58px 62px; }
  .journey-heading { display: block; margin-bottom: 26px; }
  .journey-heading h2 { font-size: clamp(34px, 7.5vw, 48px); }
  .journey-heading > p { margin-top: 16px; padding: 0; max-width: 34ch; font-size: 16px; }
  .journey-heading > p br { display: none; }
  .journey-pets { gap: 6px; margin-bottom: 14px; }
  .journey-pet { justify-content: center; min-width: 0; padding: 5px 6px; gap: 4px; min-height: 44px; font-size: 13px; }
  .journey-pet img { width: 28px; height: 28px; }
  .journey-display { width: 100%; }
  .journey-links { flex-direction: column; gap: 8px; margin-top: 28px; }
  .journey-links .button { width: min(100%, 360px); min-width: 0; }
}
@media (max-width: 379px) {
  .journey-pets { gap: 3px; }
  .journey-pet { flex: 1; gap: 3px; padding-inline: 4px; font-size: 12px; }
  .journey-pet img { width: 24px; height: 24px; }
}

/* Small screens and the unenhanced story use normal document flow. */
.pet-journey:not([data-scroll=on]) .journey-layout { display: block; max-width: 940px; }
.pet-journey:not([data-scroll=on]) .journey-steps,
.pet-journey:not([data-scroll=on]) .journey-specimen,
.pet-journey:not([data-scroll=on]) .journey-explanation,
.pet-journey:not([data-scroll=on]) .journey-phone > .phone-screen > .phone-status,
.pet-journey:not([data-scroll=on]) .journey-phone > .phone-screen > .phone-home { display: none; }
.pet-journey:not([data-scroll=on]) .journey-phone.phone-device { width: 100%; height: auto; padding: 0; background: transparent; border-radius: 0; box-shadow: none; }
.pet-journey:not([data-scroll=on]) .journey-phone > .phone-screen { height: auto; overflow: visible; background: transparent; border-radius: 0; }
.pet-journey:not([data-scroll=on]) .journey-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 40px; }
.pet-journey:not([data-scroll=on]) .journey-panel { height: auto; overflow: hidden; }
.journey-panel-caption { padding: 8px 0 20px; font-family: Satoshi, sans-serif; color: var(--ink); }
.journey-panel-caption > span { display: block; margin-bottom: 8px; color: #645541; font-size: 13px; }
.journey-panel-caption h3 { margin-bottom: 10px; font-size: 27px; }
.journey-panel-caption p { color: #5f594b; font-size: 15px; }
.pet-journey:not([data-scroll=on]) .journey-app-header { background: #faf6ee; border-radius: 12px 12px 0 0; }
.pet-journey:not([data-scroll=on]) .journey-photo-frame { height: 320px; flex: none; margin: 0; border-radius: 0; }
.pet-journey:not([data-scroll=on]) .journey-panel-note { background: #faf6ee; border-radius: 0 0 12px 12px; }
.pet-journey:not([data-scroll=on]) .journey-preview-grid { height: 320px; flex: none; background: #faf6ee; }
.pet-journey:not([data-scroll=on]) .journey-pack-grid { height: 360px; flex: none; background: #faf6ee; }
.pet-journey:not([data-scroll=on]) .journey-chat-panel .phone-chat-header { border-radius: 12px 12px 0 0; }
.pet-journey:not([data-scroll=on]) .journey-chat-panel .phone-sticker { width: 205px; }
.pet-journey:not([data-scroll=on]) .journey-chat-panel .phone-sticker > img { width: 100%; }
.pet-journey:not([data-scroll=on]) .journey-chat-panel .phone-composer { border-radius: 0 0 12px 12px; }
@media (max-width: 759px) {
  .journey-scroll-hint { margin-top: 8px; font-size: 12px; }
  .pet-journey:not([data-scroll=on]) .journey-panels { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 410px; margin-inline: auto; }
  .pet-journey:not([data-scroll=on]) .journey-panel-caption { padding: 0 0 16px; }
  .journey-panel-caption > span { margin-bottom: 6px; }
  .journey-panel-caption h3 { margin-bottom: 8px; font-size: clamp(24px, 5.6vw, 27px); }
  .journey-panel-caption p { line-height: 1.5; }
  .pet-journey:not([data-scroll=on]) .journey-app-header { display: none; }
  .pet-journey:not([data-scroll=on]) .journey-photo-frame { height: clamp(220px, 60vw, 260px); border-radius: 12px 12px 0 0; }
  .pet-journey:not([data-scroll=on]) .journey-preview-grid { height: auto; aspect-ratio: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 4px; padding: 8px 6px 0; border-radius: 12px 12px 0 0; }
  .journey-preview-grid img:last-child { grid-column: auto; width: 100%; }
  .journey-preview-grid::after { top: 50%; font-size: 12px; }
  .pet-journey:not([data-scroll=on]) .journey-pack-grid { height: auto; aspect-ratio: 3 / 4; gap: 4px; padding: 8px 6px 0; border-radius: 12px 12px 0 0; }
  .pet-journey:not([data-scroll=on]) .journey-panel-note { padding: 11px 14px; }
  .pet-journey:not([data-scroll=on]) .journey-chat-panel .phone-sticker { width: 160px; }
}
