/* Additive media styles. Existing homepage sections remain unchanged. */
.tour-home { padding-block: 96px; }
.tour-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.tour-story-visual { margin: 0; max-width: 340px; justify-self: center; width: 100%; }
.tour-story-link { position: relative; display: block; overflow: hidden; border-radius: 150px 150px 20px 20px; background: var(--forest); box-shadow: var(--shadow); }
.tour-story-link img { display: block; width: 100%; height: auto; }
.tour-play { position: absolute; bottom: 24px; left: 18px; right: 18px; padding: 15px 10px; border: 1px solid #ffffff70; background: #173b2df2; color: white; border-radius: 999px; text-align: center; font-size: .85rem; font-weight: 750; }
.tour-play > span { margin-right: 10px; }
.tour-story-visual figcaption { margin-top: 14px; color: var(--muted); font-size: .72rem; text-align: center; }
.tour-lede { color: var(--muted); font-size: 1.12rem; line-height: 1.75; max-width: 670px; }
.tour-checks { padding: 0; margin: 26px 0 30px; list-style: none; }
.tour-checks li { padding: 9px 0 9px 29px; position: relative; }
.tour-checks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.tour-invitation { max-width: 390px; font-size: .85rem; color: var(--green); }
.tour-invitation a { text-underline-offset: 4px; }
.tour-preview-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 80px 0 28px; }
.tour-preview-heading h3 { font-family: Georgia, serif; font-size: 2rem; font-weight: 400; margin: 0; }
.tour-preview-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tour-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; scroll-margin-top: 100px; }
.tour-art { position: relative; display: block; background: var(--forest); text-decoration: none; }
.tour-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.tour-art > span { display: block; padding: 9px 18px; color: white; background: var(--forest); text-align: right; font-size: .72rem; }
.tour-card-copy { padding: 28px; }
.tour-card-copy .eyebrow { font-size: .65rem; }
.tour-card-copy h3 { font-family: Georgia, serif; font-size: 1.85rem; font-weight: 400; }
.tour-card-copy > p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
.tour-watch { display: inline-flex; gap: 10px; align-items: center; color: var(--forest); padding: 12px 0; font-size: .85rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.tour-watch > span { font-size: .72rem; }
.tour-details { margin-top: 16px; }
.tour-details summary { padding: 16px 28px 16px 0; font-size: .8rem; }
.tour-details summary::after { top: 10px; font-size: 1.3rem; }
.tour-details p { margin: 0 0 18px; font-size: .82rem; }
.tour-disclosure { color: var(--muted); font-size: .78rem; line-height: 1.6; margin-top: 22px; }
.tour-intro { padding-block: 52px 48px; }
.tour-back { display: inline-block; margin-bottom: 44px; font-size: .8rem; text-underline-offset: 4px; color: var(--muted); }
.tour-intro h1 { max-width: 1000px; font-size: clamp(3.2rem, 7vw, 6rem); line-height: 1.05; }
.tour-intro-actions { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; margin-top: 26px; }
.tour-outcomes { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-outcomes a { position: relative; padding: 27px 28px 30px 0; text-decoration: none; font-size: .95rem; font-weight: 750; }
.tour-outcomes a + a { padding-left: 24px; border-left: 1px solid var(--line); }
.tour-outcomes span { display: block; color: var(--green); font-size: .7rem; margin-bottom: 12px; letter-spacing: .1em; }
.tour-outcomes b { position: absolute; top: 22px; right: 20px; font-weight: 400; }
.tour-outcomes a:hover { color: var(--green); }
.tour-library { padding-block: 90px; }
.tour-library-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: end; margin-bottom: 25px; }
.tour-library-heading > p { color: var(--muted); max-width: 440px; }
.tour-library-heading h2 { margin-bottom: 0; }
.tour-jumps { display: flex; flex-wrap: wrap; gap: 10px; }
.tour-jumps a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 30px; text-decoration: none; font-size: .8rem; background: var(--paper); }
.tour-jumps a:hover { border-color: var(--green); }
.tour-library-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; margin-top: 30px; }
.tour-library-grid .tour-card { display: grid; grid-template-columns: .95fr 1fr; align-items: start; }
.tour-library-grid .tour-card-copy { padding: 24px 20px; }
.tour-library-grid .tour-card-copy h3 { font-size: 1.6rem; }
.tour-library-grid .tour-card-copy > p { font-size: .86rem; }
.tour-library-grid .tour-art { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.tour-automation { background: var(--forest); color: white; padding-block: 80px; scroll-margin-top: 75px; }
.tour-automation-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; }
.tour-automation .eyebrow { color: #b7e4d1; }
.tour-automation .tour-lede { color: #d9e5de; }
.tour-automation .button { margin-top: 16px; font-size: .85rem; }
.tour-rule-card { border: 1px solid #8aa99b; padding: 34px; border-radius: 16px; }
.tour-rule-card h3 { font-family: Georgia, serif; font-weight: 400; font-size: 1.8rem; }
.tour-rule-card ul { padding-left: 20px; }
.tour-rule-card li { padding-block: 6px; font-size: .9rem; }
.tour-rule-card p { color: #d9e5de; font-size: .8rem; }
.tour-confidence { padding-block: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.tour-confidence > div > p:not(.eyebrow) { color: var(--muted); }
.tour-final { text-align: center; }
.tour-final .button { height: auto; padding-block: 16px; max-width: 620px; }
.tour-dialog { padding: 0; border: 1px solid var(--line); border-radius: 20px; background: var(--cream); color: var(--ink); width: min(900px,calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; }
.tour-dialog::backdrop { background: #071a12dc; backdrop-filter: blur(5px); }
.tour-dialog-top { position: sticky; top: 0; z-index: 1; background: var(--cream); display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.tour-dialog-top h2 { font-family: inherit; font-size: 1.05rem; margin: 0; letter-spacing: -.02em; }
.tour-close { border: 1px solid var(--line); padding: 9px 14px; border-radius: 30px; background: var(--paper); cursor: pointer; color: var(--ink); font-size: .8rem; white-space: nowrap; }
.tour-close span { margin-left: 8px; font-size: 1.2rem; }
.tour-dialog-grid { display: grid; grid-template-columns: 1fr 1fr; }
#tour-player { display: block; width: 100%; max-height: calc(100dvh - 110px); aspect-ratio: 9 / 16; object-fit: contain; background: #08150e; }
.tour-dialog-copy { padding: 32px; align-self: center; font-size: .94rem; }
.tour-dialog-copy hr { border: 0; border-top: 1px solid var(--line); margin-block: 26px; }
.tour-dialog-copy .button { padding-inline: 18px; font-size: .85rem; }
.tour-support { font-size: .8rem; color: var(--muted); margin-top: 10px; }
#tour-video-file { font-size: .8rem; text-underline-offset: 4px; }
body.tour-modal-open { overflow: hidden; }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
@media(min-width:901px) { .site-header nav { gap: 20px; } .site-header nav a { font-size: .83rem; } }
@media(max-width:1100px) { .tour-library-grid .tour-card { display: block; } .tour-library-grid .tour-art { height: auto; } .tour-library-grid .tour-art img { max-height: 520px; } }
@media(max-width:750px) {
 .tour-home,.tour-library,.tour-confidence { padding-block: 60px; }
 .tour-story { grid-template-columns: 1fr; gap: 30px; }
 .tour-story-copy { grid-row: 1; }
 .tour-story-visual { max-width: 310px; }
 .tour-preview-grid { grid-template-columns: 1fr; }
 .tour-preview-grid .tour-art img { max-height: 480px; }
 .tour-preview-heading { margin-top: 55px; align-items: start; flex-direction: column; }
 .tour-library-heading,.tour-automation-grid,.tour-confidence { grid-template-columns: 1fr; gap: 26px; }
 .tour-outcomes { grid-template-columns: 1fr 1fr; }
 .tour-outcomes a { padding: 20px!important; }
 .tour-outcomes a:nth-child(3) { border-left: 0; }
 .tour-outcomes a:nth-child(n+3) { border-top: 1px solid var(--line); }
 .tour-library-grid { gap: 18px; }
 .tour-library-grid .tour-card-copy { padding: 20px; }
 .tour-dialog-grid { grid-template-columns: 1fr; }
 #tour-player { max-height: 58dvh; }
 .tour-dialog-copy { padding: 24px; }
 .tour-intro-actions { align-items: stretch; flex-direction: column; }
 .tour-rule-card { padding: 26px; }
}
@media(max-width:520px) { .tour-library-grid { grid-template-columns: 1fr; } .tour-intro h1 { font-size: 3.2rem; } .tour-outcomes a { font-size: .85rem; } .tour-dialog-top { padding: 12px; } }

/* The returning-client image now introduces the existing Return Loop. */
.return-intro { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; margin-bottom: 48px; }
.return-intro .section-heading { margin-bottom: 0; }
.return-intro h2 { font-size: clamp(2.5rem, 4vw, 3.8rem); }
.return-welcome { display: block; width: 100%; height: auto; border-radius: 28px; }
@media (max-width: 800px) {
  .return-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .return-welcome { border-radius: 20px; }
}

.return-intro .section-heading > p:not(.eyebrow) { color: #d4e4da; }
