/* CTSEM 2027 — site styles. Palette taken from the conference brochure. */
:root {
  --ink: #0e2a33;
  --teal-900: #0a3542;
  --teal-800: #0d4556;
  --teal: #0f5266;
  --teal-600: #16707f;
  --teal-100: #e3eff1;
  --green: #123f30;
  --orange: #e8952b;
  --orange-600: #cf7c14;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --muted: #5a6d73;
  --line: #dfe6e7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 53, 66, .10);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Poppins", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper);
  font-size: 15.5px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; color: var(--green); letter-spacing: .2px; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.accent { color: var(--orange); }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 8px 14px; z-index: 999; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--teal-900); color: #cfe3e7; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #cfe3e7; }
.topbar a:hover { color: var(--orange); }
.topbar .tb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 5px; fill: currentColor; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(10,53,66,.10); }
.site-header .wrap, .topbar .wrap { max-width: 1340px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 52px; height: 52px; }
.brand-text { font-family: var(--head); line-height: 1; }
.brand-text strong { display: block; font-size: 1.75rem; color: var(--teal); letter-spacing: .5px; }
.brand-text strong span { color: var(--orange); }
.brand { flex: none; }
.brand-text small { white-space: nowrap; display: block; margin-top: 3px; font-size: .82rem; color: var(--muted); font-family: var(--body); letter-spacing: .2px; }

