/* /travel-with-me/: extends /style.css */

:root {
    --line: #232323;
    --card: #0d0d0d;
    --card-hover: #141414;
    --body: #d6d6d6;
    --error: #ff8a80;
    --ok: #9be7a8;
    --wrap: 960px;
    --wrap-narrow: 720px;
    --ease: cubic-bezier(.22, .8, .24, 1);
}

html { scroll-behavior: smooth; }
body.travel { display: block; background: #000; }
img { max-width: 100%; height: auto; display: block; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 50;
    background: #fff; color: #000; padding: .6rem 1rem; border-radius: 8px;
    font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

main.travel-main {
    max-width: none;
    padding: 0;
    display: block;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: var(--wrap-narrow); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; padding: .85rem 1.6rem;
    border-radius: 999px;
    font: 600 1rem/1.2 Inter, system-ui, sans-serif;
    text-decoration: none;
    transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, opacity .2s;
    cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:active { transform: scale(.98); }
.btn-primary { background: #fff; color: #000; border: 1px solid #fff; }
.btn-primary:hover { background: #e6e6e6; }
.btn-ghost { background: rgba(0, 0, 0, .25); color: #fff; border: 1px solid rgba(255, 255, 255, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}
.hero-media, .hero-media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: center 40%; transform: scale(1.06); will-change: transform; }
.hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 22%),
        linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%),
        linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.1) 75%);
}
.top-nav {
    position: absolute; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem 0;
    max-width: 1200px; margin: 0 auto;
}
.top-nav .back-link, .top-nav .nav-apply {
    color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
    text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.top-nav .nav-apply {
    padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.5); border-radius: 999px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(0,0,0,.2);
}
.hero-inner {
    width: 100%; max-width: 1200px; margin: 0 auto;
    padding: 7rem 1.25rem max(3rem, calc(2rem + env(safe-area-inset-bottom)));
}
.eyebrow {
    font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255,255,255,.75); margin-bottom: 1rem;
}
.hero h1 {
    font-size: clamp(2.6rem, 9vw, 6rem);
    line-height: 1.02; letter-spacing: -.035em; font-weight: 600;
    max-width: 11em; margin-bottom: 1.25rem;
    text-wrap: balance;
}
.hero-sub {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.55;
    color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: .75rem;
}
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.75rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.85);
    padding: .45rem .8rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.28);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.chips svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: 0; }
.section-label {
    font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-tertiary); margin-bottom: .9rem;
}
.section h2, .vision h2 {
    font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 600;
    color: #fff; margin-bottom: 1.75rem; text-wrap: balance;
}
.prose p { font-size: 1.125rem; line-height: 1.75; color: var(--body); margin-bottom: 1.1rem; }
.lead { font-size: 1.15rem; line-height: 1.65; color: var(--text-secondary); margin-bottom: 2.25rem; }
.note { color: var(--text-secondary); margin: 1.5rem 0 1.75rem; font-size: 1.05rem; }

.split { display: grid; gap: 2.5rem; align-items: center; }
.photo img { width: 100%; border-radius: 16px; aspect-ratio: 3 / 2; object-fit: cover; }

