/* Ravel Trips (raveltrips.com): navy, butter and cream; Fraunces + Plus Jakarta Sans.
   Photography is served from Unsplash, as its API guidelines require. */
:root {
  --navy: #1E2A4A;
  --navy-line: #3B4A6E;
  --butter: #FFF4C2;
  --cream: #FFFCF0;
  --rule: #E8E2CC;
  --slate: #334155;
  --slate-2: #475569;
  --mist: #CBD5E1;
  --display: Fraunces, Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
a:hover { color: #0F172A; }
img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid #E9B949; outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
:root { --sec: clamp(64px, 9vw, 104px); --gap: clamp(32px, 5vw, 56px); }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4B5A7E; }
.h2 { margin: 12px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.02em; }

/* Header: sticky, one row. Below 760px the section links drop out and the button shortens. */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 252, 240, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #1E3A8A; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 600; }
.site-nav a { text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.btn-navy { background: var(--navy); color: var(--butter); }
.btn-navy:hover { color: var(--butter); background: #2A3A63; }
.btn-butter { background: var(--butter); color: var(--navy); }
.btn-butter:hover { color: var(--navy); background: #FFEBA0; }
.btn-nav { padding: 12px 20px; min-height: 44px; }
.btn-nav .short { display: none; }
@media (max-width: 760px) {
  .site-nav .nav-link { display: none; }
  .brand img { height: 32px; }
  .brand span { font-size: 21px; }
  .btn-nav { padding: 10px 16px; min-height: 42px; font-size: 14px; }
  .btn-nav .long { display: none; }
  .btn-nav .short { display: inline; }
}

/* Hero */
.hero { padding-top: clamp(44px, 7vw, 72px); padding-bottom: clamp(84px, 10vw, 112px); display: flex; flex-wrap: wrap; gap: var(--gap); align-items: flex-end; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(3.25rem, 8vw, 6.5rem); line-height: 0.95; letter-spacing: -0.03em; color: var(--butter); }
.hero-lede { margin: clamp(20px, 3vw, 32px) 0 0; font-size: clamp(18px, 2.2vw, 20px); line-height: 1.6; color: #E2E8F0; max-width: 36rem; }
.hero-cta { margin-top: clamp(28px, 3vw, 36px); padding: 16px 26px; min-height: 52px; font-size: 17px; }
.hero-facts { flex: 1 1 300px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--navy-line); }
.hero-facts li { padding: 18px 0; border-bottom: 1px solid var(--navy-line); font-size: 17px; line-height: 1.4; }
.hero-facts b { display: block; color: var(--butter); }
.hero-facts span { color: var(--mist); }
.hero-photo { aspect-ratio: 16 / 7; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(15, 23, 42, 0.6); }
@media (max-width: 640px) {
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .hero-facts li { padding: 14px 0; font-size: 15px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 20px; }
}

/* Photo rows: a grid on wide screens, a swipeable row with the next card peeking on phones. */
.dest-row { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dest-row figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dest-row .photo { aspect-ratio: 3 / 4; border-radius: 20px; }
.dest-row b { display: block; font-size: 18px; }
.dest-row i { display: block; margin-top: 2px; font-family: var(--display); font-size: 15px; color: var(--slate-2); }
.pair-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pair-row .photo { aspect-ratio: 4 / 3; border-radius: 24px; }
@media (max-width: 1000px) { .dest-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .dest-row, .pair-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; margin-left: -24px; margin-right: -24px; padding: 0 24px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .dest-row::-webkit-scrollbar, .pair-row::-webkit-scrollbar { display: none; }
  .dest-row > *, .pair-row > * { flex: 0 0 78%; scroll-snap-align: start; }
  .pair-row > * { flex-basis: 86%; }
  .dest-row { margin-top: 28px; }
  .dest-row .photo { aspect-ratio: 4 / 5; }
  .pair-row .photo { border-radius: 20px; }
}

/* How it works */
.steps { margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(24px, 3vw, 32px); }
.steps li { border-top: 3px solid var(--navy); padding-top: 20px; }
.steps .n { font-family: var(--display); font-size: clamp(34px, 4vw, 44px); font-weight: 600; }
.steps h3 { margin: 8px 0 0; font-size: 22px; }
.steps p { margin: 10px 0 0; font-size: 17px; line-height: 1.6; color: var(--slate); }

/* FAQ */
.faq { margin-top: clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(18px, 2vw, 20px); font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--butter); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 22px; max-width: 46rem; font-size: 17px; line-height: 1.65; color: var(--slate); }

/* Planning form */
.plan-grid { padding-top: var(--sec); padding-bottom: var(--sec); display: flex; flex-wrap: wrap; gap: var(--gap); }
#plan-form { position: relative; flex: 1 1 440px; min-width: 0; background: var(--cream); color: var(--navy); border-radius: clamp(20px, 3vw, 28px); padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field label span { font-weight: 400; color: var(--slate-2); }
.field input, .field select, .field textarea { min-height: 48px; border-radius: 12px; border: 1px solid var(--mist); padding: 0 14px; font: inherit; font-size: 16px; background: #FFFFFF; color: var(--navy); width: 100%; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--slate); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--navy); cursor: pointer; }
#plan-submit, #contact-submit { min-height: 52px; border-radius: 999px; border: 0; background: var(--navy); color: var(--butter); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
#plan-submit:disabled, #contact-submit:disabled { opacity: 0.7; cursor: progress; }

/* Contact page */
.contact-grid { padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--sec); display: grid; gap: 28px var(--gap); align-items: start; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-areas: "plan form" "ways form"; } .contact-plan { grid-area: plan; } #contact-form { grid-area: form; } .contact-ways { grid-area: ways; } }
.contact-ways { font-size: 17px; line-height: 1.65; color: var(--slate); }
.contact-ways h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--navy); }
.contact-ways p { margin: 12px 0 0; }
.contact-plan { padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--butter); font-size: 17px; line-height: 1.6; }
.contact-plan p { margin: 0; }
.contact-plan p:not(.eyebrow) { margin-top: 10px; color: var(--navy); }
.contact-plan .btn { margin-top: 18px; padding: 12px 22px; min-height: 48px; }
#contact-form { position: relative; min-width: 0; background: #FFFFFF; border: 1px solid var(--rule); border-radius: clamp(20px, 3vw, 28px); padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.contact-thanks h2 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; }
.contact-thanks p { margin: 12px 0 0; font-size: 17px; line-height: 1.6; color: var(--slate); }

/* Shown in the form after a request is sent: start saving ideas in Sparkboard while you wait. */
.nudge { margin-top: 8px; padding: clamp(18px, 3vw, 24px); border-radius: 20px; background: #FAF5EC; border: 1px solid #E8DECB; color: #1C1917; }
.nudge p { margin: 0; }
.nudge-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9A3412; }
.nudge .nudge-title { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; }
.nudge .nudge-text { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #44403C; }
.nudge .sb-cta { margin-top: 18px; gap: 14px; }

/* Footer */
.site-footer { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; font-size: 14px; color: var(--slate-2); }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.site-footer .credits { margin: 0; font-size: 12px; line-height: 1.6; color: #64748B; }

/* Text pages: about, privacy, terms */
.page-head { background: var(--navy); color: var(--cream); }
.page-head .wrap { padding-top: clamp(44px, 7vw, 80px); padding-bottom: clamp(44px, 7vw, 80px); }
.page-head h1 { margin: 12px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--butter); }
.page-head p { margin: 20px 0 0; max-width: 40rem; font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: #E2E8F0; }
.page-head .eyebrow { color: var(--mist); }
.prose { max-width: 46rem; padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--sec); font-size: 17px; line-height: 1.7; color: var(--slate); }
.prose h2 { margin: 48px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 0; font-size: 18px; color: var(--navy); }
.prose p, .prose ul { margin: 14px 0 0; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose b { color: var(--navy); }
.prose .updated { margin: 0 0 32px; font-size: 14px; color: var(--slate-2); }

/* Blog: the post list and a post's photos and calls to action. */
.page-head .eyebrow a { color: inherit; }
.post .updated { margin-bottom: 24px; }
.byline { display: flex; align-items: center; gap: 12px; line-height: 1.45; }
.byline img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; }
.post-photo { margin: 28px 0 0; }
.post-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: clamp(14px, 2vw, 20px); background: #C9D3E6; }
.post-photo figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--slate-2); }
.prose .post-photo + p { margin-top: 20px; }
.post-cta { margin-top: 48px; }
.prose .post-cta .nudge-eyebrow { margin: 0; }
.prose .post-credits { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.6; color: #64748B; }
.post-list { list-style: none; margin: 0; padding: clamp(40px, 6vw, 72px) 0 var(--sec); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--gap); }
.post-list a { display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.post-list img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: #C9D3E6; }
.post-list-text { display: flex; flex-direction: column; gap: 6px; }
.post-list-title { font-family: var(--display); font-weight: 600; font-size: 1.6rem; line-height: 1.15; color: var(--navy); }
.post-list a:hover .post-list-title { text-decoration: underline; text-underline-offset: 4px; }
.post-list-dek { font-size: 16px; line-height: 1.55; color: var(--slate); }

/* Editorial photo treatment: hairline frame, caption set like a magazine credit. */
.photo { position: relative; margin: 0; overflow: hidden; background: #C9D3E6; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.photo:hover img { transform: scale(1.03); }
.photo .tag { position: absolute; left: 16px; bottom: 14px; right: 16px; color: #FFFCF0; font-family: var(--display); font-style: italic; font-size: 15px; letter-spacing: 0.01em; text-shadow: 0 1px 12px rgba(15, 23, 42, 0.55); }
.photo .tag span { font-family: var(--body); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; margin-right: 8px; }
.photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgba(15, 23, 42, 0.42), rgba(15, 23, 42, 0)); pointer-events: none; }
.photo .tag { z-index: 1; }
.sample { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: #4B5A7E; }

/* Sparkboard module: Sparkboard's own canvas and type accents inside the Ravel Trips page. */
.sb { position: relative; overflow: hidden; border-radius: 32px; background: #FAF5EC; border: 1px solid #E8DECB; }
.sb::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, 0.22), rgba(194, 65, 12, 0.08) 45%, rgba(250, 245, 236, 0) 70%); pointer-events: none; }
.sb-grid { position: relative; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 64px); }
.sb-copy { flex: 1 1 440px; min-width: 0; color: #1C1917; }
#sb-title { margin: 18px 0 0; font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.06; letter-spacing: -0.02em; color: #1C1917; }
.sb-lede { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: #44403C; max-width: 34rem; }
.sb-more { display: inline-block; margin-top: 18px; font-weight: 700; font-size: 15px; color: #9A3412; }
.sb-steps { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.sb-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: #44403C; }
.sb-steps b { color: #1C1917; }
.sb-num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #C2410C, #F59E0B); color: #FFFFFF; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.sb-num.trips { background: var(--navy); color: var(--butter); }
.sb-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.sb-store { display: inline-flex; align-items: center; gap: 12px; background: #1C1917; color: #FFFFFF; text-decoration: none; padding: 12px 22px 12px 18px; border-radius: 16px; min-height: 58px; box-shadow: 0 14px 30px -16px rgba(60, 30, 15, 0.7); }
.sb-store:hover { color: #FFFFFF; background: #2A1810; }
.sb-qr { display: none; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E8DECB; font-size: 13px; line-height: 1.35; color: #44403C; }
.sb-qr img { width: 64px; height: 64px; }
@media (min-width: 900px) and (hover: hover) { .sb-qr { display: inline-flex; } }
.sb-phones { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; position: relative; }
.phone { width: 236px; border-radius: 40px; padding: 9px; background: #1C1917; box-shadow: 0 40px 70px -30px rgba(60, 30, 15, 0.55); }
.phone img { width: 100%; height: auto; border-radius: 32px; }
.phone.back { transform: rotate(-6deg) translate(34px, -24px); }
.phone.front { transform: rotate(4deg) translate(-34px, 18px); position: relative; z-index: 1; }
@media (max-width: 640px) {
  .sb { border-radius: 24px; }
  .sb-grid { gap: 28px; padding: 28px 22px 0; }
  #sb-title { font-size: 1.85rem; }
  .sb-lede { font-size: 17px; }
  .sb-steps { display: none; }
  .sb-cta { margin-top: 24px; }
  .sb-phones { height: 230px; align-items: flex-start; }
}
@media (max-width: 560px) { .sb-phones { min-height: 0; } .phone { width: 168px; padding: 7px; border-radius: 30px; } .phone img { border-radius: 24px; } .phone.back { transform: rotate(-6deg) translate(20px, 18px); } .phone.front { transform: rotate(4deg) translate(-20px, 4px); } }

/* Planners */
.planners-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stamp { background: var(--butter); color: var(--navy); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.planners { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: clamp(20px, 3vw, 36px); }
.planner { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--rule); border-radius: 28px; overflow: hidden; }
.planner-photo { position: relative; aspect-ratio: 5 / 4; background: linear-gradient(160deg, #E6EAF2, #D7DEEB); }
.planner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.planner-photo.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #4B5A7E; font-weight: 600; text-align: center; padding: 24px; }
.planner-body { flex: 1; display: flex; flex-direction: column; padding: 28px clamp(22px, 3vw, 34px) 32px; }
.planner-body .role { margin: 6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4B5A7E; }
.planner-body .cta { margin-top: auto; padding-top: 28px; }
.planner-body .cta a { padding: 14px 24px; font-size: 16px; min-height: 48px; }
.planner-body h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 30px; letter-spacing: -0.01em; }
.planner-body .bio { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--slate); }
.planner-body .ask { margin: 22px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #4B5A7E; }
.planner-body blockquote { margin: 24px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--butter); font-family: var(--display); font-style: italic; font-size: clamp(18px, 2vw, 20px); line-height: 1.45; }
@media (max-width: 640px) { .planners { margin-top: 32px; } .planner { border-radius: 22px; } .planner-body { padding: 22px 20px 24px; } .stamp { white-space: normal; } }
.ph { background: #FFF4C2; border-radius: 6px; padding: 0 4px; }
.knows { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.knows span { border: 1px solid var(--rule); background: #FFFFFF; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } .photo:hover img { transform: none; } }
