/* ============================================================
   THE OCCASIONIST CIRCLE — TRIP LAYER  (trip pages only)
   All the cinematic section styles. Pulls in the brand layer
   automatically via the @import below, so a trip page only needs
   ONE stylesheet link:  <link rel="stylesheet" href="/shared/circle.css">
   Edit here to restyle a section across every trip at once.
   ============================================================ */

@import url('brand.css');

/* section-specific display-font labels (brand.css owns the generic .title) */
.eyebrow, .frame-label, .courses span, .detail label, .item h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.2em; }

/* HERO — quieter, fewer words */
.hero { height: 100vh; height: 100dvh; width: 100%; position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: #16150f; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-fallback { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at 35% 40%, rgba(123,138,123,0.4), transparent 60%), linear-gradient(165deg,#3a3a34,#16150f); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,19,15,0.1) 40%, rgba(20,19,15,0.55)); z-index: 1; }
.logo { position: absolute; top: 30px; left: 36px; z-index: 3; display: block; line-height: 0; text-decoration: none; opacity: 0; transition: opacity 1.6s ease; }
.logo img { display: block; height: 60px; width: auto; }
.logo.show { opacity: 1; }
@media (max-width: 600px) { .logo img { height: 42px; } }
.hero-line { position: relative; z-index: 2; text-align: center; padding: 0 24px 64px; }
.hero-line p { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.28em; color: rgba(255,255,255,0.92); font-size: clamp(13px,1.5vw,16px); }
.hero-line .hero-sub { font-family: var(--display); font-weight: 400; text-transform: none; letter-spacing: 0.02em; color: rgba(255,255,255,0.58); font-size: clamp(11px,1.1vw,13px); line-height: 1.5; margin: 14px auto 0; max-width: 36rem; }
@media (max-width: 600px) { .hero-line .hero-sub { margin-top: 11px; max-width: 22rem; } }
.scroll-cue { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 3; text-align: center; color: rgba(255,255,255,0.6); opacity: 0; transition: opacity 1.6s ease; }
.scroll-cue.show { opacity: 1; animation: bob 2.6s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(9px);} }

/* SECTIONS */
.section { background: var(--paper); padding: clamp(80px,12vw,160px) clamp(28px,8vw,120px); position: relative; z-index: 2; }
.section.dark { background: var(--ink); color: var(--paper); }
.section.warm { background: var(--paper-warm); }
.section.green { background: var(--green-deep); color: var(--paper); }
/* full-screen content sections: one viewport tall, content composed and vertically centred (not stretched) */
.section.full { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; }
/* a single statement section gets more presence so the space reads as intentional, not sparse */
.section.green.full .lead-in { font-size: clamp(23px,3vw,38px); line-height: 1.42; max-width: 820px; }
.section.green.full .eyebrow { margin-bottom: 40px; }
.eyebrow { font-size: 12px; color: var(--green); margin-bottom: 32px; font-weight: 500; }
.dark .eyebrow, .green .eyebrow { color: var(--green-soft); }
.warm .eyebrow { color: var(--green-deep); }

