:root {
  --paper: #f7f8f3;
  --white: #ffffff;
  --ink: #071b2f;
  --navy: #07336b;
  --blue: #0d4f94;
  --green: #0c5037;
  --green-light: #dcebd8;
  --yellow: #ffc946;
  --red: #d33842;
  --muted: #5d6b74;
  --line: rgba(7, 27, 47, .15);
  --display: "Oswald", Impact, sans-serif;
  --body: "DM Sans", Arial, sans-serif;
  --radius: 1.4rem;
  --shadow: 0 24px 70px rgba(8, 34, 53, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.5; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(5.5rem, 9vw, 9rem) 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 999; transform: translateY(-180%); padding: .8rem 1rem; border-radius: .5rem; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(247, 248, 243, .92); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: 196px; position: relative; z-index: 102; }
.brand img { width: 100%; height: 78px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.site-nav a { text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.4rem; height: 2px; background: var(--red); transition: right .25s ease; }
.site-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: .8rem 1.1rem; border-radius: 999px; background: var(--ink); color: white; display: inline-flex; gap: .9rem; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); font-weight: 700; position: relative; z-index: 102; }
.menu-toggle i, .menu-toggle i::after { display: block; width: 22px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-toggle i::after { transform: translateY(6px); }

.hero { min-height: 820px; position: relative; padding-top: 142px; overflow: hidden; background: linear-gradient(115deg, #f7f8f3 0%, #f7f8f3 62%, #e9f0e6 62%, #e9f0e6 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(12, 80, 55, .16); border-radius: 50%; top: -130px; right: 17%; box-shadow: 0 0 0 60px rgba(12, 80, 55, .025), 0 0 0 120px rgba(12, 80, 55, .02); }
.hero-noise { position: absolute; inset: 0; opacity: .24; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.055'/%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(3rem, 6vw, 6.4rem); align-items: center; position: relative; z-index: 1; }
.hero-copy { padding-bottom: 3rem; }
.eyebrow { margin: 0 0 1.65rem; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; display: flex; align-items: center; gap: .75rem; }
.eyebrow > span { width: 24px; height: 3px; background: var(--yellow); display: inline-block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; letter-spacing: -.025em; line-height: .95; }
h1 { font-size: clamp(4.25rem, 7.4vw, 7.3rem); margin-bottom: 2rem; }
h1 em, h2 em { color: var(--green); font-style: normal; position: relative; display: inline-block; }
h1 em::after { content: ""; position: absolute; height: .1em; left: 0; right: 0; bottom: -.06em; background: var(--yellow); transform: rotate(-1.5deg); }
h2 { font-size: clamp(3.2rem, 6vw, 6.15rem); margin-bottom: 2rem; }
h3 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); }
.hero-lede { max-width: 600px; font-size: clamp(1.05rem, 1.5vw, 1.28rem); color: var(--muted); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.25rem; flex-wrap: wrap; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .9rem 1.2rem; text-decoration: none; border-radius: 999px; font-size: .84rem; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; box-shadow: 0 12px 30px rgba(7, 51, 107, .16); }
.button-primary:hover { background: var(--blue); }
.button-text { padding-inline: 0; border-radius: 0; border-bottom: 1px solid var(--ink); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.hero-proof { display: flex; gap: clamp(1.2rem, 4vw, 3rem); margin-top: 3.6rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-proof div { display: grid; gap: .15rem; }
.hero-proof strong { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; }
.hero-proof span { color: var(--muted); font-size: .72rem; }
.hero-visual { min-width: 0; position: relative; padding: 0 2.4rem 2.3rem 0; }
.photo-frame { height: 570px; border-radius: 48% 48% 1.75rem 1.75rem; overflow: hidden; position: relative; box-shadow: var(--shadow); background: var(--navy); }
.photo-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 27, 47, .02) 50%, rgba(7, 27, 47, .72)); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; filter: saturate(.78) contrast(1.03) brightness(1.08); }
.photo-caption { position: absolute; z-index: 2; bottom: 1.4rem; left: 1.5rem; right: 1.5rem; display: flex; justify-content: space-between; color: white; text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; font-weight: 700; }
.date-card { position: absolute; right: 0; bottom: 0; width: 142px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--yellow); color: var(--ink); transform: rotate(5deg); box-shadow: 0 15px 35px rgba(7, 27, 47, .15); }
.date-card span, .date-card small { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.date-card strong { font-family: var(--display); font-size: 3.2rem; line-height: .9; }
.vertical-note { position: absolute; right: -3rem; top: 42%; transform: rotate(90deg); font-size: .6rem; letter-spacing: .18em; font-weight: 700; }
.runner-line { position: absolute; bottom: 0; left: 0; right: 0; height: 58px; background: var(--navy); color: white; display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3.8rem); font-family: var(--display); font-size: 1.05rem; letter-spacing: .08em; }
.runner-line i { width: 5px; height: 5px; border-radius: 50%; background: var(--yellow); }

