/*
 * LCCA Concept B — “Chinatown After Dark”
 *
 * This file is intentionally an override layer on top of the shared prototype
 * structure. Its sections map cleanly to WordPress/Gutenberg groups, columns,
 * cover blocks, galleries, query loops and reusable patterns.
 */

:root {
  --green: #17624f;
  --green-deep: #0f493b;
  --green-soft: #dce8e2;
  --red: #d62f2f;
  --red-dark: #b81f25;
  --ink: #111417;
  --muted: #656760;
  --warm: #e9e1d4;
  --white: #f3eee4;
  --paper: #f3eee4;
  --paper-light: #fffdf8;
  --amber: #f2b544;
  --line: rgba(17, 20, 23, .18);
  --shadow: 10px 10px 0 rgba(17, 20, 23, .12);
  --shadow-soft: 5px 5px 0 rgba(17, 20, 23, .09);
  --radius: 2px;
  --radius-small: 2px;
  --serif: "Space Grotesk", Arial, sans-serif;
  --sans: "Space Grotesk", Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 64px));
}

html { background: var(--ink); }

body.concept-b {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
}

h1 { font-size: clamp(3.2rem, 7.4vw, 7.4rem); }
h2 { font-size: clamp(2.35rem, 4.8vw, 4.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.1; }
p { max-width: 68ch; }

.eyebrow {
  gap: 12px;
  margin-bottom: 20px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.eyebrow::before { width: 42px; height: 1px; }

.skip-link {
  color: var(--ink);
  background: var(--amber);
  border-radius: 0;
}

/* Global masthead — maps to a WordPress template part. */
.announcement-bar {
  color: var(--ink);
  background: var(--amber);
  border-bottom: 1px solid var(--ink);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.announcement-inner { align-items: center; padding-block: 9px; }
.announcement-inner > span { font-weight: 700; }
.announcement-inner a { font-weight: 600; text-decoration: none; }
.announcement-inner > a:nth-child(2) { margin-inline: auto; }
.compare-link {
  padding-left: 18px;
  border-left: 1px solid rgba(17, 20, 23, .36);
}
.compare-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.site-header {
  min-height: 82px;
  color: var(--paper);
  background: rgba(17, 20, 23, .97);
  border-bottom: 1px solid rgba(243, 238, 228, .18);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 82px; gap: 20px; }
.brand {
  display: block;
  padding: 9px 12px;
  background: var(--paper-light);
  border-left: 5px solid var(--red);
}
.brand img { width: 204px; }
.desktop-nav { gap: 0; }
.desktop-nav > a,
.nav-dropdown-toggle {
  padding: 29px 13px 27px;
  color: rgba(243, 238, 228, .82);
  border-radius: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--amber);
  background: transparent;
  box-shadow: inset 0 -3px 0 var(--red);
}
.nav-dropdown-menu {
  top: calc(100% + 1px);
  width: 290px;
  padding: 0;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(243, 238, 228, .22);
  border-radius: 0;
  box-shadow: 12px 12px 0 rgba(17, 20, 23, .2);
}
.nav-dropdown-menu a { padding: 15px 18px; border-bottom: 1px solid rgba(243, 238, 228, .12); border-radius: 0; }
.nav-dropdown-menu a:last-child { border-bottom: 0; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { color: var(--ink); background: var(--amber); }
.nav-dropdown-menu small { color: inherit; opacity: .64; }
.desktop-cta { margin-left: 8px; }

.button {
  position: relative;
  min-height: 50px;
  padding: 13px 22px;
  color: var(--paper-light);
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 0;
  box-shadow: 5px 5px 0 var(--amber);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.button::after { content: ""; display: inline-block; width: .68em; height: .68em; margin-left: 6px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 9L9 3M4 3h5v5' fill='none' stroke='black' stroke-width='1.6'/></svg>") no-repeat center / contain; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M3 9L9 3M4 3h5v5' fill='none' stroke='black' stroke-width='1.6'/></svg>") no-repeat center / contain; }
.button:hover {
  color: var(--paper-light);
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 2px 2px 0 var(--amber);
  transform: translate(3px, 3px);
}
.button-secondary {
  color: var(--ink);
  background: var(--paper-light);
  border-color: var(--paper-light);
  box-shadow: 5px 5px 0 var(--red);
}
.button-secondary:hover { color: var(--ink); background: var(--amber); border-color: var(--amber); box-shadow: 2px 2px 0 var(--red); }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.button-outline:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-small { min-height: 42px; padding: 10px 15px; }

.menu-toggle {
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(243, 238, 228, .55);
  border-radius: 0;
}
.mobile-menu { background: rgba(17, 20, 23, .7); }
.mobile-menu-panel { color: var(--paper); background: var(--ink); box-shadow: -10px 0 0 var(--red); }
.mobile-menu-head { border-color: rgba(243, 238, 228, .2); }
.mobile-menu nav a.active { color: var(--amber); }
.mobile-menu-group { border-color: rgba(243, 238, 228, .15); }
.mobile-menu-group a { color: rgba(243, 238, 228, .7); }
.mobile-menu-contact { color: var(--ink); background: var(--amber); border-radius: 0; }

/* Image-led split masthead — a Cover + Group pattern in WordPress. */
.hero {
  display: block;
  min-height: 690px;
  color: var(--paper-light);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    var(--ink);
  background-size: 52px 52px;
}
.hero.hero-home { min-height: min(810px, calc(100vh - 70px)); }
.hero-media { right: 0; left: auto; width: 57%; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media img,
.hero-media video { filter: saturate(.9) contrast(1.06); }
.hero::after {
  right: 0;
  left: 43%;
  width: auto;
  background: linear-gradient(90deg, rgba(17, 20, 23, .72), transparent 38%), linear-gradient(0deg, rgba(17,20,23,.3), transparent 42%);
}
.hero::before {
  position: absolute;
  z-index: 1;
  top: 34px;
  left: max(32px, calc((100vw - min(1280px, calc(100vw - 64px))) / 2));
  color: transparent;
  font-size: clamp(5rem, 14vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.08em;
  -webkit-text-stroke: 1px rgba(243, 238, 228, .08);
  content: "LCCA";
}
.hero-content {
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: flex-end;
  padding: 112px 59% 76px 0;
}
.hero-content h1 { max-width: 760px; margin-bottom: 24px; }
.hero-content > p { max-width: 590px; color: rgba(243, 238, 228, .76); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.hero .eyebrow { color: var(--amber); }
.hero-kicker {
  align-self: flex-start;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--amber);
  border: 0;
  border-radius: 0;
  font-size: .72rem;
  backdrop-filter: none;
}
.button-row { gap: 16px; }

.event-facts {
  z-index: 3;
  width: var(--shell);
  margin: 0 auto;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-top: 5px solid var(--amber);
  border-radius: 0;
  box-shadow: none;
}
.event-fact { padding: 25px 24px; border-color: rgba(243, 238, 228, .18); }
.event-fact span { color: var(--amber); font-size: .66rem; }
.event-fact strong { font-family: var(--sans); font-size: 1rem; font-weight: 500; }

/* Gutenberg-friendly content sections. */
.section { position: relative; padding-block: 104px; border-top: 1px solid var(--line); }
.section-warm { background: var(--warm); }
.section-green { color: var(--paper); background: var(--ink); }
.section-green .eyebrow { color: var(--amber); }
.section-head { align-items: start; margin-bottom: 54px; padding-top: 18px; border-top: 4px solid var(--ink); }
.section-green .section-head { border-color: var(--amber); }
.section-head > div { max-width: 880px; }
.section-head p { max-width: 590px; }
.narrow { max-width: 840px; }

.split { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(44px, 7vw, 108px); }
.media-frame { background: var(--amber); border-radius: 0; box-shadow: 10px 10px 0 var(--red); }
.media-frame::after { inset: 12px; border-radius: 0; }
.text-link { color: var(--red); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }

.stats-grid { gap: 0; background: transparent; border: 1px solid rgba(243, 238, 228, .22); border-radius: 0; }
.stat { min-height: 230px; padding: 34px; background: transparent; border-right: 1px solid rgba(243, 238, 228, .22); }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--amber); font-family: var(--sans); font-size: clamp(2.8rem, 5vw, 5rem); line-height: .9; }

.card-grid { gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.card {
  background: var(--paper-light);
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
}
.card:hover { box-shadow: inset 0 -6px 0 var(--red); transform: none; }
.card-image { aspect-ratio: 4 / 3; }
.card-image img { filter: saturate(.8); }
.card:hover .card-image img { filter: saturate(1.08); transform: scale(1.025); }
.card-body { padding: 28px; }
.card-meta { margin-bottom: 20px; }
.tag {
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: .64rem;
}
.tag-red { color: var(--red-dark); background: transparent; }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ink); }
.feature-card {
  display: grid;
  grid-template-columns: 74px minmax(220px, .72fr) minmax(260px, 1.28fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.feature-card h3,
.feature-card p { margin: 0; }
.feature-card .icon {
  width: 54px;
  height: 54px;
  margin: 0;
  color: var(--ink);
  background: var(--amber);
  border-radius: 0;
}

.gallery-grid { grid-template-columns: repeat(12, 1fr); gap: 10px; }
.gallery-item { grid-column: span 4; border-radius: 0; }
.gallery-item:nth-child(1) { grid-column: span 7; }
.gallery-item:nth-child(2) { grid-column: span 5; }
.gallery-item:nth-child(5) { grid-column: span 5; }
.gallery-item:nth-child(6) { grid-column: span 7; }
.gallery-item img { height: 300px; filter: saturate(.86); }
.gallery-item:nth-child(1) img,
.gallery-item:nth-child(6) img { height: 380px; }
.gallery-item:hover img { filter: saturate(1.12); transform: scale(1.025); }

/* About history becomes editorial chapters instead of a central timeline. */
.timeline { gap: 0; border-top: 1px solid var(--ink); }
.timeline::before { display: none; }
.timeline-item {
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 7vw, 100px);
  padding-block: 70px;
  border-bottom: 1px solid var(--ink);
}
.timeline-item:nth-child(even) { color: var(--paper); background: var(--ink); box-shadow: 40px 0 0 var(--ink), -40px 0 0 var(--ink); }
.timeline-copy::before { display: none; }
.timeline-year { color: var(--red); font-family: var(--sans); font-size: clamp(4rem, 9vw, 8rem); font-weight: 600; line-height: .8; letter-spacing: -.08em; }
.timeline-item:nth-child(even) .timeline-year { color: var(--amber); }
.timeline-media img { border-radius: 0; box-shadow: 8px 8px 0 var(--red); }

.programme-grid { grid-template-columns: .66fr 1.34fr; gap: 60px; }
.programme-summary { top: 104px; padding: 36px; color: var(--paper); background: var(--ink); border-top: 6px solid var(--amber); border-radius: 0; }
.schedule::before { background: var(--ink); }
.schedule-item time { color: var(--red); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.schedule-item > div { padding: 24px; background: transparent; border: 1px solid var(--ink); border-radius: 0; }
.schedule-item > div::before { background: var(--amber); border-color: var(--paper); border-radius: 0; box-shadow: 0 0 0 1px var(--ink); transform: rotate(45deg); }

.quote-card { padding: 48px; color: var(--paper); background: transparent; border: 1px solid rgba(243, 238, 228, .38); border-radius: 0; }
.quote-card::before { color: var(--amber); }
.quote-card blockquote { font-family: var(--sans); font-weight: 500; }

.logo-grid { gap: 0; background: var(--ink); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.logo-card { grid-template-rows: 170px auto; background: var(--paper); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.logo-box { height: 170px; padding: 8px; background: var(--paper-light); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.logo-box img {
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  transform-origin: center center;
  transform: scale(var(--logo-scale, 1));
}
.logo-name { min-height: 62px; padding: 15px 14px 12px; font-size: .78rem; letter-spacing: .02em; }
.logo-card:hover .logo-box { border-color: transparent; box-shadow: inset 0 0 0 5px var(--amber); transform: none; }
.logo-card:hover .logo-box img { transform: scale(var(--logo-scale, 1)); }
.supported-grid { background: transparent; border: 0; }
.supported-grid .logo-card { border: 1px solid var(--ink); }

.cta-band { padding-block: 76px; color: var(--paper-light); background: var(--red); border-block: 1px solid var(--ink); }
.cta-band h2 { max-width: 860px; font-size: clamp(2.2rem, 4vw, 4rem); }

.steps-grid { gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.step-card { padding: 30px; background: var(--paper-light); border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; }
.step-card::before { color: var(--ink); background: var(--amber); border-radius: 0; }
.check-list li::before { color: var(--ink); background: var(--amber); border-radius: 0; }
.faq details { background: var(--paper-light); border-color: var(--ink); border-radius: 0; }
.faq summary { font-family: var(--sans); }
.faq summary::after { color: var(--ink); background: var(--amber); border-radius: 0; }

.contact-layout { grid-template-columns: .75fr 1.25fr; gap: 0; border: 1px solid var(--ink); }
.contact-layout > div:first-child { padding: 44px; background: var(--ink); color: var(--paper); }
.contact-card { background: transparent; border-top: 1px solid rgba(243, 238, 228, .2); border-radius: 0; }
.contact-card span { color: var(--amber); }
.contact-card a { color: var(--paper); font-family: var(--sans); }
.contact-form { gap: 20px; padding: 44px; background: var(--paper-light); border: 0; border-radius: 0; }
.field input,
.field textarea,
.field select { background: transparent; border: 1px solid var(--ink); border-radius: 0; }
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--red); box-shadow: 4px 4px 0 rgba(214, 47, 47, .2); }

.notice-page { color: var(--paper); background: var(--ink); }

/* Footer template part. */
.site-footer { color: rgba(243, 238, 228, .78); background: var(--ink); border-top: 8px solid var(--amber); }
.footer-grid { gap: 0; padding-block: 0; border-left: 1px solid rgba(243, 238, 228, .15); }
.footer-grid > div { padding: 76px 34px 58px; border-right: 1px solid rgba(243, 238, 228, .15); }
.site-footer h2 { color: var(--amber); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand img { width: 220px; height: auto; background: var(--paper-light); border-left: 5px solid var(--red); border-radius: 0; }
.social-links a { background: transparent; border: 1px solid rgba(243, 238, 228, .35); border-radius: 0; }
.newsletter-form { border: 1px solid rgba(243, 238, 228, .45); border-radius: 0; }
.newsletter-form input { color: var(--paper); background: transparent; }
.newsletter-form button { color: var(--ink); background: var(--amber); }
.footer-bottom { border-color: rgba(243, 238, 228, .16); }

.lightbox img { border-radius: 0; }
.lightbox-close { border-radius: 0; }

@media (max-width: 1120px) {
  :root { --shell: min(100% - 40px, 1020px); }
  .hero-content { padding-right: 55%; }
  .hero-media { width: 53%; }
  .hero::after { left: 47%; }
  .feature-card { grid-template-columns: 64px minmax(180px, .7fr) 1fr; }
  .feature-card .text-link { grid-column: 2 / -1; }
}

@media (max-width: 1050px) {
  .site-header { min-height: 74px; }
  .header-inner { min-height: 74px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 40px); }
  body.concept-b { font-size: 16px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.7rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.4rem); }
  .announcement-inner { justify-content: center; }
  .announcement-inner > a:nth-child(2) { margin: 0; }
  .compare-link { display: none; }
  .header-inner { min-height: 70px; }
  .brand { padding: 8px 10px; }
  .brand img { width: 190px; }
  .hero,
  .hero.hero-home { display: flex; min-height: 0; flex-direction: column; }
  .hero-media { position: relative; order: 0; width: 100%; height: 340px; clip-path: none; }
  .hero::after { top: 0; right: 0; bottom: auto; left: 0; width: 100%; height: 340px; background: linear-gradient(0deg, rgba(17,20,23,.56), transparent 60%); }
  .hero::before { top: 284px; left: 20px; font-size: 4.7rem; }
  .hero-content { order: 1; width: 100%; min-height: 0; padding: 60px 20px 64px; }
  .hero-content > p { font-size: 1rem; }
  .event-facts { width: 100%; grid-template-columns: repeat(2, 1fr); }
  .event-fact:nth-child(2) { border-right: 0; }
  .section { padding-block: 72px; }
  .section-head { gap: 24px; margin-bottom: 40px; }
  .split,
  .contact-layout,
  .programme-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { min-height: 160px; border-right: 0; border-bottom: 1px solid rgba(243, 238, 228, .22); }
  .stat:last-child { border-bottom: 0; }
  .feature-card { grid-template-columns: 58px 1fr; gap: 18px; }
  .feature-card p,
  .feature-card .text-link { grid-column: 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item,
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(6) { grid-column: span 1; }
  .gallery-item:first-child { grid-column: 1 / -1; }
  .gallery-item img,
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(6) img { height: 210px; }
  .gallery-item:first-child img { height: 290px; }
  .timeline-item { grid-template-columns: 1fr; padding-block: 48px; }
  .timeline-item:nth-child(even) .timeline-media { order: 0; }
  .timeline-item:nth-child(even) { box-shadow: 20px 0 0 var(--ink), -20px 0 0 var(--ink); }
  .timeline-year { font-size: 4.8rem; }
  .programme-summary { position: static; }
  .card-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-card { grid-template-rows: 132px auto; }
  .logo-box { height: 132px; padding: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-layout > div:first-child,
  .contact-form { padding: 30px 24px; }
  .footer-grid { border-left: 0; }
  .footer-grid > div { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(243, 238, 228, .15); }
}

@media (max-width: 480px) {
  :root { --shell: calc(100% - 32px); }
  .announcement-inner > span { display: none; }
  .announcement-inner a { text-align: center; }
  .brand img { width: min(180px, 54vw); }
  .hero-media,
  .hero::after { height: 290px; }
  .hero::before { top: 245px; font-size: 3.8rem; }
  .hero-content { padding: 54px 16px 58px; }
  .event-facts { grid-template-columns: 1fr; }
  .event-fact { padding: 18px 20px; }
  .button-row { display: grid; }
  .button-row .button { width: 100%; }
  .feature-card { grid-template-columns: 48px 1fr; }
  .feature-card .icon { width: 44px; height: 44px; }
  .gallery-item img,
  .gallery-item:nth-child(1) img,
  .gallery-item:nth-child(6) img { height: 170px; }
  .gallery-item:first-child img { height: 230px; }
  .logo-grid { gap: 0; }
  .logo-card { grid-template-rows: 112px auto; }
  .logo-box { height: 112px; padding: 8px; }
  .logo-name { padding-inline: 8px; font-size: .7rem; }
  .cta-band-inner { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .card-image img,
  .gallery-item img,
  .logo-box img { transition: none; }
}
