/* toursbyneumann.com — public site + base styles for the control panel.
   The shell is neumannlimo.com's, set in old-style wine-label serifs: Cormorant
   Garamond for display, EB Garamond for text (the control panel keeps a sans, see
   admin.css). Two
   gold dots, scrolling ticker with a gold bar, dash + label + heading, square blocks,
   6px buttons, big footer. Daylight instead of black: cream page, vineyard-green
   blocks, the same brand gold.
   Inside the pages: few big edge-to-edge pictures, no frames, no boxed-up text. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=EB+Garamond:wght@400;500;600;700&display=swap');

:root {
  --cream: #FBF7EF;
  --cream-2: #F3ECDF;
  --paper: #FFFFFF;
  --ink: #18261F;
  --ink-2: #33433B;
  --muted: #62706A;
  --line: #E2D9C8;
  --sage: #DDE8DF;
  --green: #183A30;
  --green-2: #2D5B4C;
  --green-3: #3D7462;
  --green-ink: #102A22;
  --gold: #F6D032;
  --gold-2: #E9BE1C;
  --gold-ink: #101010;
  --coral: #B9542F;
  --danger: #B3402F;
  --radius: 0px;
  --radius-sm: 6px;
  --font: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --wordmark: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --head-weight: 600;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink-2); font-family: var(--font); font-size: 18px; line-height: 1.65; font-weight: 400; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--head-weight); line-height: 1.15; margin: 0; color: var(--green); }
p { margin: 0; }
.wrap { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; appearance: textfield; }

/* ── moving between pages: the tour picture carries across ──────────────── */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
.site-head { view-transition-name: site-head; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .ticker ul { animation: none !important; }
  .step-in { animation: none !important; }
}

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: 600 17.5px/1 var(--font); padding: 15px 24px; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-line:hover { background: #fff; color: var(--green); }
.btn-sm { padding: 10px 15px; font-size: 15.5px; }
.btn-danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 2px #E3BDB3; }
.btn-danger:hover { background: var(--danger); color: #fff; box-shadow: none; }
.chip { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 700; padding: 4px 9px; border-radius: 3px; background: var(--sage); color: var(--green); }
.chip.gold { background: #FBEBA6; color: #4A3B00; }
.chip.coral { background: #F4DCD2; color: #7A3622; }
.chip.grey { background: #EAE5DA; color: #5D5A52; }

/* ── header: same two-tier shell as neumannlimo.com ──────────────────────── */
.site-head { position: fixed; inset: 0 0 auto 0; z-index: 40; color: #fff; transition: background .25s; }
.site-head.solid { background: var(--green); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.45); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; }
.topbar a { color: #fff; text-decoration: none; }
.socials { display: flex; gap: 14px; align-items: center; }
.socials svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.socials a:hover, .topinfo a:hover { color: var(--gold); }
.topinfo { display: flex; gap: 24px; align-items: center; font-size: 16.5px; font-weight: 600; }
.topinfo svg { width: 15px; height: 15px; fill: var(--gold); margin-right: 7px; vertical-align: -2px; display: inline-block; }
.mainbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 84px; }
.site-head.solid .topbar { display: none; }
.site-head.solid .mainbar .wrap { height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { height: 42px; width: auto; }
.brand { flex-shrink: 0; }
.brand img.brand-logo { height: 46px; }
.brand-div { width: 1px; height: 46px; background: rgba(255,255,255,.45); margin: 0 4px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--wordmark); font-weight: 600; font-size: 36px; letter-spacing: .005em; color: inherit; }
.brand-name i { font-family: var(--wordmark); font-style: italic; font-weight: 600; font-size: 17px; letter-spacing: .01em; color: var(--gold); margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { position: relative; color: #fff; font-weight: 600; font-size: 16.5px; text-decoration: none; white-space: nowrap; }
.site-nav a:not(.btn)::before { content: ''; position: absolute; left: -13px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: currentColor; }
.site-nav a:not(.btn):hover { color: var(--gold); }
@media (max-width: 860px) {
  .site-nav a:not(.btn) { display: none; }
  .topbar .socials { display: none; }
  .topbar .wrap { justify-content: center; height: 38px; }
  .topinfo { font-size: 15.5px; gap: 18px; }
  .mainbar .wrap { height: 68px; }
  .brand img { height: 34px; }
  .brand img.brand-logo { height: 30px; }
  .brand-div { height: 32px; margin: 0; }
  .brand { gap: 9px; }
  .brand-name b { font-size: 25px; }
  .brand-name i { font-size: 13.5px; margin-top: 3px; }
}

/* ── hero: the picture is the page ───────────────────────────────────────── */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: center; background: var(--green); overflow: hidden; }
.hero-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 65%; }
.hero::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(12,30,24,.82) 0%, rgba(12,30,24,.6) 32%, rgba(12,30,24,.12) 60%, rgba(12,30,24,0) 75%),
  linear-gradient(180deg, rgba(12,30,24,.62) 0%, rgba(12,30,24,0) 26%); }
.hero .wrap { padding-top: 150px; padding-bottom: 60px; }
.dots { display: flex; gap: 10px; margin-bottom: 18px; }
.dots span { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(46px, 6.2vw, 84px); letter-spacing: 0; line-height: 1.04; max-width: 11ch; }
.hero p.lede { color: #fff; font-size: clamp(17px, 1.7vw, 20px); max-width: 44ch; margin-top: 18px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 760px) {
  /* Phones: headline on green up top, then the picture itself, undimmed. */
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero::after { display: none; }
  .hero .wrap { order: 1; padding-top: 128px; padding-bottom: 28px; }
  .hero-pic { order: 2; position: static; height: 62vw; object-position: 90% 70%; }
  .dots span { width: 20px; height: 20px; }
  .hero h1 { max-width: none; }
}

/* ── ticker (neumannlimo.com's sliding text) ─────────────────────────────── */
.ticker { position: relative; z-index: 3; background: var(--green); border-bottom: 5px solid var(--gold); overflow: hidden; padding: 15px 0; }
.ticker ul { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: ticker 44s linear infinite; }
.ticker li { color: #fff; font-size: 19.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; padding-right: 44px; }
.ticker li::before { content: '*'; color: var(--gold); margin-right: 4px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── gold road line that carries on down the page from the photo ─────────── */
.page { position: relative; }
#road { position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; overflow: visible; }
#road path { fill: none; stroke-linecap: round; }
#road .edge { stroke: var(--gold); stroke-width: 7; }
#road .mid { stroke: var(--cream); stroke-width: 2; }
@media (max-width: 1100px) { #road { display: none; } }

/* ── section heading: dash, label, big heading ───────────────────────────── */
.section { position: relative; padding: 90px 0; }
.head { max-width: 760px; margin-bottom: 44px; }
.head .label { display: block; font-size: 17.5px; font-weight: 700; color: var(--green); }
.head .label::before { content: ''; display: block; width: 44px; height: 4px; background: var(--gold); margin-bottom: 12px; }
.head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 6px; }
.head p { margin-top: 12px; font-size: 18.5px; }
.on-green h2, .on-green h3 { color: var(--gold); }
.on-green, .on-green p, .on-green .label { color: #fff; }
@media (max-width: 760px) { .section { padding: 56px 0; } .wrap { padding: 0 18px; } }

/* ── tours: big rows, picture to the screen edge, one leads into the next ── */
.trips { display: grid; gap: 70px; }
.trip { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 64px); text-decoration: none; color: inherit; }
.trip:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.trip:nth-child(even) .trip-pic { order: 2; }
.trip-pic { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sage); }
.trip-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.trip:hover .trip-pic img { transform: scale(1.03); }
.trip-text { padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px)) 0 0; }
.trip:nth-child(even) .trip-text { padding: 0 0 0 max(24px, calc((100vw - 1180px) / 2 + 24px)); }
.trip-when { font-size: 16.5px; font-weight: 700; color: var(--green-3); text-transform: uppercase; letter-spacing: .06em; }
.trip h3 { font-size: clamp(30px, 3.2vw, 44px); margin: 8px 0 10px; letter-spacing: 0; }
.trip-from { font-size: 17.5px; }
.trip-buy { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; }
.price { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--green); line-height: 1; }
.price small { font-size: 15.5px; font-weight: 600; color: var(--muted); }
.left { font-size: 15.5px; font-weight: 700; color: var(--green-3); }
.left.low { color: var(--coral); }
.left.none { color: var(--muted); }
.trip .btn { margin-top: 20px; }
@media (max-width: 860px) {
  .trips { gap: 48px; }
  .trip, .trip:nth-child(even) { grid-template-columns: 1fr; gap: 18px; }
  .trip:nth-child(even) .trip-pic { order: 0; }
  .trip-text, .trip:nth-child(even) .trip-text { padding: 0 18px; }
}
.none-yet { position: relative; z-index: 2; max-width: 680px; }
.none-yet h3 { font-size: 28px; }
.none-yet p { margin-top: 10px; font-size: 18.5px; }

/* ── how it works: three beats on one line, not three boxes ──────────────── */
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 4px solid var(--green); }
.beat { padding-top: 22px; }
.beat b { display: block; font-size: 16.5px; font-weight: 700; color: var(--green-3); }
.beat h3 { font-size: 25px; margin: 6px 0 8px; }
@media (max-width: 760px) { .beats { grid-template-columns: 1fr; gap: 26px; } }

