/* THE FESTIVALS PAGE'S OWN LOOK (27 October 2026, Tom's choice of the "Field map"
   design after three rounds of options). Its own frame and its own colours, on
   purpose apart from the wedding site's champagne look; nothing in site.css
   reaches this page and nothing here reaches any other. Built by
   tools/site/build.py, which writes festivals.html. */
  :root { --cream: #FFF8EC; --paper: #FFFFFF; --ink: #1C1A2E; --muted: #6A6578; --line: #EDE4D3; --teal: #1F8A8A; --teal-d: #0F6E56; --teal-s: #E1F5EE; --coral: #FF5A36; --coral-d: #C2381A; --coral-s: #FFE9E2; --sun: #E0A800; --map: #EAF3EA; }
  * { box-sizing: border-box; margin: 0; }
  body { background: var(--cream); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
  .disp { font-family: "Avenir Next", "Segoe UI", Roboto, -apple-system, sans-serif; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
  .muted { color: var(--muted); }
  .icn { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 14px 22px; border-radius: 14px; background: var(--ink); color: var(--cream); text-decoration: none; min-height: 48px; }
  .btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
  .chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 99px; }
  .tag { background: var(--teal); color: #fff; }
  .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px rgba(255,90,54,.22); }

  header.bar { position: sticky; top: 0; z-index: 5; background: rgba(247,181,138,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
  header.bar .wrap { display: flex; align-items: center; gap: 14px; height: 64px; }
  .mark { font-family: "Avenir Next", "Segoe UI", Roboto, -apple-system, sans-serif; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
  header nav { display: none; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
  header nav a { color: var(--ink); text-decoration: none; }
  header .btn { margin-left: auto; padding: 10px 16px; min-height: 42px; font-size: 14.5px; }

  .hero { padding: 34px 0 20px; }
  /* Golden hour: the main stage at sunset behind the opening */
  .herobg { position: relative; overflow: hidden; background: #F7B58A; }
  .herobg .scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; }
  .herobg .bunting { position: relative; z-index: 1; display: block; width: 100%; height: 30px; }
  .herobg > .wrap { position: relative; z-index: 1; padding-bottom: 150px; }
  .hero .chip.live { background: var(--ink); color: var(--cream); }
  .hero .note { color: var(--ink); opacity: .85; }
  .hero h1 { font-size: 46px; margin: 14px 0 14px; } .hero h1 em { font-style: normal; color: var(--cream); }
  .hero .lede { font-size: 18px; line-height: 1.5; max-width: 34em; }
  .hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 10px; }
  .hero .ctas .btn { flex: 1 1 160px; }
  .hero .note { font-size: 13.5px; }
  .stage { position: relative; margin-top: 28px; }
  .phone { position: relative; margin: 0 auto; width: 248px; color: var(--ink); background: var(--paper); border: 7px solid var(--ink); border-radius: 34px; padding: 14px 12px 12px; box-shadow: 0 24px 50px rgba(28,26,46,.18); }
  .phone .ph-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
  .phone h4 { font-size: 15px; margin-bottom: 2px; }
  .phone .seg { display: flex; background: #F4EDDF; border-radius: 11px; padding: 3px; margin: 10px 0; font-size: 11px; font-weight: 700; }
  .phone .seg span { flex: 1; text-align: center; padding: 6px 2px; border-radius: 8px; white-space: nowrap; } .phone .seg span.on { background: #fff; }
  .match { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--cream); margin-bottom: 8px; }
  .ava { display: flex; } .ava i { width: 26px; height: 26px; border-radius: 50%; margin-right: -7px; border: 2px solid #fff; font-style: normal; font-size: 9.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .match b { font-size: 12.5px; display: block; } .match small { font-size: 11px; color: var(--muted); }
  .phone .btn { width: 100%; font-size: 13px; padding: 10px; min-height: 38px; border-radius: 11px; background: var(--teal); }
  .phone .fine { font-size: 10.5px; text-align: center; margin-top: 7px; color: var(--muted); }

  section { padding: 56px 0 0; }
  .eyebrow { font-size: 12px; letter-spacing: .16em; font-weight: 800; color: var(--teal); text-transform: uppercase; }
  h2 { font-size: 32px; margin: 10px 0 12px; }
  .sub { font-size: 17px; line-height: 1.5; max-width: 38em; }
  .three { display: grid; gap: 12px; margin-top: 24px; }
  .tile { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
  .tile .ic { width: 44px; height: 44px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
  .tile h3 { font-size: 18px; margin-bottom: 6px; } .tile p { font-size: 15px; line-height: 1.45; color: var(--muted); }
  .steps { counter-reset: s; display: grid; gap: 12px; margin-top: 24px; }
  .step { display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 18px; }
  .step::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cream); font-weight: 800; display: flex; align-items: center; justify-content: center; }
  .step h3 { font-size: 17px; margin-bottom: 4px; } .step p { font-size: 15px; color: var(--muted); line-height: 1.45; }

  .dash { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
  .dash .chrome { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); align-items: center; }
  .dash .chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
  .dash .chrome span { margin-left: 10px; font-size: 12px; color: var(--muted); }
  .dash .body { padding: 16px; display: grid; gap: 12px; }
  .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { background: var(--cream); border-radius: 16px; padding: 14px; }
  .kpi small { font-size: 12.5px; color: var(--muted); display: block; } .kpi b { font-size: 26px; letter-spacing: -.02em; display: block; margin-top: 4px; } .kpi em { font-style: normal; font-size: 12px; color: var(--teal-d); font-weight: 700; }
  .panel { background: var(--cream); border-radius: 16px; padding: 14px; }
  .panel h4 { font-size: 13.5px; margin-bottom: 10px; }
  .bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
  .bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
  .bars span { width: 100%; border-radius: 8px 8px 4px 4px; background: var(--teal); }
  .bars span.lt { background: #9FD4CB; }
  .hlist div { display: grid; grid-template-columns: 90px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; }
  .hlist span { height: 8px; border-radius: 99px; background: #F0E6D3; overflow: hidden; } .hlist span i { display: block; height: 100%; background: var(--coral); border-radius: 99px; }
  .sample { font-size: 12px; color: var(--muted); padding: 0 16px 14px; }

  .trust { display: grid; gap: 10px; margin-top: 24px; }
  .trust > div { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
  .trust h3 { font-size: 16px; margin-bottom: 3px; } .trust p { font-size: 15px; color: var(--muted); line-height: 1.45; }

  .pilot { margin-top: 56px; background: var(--ink); color: var(--cream); border-radius: 28px; padding: 30px 22px; position: relative; overflow: hidden; }
  .pilot h2 { color: var(--cream); } .pilot .sub { color: #D9D3C6; }
  .pilot ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 8px; font-size: 15px; }
  .pilot li { display: flex; gap: 10px; align-items: center; } .pilot li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
  .pilot .btn { background: var(--cream); color: var(--ink); }
  .pilot svg.deco { position: absolute; right: -40px; top: -30px; width: 260px; opacity: .18; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .chips .chip { background: var(--paper); border: 1px solid var(--line); font-size: 13.5px; padding: 8px 14px; }
  footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

  @media (min-width: 900px) {
    header nav { display: flex; } header .btn { margin-left: 8px; }
    .hero { padding: 64px 0 40px; }
    .hero .grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
    .hero h1 { font-size: 72px; }
    .hero .ctas .btn { flex: 0 0 auto; }
    .stage { margin-top: 0; }
    .phone { margin: 0 0 0 auto; width: 262px; }
    .herobg .scene { height: 520px; }
    .herobg > .wrap { padding-bottom: 290px; }
    section { padding-top: 96px; }
    h2 { font-size: 44px; }
    .three, .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .dash .body { grid-template-columns: 1.15fr 1fr; padding: 22px; gap: 16px; }
    .kpis { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
    .trust { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
    .pilot { padding: 52px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
    .pilot ul { margin: 0 0 22px; }
  }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; z-index: 10; }
  .skip:focus { left: 8px; }
  a:focus-visible, .btn:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
  html { scroll-behavior: smooth; } [id] { scroll-margin-top: 80px; }
  footer a { color: inherit; }
  footer .legal { margin: 0; }
  .mark { color: var(--ink); text-decoration: none; }