.event-bar { background: white; border-bottom: 1px solid var(--line); }
.event-bar-grid { min-height: 118px; display: grid; grid-template-columns: 1.05fr .7fr 1.15fr auto; align-items: center; }
.event-bar-grid > * { min-height: 56px; padding: .3rem 2rem; border-right: 1px solid var(--line); }
.event-bar-grid > *:first-child { padding-left: 0; }
.event-bar-grid span, .price-list span { display: block; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event-bar-grid strong { display: block; margin-top: .5rem; font-size: .92rem; }
.event-bar-grid > a { border: 0; color: var(--navy); min-height: auto; font-weight: 700; font-size: .8rem; text-decoration: none; white-space: nowrap; }

.intro-grid { display: grid; grid-template-columns: .55fr 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.section-label { text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; font-weight: 700; display: flex; align-items: center; gap: .75rem; }
.section-label span { color: var(--red); }
.intro-body { padding-top: 4.8rem; color: var(--muted); }
.intro-body .lead { color: var(--ink); font-size: 1.18rem; line-height: 1.55; }

.programme-section { padding-top: 2rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 4rem; margin-bottom: 4rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 380px; color: var(--muted); line-height: 1.7; }
.programme-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 1rem; }
.programme-card { min-height: 330px; padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease, box-shadow .25s ease; }
.programme-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.programme-card .card-number { align-self: flex-end; color: var(--red); font-size: .7rem; font-weight: 700; }
.programme-card h3 { margin: .55rem 0 1rem; }
.programme-card p:last-child { color: var(--muted); margin-bottom: 0; }
.card-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .65rem; font-weight: 700; color: var(--green) !important; }
.card-feature { grid-row: span 2; background: var(--yellow); min-height: 676px; }
.card-feature h3 { font-size: clamp(2.5rem, 4vw, 4.2rem); }
.card-feature p:last-child { color: rgba(7, 27, 47, .78); }
.card-time { font-family: var(--display); font-size: 1.1rem; text-transform: uppercase; }
.card-green { grid-column: 2 / 4; min-height: 330px; background: var(--green); color: white; }
.card-green p:last-child, .card-green .card-kicker { color: rgba(255, 255, 255, .74) !important; }
.card-green .card-number { color: var(--yellow); }

.audience-section { color: white; background: var(--navy); position: relative; overflow: hidden; }
.audience-section::after { content: "CYMRU"; position: absolute; right: -1vw; bottom: -4vw; color: rgba(255, 255, 255, .035); font: 700 20vw/.8 var(--display); }
.audience-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; position: relative; z-index: 1; }
.section-label.light span { color: var(--yellow); }
.audience-copy h2 { margin: 3rem 0 2rem; }
.audience-copy h2 em { color: var(--yellow); }
.audience-copy p { color: rgba(255,255,255,.7); max-width: 460px; font-size: 1.1rem; }
.audience-list { display: flex; flex-wrap: wrap; gap: .75rem; align-content: center; }
.audience-list span { padding: 1rem 1.3rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.05rem, 2vw, 1.55rem); background: rgba(255,255,255,.035); }
.audience-list span:nth-child(3n+1) { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: rotate(-1deg); }