/* ── full-width split: picture to the edge, text on green ────────────────── */
.split { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; background: var(--green); }
.split-pic { position: relative; min-height: 460px; }
.split-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 10px; bottom: 10px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(10,10,12,.6); padding: 3px 9px; border-radius: 4px; }
.split-text { padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 76px); align-self: center; max-width: 660px; }
.split-text .head { margin-bottom: 20px; }
.split-text ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; color: #fff; font-weight: 600; }
.split-text li { display: flex; gap: 12px; }
.split-text li::before { content: ''; flex: 0 0 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--gold); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-pic { min-height: 0; aspect-ratio: 16 / 9; } }

/* ── closing call to action ──────────────────────────────────────────────── */
.cta { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta .head { margin: 0; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.site-foot { position: relative; z-index: 3; color: #fff; padding: 56px 0 26px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 14px), var(--green-ink); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-top .socials a { width: 46px; height: 46px; border-radius: 50%; background: #0A1B16; display: grid; place-items: center; color: #fff; }
.foot-top .socials a:hover { color: var(--gold); }
@media (max-width: 560px) { .foot-top .socials a { width: 38px; height: 38px; } .foot-top .socials { gap: 8px; } }
.foot-mid { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding: 34px 0; align-items: center; }
.foot-ask { font-size: clamp(19px, 2vw, 24px); }
.foot-ask a { display: block; color: var(--gold); text-decoration: none; font-weight: 700; margin-top: 4px; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 60px; }
.foot-links a { color: #fff; text-decoration: none; font-size: 16.5px; }
.foot-links a:hover { color: var(--gold); }
.fine { font-size: 15.5px; color: #B9CCC0; }
.fine b { color: var(--gold); font-weight: 600; }

/* ── forms (shared with the control panel) ───────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15.5px; font-weight: 700; color: var(--green); }
.field .hint { font-size: 14px; color: var(--muted); font-weight: 500; }
.input, .field input, .field select, .field textarea { width: 100%; font: 500 17.5px/1.4 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 6px; padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 84px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-3); box-shadow: 0 0 0 3px rgba(61,116,98,.18); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.msg { border-radius: 6px; padding: 12px 14px; font-size: 16px; font-weight: 600; }
.msg.err { background: #FBE7E2; color: #8A2E1F; }
.msg.ok { background: var(--sage); color: var(--green); }
.msg.info { background: #FBF0BD; color: #4A3B00; }
.empty-card { padding: 40px 10px; text-align: center; max-width: 640px; margin: 0 auto; }
.empty-card h3 { font-size: 26px; }
.empty-card p { margin-top: 10px; }

/* Narrow phones: both logos and the button can't share one row. */
@media (max-width: 374px) {
  .mainbar .btn { display: none; }
}