.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 9px 9px; font-size: 13.5px; font-weight: 500; color: var(--ink); border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--teal-100); color: var(--teal); }
.nav a.active { color: var(--teal); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav a.btn { margin-left: 8px; box-shadow: none; border-radius: 999px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--teal); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 14.5px; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: var(--body); }
.btn-primary, .nav a.btn { background: var(--orange); color: #fff !important; }
.btn-primary:hover, .nav a.btn:hover { background: var(--orange-600); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-dark:hover { background: var(--teal-900); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--teal); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Ticker ---------- */
.ticker { background: var(--orange); color: #fff; font-size: 14px; overflow: hidden; }
.ticker .wrap { display: flex; align-items: center; gap: 14px; min-height: 42px; }
.ticker-label { background: var(--teal-900); padding: 3px 12px; border-radius: 4px; font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .6px; flex: none; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-items { display: inline-flex; white-space: nowrap; animation: ticker 45s linear infinite; }
.ticker-items > span { padding-right: 60px; }
.ticker:hover .ticker-items { animation-play-state: paused; }
.ticker a { color: #fff; text-decoration: underline; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(circle at 85% 15%, #e9eef0 0 26%, transparent 26.2%),
  linear-gradient(180deg, #fff 0%, #f6f8f8 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(15,82,102,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,82,102,.06) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; padding-top: 56px; padding-bottom: 40px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--teal-600); margin-bottom: 14px; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--orange); }
.hero h1 { color: var(--green); text-transform: uppercase; font-size: clamp(2.1rem, 4.2vw, 3.5rem); border-left: 3px solid var(--teal); padding-left: 18px; }
.hero h1 .ord { color: var(--orange); }
.hero .intl { color: var(--orange-600); font-weight: 600; font-size: 1.1rem; margin: 6px 0 4px 21px; }
.hero .acro { font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 7vw, 5.4rem); color: var(--teal); line-height: 1; margin: 10px 0 18px 18px; letter-spacing: 1px; }
.hero .acro span { color: var(--orange); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0 0 26px 18px; }
.hero-meta div { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--teal-900); }
.hero-meta .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.hero-meta .ic svg { width: 22px; height: 22px; fill: #fff; }
.hero-meta small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; line-height: 1.2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-left: 18px; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 20px 30px rgba(10,53,66,.18)); animation: floaty 7s ease-in-out infinite; }
.hero-art::after { content: ""; position: absolute; left: 6%; right: 2%; bottom: 4%; height: 22%; background: linear-gradient(100deg, transparent 10%, rgba(232,149,43,.85) 30%, rgba(15,82,102,.85) 70%, transparent 95%); filter: blur(2px); transform: skewY(-6deg); z-index: -1; border-radius: 40%; opacity: .55; }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Countdown band ---------- */
.countdown-band { background: var(--teal-900) url("../img/footer-strip.png") center bottom / cover no-repeat; color: #fff; position: relative; }
.countdown-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,53,66,.96), rgba(10,53,66,.78)); }
.countdown-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 22px; }
.countdown-band h3 { color: #fff; margin: 0; font-size: 1.7rem; }
.countdown-band p { margin: 0; color: #b9d4da; font-size: 14px; }
.countdown { display: flex; gap: 12px; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; min-width: 84px; padding: 10px 8px; text-align: center; }
.countdown b { display: block; font-family: var(--head); font-size: 2.4rem; line-height: 1; color: var(--orange); }
.countdown span { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.2px; color: #cfe3e7; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.alt { background: var(--cream); }
section.dark { background: var(--teal-900); color: #d8e8eb; }
section.dark h2, section.dark h3 { color: #fff; }
.sec-head { margin-bottom: 40px; max-width: 760px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--orange-600); display: block; margin-bottom: 8px; }
.sec-head h2::after { content: ""; display: block; width: 70px; height: 3px; background: var(--orange); margin-top: 14px; border-radius: 2px; }
.sec-head.center h2::after { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.08rem; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,53,66,.14); }
.card .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 26px; height: 26px; fill: #fff; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.img-frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(10,53,66,.85)); }
.stat-row { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.stat b { display: block; font-family: var(--head); font-size: 2.6rem; color: var(--teal); line-height: 1; }
.stat span { font-size: 13px; color: var(--muted); }

/* Quick links */
.quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: -38px; position: relative; z-index: 2; }
.quick a { background: #fff; border-radius: 12px; padding: 18px 12px; text-align: center; box-shadow: var(--shadow); color: var(--ink); font-weight: 500; font-size: 13.5px; border-bottom: 3px solid transparent; transition: .2s; }
.quick a:hover { border-color: var(--orange); transform: translateY(-3px); color: var(--teal); }
.quick svg { width: 30px; height: 30px; fill: var(--teal); margin: 0 auto 8px; display: block; }

/* Timeline (important dates) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 46px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px dashed #c9d6d8; }
.timeline li::before { content: counter(t); width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.timeline li.hl::before { background: var(--orange); }
.timeline .when { font-weight: 600; color: var(--teal-900); text-align: right; }
.timeline .tba { display: inline-block; background: var(--teal-100); color: var(--teal); font-size: 12.5px; padding: 3px 12px; border-radius: 999px; font-weight: 600; }
.timeline .hl .when { color: var(--orange-600); }

/* Themes */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 22px; }
.theme { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.theme-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--teal); color: #fff; }
.theme-head .num { font-family: var(--head); font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1; }
.theme-head h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.theme ul { list-style: none; margin: 0; padding: 14px 22px 20px; }
.theme li { padding: 7px 0 7px 24px; position: relative; font-size: 14.5px; border-bottom: 1px solid #eef2f2; }
.theme li:last-child { border-bottom: 0; }
.theme li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; border: 2px solid var(--orange); border-radius: 50%; }

/* Editions */
.editions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.edition { background: #fff; border-radius: 12px; padding: 18px 14px; text-align: center; border: 1px solid var(--line); position: relative; transition: .2s; }
.edition:hover { border-color: var(--orange); transform: translateY(-3px); }
.edition b { font-family: var(--head); font-size: 2rem; color: var(--teal); display: block; line-height: 1; }
.edition b sup { font-size: .5em; color: var(--orange); }
.edition .yr { display: inline-block; margin: 8px 0 4px; font-size: 12px; font-weight: 600; background: var(--teal-100); color: var(--teal); padding: 1px 10px; border-radius: 999px; }
.edition p { margin: 0; font-size: 13px; line-height: 1.35; color: var(--muted); }
.edition.current { background: var(--teal); border-color: var(--teal); }
.edition.current b, .edition.current p { color: #fff; }
.edition.current .yr { background: var(--orange); color: #fff; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { background: var(--teal); color: #fff; font-weight: 600; padding: 14px 16px; text-align: left; font-size: 14px; }
td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) td { background: #f6f9f9; }
tbody tr:hover td { background: #eef6f7; }
td.c, th.c { text-align: center; }
.tick { color: var(--teal-600); font-weight: 700; font-size: 1.1rem; }
.dash { color: #b6c3c5; }
.tier { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tier i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.price { font-weight: 600; color: var(--teal-900); white-space: nowrap; }

/* Fee toggle */
.seg { display: inline-flex; background: var(--teal-100); border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.seg button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font: 600 14px var(--body); color: var(--teal); cursor: pointer; }
.seg button.on { background: var(--teal); color: #fff; }
.fee-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fee { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; position: relative; overflow: hidden; }
.fee::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--teal); }
.fee:nth-child(2n)::before { background: var(--orange); }
.fee h3 { font-size: 1.25rem; margin-bottom: 14px; }
.fee .amt { font-family: var(--head); font-size: 2.6rem; font-weight: 700; color: var(--teal); line-height: 1; }
.fee .amt small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.fee .other { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Lists */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 6px 0 6px 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2316707f' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 18px 72px; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font-family: var(--head); font-size: 1.9rem; font-weight: 700; color: var(--orange); }
.steps strong { display: block; color: var(--green); }

/* Notice */
.notice { display: flex; gap: 14px; align-items: flex-start; background: #fff8ec; border: 1px solid #f3d6a8; border-left: 4px solid var(--orange); padding: 16px 20px; border-radius: 10px; font-size: 14.5px; }
.notice svg { width: 22px; height: 22px; fill: var(--orange-600); flex: none; margin-top: 2px; }

/* Accordion (FAQ) */
.acc { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 12px; overflow: hidden; }
.acc summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; position: relative; color: var(--teal-900); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: .2s; }
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc .acc-body { padding: 0 20px 18px; color: var(--muted); }

/* Committee */
.person { text-align: center; }
.person .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; background: linear-gradient(135deg, var(--teal), var(--teal-600)); display: grid; place-items: center; color: #fff; font-family: var(--head); font-size: 2rem; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--orange); }
.person .avatar svg { width: 44px; height: 44px; fill: #fff; opacity: .9; }
.person h3 { font-size: 1.3rem; margin-bottom: 2px; }
.person .role { color: var(--orange-600); font-weight: 600; font-size: 13.5px; }
.person p { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }

/* Page banner */
.page-banner { background: var(--teal-900) url("../img/footer-strip.png") center bottom / cover no-repeat; color: #fff; position: relative; padding: 70px 0 64px; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,53,66,.97) 30%, rgba(10,53,66,.72)); }
.page-banner .wrap { position: relative; }
.page-banner h1 { color: #fff; text-transform: uppercase; margin-bottom: 8px; }
.page-banner p { color: #b9d4da; max-width: 680px; margin: 0; }
.crumbs { font-size: 13px; margin-bottom: 14px; color: #9dc0c7; }
.crumbs a { color: var(--orange); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-900); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 14.5px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(22,112,127,.12); }
.form textarea { min-height: 140px; resize: vertical; }
.form .err { color: #b3261e; font-size: 12.5px; display: none; margin-top: 4px; }
.form .invalid input, .form .invalid select, .form .invalid textarea { border-color: #b3261e; }
.form .invalid .err { display: block; }
.form-msg { display: none; padding: 14px 18px; border-radius: 10px; background: #e7f5ee; color: #17603c; border: 1px solid #b9e0c9; margin-top: 16px; }
.form-msg.show { display: block; }

.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.contact-item .ic svg { width: 22px; height: 22px; fill: #fff; }
.contact-item h4 { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 500; margin: 0; }
.contact-item p { margin: 0; font-weight: 600; color: var(--teal-900); }

.map { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--teal) 0%, var(--teal-900) 70%); color: #fff; border-radius: 20px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(232,149,43,.25); }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 2.1rem; }
.cta-band h2::after { display: none; }
.cta-band p { margin: 0; color: #c7dde2; }

/* Footer */
.site-footer { background: var(--teal-900); color: #b9d4da; font-size: 14px; }
.footer-art { height: 120px; background: url("../img/footer-strip.png") center bottom / auto 120px repeat-x; border-top: 4px solid var(--orange); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 50px 22px 34px; }
.site-footer h4 { color: #fff; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #b9d4da; }
.site-footer a:hover { color: var(--orange); }
.site-footer .fbrand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.site-footer .fbrand img { width: 54px; background: #fff; border-radius: 50%; padding: 3px; }
.site-footer .fbrand strong { font-family: var(--head); font-size: 1.7rem; color: #fff; }
.site-footer .fbrand strong span { color: var(--orange); }
.copy { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; border: 0; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: #fff; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-items, .hero-art img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav.open { max-height: calc(100vh - 76px); overflow-y: auto; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 22px 20px; }
  .nav a { padding: 12px 6px; border-bottom: 1px solid #eef2f2; border-radius: 0; }
  .nav a.active { box-shadow: inset 3px 0 0 var(--orange); padding-left: 12px; }
  .nav a.btn { margin: 12px 0 0; justify-content: center; border-radius: 999px; }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .editions { grid-template-columns: repeat(4, 1fr); }
  .fee-cards, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 560px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
  .countdown-band .wrap { justify-content: center; text-align: center; }
  .timeline li { grid-template-columns: 46px 1fr; }
  .timeline .when { grid-column: 2; text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .topbar .tb-hide { display: none; }
  .brand-text small { display: none; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .editions { grid-template-columns: repeat(2, 1fr); }
  .fee-cards, .grid-4, .form { grid-template-columns: 1fr; }
  .countdown div { min-width: 66px; }
  .countdown b { font-size: 1.9rem; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 26px; }
  .hero h1, .hero .acro { margin-left: 0; }
  .hero-meta, .hero-cta, .hero .intl { margin-left: 0; }
}