.lineup-list { border-top: 1px solid var(--line); }
.lineup-list a { min-height: 106px; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; display: grid; grid-template-columns: 70px 1fr .6fr 30px; align-items: center; gap: 1.2rem; transition: padding .2s ease, background .2s ease; }
.lineup-list a:hover { padding-inline: 1rem; background: white; }
.lineup-index { color: var(--red); font-size: .72rem; font-weight: 700; }
.lineup-list strong { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.55rem, 3vw, 2.7rem); }
.lineup-list a > span:nth-child(3) { color: var(--muted); }
.lineup-list i { font-style: normal; }
.lineup-note { margin-top: 2rem; color: var(--muted); }
.lineup-note a { color: var(--navy); font-weight: 700; }

.tickets-section { padding: 0; background: var(--green); color: white; }
.ticket-grid { display: grid; grid-template-columns: 1.18fr .82fr; }
.ticket-main { padding: clamp(4.5rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem) clamp(4.5rem, 8vw, 8rem) 0; border-right: 1px solid rgba(255,255,255,.18); }
.eyebrow.light { color: white; }
.ticket-main h2 { font-size: clamp(4.5rem, 9vw, 9rem); }
.ticket-main > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.73); font-size: 1.1rem; }
.ticket-main .button { margin-top: 1.8rem; }
.ticket-side { padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(4.5rem, 8vw, 8rem) clamp(2rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: flex-end; }
.ticket-side > p { font-size: 1.2rem; line-height: 1.65; }
.impact-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); gap: 2rem; }
.impact-split div { display: grid; }
.impact-split strong { font: 600 3.4rem/1 var(--display); color: var(--yellow); }
.impact-split span { font-size: .75rem; color: rgba(255,255,255,.68); }

