/* The Traveling Weirdos: cinematic adventure */
:root {
  --ink: #0F1419;
  --slate: #1A222B;
  --steel: #5B6670;
  --fog: #EEF0F1;
  --white: #FFFFFF;
  --blaze: #FF5B14;
  --blaze-deep: #E04A08;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --wrap: 1240px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; }
p { margin: 0 0 1.1em; }

h1, h2, h3, .display { font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; margin: 0 0 .4em; }
h1 { font-size: clamp(3.2rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.5; max-width: 38ch; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blaze); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--white); transition: background .3s, box-shadow .3s; }
.site-header.solid, .site-header.always { background: rgba(15, 20, 25, .96); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 1.55rem; line-height: .9; text-transform: uppercase; text-decoration: none; letter-spacing: .02em; }
.logo span { color: var(--blaze); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blaze); transition: right .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .social { display: flex; gap: 14px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.25); }
.nav .social a::after { display: none; }
.nav .social svg { width: 20px; height: 20px; fill: currentColor; display: block; }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; stroke: currentColor; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem var(--body); letter-spacing: .02em; text-decoration: none; padding: 15px 28px; border-radius: var(--radius); border: 2px solid var(--blaze); background: var(--blaze); color: var(--white); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--blaze-deep); border-color: var(--blaze-deep); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.8); }
.btn.ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn.dark-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.dark-ghost:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero .slides { position: absolute; inset: 0; }
.hero .slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; }
.hero .slides img:first-child { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,25,.55) 0%, rgba(15,20,25,0) 28%, rgba(15,20,25,.1) 50%, rgba(15,20,25,.85) 100%); }
.hero .content { position: relative; z-index: 2; padding: 0 0 clamp(56px, 10vh, 110px); }
.hero h1 { max-width: 10ch; margin-bottom: .25em; }
.hero .lede { margin-bottom: 32px; color: rgba(255,255,255,.92); }
.hero .caption { position: absolute; right: 16px; bottom: 14px; z-index: 2; font-size: .8rem; color: rgba(255,255,255,.6); }
@media (prefers-reduced-motion: no-preference) {
  .hero .slides img { animation: reel 18s infinite; }
  .hero .slides img:nth-child(1) { animation-delay: -1.2s; }
  .hero .slides img:nth-child(2) { animation-delay: 4.8s; }
  .hero .slides img:nth-child(3) { animation-delay: 10.8s; }
  .hero .slides img:first-child { opacity: 0; }
  @keyframes reel {
    0% { opacity: 0; transform: scale(1.08); }
    6% { opacity: 1; }
    33% { opacity: 1; }
    40% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; }
  }
}

/* Page hero (inner pages) */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,25,.6) 0%, rgba(15,20,25,.05) 35%, rgba(15,20,25,.85) 100%); }
.page-hero .content { position: relative; z-index: 2; padding: 140px 0 56px; }
.page-hero .kicker { font-weight: 700; color: var(--blaze); margin-bottom: 10px; font-size: 1.05rem; }
.page-hero .lede { color: rgba(255,255,255,.9); margin: 0; }
.page-hero.short { min-height: 46vh; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.dark { background: var(--ink); color: var(--white); }
.section.fog { background: var(--fog); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 44ch; margin: 0; color: var(--steel); }
.section.dark .section-head p { color: rgba(255,255,255,.7); }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--blaze); padding-bottom: 2px; }

/* Adventure tiles */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 280px; gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; background: var(--slate); grid-column: span 4; }
.tile.wide { grid-column: span 8; }
.tile.tall { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,25,0) 40%, rgba(15,20,25,.82) 100%); }
.tile .label { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 2; }
.tile h3 { margin: 0 0 4px; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.tile p { margin: 0; color: rgba(255,255,255,.85); font-size: 1rem; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }

/* RV band */
.rv-band { position: relative; color: var(--white); overflow: hidden; min-height: 560px; display: flex; align-items: flex-end; }
.rv-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,25,.88) 0%, rgba(15,20,25,.35) 70%, rgba(15,20,25,.15) 100%); z-index: 1; }
.rv-band .content { position: relative; z-index: 2; padding: 96px 0; }
.rv-band h2 { max-width: 16ch; }
.rv-band .lede { color: rgba(255,255,255,.9); margin-bottom: 28px; max-width: 44ch; }

