:root {
  --navy: #252737;
  --red: #a63a42;
  --ink: #26262a;
  --muted: #68686d;
  --paper: #fff;
  --grey: #f1f1f2;
  --line: #d9d9dd;
  --shell: min(1260px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; padding: 10px 14px; color: #fff; background: var(--red); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.masthead { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.brand { display: flex; align-items: center; color: var(--navy); font-weight: 900; text-decoration: none; }
.brand-name { font-size: clamp(38px, 4.2vw, 54px); line-height: .95; letter-spacing: -.045em; }
.brand-year { margin: 10px 0 0 9px; color: var(--red); font-size: clamp(19px, 2vw, 27px); letter-spacing: -.035em; }
.brand-note { margin-left: 18px; padding-left: 18px; border-left: 1px solid var(--line); color: var(--muted); font-size: 9px; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; }
.partners { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.partners-label, .kicker, dt, .hero-meta span { color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.partner-logos { display: flex; align-items: center; gap: 20px; }
.partner-logos img:first-child { width: 138px; height: 48px; object-fit: contain; }
.partner-logos img:last-child { width: 112px; height: 39px; object-fit: contain; }
.partner-divider { width: 1px; height: 34px; background: var(--line); }

.hero-main { height: 448px; display: grid; grid-template-columns: minmax(450px, 42%) 1fr; border-top: 1px solid #e2e2e4; border-bottom: 1px solid #e2e2e4; }
.hero-copy { padding: 55px 48px 44px max(32px, calc((100vw - 1260px) / 2)); display: flex; flex-direction: column; background: #f5f5f3; }
.kicker { margin: 0 0 38px; color: var(--red); }
.hero h1 { max-width: 520px; margin: 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px, 3.55vw, 50px); font-weight: 700; line-height: 1.01; letter-spacing: -.035em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-meta { margin-top: auto; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); }
.hero-meta p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.4; }
.hero-meta span { display: block; margin-bottom: 7px; }
.coastline { position: relative; min-width: 0; margin: 0; background: #dbe4ea; }
.hero-image { position: absolute; inset: 0; background: url("assets/nice-banner_brain.jpg") center / cover no-repeat; }
.coastline figcaption { position: absolute; right: 18px; bottom: 16px; padding: 8px 10px; color: #fff; background: var(--navy); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.coastline figcaption a { color: inherit; text-decoration: none; }
.coastline figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-info { min-height: 126px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.hero-statement { margin: 0; padding: 32px 50px 32px 0; align-self: center; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(17px, 1.7vw, 21px); font-weight: 400; line-height: 1.6; }
.hero-statement a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.organisers { padding: 28px 0 28px 48px; border-left: 1px solid var(--line); }
.organisers-label { margin: 0 0 16px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.organiser-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 30px; }
.organiser-list p { margin: 0; min-width: 0; }
.organiser-list strong { display: block; overflow: hidden; color: var(--navy); font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.organiser-list span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.35; }

.main-nav { position: sticky; top: 0; z-index: 10; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); }
.nav-inner { min-height: 68px; display: flex; align-items: stretch; }
.nav-brand { width: 120px; display: none; align-items: center; color: var(--red); font-size: 12px; font-weight: 900; text-decoration: none; }
.nav-links { width: 100%; display: flex; align-items: stretch; gap: 46px; }
.nav-links a { position: relative; padding: 26px 0 21px; color: var(--navy); font-family: "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0; text-decoration: none; }
.nav-links a::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

#main-content { padding-block: 82px 108px; background: #f7f7f5; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 72px; align-items: start; }
.main-column { min-width: 0; }
.welcome-section { scroll-margin-top: 68px; }
.welcome-section h2 { margin: 0 0 42px; color: #19191d; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(43px, 5vw, 66px); font-weight: 700; line-height: 1.03; letter-spacing: -.035em; }
.welcome-section h2 span { color: var(--navy); }
.welcome-section h2 b { color: var(--red); font-weight: 900; }
.salutation { margin: 0 0 32px; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 20px; font-weight: 700; }
.welcome-copy { max-width: 800px; }
.welcome-copy p { margin: 0 0 27px; color: #343439; font-size: 16px; line-height: 1.78; }
.home-section { padding-top: 78px; scroll-margin-top: 68px; }
.home-section > header { margin-bottom: 28px; padding-bottom: 17px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--navy); }
.home-section > header p { margin: 0 0 5px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.home-section > header h2 { margin: 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 37px; font-weight: 700; line-height: 1.05; }
.section-intro { max-width: 760px; margin: 0 0 30px; color: #343439; font-size: 16px; line-height: 1.75; }
.topic-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.topic-list li { position: relative; padding: 17px 18px 17px 34px; border-bottom: 1px solid var(--line); color: #3f3f44; font-size: 14px; line-height: 1.55; }
.topic-list li::before { content: ""; position: absolute; top: 25px; left: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.call-details { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.call-details div { min-height: 108px; padding: 23px; border-right: 1px solid var(--line); }
.call-details div:last-child { border-right: 0; }
.call-details span { display: block; margin-bottom: 13px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.call-details strong { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 17px; line-height: 1.35; }
.call-details strong a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.call-details strong a:hover { color: var(--red); }
.call-details small { margin-top: 7px; display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.visit-copy { columns: 2; column-gap: 48px; }
.visit-copy p { margin: 0 0 22px; break-inside: avoid; color: #343439; font-size: 15px; line-height: 1.72; }
.map-link { margin-top: 16px; padding: 17px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; }
.map-link:hover { color: var(--red); }
.schedule-list, .news-grid { border-top: 1px solid var(--line); }
.schedule-day { margin: 0; padding: 28px 0 15px; border-bottom: 1px solid var(--navy); color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 24px; line-height: 1.2; }
.schedule-item, .news-item { min-height: 110px; padding: 25px 0; display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 28px; align-items: start; border-bottom: 1px solid var(--line); }
.schedule-date, .news-date { padding-top: 5px; color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.schedule-item h3, .news-item h3 { margin: 0 0 8px; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 20px; line-height: 1.25; }
.schedule-item p, .news-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.news-item { grid-template-columns: 125px minmax(180px, .8fr) 1fr; }

.sidebar { position: sticky; top: 92px; display: grid; gap: 14px; scroll-margin-top: 90px; }
.side-action { min-height: 88px; padding: 21px 20px; display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; border: 1px solid #d4d4d7; border-radius: 4px; color: var(--navy); background: #fff; box-shadow: 0 2px 8px rgba(24,21,47,.035); text-decoration: none; }
.side-action.primary { color: #fff; border-color: var(--red); background: var(--red); }
.side-action span { font-size: 9px; font-weight: 800; opacity: .65; }
.side-action strong { font-family: "Helvetica Neue", Arial, sans-serif; font-size: 16px; font-weight: 700; }
.side-icon { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.side-action:hover { color: #fff; background: var(--navy); }
.side-panel { margin-top: 8px; padding: 29px 25px; color: #fff; border-radius: 4px; background: var(--navy); }
.panel-label { margin: 0 0 15px; color: #c6c3d1; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.side-panel h2 { margin: 0 0 22px; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; line-height: 1.1; }
.side-panel > p:not(.panel-label) { margin: 0; color: #d2d0da; font-size: 13px; line-height: 1.65; }
.side-panel > a { margin-top: 24px; padding-top: 14px; display: flex; justify-content: space-between; border-top: 1px solid #625e75; color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }
.dates-panel { color: var(--navy); border: 1px solid #d8d8da; background: #fff; }
.dates-panel .panel-label { color: var(--red); }
.dates-panel dl { margin: 0; }
.dates-panel dl div { padding: 14px 0; display: grid; grid-template-columns: 80px 1fr; gap: 15px; border-top: 1px solid var(--line); }
.dates-panel dt { color: var(--red); }
.dates-panel dd { margin: 0; font-size: 12px; font-weight: 700; }

.footer { color: #fff; background: var(--navy); }
.footer-inner { min-height: 148px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 40px; }
.footer-brand { font-size: 26px; font-weight: 900; letter-spacing: -.06em; text-decoration: none; }
.footer-brand span { margin-left: 5px; color: #d77a80; font-size: 17px; }
.footer p { color: #c4c1ce; font-size: 10px; line-height: 1.55; }
.footer-links { display: flex; justify-content: flex-end; gap: 28px; }
.footer-links a { color: #c4c1ce; font-size: 10px; text-decoration: none; }
.footer a:hover { color: #fff; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 40px, 1260px); }
  .masthead { min-height: 112px; }
  .partners-label { display: none; }
  .partner-logos img:first-child { width: 105px; }
  .partner-logos img:last-child { width: 86px; }
  .hero-main { grid-template-columns: minmax(410px, 47%) 1fr; }
  .hero-copy { padding-left: 20px; padding-right: 35px; }
  .hero h1 { font-size: 42px; }
  .home-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 42px; }
  .sidebar { position: static; }
  .news-item { grid-template-columns: 105px 1fr; }
  .news-item p { grid-column: 2; }
  .call-details { grid-template-columns: 1fr; }
  .call-details div, .call-details div:last-child { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .call-details div:last-child { border-bottom: 0; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  .masthead { min-height: 92px; gap: 14px; }
  .brand-name { font-size: 31px; }
  .brand-year { margin-top: 7px; font-size: 17px; }
  .brand-note, .partner-divider { display: none; }
  .partner-logos { gap: 8px; }
  .partner-logos img:first-child { width: 59px; height: 27px; }
  .partner-logos img:last-child { width: 49px; height: 25px; }
  .hero-main { height: auto; display: flex; flex-direction: column-reverse; }
  .coastline { height: 240px; }
  .hero-image { background-position: 61% center; }
  .hero-copy { min-height: 330px; padding: 36px 16px 30px; }
  .kicker { margin-bottom: 26px; }
  .hero h1 { font-size: 35px; }
  .hero-meta { margin-top: 42px; }
  .hero-info { width: 100%; grid-template-columns: 1fr; }
  .hero-statement { min-height: 0; padding: 24px 16px; font-size: 16px; }
  .organisers { padding: 23px 16px 27px; border-top: 1px solid var(--line); border-left: 0; }
  .organiser-list { gap: 13px 20px; }
  .nav-inner { position: relative; min-height: 62px; justify-content: space-between; }
  .nav-brand { display: flex; }
  .menu-toggle { width: 78px; padding: 0; display: flex; align-items: center; justify-content: flex-end; gap: 10px; border: 0; color: var(--navy); background: transparent; font: 700 10px/1 Arial, sans-serif; text-transform: uppercase; }
  .menu-icon, .menu-icon::before, .menu-icon::after { width: 17px; height: 1px; display: block; background: var(--red); }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -5px; }
  .menu-icon::after { top: 5px; }
  .nav-links { position: absolute; top: 62px; right: -16px; left: -16px; display: none; flex-direction: column; gap: 0; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 16px 24px rgba(25, 22, 47, .1); }
  .main-nav.open .nav-links { display: flex; }
  .nav-links a, .nav-links a:last-child { margin: 0; padding: 17px 24px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  #main-content { padding-block: 52px 70px; }
  .home-layout { grid-template-columns: 1fr; gap: 58px; }
  .welcome-section h2 { margin-bottom: 30px; font-size: 42px; }
  .welcome-copy p { font-size: 15px; }
  .visit-copy { columns: 1; }
  .home-section { padding-top: 58px; }
  .home-section > header { display: block; }
  .home-section > header p { margin-bottom: 9px; }
  .sidebar { gap: 10px; }
  .side-action { min-height: 78px; }
  .schedule-item, .news-item { grid-template-columns: 1fr; gap: 11px; }
  .news-item p { grid-column: auto; }
  .footer-inner { padding-block: 42px; grid-template-columns: 1fr; gap: 17px; }
  .footer p { margin: 0; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