.visit-grid { display: grid; grid-template-columns: .5fr 1.05fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.visit-card { background: white; padding: clamp(2rem, 4vw, 4rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.visit-card h2 { font-size: clamp(3.1rem, 5vw, 5rem); }
.visit-card address { margin: 2rem 0; color: var(--muted); font-style: normal; font-size: 1.05rem; line-height: 1.7; }
.visit-details { padding-top: 2rem; }
.visit-details > div { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.visit-details span { color: var(--red); font-size: .72rem; font-weight: 700; }
.visit-details p { color: var(--muted); margin: 0; }
.visit-details strong { display: block; color: var(--ink); margin-bottom: .35rem; }

.exhibitor-section { background: #e9f0e6; }
.exhibitor-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.exhibitor-copy > p:not(.eyebrow) { max-width: 600px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.exhibitor-copy .button { margin-top: 1.6rem; }
.price-list { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-list > div { padding: 1.5rem 1.8rem; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; }
.price-list strong { font: 600 2.25rem/1 var(--display); color: var(--navy); }
.price-list small { grid-column: 1 / 3; color: var(--muted); }
.price-list .club-price { background: var(--yellow); }
.price-list > p { color: var(--muted); font-size: .78rem; padding: 1.3rem 1.8rem; margin: 0; }

.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); }
.faq-grid h2 { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: 1.05rem; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span, .faq-list summary span::after { width: 16px; height: 2px; background: var(--ink); content: ""; display: block; transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details > p { color: var(--muted); padding: 0 3rem 1.5rem 0; max-width: 680px; }

.site-footer { background: var(--ink); color: white; padding: 5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; padding-bottom: 4rem; align-items: end; }
.footer-top img { width: 250px; filter: brightness(0) invert(1); }
.footer-top p { color: rgba(255,255,255,.6); margin: 1.2rem 0 0; }
.footer-cta span { color: rgba(255,255,255,.55); display: block; font-size: .75rem; margin-bottom: .6rem; }
.footer-cta a { font-family: var(--display); font-size: clamp(1.55rem, 3.5vw, 3.4rem); line-height: 1; text-transform: uppercase; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 2rem; color: rgba(255,255,255,.55); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 1020px) {
  .site-nav { gap: 1.2rem; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .photo-frame { height: 500px; }
  .intro-grid { grid-template-columns: .45fr 1fr; }
  .intro-body { grid-column: 2; padding-top: 0; }
  .visit-grid { grid-template-columns: .4fr 1fr; }
  .visit-details { grid-column: 2; padding-top: 0; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 32px, 680px); }
  .header-inner { min-height: 78px; }
  .brand { width: 156px; }
  .brand img { height: 62px; }
  .menu-toggle { display: flex; align-items: center; gap: .8rem; }
  .site-nav { position: fixed; inset: 0; padding: 8rem 2rem 3rem; background: var(--paper); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem; transform: translateY(-105%); visibility: hidden; opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.65,0,.35,1), opacity .2s ease, visibility 0s .35s; }
  .site-nav.is-open { transform: translateY(0); visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
  .site-nav a { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.4rem, 10vw, 4rem); line-height: 1.1; }
  .site-nav .nav-cta { margin-top: 1.4rem; color: white; padding: 1rem 1.5rem; font: 700 1rem var(--body); }
  .menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::after { transform: rotate(90deg); }
  .hero { padding-top: 112px; background: linear-gradient(180deg, #f7f8f3 0%, #f7f8f3 62%, #e9f0e6 62%); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .photo-frame { height: min(570px, 105vw); }
  .vertical-note { display: none; }
  .runner-line { position: relative; margin-top: 3rem; overflow: hidden; justify-content: flex-start; padding-inline: 2rem; }
  .event-bar-grid { grid-template-columns: 1fr 1fr; padding-block: 1.2rem; gap: 1rem; }
  .event-bar-grid > * { padding: .5rem 1rem; min-height: 54px; }
  .event-bar-grid > *:nth-child(2) { border-right: 0; }
  .event-bar-grid > a { display: flex; align-items: center; }
  .intro-grid, .audience-grid, .ticket-grid, .exhibitor-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .exhibitor-grid > * { min-width: 0; }
  .intro-body { grid-column: auto; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 2rem; }
  .programme-grid { grid-template-columns: 1fr 1fr; }
  .card-feature { grid-row: auto; grid-column: 1 / 3; min-height: 400px; }
  .card-green { grid-column: 1 / 3; }
  .ticket-main { padding: 5rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .ticket-side { padding: 4rem 0 5rem; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-details { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 5rem 0; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  h2 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .exhibitor-copy h2 { font-size: clamp(2.75rem, 13vw, 4.3rem); }
  .hero-proof { gap: .9rem; justify-content: space-between; }
  .hero-proof strong { font-size: 1rem; }
  .hero-proof span { font-size: .63rem; }
  .hero-visual { padding-right: 1.1rem; }
  .photo-frame { border-radius: 44% 44% 1.3rem 1.3rem; }
  .date-card { width: 112px; }
  .date-card strong { font-size: 2.6rem; }
  .runner-line { gap: 1rem; }
  .event-bar-grid { grid-template-columns: 1fr; }
  .event-bar-grid > * { padding: .65rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .event-bar-grid > a { border-bottom: 0; }
  .programme-grid { grid-template-columns: 1fr; }
  .card-feature, .card-green { grid-column: auto; min-height: 340px; }
  .programme-card { min-height: 300px; }
  .lineup-list a { grid-template-columns: 36px 1fr 20px; gap: .7rem; }
  .lineup-list a > span:nth-child(3) { grid-column: 2; grid-row: 2; margin-top: -.75rem; }
  .lineup-list i { grid-column: 3; grid-row: 1 / 3; }
  .impact-split strong { font-size: 2.75rem; }
  .footer-top { padding-bottom: 3rem; }
  .footer-cta a { font-size: 1.5rem; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