/* HOST two-column (photo + letter, plus host video) */
.alex-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
@media (max-width: 820px) { .alex-grid { grid-template-columns: 1fr; } }
.from { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.from-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center; flex-shrink: 0; }
.from-photo-ph { width: 60px; height: 60px; border-radius: 50%; background: var(--paper-warm); border: 0.5px solid var(--stone-light); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; color: var(--stone); flex-shrink: 0; }
.from-name { font-size: 14px; font-weight: 500; }
.from-handle { font-size: 12px; color: var(--stone); }
@media (max-width: 600px) { .from { gap: 16px; } .from-photo, .from-photo-ph { width: 68px; height: 68px; } }
.letter p { font-size: clamp(15px,1.5vw,17px); line-height: 1.95; color: var(--stone); margin-bottom: 22px; max-width: 480px; }
.letter p:last-child { margin-bottom: 0; }
.alex-video { position: relative; aspect-ratio: 9 / 11; border-radius: 4px; overflow: hidden; background: #1a1a1a; }
.alex-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.alex-play-overlay { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; padding: 24px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(to bottom, rgba(20,19,15,0.10) 35%, rgba(20,19,15,0.48)); color: #fff; transition: opacity 0.5s ease; -webkit-tap-highlight-color: transparent; }
.alex-play-overlay.hidden { opacity: 0; pointer-events: none; }
.alex-play-overlay .play-icon { width: 64px; height: 64px; border: 1px solid rgba(255,255,255,0.75); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, transform 0.3s ease; }
.alex-play-overlay:hover .play-icon { background: rgba(255,255,255,0.14); transform: scale(1.04); }
.alex-play-overlay .play-icon svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.alex-play-overlay .play-label { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; color: rgba(255,255,255,0.88); }
.alex-video.started .alex-play-overlay { background: linear-gradient(to bottom, rgba(20,19,15,0.04), rgba(20,19,15,0.28)); }
.alex-video.started .alex-play-overlay .play-label { display: none; }
.alex-video.started .alex-play-overlay .play-icon { width: 56px; height: 56px; }

/* prose */
.prose { font-size: clamp(15px,1.6vw,18px); line-height: 1.95; max-width: 560px; margin-bottom: 22px; }
.dark .prose, .green .prose { color: rgba(250,248,245,0.8); }
.section:not(.dark):not(.green) .prose { color: var(--stone); }
.prose:last-child { margin-bottom: 0; }
.lead-in { font-family: var(--display); font-weight: 400; font-size: clamp(21px,2.6vw,30px); line-height: 1.45; max-width: 600px; margin-bottom: 0; }
.lead-in.spaced { margin-bottom: 30px; }
.dark .lead-in, .green .lead-in { color: var(--paper); }
.section:not(.dark):not(.green) .lead-in { color: var(--ink); }

/* sensory line (e.g. golf) + named list */
.sensory { font-family: var(--display); font-weight: 400; font-size: clamp(20px,2.5vw,28px); line-height: 1.55; max-width: 600px; color: var(--paper); margin-bottom: 0; }
.courses { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.courses span { font-size: 12px; color: rgba(250,248,245,0.55); }

/* honest line — a spiky single-statement beat */
.honest { font-family: var(--display); font-weight: 400; font-size: clamp(20px,2.6vw,30px); line-height: 1.5; max-width: 620px; color: var(--ink); }

/* items (stacked headed paragraphs) */
.items { display: flex; flex-direction: column; gap: 38px; max-width: 560px; }
.item h4 { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.item p { font-size: 14px; color: var(--stone); line-height: 1.85; }
.warm .item p { color: #54524b; }

/* credibility block — explicit trust, in a responsive grid */
.cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 36px; max-width: 760px; margin-top: 8px; }
.cred .c h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 13px; font-weight: 500; margin-bottom: 10px; color: var(--paper); }
.cred .c p { font-size: 13px; line-height: 1.8; color: rgba(250,248,245,0.7); }

/* visuals — short clips that play once on entry, then freeze on final frame */
.visual { height: 100vh; height: 100dvh; width: 100%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; z-index: 1; background: #1a1a1a; }
.visual-media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
/* fallback gradient shown until a real clip is dropped in */
.visual-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; }
.visual-1 .visual-bg { background-image: linear-gradient(135deg,#3d4a3a,#28332a); }
.visual-2 .visual-bg { background-image: linear-gradient(135deg,#5a6b5a,#2f3a2d); }
.visual-3 .visual-bg { background-image: linear-gradient(135deg,#4a5568,#2d3748); }
.visual-4 .visual-bg { background-image: linear-gradient(135deg,#6b5d4a,#332b1f); }
.visual-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); z-index: 1; }
.frame-label { position: relative; z-index: 2; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 400; color: rgba(255,255,255,0.92); font-size: clamp(18px,2.4vw,30px); text-align: center; padding: 0 24px; will-change: transform; }
.frame-label span { display: inline-block; opacity: 0; transform: translateY(24px); transition: opacity 1.8s ease, transform 1.8s ease; }
.visual.in .frame-label span { opacity: 1; transform: translateY(0); }

/* details strip (dates / group / price) */
.details { background: var(--paper-warm); padding: 40px clamp(28px,8vw,120px); display: flex; flex-direction: column; position: relative; z-index: 2; }
.details-row { display: flex; gap: 48px; flex-wrap: wrap; }
.detail label { display: block; font-size: 11px; color: var(--stone); margin-bottom: 6px; }
.detail span { font-size: 15px; font-weight: 500; color: var(--ink); }
.detail .subline { display: block; font-size: 11px; font-weight: 400; color: var(--stone); margin-top: 6px; line-height: 1.4; max-width: 180px; }
/* inclusions block — sits beneath the fields, divided by a hairline rule */
.incl-divider { height: 1px; background: rgba(44,44,42,0.14); margin: 44px 0 40px; }
.incl-grid { display: flex; gap: clamp(40px,6vw,80px); }
.incl-col { flex: 1; }
.incl-col.notincl { flex: 0 0 34%; }
.incl-col .label { display: block; font-family: var(--body); font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: 0.22em; color: rgba(44,44,42,0.55); margin-bottom: 16px; }
.incl-col p { font-family: var(--body); font-weight: 300; font-size: 15px; line-height: 1.75; color: rgba(44,44,42,0.85); }
@media (max-width: 720px) { .incl-grid { flex-direction: column; gap: 32px; } .incl-col.notincl { flex: 1; } }

/* apply — framing copy + the overlay button */
.apply { background: var(--paper); padding: clamp(70px,10vw,120px) clamp(28px,8vw,120px); position: relative; z-index: 2; }
.apply .withhold { font-family: var(--display); font-weight: 400; font-size: clamp(21px,2.6vw,30px); line-height: 1.5; max-width: 540px; margin-bottom: 24px; }
.apply .note { font-size: 15px; color: var(--stone); max-width: 480px; margin-bottom: 14px; line-height: 1.9; }
.apply .note.firm { color: var(--ink); }
.typeform-inline { margin-top: 36px; }
.tf-open { display: inline-block; cursor: pointer; border: 1px solid var(--green-deep); background: var(--green-deep); color: var(--paper); font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; padding: 18px 42px; border-radius: 2px; -webkit-appearance: none; transition: background 0.4s ease, color 0.4s ease; }
.tf-open:hover { background: transparent; color: var(--green-deep); }
/* secondary "keep me close" capture — deliberately quiet, a small underlined
   text link beneath the solid primary button, so the application stays primary. */
.tf-secondary-wrap { margin-top: 22px; }
.tf-secondary { display: inline-block; cursor: pointer; background: none; border: none; border-bottom: 1px solid rgba(95,93,86,0.45); border-radius: 0; padding: 4px 1px; font-family: var(--body); font-weight: 400; font-size: 14px; letter-spacing: 0.02em; color: var(--stone); -webkit-appearance: none; transition: color 0.3s ease, border-color 0.3s ease; }
.tf-secondary:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 600px) { .typeform-inline { margin-top: 28px; } .tf-open { font-size: 13px; padding: 16px 34px; letter-spacing: 0.15em; } .tf-secondary-wrap { margin-top: 18px; } .tf-secondary { font-size: 13px; } }

/* scroll-reveal animation (applied to .reveal elements by circle.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s ease, transform 1.2s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
