/* Quiet Coast seasonal themes showcase, in the quietcoast.co.uk brand (shared base with booking/site/assets/site.css). */
@font-face { font-family: Manrope; src: url('manrope-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --paper: #f5f5ef; --ink: #132c2d; --muted: #526360; --teal: #126b65; --line: #cbd3c9; --acid: #dce9a2; --sage: #e4eadf;
  --space: clamp(16px, 5vw, 72px); --max: 1240px; --ease: cubic-bezier(.2, .7, .2, 1);
  --season: var(--teal);
  font-family: Manrope, Arial, sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid #287acc; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 550; letter-spacing: -.045em; line-height: 1.06; }
p { line-height: 1.65; }
.wrap { width: min(calc(100% - var(--space) * 2), var(--max)); margin-inline: auto; }
.eyebrow { font-size: 10.5px; letter-spacing: .14em; font-weight: 750; text-transform: uppercase; }
.skip { position: absolute; top: -100px; left: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 20; }
.skip:focus { top: 0; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 26px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 22px; font-weight: 700; letter-spacing: -1px; }
.brand img { width: 36px; }
.brand small { display: block; font-size: 8px; letter-spacing: 2px; font-weight: 650; margin-top: 2px; text-transform: uppercase; }
.site-header nav { display: flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 650; }
.site-header nav a { text-decoration: none; }
.pill { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 14px 24px; border-radius: 40px; font-weight: 700; font-size: 14px; border: 0; cursor: pointer; transition: background .2s; font-family: inherit; }
.pill:hover { background: var(--teal); }
.text-link { font-weight: 700; font-size: 14px; text-underline-offset: 5px; }

/* Hero, with the season's name rolling in */
.hero { padding-block: 22px 40px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 92px); max-width: 1180px; margin-top: 22px; }
.season-word { display: inline-block; color: var(--season); transition: color .6s; position: relative; }
.season-word [data-word] { display: inline-block; }
.season-word.is-rolling [data-word] { animation: qc-roll .7s var(--ease); }
@keyframes qc-roll { 0% { transform: translateY(.45em); opacity: 0; filter: blur(6px); } 100% { transform: none; opacity: 1; filter: none; } }
.hero-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 26px; flex-wrap: wrap; }
.hero-row p { max-width: 580px; font-size: 18px; color: var(--muted); }
.hero-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }

/* The theatre: a browser showing a real page going through the year */
.theatre-wrap { background: linear-gradient(180deg, var(--paper) 0, #dfe6da 140px, #dfe6da calc(100% - 120px), var(--paper) 100%); padding-block: 26px 40px; }
.theatre-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.site-tabs { display: flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; flex-wrap: wrap; }
.site-tabs button { font: inherit; font-size: 13.5px; font-weight: 700; border: 0; background: none; padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.site-tabs button[aria-selected='true'] { background: var(--ink); color: var(--paper); }
.play { font: inherit; font-size: 13px; font-weight: 700; display: inline-flex; gap: 9px; align-items: center; border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 8px 15px; cursor: pointer; color: var(--ink); }
.play-ico { width: 10px; height: 12px; border-left: 3.5px solid currentColor; border-right: 3.5px solid currentColor; }
.play[aria-pressed='false'] .play-ico { border: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; width: 0; height: 0; }

.theatre { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.browser { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px #17332f2e, 0 2px 6px #17332f14; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #fafaf7; border-bottom: 1px solid #e8ebe4; font-size: 12px; color: #5d6866; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d8d3; }
.browser-bar .url { margin-left: 10px; background: #f0f2ec; border-radius: 6px; padding: 4px 12px; flex: 1; max-width: 360px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-chip { margin-left: auto; font-weight: 750; font-size: 11px; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--chip-bg, #e7ece3); color: var(--chip-ink, var(--ink)); transition: background .6s, color .6s; white-space: nowrap; }
.screen { position: relative; overflow: hidden; background: #f3f3ee; aspect-ratio: 16 / 10; }
.screen iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; background: #fff; transition: opacity .35s; }
.screen.is-loading iframe { opacity: 0; }
.screen.is-phone { aspect-ratio: 390 / 700; }
.screen.is-phone iframe { width: 390px; height: 700px; }

.almanac { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 10px 30px #17332f14; position: sticky; top: 16px; }
.calendar { width: 112px; border-radius: 12px; overflow: hidden; text-align: center; box-shadow: 0 6px 18px #17332f1f; margin-bottom: 18px; background: #fff; border: 1px solid #e3e7df; }
.cal-month { display: block; background: var(--season); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 0; transition: background .6s; }
.cal-day { display: block; font-size: 46px; font-weight: 700; letter-spacing: -.04em; line-height: 1; padding-top: 10px; }
.cal-week { display: block; font-size: 11.5px; color: var(--muted); padding: 4px 0 10px; font-weight: 650; }
.calendar.is-flip { animation: qc-flip .6s var(--ease); }
@keyframes qc-flip { 0% { transform: perspective(400px) rotateX(-70deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.almanac-label { font-size: 24px; font-weight: 650; letter-spacing: -.03em; color: var(--season); transition: color .6s; }
.almanac-text { font-size: 14px; color: var(--muted); margin-top: 6px; min-height: 5.1em; }
.stops { list-style: none; margin: 18px 0 0; padding: 0; position: relative; display: grid; gap: 2px; }
.stops::before { content: ''; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: #e3e7df; }
.stops li { position: relative; }
.stops button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 6px 4px 6px 0; cursor: pointer; font-size: 13.5px; font-weight: 650; border-radius: 6px; }
.stops button:focus-visible { outline: 3px solid #287acc; }
.stops .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #cfd6cc; position: relative; z-index: 1; transition: background .4s, border-color .4s, transform .4s; }
.stops .when { font-size: 12px; color: var(--muted); font-weight: 600; }
.stops li.is-past .dot { border-color: var(--dot); background: var(--dot); }
.stops li.is-now .dot { border-color: var(--dot); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 25%, transparent); transform: scale(1.12); }
.stops li.is-now .dot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--dot); }
.stops li.is-now button { color: var(--ink); }
.stops li:not(.is-now) button { color: #3c4c4b; }
.stops .bar { position: absolute; left: 9px; top: 12px; width: 2px; background: var(--season); height: var(--progress, 0); transition: height .5s var(--ease), background .6s; z-index: 0; }
.theatre-note { font-size: 13px; color: var(--muted); margin-top: 16px; max-width: 760px; }

/* Sections */
.section { padding-block: 90px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 62px); max-width: 760px; margin-top: 14px; }
.section-head p { max-width: 420px; color: var(--muted); font-size: 15px; }
.changes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.changes article { border-top: 1px solid var(--ink); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.changes .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--acid); display: grid; place-items: center; color: var(--ink); }
.changes .ico svg { width: 22px; height: 22px; }
.changes h3 { font-size: 22px; }
.changes p { font-size: 14px; color: var(--muted); }

.seasons-band { background: #fff; }
.seasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.season-card { border-radius: 10px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--bg); color: var(--ink2); position: relative; overflow: hidden; min-height: 220px; isolation: isolate; }
.season-card .art { position: absolute; right: -6px; top: -6px; width: 120px; height: 90px; opacity: .95; z-index: -1; }
.season-card .art svg { width: 100%; height: 100%; }
.season-card .dates { font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.season-card h3 { font-size: 30px; }
.season-card h3 small { display: block; font-size: 14px; letter-spacing: 0; font-weight: 600; opacity: .75; margin-top: 4px; }
.season-card p { font-size: 14px; opacity: .88; max-width: 34ch; }
.season-card button { justify-self: start; margin-top: 6px; font: inherit; font-size: 13px; font-weight: 750; border: 1.5px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.season-card button:hover { background: var(--ink2); color: var(--bg); }
.season-card .tag { position: absolute; left: 24px; bottom: 18px; font-size: 11px; font-weight: 700; opacity: .7; }
.more { margin-top: 26px; color: var(--muted); font-size: 15px; max-width: 760px; }

.dark { background: var(--ink); color: var(--paper); }
.dark .section-head p { color: #c7d2c8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.steps article { border-top: 1px solid #6a7b74; padding-top: 22px; counter-increment: step; }
.steps article::before { content: counter(step, decimal-leading-zero); font-size: 12px; font-weight: 750; letter-spacing: .1em; color: var(--acid); }
.steps h3 { font-size: 26px; margin: 12px 0; }
.steps p { color: #c7d2c8; font-size: 14.5px; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 70px; }
.why article { border-top: 1px solid #53635b; padding-top: 20px; }
.why h3 { font-size: 23px; color: var(--acid); margin-bottom: 10px; }
.why p { font-size: 14px; color: #c7d2c8; }
.cta-band { background: var(--acid); padding-block: 80px; }
.cta-band h2 { font-size: clamp(40px, 6.2vw, 92px); max-width: 1000px; margin-top: 16px; }
.cta-band .hero-ctas { margin-top: 34px; }
.site-footer { padding-block: 44px; display: flex; justify-content: space-between; gap: 30px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.site-footer span:last-child { max-width: 640px; }
.site-footer a { text-underline-offset: 4px; }

@media (max-width: 1080px) {
  .theatre { grid-template-columns: 1fr; }
  .almanac { position: static; display: grid; grid-template-columns: auto 1fr; gap: 0 20px; }
  .almanac .calendar { grid-row: span 2; margin: 0; }
  .almanac .stops { grid-column: 1 / -1; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
  .stops::before, .stops .bar { display: none; }
  .stops button { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; font-size: 12px; padding: 4px 0; }
  .changes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header nav a:not(.pill) { display: none; }
  .site-header .pill { padding: 11px 16px; }
  .changes, .seasons, .steps, .why { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .almanac .stops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .almanac { grid-template-columns: 1fr; }
  .almanac .calendar { display: none; }
  .theatre-top { flex-direction: column; align-items: stretch; }
  .site-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; }
  .site-tabs button { padding: 8px 6px; font-size: 12px; line-height: 1.25; border-radius: 12px; }
  .play { align-self: flex-start; }
  .browser-bar .url { max-width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .season-word.is-rolling [data-word], .calendar.is-flip { animation: none; }
}
