/* Manchester Wine Festival – site styles */
:root {
  --pink: #FF1F69;
  --pink-dark: #A80035;
  --blush: #FDE6EC;
  --card: #FFF6F8;
  --line: #F6C6D3;
  --navy: #0E0B33;
  --muted: #3B3560;
  --black: #0A0A0A;
  --display: 'League Spartan', 'Arial Black', sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html { background: #FBD3DF; }
body { margin: 0; font-family: var(--body); font-weight: 500; color: var(--navy); background: transparent; line-height: 1.5; position: relative; }

/* Liquid background: a glass of rosé */
.liquid { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: linear-gradient(180deg, #FDE9EF 0%, #FBD6E1 30%, #F9C4D3 65%, #F7B9CB 100%); }
.liquid::before, .liquid::after { content: ''; position: absolute; inset: -30%; }
.liquid::before { /* light playing through the wine */
  background:
    radial-gradient(40% 30% at 22% 30%, rgba(255,255,255,0.55), transparent 70%),
    radial-gradient(35% 28% at 78% 55%, rgba(255,255,255,0.40), transparent 70%),
    radial-gradient(30% 25% at 45% 80%, rgba(255,255,255,0.30), transparent 70%);
  animation: swirl 22s ease-in-out infinite alternate; }
.liquid::after { /* deeper colour pooling at the bottom of the glass */
  background:
    radial-gradient(60% 40% at 30% 95%, rgba(255,31,105,0.22), transparent 70%),
    radial-gradient(50% 35% at 85% 85%, rgba(200,0,63,0.14), transparent 70%);
  animation: swirl 30s ease-in-out infinite alternate-reverse; }
.liquid svg { position: absolute; left: 0; width: 200%; height: 90px; }
.liquid .wave-a { top: 70px; animation: slosh 14s linear infinite; opacity: 0.9; }
.liquid .wave-b { top: 78px; animation: slosh 20s linear infinite reverse; opacity: 0.6; }
@keyframes swirl { 0% { transform: translate(0,0) rotate(0deg) scale(1); } 50% { transform: translate(3%, -2%) rotate(6deg) scale(1.05); } 100% { transform: translate(-3%, 2%) rotate(-5deg) scale(1.02); } }
@keyframes slosh { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .liquid::before, .liquid::after, .liquid svg { animation: none; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-dark); }
a:hover { color: #8F002D; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.95; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 10px 14px; }

/* Header */
.site-header { background: var(--black); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.brand-logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--blush); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a[aria-current="page"] { color: var(--pink); text-decoration: underline; text-underline-offset: 5px; }
.nav a.nav-cta { background: var(--pink); color: var(--navy); padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 2px solid var(--blush); color: var(--blush); border-radius: 999px; padding: 8px 16px; font: 700 15px var(--body); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; text-align: center; }
.btn-navy { background: var(--navy); color: var(--blush); }
.btn-navy:hover { background: #221D5C; color: var(--blush); }
.btn-pink { background: var(--pink); color: var(--navy); }
.btn-pink:hover { background: #FF4D87; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Shared blocks */
.section { padding-top: clamp(48px, 7vw, 80px); }
.section:last-of-type { padding-bottom: clamp(56px, 8vw, 88px); }
.kicker { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-dark); font-size: 15px; }
.page-head { padding-top: clamp(48px, 7vw, 76px); display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(32px, 9.5vw, 104px); overflow-wrap: break-word; }
.lede { font-size: clamp(17px, 2vw, 20px); max-width: 760px; }
.h2 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 24px; }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: 20px; padding: 28px; }
.card h3 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; line-height: 1.05; }
.panel-navy { background: var(--navy); color: var(--blush); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.panel-pink { background: var(--pink); color: var(--navy); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.panel-navy a:not(.btn) { color: var(--pink); }
.panel-pink a:not(.btn) { color: var(--navy); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 28px; }

/* Home hero */
.hero { text-align: center; padding-top: clamp(56px, 9vw, 96px); display: grid; justify-items: center; gap: 26px; }
.badge { background: var(--navy); color: var(--blush); padding: 10px 22px; border-radius: 999px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }
.hero-tags { font-family: var(--display); font-weight: 800; text-transform: uppercase; color: var(--pink-dark); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.35; max-width: 900px; }
.hero h1 { font-size: clamp(38px, 11.5vw, 150px); line-height: 0.88; letter-spacing: -0.02em; }
.hero-date { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-dark); font-size: clamp(15px, 2vw, 22px); }
.hero .btn-row { justify-content: center; }
.sponsor-band h2 { font-size: clamp(40px, 6vw, 60px); margin: 6px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0 auto 24px; max-width: 1100px; }
.chips li { background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 20px; font-weight: 600; }
.center { text-align: center; }
.info h3 { font-size: 30px; }

/* Exhibitors */
.sponsor-feature { display: grid; grid-template-columns: 1fr 1.3fr; overflow: hidden; padding: 0; }
.sponsor-feature .art { background: #FF5C92; min-height: 320px; display: grid; place-items: center; padding: 32px; }
.sponsor-feature .art span { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 9vw, 110px); line-height: 0.85; text-transform: uppercase; color: var(--navy); opacity: 0.18; text-align: center; }
.sponsor-feature .copy { padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
.sponsor-feature h2 { font-size: clamp(44px, 6vw, 64px); }
details.brand { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
details.brand.food { background: var(--navy); color: var(--blush); border-color: var(--navy); }
details.brand summary { list-style: none; cursor: pointer; padding: 22px 22px 18px; display: grid; gap: 8px; min-height: 150px; align-content: start; }
details.brand summary::-webkit-details-marker { display: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.05; text-transform: uppercase; }
.brand-detail { font-size: 14px; font-weight: 700; color: var(--pink-dark); }
.food .brand-detail { color: var(--pink); }
.brand-cue { font-size: 14px; font-weight: 700; margin-top: 6px; }
.brand-cue::after { content: 'Read more +'; }
details[open] .brand-cue::after { content: 'Close \2715'; }
.brand-body { padding: 14px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; line-height: 1.55; }
.food .brand-body { border-top-color: #2E2A5C; }
.food .brand-body a { color: var(--pink); }
.brand-body a { font-weight: 700; font-size: 14px; }
.more-card { background: var(--navy); color: var(--blush); border-radius: 18px; padding: 22px; min-height: 150px; display: grid; align-content: center; gap: 8px; }
.more-card a { color: var(--pink); font-weight: 700; }

/* Masterclasses */
.timetable { display: grid; gap: 12px; }
.tt-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.tt-head { font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-dark); }
.tt-time { font-family: var(--display); font-weight: 800; font-size: 26px; padding-top: 20px; }
.slot { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.slot.room2 { background: var(--navy); color: var(--blush); border-color: var(--navy); }
.slot-title { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.05; text-transform: uppercase; }
.slot-host { font-size: 15px; font-weight: 600; }
.slot-room { display: none; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-dark); }
.slot.room2 .slot-room { color: var(--pink); }
.session-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 20px; }
.session-head h2 { font-size: clamp(34px, 5vw, 46px); }
.session-head span { font-weight: 700; font-size: 18px; color: var(--pink-dark); }

/* Tickets */
.ticket h2 { font-size: clamp(40px, 6vw, 56px); margin: 8px 0 12px; }
.ticket .btn { margin-top: 18px; display: block; }
.feature { display: flex; gap: 18px; }
.feature .icon { font-size: 34px; line-height: 1; }
.feature h3 { font-size: 26px; }

/* Visit */
.map { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: 24px; }
.visit-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.stack { display: grid; gap: 16px; align-content: start; }

/* Forms */
.signup { max-width: 780px; margin: 0 auto; display: grid; gap: 18px; }
.signup h1 { font-size: clamp(44px, 7vw, 64px); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 15px; }
.field input { font: inherit; font-size: 17px; padding: 16px 18px; border-radius: 12px; border: 2px solid transparent; background: var(--blush); color: var(--navy); }
.field input:focus { border-color: var(--pink); outline: none; }
.check { display: flex; gap: 12px; align-items: center; }
.check input { width: 22px; height: 22px; accent-color: var(--pink); }
.signup button { font: inherit; background: var(--pink); color: var(--navy); border: 0; padding: 18px; border-radius: 999px; font-weight: 700; font-size: 18px; cursor: pointer; }

/* Blog */
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; padding: 0; }
.post-feature .art { background: #FF5C92; min-height: 300px; }
.post-feature .copy { padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
.post-feature h2 { font-size: clamp(34px, 4.5vw, 48px); }
.post .tag { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-dark); margin-bottom: 8px; }
.post h3 { font-size: 26px; line-height: 1.02; margin-bottom: 12px; }
.soon { font-weight: 700; font-size: 14px; color: var(--muted); }

/* Articles */
.article { max-width: 820px; padding-top: clamp(48px, 7vw, 76px); }
.article h1 { font-size: clamp(34px, 6vw, 64px); margin: 14px 0 18px; line-height: 0.98; }
.article .dek { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; margin-bottom: 32px; }
.article-body { display: grid; gap: 20px; font-size: 18px; line-height: 1.7; max-width: 68ch; }
.article-body h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1; margin-top: 16px; }
.article-body a { font-weight: 700; }
.post h3 a { color: inherit; text-decoration: none; }
.post h3 a:hover { color: var(--pink-dark); }

/* App tools */
details.brand summary { position: relative; padding-right: 64px; }
.fav { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--pink-dark); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.food .fav { background: transparent; border-color: #2E2A5C; color: var(--pink); }
.fav[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: var(--navy); }
.add-slot { justify-self: start; margin-top: 8px; font: 700 14px var(--body); padding: 9px 14px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.add-slot[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: var(--navy); }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.tool-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tool-head h2 { font-size: clamp(30px, 4vw, 40px); }
.tool-sub { margin: 6px 0 16px; font-weight: 600; }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tool-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.tool-row > span, .tool-row .check span { display: grid; flex: 1; }
.tool-row small, .note small { font-weight: 600; color: var(--pink-dark); }
.tool-row.done strong { text-decoration: line-through; opacity: 0.6; }
.tool-time { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--pink-dark); }
.tool-remove { margin-left: auto; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 999px; border: 0; background: var(--blush); color: var(--navy); font-size: 15px; cursor: pointer; }
.tool .check { flex: 1; }
.empty { font-weight: 600; color: var(--muted); }
.warn { background: var(--navy); color: var(--blush); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; }
.note-form { display: grid; gap: 16px; margin: 16px 0 24px; }
.note-form input[type=text], .note-form select, .note-form textarea { font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); width: 100%; }
.note-form input:focus, .note-form select:focus, .note-form textarea:focus { border-color: var(--pink); outline: none; }
fieldset.rating { border: 0; padding: 0; margin: 0; }
fieldset.rating legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 34px; line-height: 1; color: #E9B3C3; cursor: pointer; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--pink); }
.stars-input input:focus-visible + label { outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 4px; }
.note { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 60px 14px 16px; display: grid; gap: 4px; }
.note .tool-remove { position: absolute; top: 12px; right: 12px; }
.note-head { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.stars { color: var(--pink); letter-spacing: 2px; }
.stars .off { color: #E9B3C3; }
@media (max-width: 820px) { .tools { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--black); color: var(--blush); margin-top: clamp(56px, 8vw, 88px); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding-top: 32px; padding-bottom: 32px; font-size: 15px; }
.site-footer img { height: 44px; width: auto; }
.site-footer a { color: var(--pink); }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: flex-start; padding: 8px var(--pad) 24px; gap: 18px; }
  .nav.open { display: flex; }
  .nav a { font-size: 19px; }
}
@media (max-width: 820px) {
  .grid-2, .grid-3, .visit-grid, .sponsor-feature, .post-feature { grid-template-columns: 1fr; }
  .split { flex-direction: column; align-items: flex-start; }
  .tt-row { grid-template-columns: 1fr; }
  .tt-row.tt-head { display: none; }
  .tt-time { padding-top: 14px; font-size: 24px; }
  .slot-room { display: block; }
  .sponsor-feature .art { min-height: 180px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  details.brand summary, .more-card { min-height: 0; }
  .brand-logo img { height: 42px; }
  .btn-row .btn { width: 100%; }
}