/* Counter */
.counter {
    margin-top: 3.5rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: 18px; background: var(--card);
}
.counter-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .9rem; margin-bottom: 1.25rem; }
.counter-num > span:first-child { font-size: clamp(3.5rem, 12vw, 5.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.counter-unit { font-size: 1.1rem; color: var(--text-secondary); }
.progress { height: 6px; border-radius: 6px; background: #1d1d1d; overflow: hidden; }
.progress-bar { display: block; height: 100%; width: 84%; border-radius: inherit; background: linear-gradient(90deg, #bdbdbd, #fff); transform-origin: left; }
.counter.in .progress-bar { animation: grow 1.8s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.counter-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .75rem; font-size: .9rem; color: var(--text-secondary); }

/* Cards */
.cards { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card {
    padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
    transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.card:hover { border-color: #3a3a3a; background: var(--card-hover); transform: translateY(-2px); }
.card-icon { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; opacity: .9; }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: .4rem; color: #fff; }
.card p { font-size: .975rem; line-height: 1.6; color: var(--text-secondary); }

/* Photo strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
@media (min-width: 640px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Checklist */
.checklist { list-style: none; margin-top: .5rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .75rem; font-size: 1.075rem; line-height: 1.55; color: var(--body); }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: .2rem; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Disclosure */
.disclosure { margin-top: 2rem; padding: 1.25rem 1.4rem; border-left: 2px solid #555; background: #0a0a0a; border-radius: 0 12px 12px 0; }
.disclosure-title { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: .5rem; font-weight: 600; }
.disclosure p:last-child { font-size: .95rem; line-height: 1.65; color: var(--text-secondary); }

.more-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.more-links a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid #444; padding-bottom: 2px; }
.more-links a:hover { border-color: #fff; }
.more-links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Vision */
.vision { position: relative; padding: 8rem 0; overflow: hidden; isolation: isolate; text-align: left; }
.vision-media, .vision-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vision-media { z-index: -2; }
.vision-media img { object-fit: cover; transform: scale(1.08); will-change: transform; }
.vision-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,.38) 45%, rgba(0,0,0,.82)); }
.vision .prose p { color: rgba(255,255,255,.88); }
.closing { font-size: clamp(1.4rem, 3.5vw, 1.9rem); font-weight: 600; letter-spacing: -.015em; margin: 2rem 0 2rem; color: #fff; }

/* ---------- Form ---------- */
.apply:focus { outline: none; }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.25rem; min-width: 0; }
.form > fieldset > legend {
    font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--text-tertiary); padding: 0; margin-bottom: 1.1rem;
}
.form-hint { color: var(--text-secondary); font-size: .95rem; margin-bottom: 1.75rem; }
.field { margin-bottom: 1.35rem; }
.field > label, .label, .radios > legend {
    display: block; font-size: 1rem; font-weight: 500; color: #fff; margin-bottom: .5rem; line-height: 1.4;
}
.req { color: var(--text-secondary); }
.opt { color: var(--text-tertiary); font-weight: 400; }
.help { font-size: .875rem; color: var(--text-tertiary); margin-top: .45rem; }
.form input[type="text"], .form input[type="email"], .form input[type="url"], .form input[type="number"], .form select, .form textarea {
    width: 100%;
    font: 400 1rem/1.5 Inter, system-ui, sans-serif;  /* 16px avoids iOS zoom */
    color: #fff; background: #0b0b0b;
    border: 1px solid #333; border-radius: 12px;
    padding: .8rem .95rem; min-height: 50px;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.form textarea { resize: vertical; min-height: 110px; }
.form select {
    background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.form input::placeholder, .form textarea::placeholder { color: #5c5c5c; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.form [aria-invalid="true"] { border-color: var(--error) !important; }
.error { color: var(--error); font-size: .875rem; margin-top: .45rem; min-height: 0; }
.error:empty { display: none; }
.multi { display: grid; gap: .6rem; }
.link-btn { margin-top: .6rem; background: none; border: 0; color: #fff; font: 500 .95rem Inter, sans-serif; cursor: pointer; padding: .4rem 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #555; }
.link-btn:hover { text-decoration-color: #fff; }
.radios { border: 0; padding: 0; margin: 0; }
.radios label, .field > label.check, .check {
    display: flex; align-items: flex-start; gap: .75rem;
    padding: .7rem .9rem; margin-bottom: .5rem;
    border: 1px solid #262626; border-radius: 12px; background: #0b0b0b;
    font-size: 1rem; line-height: 1.45; color: var(--body); cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.radios label:hover, .check:hover { border-color: #444; }
.radios label:has(input:checked) { border-color: #fff; background: #121212; color: #fff; }
.radios input, .check input {
    flex: none; width: 20px; height: 20px; margin: .1rem 0 0;
    -webkit-appearance: none; appearance: none;
    border: 1.5px solid #6a6a6a; background: transparent; cursor: pointer;
    display: grid; place-items: center; transition: border-color .2s, background-color .2s;
}
.radios input { border-radius: 50%; }
.check input { border-radius: 6px; }
.radios input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s var(--ease); }
.radios input:checked { border-color: #fff; }
.radios input:checked::before { transform: scale(1); }
.check input:checked { background: #fff; border-color: #fff; }
.check input:checked::before { content: ""; width: 11px; height: 6px; border-left: 2px solid #000; border-bottom: 2px solid #000; transform: translateY(-1px) rotate(-45deg); }
.radios input:focus-visible, .check input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.check input[aria-invalid="true"], .radios input[aria-invalid="true"] { border-color: var(--error); }
.check a { color: #fff; }
.privacy-note { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: #0a0a0a; margin-bottom: 1.1rem; }
.privacy-note p { font-size: .925rem; line-height: 1.65; color: var(--text-secondary); }
.privacy-note strong { color: #fff; font-weight: 600; }
.privacy-note a { color: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin-bottom: 1.25rem; }

.form-status { margin-bottom: 1rem; font-size: .975rem; line-height: 1.55; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); padding: .9rem 1rem; border: 1px solid rgba(255,138,128,.4); border-radius: 12px; background: rgba(255,138,128,.06); }
.form-status a { color: #fff; }

.submit { width: 100%; min-height: 56px; font-size: 1.05rem; position: relative; }
.submit[disabled] { opacity: .7; cursor: progress; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; border-radius: 50%; animation: spin .8s linear infinite; }
.submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.success { padding: 2rem 1.5rem; border: 1px solid #2f4f37; border-radius: 16px; background: #07120a; text-align: center; }
.success:focus { outline: none; }
.success svg { width: 40px; height: 40px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 1rem; }
.success h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.success p { color: var(--body); line-height: 1.65; max-width: 30em; margin: 0 auto; }

/* ---------- Footer ---------- */
footer.travel-footer { padding: 3rem 0 calc(6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin: 0; display: block; }
footer.travel-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; }
footer.travel-footer a { color: var(--text-secondary); text-decoration: none; font-size: .95rem; }
footer.travel-footer a:hover { color: #fff; }

/* ---------- Sticky apply (mobile) ---------- */
.sticky-apply {
    position: fixed; z-index: 40;
    left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
    transform: translate(-50%, 140%);
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: .8rem 1.75rem; border-radius: 999px;
    background: #fff; color: #000; font-weight: 600; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
    transition: transform .35s var(--ease);
}
.sticky-apply.show { transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .wrap { padding: 0 2rem; }
    .top-nav, .hero-inner { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 960px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .split { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
    .section { padding: 7.5rem 0; }
    .hero-inner { padding-bottom: 5rem; }
    .sticky-apply { left: auto; right: 24px; transform: translate(0, 160%); }
    .sticky-apply.show { transform: translate(0, 0); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero-media img, .vision-media img { transform: none; }
}

/* ---------- Photo uploads ---------- */
.work-hint { color: var(--text-secondary); font-size: .95rem; margin: .25rem 0 1.25rem; }
.photo-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.photo-list:not(:empty) { margin-bottom: .75rem; }
.photo-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #111; border: 1px solid #262626; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item .photo-remove {
    position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%;
    border: 0; background: rgba(0,0,0,.72); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer;
    display: grid; place-items: center;
}
.photo-item .photo-remove:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.photo-item .photo-state {
    position: absolute; left: 0; right: 0; bottom: 0; padding: .3rem .45rem;
    font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0));
}
.photo-item.is-uploading img { opacity: .55; }
.photo-item.is-done .photo-state { color: var(--ok); }
.photo-item.is-error { border-color: var(--error); }
.photo-item.is-error .photo-state { color: var(--error); }
.photo-add {
    display: inline-flex; align-items: center; gap: .55rem;
    min-height: 50px; padding: .75rem 1.15rem; border-radius: 12px;
    border: 1px dashed #4a4a4a; background: #0b0b0b; color: #fff;
    font: 500 1rem Inter, system-ui, sans-serif; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.photo-add:hover { border-color: #fff; background: #111; }
.photo-add svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.photo-add[hidden] { display: none; }
.photo-count { font-size: .875rem; color: var(--text-tertiary); margin-top: .45rem; }
.photo-count:empty { display: none; }