/* Meet */
.meet { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.meet .photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.meet .photo img { width: 100%; height: 100%; object-fit: cover; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 32px 0 36px; }
.duo h3 { font-size: 1.9rem; margin-bottom: .2em; }
.duo p { margin: 0; color: var(--steel); font-size: 1.05rem; }
.duo .role { color: var(--blaze); font-weight: 700; font-size: .95rem; margin-bottom: 6px; display: block; }

/* Bucket list board */
.board { position: relative; color: var(--white); overflow: hidden; }
.board > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board::before { content: ""; position: absolute; inset: 0; background: rgba(15,20,25,.78); }
.board .wrap { position: relative; z-index: 2; }
.lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.list { background: rgba(15,20,25,.55); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 32px; backdrop-filter: blur(6px); }
.list h3 { font-size: 1.8rem; display: flex; justify-content: space-between; align-items: baseline; }
.list h3 small { font-family: var(--body); font-size: 1rem; font-weight: 600; text-transform: none; color: rgba(255,255,255,.65); }
.list ul { list-style: none; margin: 0; padding: 0; }
.list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 1.08rem; }
.list li:first-child { border-top: 0; }
.list .box { width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.7); border-radius: 3px; margin-top: 3px; display: grid; place-items: center; }
.list.done .box { background: var(--blaze); border-color: var(--blaze); }
.list.done .box svg { width: 14px; height: 14px; stroke: var(--white); stroke-width: 3; fill: none; }
.list.done li span:last-child { color: rgba(255,255,255,.85); }
.list li em { display: block; font-style: normal; font-size: .92rem; color: rgba(255,255,255,.6); }

/* Story cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { text-decoration: none; display: block; }
.card .img { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; background: var(--fog); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover img { transform: scale(1.04); }
.card .meta { color: var(--blaze); font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.card h3 { font-size: 1.75rem; margin-bottom: .3em; }
.card p { color: var(--steel); margin: 0; font-size: 1.02rem; }
.section.dark .card p { color: rgba(255,255,255,.7); }

/* Social grid */
.social-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.social-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 2px; }
.handles { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; align-items: center; }
.handles .note { color: rgba(255,255,255,.65); font-size: 1rem; }

/* Signup */
.signup { position: relative; color: var(--white); overflow: hidden; }
.signup > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.signup::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,20,25,.9) 0%, rgba(15,20,25,.55) 100%); }
.signup .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.signup p { color: rgba(255,255,255,.85); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--white); border: 1px solid #C9CED3; border-radius: var(--radius); padding: 14px 16px; width: 100%; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--blaze); outline-offset: 1px; border-color: var(--blaze); }
label { font-weight: 700; display: block; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
textarea { min-height: 160px; resize: vertical; }
.hidden { position: absolute; left: -9999px; }
.fine { font-size: .92rem; color: rgba(255,255,255,.65); margin-top: 12px; }

/* Article */
.article { padding: 72px 0 40px; }
.prose { max-width: 68ch; margin-inline: auto; font-size: 1.15rem; }
.prose h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { text-decoration-color: var(--blaze); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tip { border-left: 4px solid var(--blaze); background: var(--fog); padding: 24px 28px; margin: 36px 0; }
.tip h3 { font-size: 1.6rem; margin-bottom: .3em; }
.tip p:last-child { margin-bottom: 0; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 68ch; margin: 0 auto; padding: 28px 0 88px; border-top: 1px solid #DDE1E4; }
.post-nav a { font-weight: 700; text-decoration: none; }
.post-nav a:hover { color: var(--blaze-deep); }

/* Empty state */
.empty { border: 1px dashed #BFC5CA; border-radius: var(--radius); padding: 48px; text-align: center; }
.empty h3 { margin-bottom: .3em; }
.empty p { color: var(--steel); max-width: 48ch; margin: 0 auto 24px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); }
.contact aside h3 { font-size: 1.7rem; }
.contact aside p { color: var(--steel); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 72px 0 36px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .logo { color: var(--white); font-size: 2rem; display: inline-block; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--body); font-size: 1rem; color: var(--white); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blaze); }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .92rem; color: rgba(255,255,255,.55); }

/* Credits */
.credits { columns: 2; column-gap: 48px; padding: 0; list-style: none; }
.credits li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid #E3E6E8; }

/* Responsive */
@media (max-width: 960px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 4px; background: rgba(15,20,25,.98); padding: 16px 16px 28px; display: none; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.3rem; padding: 10px 0; }
  .nav .social { border-left: 0; padding-left: 0; margin-top: 10px; }
  .menu-btn { display: block; }
  .tiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.tall { grid-row: span 1; }
  .tile.wide { grid-column: span 2; }
  .meet, .signup .wrap, .contact { grid-template-columns: 1fr; }
  .lists { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: repeat(4, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .site-footer .top > :first-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile.wide { grid-column: span 1; }
  .cards { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .list { padding: 24px 20px; }
  .credits { columns: 1; }
  .logo { font-size: 1.3rem; }
}
