/* ===== TechSkills Forum '26 ===== */

:root {
  --yellow: #F5B324;
  --yellow-soft: #FBE2A2;
  --teal: #1F8FB9;
  --teal-deep: #14668A;
  --navy: #122E5E;
  --navy-deep: #0A1E40;
  --ink: #0C1A2C;
  --paper: #FAFAF7;
  --paper-warm: #F4F1E8;
  --rule: #1a1a1a14;
  --rule-dark: #ffffff1f;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ===== Animation primitives ===== */

@keyframes fadeUp {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes maskReveal {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0; }
  10%  { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes lineExpand {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.00s; }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.42s; }
.reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.54s; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 0.60s; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 0.66s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .strip-track { animation: none; }
}

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ===== Type ===== */

.display {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.eyebrow.on-dark { color: var(--yellow); }

/* ===== Mobile menu ===== */

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--rule);
}

.menu-btn .bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.menu-btn .bar::before,
.menu-btn .bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.menu-btn .bar::before { top: -6px; }
.menu-btn .bar::after  { top: 6px; }

.menu-btn[aria-expanded="true"] .bar { background: transparent; }
.menu-btn[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--navy-deep);
  color: #fff;
  z-index: 49;
  padding: 32px var(--gutter);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease, padding-left 0.3s ease;
}
.mobile-menu a:hover { color: var(--yellow); padding-left: 12px; }

.mobile-menu .menu-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--yellow);
  color: var(--navy-deep);
  border-radius: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  border: none;
}
.mobile-menu .menu-cta:hover { padding-left: 24px; color: var(--navy-deep); }

body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ===== Nav ===== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(250, 250, 247, 0.98);
  box-shadow: 0 10px 30px -20px rgba(18,46,94,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover { color: var(--teal-deep); }

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--yellow);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}

@media (max-width: 540px) {
  .nav-logo img { height: 32px; }
  .nav-inner { padding: 10px 0; }
}

/* ===== Hero ===== */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
  padding: clamp(72px, 9vw, 140px) 0 clamp(56px, 7vw, 100px);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(31,143,185,0.40), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(245,179,36,0.22), transparent 60%),
    radial-gradient(600px 400px at 50% 50%, rgba(31,143,185,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Layered grid pattern overlay */
.hero::after {
  display: none;
}

/* Decorative shapes inside hero */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-deco .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-deco .ring.r1 {
  width: 720px; height: 720px;
  top: -280px; right: -200px;
  border-color: rgba(245,179,36,0.18);
  animation: spinSlow 60s linear infinite;
}
.hero-deco .ring.r2 {
  width: 460px; height: 460px;
  top: -160px; right: -80px;
  border-color: rgba(31,143,185,0.32);
  animation: spinSlow 80s linear infinite reverse;
}
.hero-deco .ring.r3 {
  width: 240px; height: 240px;
  top: -40px; right: 40px;
  border-color: rgba(245,179,36,0.45);
}

.hero-deco .blob {
  position: absolute;
  filter: blur(40px);
  opacity: 0.55;
  border-radius: 50%;
}
.hero-deco .blob.b1 {
  width: 420px; height: 420px;
  left: -120px; bottom: -160px;
  background: radial-gradient(circle, var(--yellow), transparent 70%);
  animation: floaty 14s ease-in-out infinite;
}
.hero-deco .blob.b2 {
  width: 380px; height: 380px;
  left: 40%; top: 30%;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  opacity: 0.35;
  animation: floaty 18s ease-in-out infinite reverse;
}

.hero-deco .square {
  position: absolute;
  background: var(--yellow);
  width: 14px; height: 14px;
  transform: rotate(45deg);
  opacity: 0.85;
}
.hero-deco .square.s1 { top: 22%; left: 8%; }
.hero-deco .square.s2 { bottom: 18%; left: 42%; opacity: 0.4; width: 10px; height: 10px; background: var(--teal); }
.hero-deco .square.s3 { top: 38%; right: 6%; opacity: 0.55; width: 8px; height: 8px; }

.hero-deco .dots {
  position: absolute;
  width: 220px;
  height: 140px;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  bottom: 80px;
  right: 8%;
  mask-image: linear-gradient(180deg, #000, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
}

/* ===== Event-themed hero decoration (Mediterranean map + year + chips) ===== */

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.hero-map .med-coast path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: drawCoast 4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes drawCoast {
  to { stroke-dashoffset: 0; }
}

.hero-map .dot-c {
  fill: rgba(255,255,255,0.45);
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
.hero-map .med-dots circle:nth-child(1)  { animation-delay: 1.5s; }
.hero-map .med-dots circle:nth-child(2)  { animation-delay: 1.6s; }
.hero-map .med-dots circle:nth-child(3)  { animation-delay: 1.7s; }
.hero-map .med-dots circle:nth-child(4)  { animation-delay: 1.8s; }
.hero-map .med-dots circle:nth-child(5)  { animation-delay: 1.9s; }
.hero-map .med-dots circle:nth-child(6)  { animation-delay: 2.0s; }
.hero-map .med-dots circle:nth-child(7)  { animation-delay: 2.1s; }
.hero-map .med-dots circle:nth-child(8)  { animation-delay: 2.2s; }
.hero-map .med-dots circle:nth-child(9)  { animation-delay: 2.3s; }
.hero-map .med-dots circle:nth-child(10) { animation-delay: 2.4s; }
.hero-map .med-dots circle:nth-child(11) { animation-delay: 2.5s; }
.hero-map .med-dots circle:nth-child(12) { animation-delay: 2.6s; }
.hero-map .med-dots circle:nth-child(13) { animation-delay: 2.7s; }
.hero-map .med-dots circle:nth-child(14) { animation-delay: 2.8s; }
.hero-map .med-dots circle:nth-child(15) { animation-delay: 2.9s; }
.hero-map .med-dots circle:nth-child(16) { animation-delay: 3.0s; }
.hero-map .med-dots circle:nth-child(17) { animation-delay: 3.1s; }
.hero-map .med-dots circle:nth-child(18) { animation-delay: 3.2s; }

.hero-map .cairo-pin .ring-out,
.hero-map .cairo-pin .ring-mid,
.hero-map .cairo-pin .ring-in {
  transform-origin: 0 0;
  transform-box: fill-box;
  animation: pinPulse 3s ease-out infinite;
}
.hero-map .cairo-pin .ring-mid { animation-delay: 0.6s; }
.hero-map .cairo-pin .ring-in  { animation-delay: 1.2s; }

@keyframes pinPulse {
  0%   { transform: scale(0.55); opacity: 1; }
  100% { transform: scale(1.5);  opacity: 0; }
}

.hero-map .cairo-pin text {
  font-family: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.hero-map .dialogue line {
  stroke-dasharray: 2 4;
  animation: dialogueFlow 14s linear infinite;
}

@keyframes dialogueFlow {
  to { stroke-dashoffset: -100; }
}

/* Background year typography */
.hero-bg-year {
  position: absolute;
  right: -2vw;
  bottom: -8vw;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(220px, 30vw, 480px);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245,179,36,0.18);
  text-stroke: 1px rgba(245,179,36,0.18);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Event meta chips */
.hero-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.evt-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: floatTag 9s ease-in-out infinite;
}

.evt-chip .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.evt-chip .bullet.b-teal { background: var(--teal); }

.evt-chip.c1 { top: 14%;  left: 3%;   animation-delay: 0s; }
.evt-chip.c2 { top: 32%;  right: 4%;  animation-delay: 1.2s; }
.evt-chip.c3 { bottom: 22%; left: 3%;  animation-delay: 2.4s; }
.evt-chip.c4 { bottom: 36%; right: 38%; animation-delay: 0.8s; }

@keyframes floatTag {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -8px, 0); }
}

@media (max-width: 860px) {
  .evt-chip.c2, .evt-chip.c4 { display: none; }
  .hero-bg-year { font-size: 280px; right: -10vw; }
}
@media (max-width: 540px) {
  .evt-chip.c3 { display: none; }
  .hero-map { opacity: 0.35; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(20px, -30px, 0); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 28px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(245,179,36,0.18);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 124px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: #fff;
}

@media (max-width: 540px) {
  .hero h1 { font-size: clamp(40px, 12vw, 64px); }
}

.hero h1 .accent { color: var(--yellow); }
.hero h1 .accent-teal { color: var(--teal); }

/* Hero entry animation, staggered fade-up on load */
.hero-tag,
.hero h1 .line,
.hero-lede,
.hero-actions,
.scroll-hint {
  opacity: 0;
  animation: fadeUp 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-tag      { animation-delay: 0.05s; }
.hero h1 .l1   { animation-delay: 0.15s; }
.hero h1 .l2   { animation-delay: 0.25s; }
.hero h1 .l3   { animation-delay: 0.35s; }
.hero-lede     { animation-delay: 0.55s; }
.hero-actions  { animation-delay: 0.70s; }
.scroll-hint   { animation-delay: 0.90s; }

.hero h1 .line {
  display: block;
}

.hero-meta {
  opacity: 0;
  animation: fadeUp 1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s forwards;
}

.hero-meta-row {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-meta-row:nth-child(1) { animation-delay: 0.55s; }
.hero-meta-row:nth-child(2) { animation-delay: 0.65s; }
.hero-meta-row:nth-child(3) { animation-delay: 0.75s; }
.hero-meta-row:nth-child(4) { animation-delay: 0.85s; }
.hero-meta-row:nth-child(5) { animation-delay: 0.95s; }

.hero-tag .dot {
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245,179,36,0.18); }
  50%      { box-shadow: 0 0 0 10px rgba(245,179,36,0.06); }
}

.hero-lede {
  max-width: 540px;
  margin-top: 28px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--teal-deep); transform: translateY(-2px); }

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero meta card */

.hero-meta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 28px;
}

.hero-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-meta-row:last-child { border-bottom: none; padding-bottom: 0; }
.hero-meta-row:first-child { padding-top: 0; }

.hero-meta-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero-meta-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  text-align: right;
}

.hero-meta-value strong { color: var(--yellow); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ===== Ticker / countdown strip ===== */

.strip {
  background: var(--yellow);
  color: var(--navy-deep);
  overflow: hidden;
  border-bottom: 4px solid var(--navy-deep);
}

.strip-track {
  display: flex;
  gap: 64px;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
}

.strip-track span { display: inline-flex; align-items: center; gap: 12px; }
.strip-track .sep {
  width: 8px; height: 8px;
  background: var(--navy-deep);
  border-radius: 50%;
  display: inline-block;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section primitives ===== */

.section { padding: clamp(72px, 9vw, 130px) 0; }
.section.tight { padding: clamp(56px, 6vw, 90px) 0; }
.section.dark { background: var(--navy-deep); color: #fff; }
.section.cream { background: var(--paper-warm); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(48px, 6vw, 80px);
  align-items: end;
}

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.025em;
}

.section-head .lede {
  font-size: clamp(15px, 1.2vw, 18px);
  color: rgba(12,26,44,0.7);
  line-height: 1.6;
  max-width: 560px;
}

.section.dark .section-head .lede { color: rgba(255,255,255,0.7); }

/* ===== About / Strategic context ===== */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

.about-text p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(12,26,44,0.8);
  margin-bottom: 20px;
}

.about-text p:first-child::first-letter {
  font-family: var(--display);
  font-weight: 900;
  font-size: 76px;
  float: left;
  line-height: 0.85;
  padding: 6px 14px 0 0;
  color: var(--teal-deep);
}

.about-quote {
  background: #fff;
  border-left: 4px solid var(--yellow);
  padding: 32px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.about-quote .mark {
  font-family: var(--display);
  font-weight: 900;
  font-size: 80px;
  line-height: 0;
  color: var(--yellow);
  display: block;
  height: 22px;
  margin-bottom: 4px;
}

/* ===== Stats ===== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }

.section.dark .stat { border-color: var(--rule-dark); }

.stat-value {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.section.dark .stat-value { color: var(--yellow); }

.stat-label {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12,26,44,0.6);
}

.section.dark .stat-label { color: rgba(255,255,255,0.65); }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ===== Pillars ===== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  position: relative;
  padding: 36px 32px 32px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar {
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.35s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(18,46,94,0.25);
  border-color: rgba(31,143,185,0.4);
}

.pillar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pillar:hover::after { transform: scaleX(1); }

.pillar-icon {
  transition: background 0.3s ease, color 0.3s ease, transform 0.4s ease;
}
.pillar:hover .pillar-icon {
  background: var(--navy-deep);
  color: var(--yellow);
  transform: rotate(-4deg);
}

.pillar-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 24px;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  border-radius: 4px;
  margin-bottom: 24px;
  color: var(--navy);
}

.pillar h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 14px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12,26,44,0.72);
}

.pillar-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--paper-warm);
  user-select: none;
}

/* ===== Logos / Partners ===== */

.logos-section {
  padding: clamp(64px, 7vw, 100px) 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.logos-head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.logos-head .eyebrow { color: var(--teal-deep); }

.logos-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-top: 12px;
}

.logos-group {
  margin-bottom: clamp(48px, 5vw, 72px);
}
.logos-group:last-child { margin-bottom: 0; }

.logos-group-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.logos-group-label::before,
.logos-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.logos-group-label span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(12,26,44,0.55);
  white-space: nowrap;
}

.logos-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.logos-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.logos-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.logos-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.logos-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 980px) {
  .logos-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .logos-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .logos-grid.cols-2 { grid-template-columns: 1fr; }
  .logos-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .logos-grid.cols-5,
  .logos-grid.cols-6 { grid-template-columns: repeat(2, 1fr); }
}

.logo-cell {
  background: #fff;
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 24px;
  transition: background 0.2s ease;
  position: relative;
}

.logo-cell:hover { background: var(--paper-warm); }

.logo-cell.tall { min-height: 160px; }

/* Wordmark placeholder, replace inner with <img src="..." alt="..." /> */
.wordmark {
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.005em;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-cell:hover .wordmark { filter: grayscale(0); opacity: 1; }

.wordmark .mark-top {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(12,26,44,0.55);
  margin-bottom: 6px;
}
.wordmark .mark-main {
  display: block;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.wordmark .mark-sub {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(12,26,44,0.55);
  margin-top: 6px;
}

.logo-cell.placeholder .wordmark {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(12,26,44,0.4);
  text-transform: uppercase;
  border: 1px dashed rgba(12,26,44,0.2);
  padding: 14px 22px;
  border-radius: 4px;
  filter: none;
  opacity: 1;
}

/* ===== About feature card (replaces the about image) ===== */

.about-with-feature {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 860px) {
  .about-with-feature { grid-template-columns: 1fr; }
}

.about-feature {
  position: sticky;
  top: 96px;
  padding: 32px 32px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  box-shadow: 0 30px 60px -40px rgba(18,46,94,0.18);
}

@media (max-width: 860px) {
  .about-feature { position: static; }
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}

.feature-logo {
  height: 38px;
  width: auto;
}

.feature-accent {
  width: 36px;
  height: 4px;
  background: var(--yellow);
  margin: 22px 0 16px;
}

.feature-eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.feature-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
  margin-bottom: 26px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-list .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--yellow);
  padding-top: 3px;
}

.feature-list .label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin-bottom: 4px;
}

.feature-list p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(12,26,44,0.7);
}

.feature-foot {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(12,26,44,0.55);
}

.feature-foot .kicker {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.14em;
}

.showcase {
  padding: clamp(72px, 8vw, 110px) 0;
  background: var(--paper);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 12px;
  margin-top: 48px;
}

@media (max-width: 980px) {
  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }
  .showcase-grid .tile-1 { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }
}

.tile {
  position: relative;
  overflow: hidden;
  background: var(--paper-warm);
  border-radius: 4px;
  cursor: pointer;
}

.tile-1 { grid-column: 1; grid-row: 1 / span 2; }

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
  display: block;
}

.tile:hover img { transform: scale(1.06); }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10,30,64,0.78) 100%);
  pointer-events: none;
}

.tile-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  color: #fff;
  z-index: 1;
}

.tile-caption .kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}

.tile-caption .title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.tile-1 .tile-caption .title { font-size: 30px; }

/* About image */

.about-with-image {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 860px) {
  .about-with-image { grid-template-columns: 1fr; }
}

.about-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-warm);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.about-image:hover img { transform: scale(1.05); }

.about-image .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 14px;
  background: var(--yellow);
  color: var(--navy-deep);
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 2;
}

/* CTA with background imagery */

.cta-banner {
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.16;
  mix-blend-mode: multiply;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.cta-banner > .wrap { position: relative; z-index: 1; }
.cta-banner::before { z-index: 0; }

/* ===== Programme grid ===== */

.programme {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.prog-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  border-bottom: 1px solid var(--rule);
}
.prog-row:last-child { border-bottom: none; }

.prog-row.header {
  background: var(--navy-deep);
  color: #fff;
}

.prog-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.prog-cell:last-child { border-right: none; }

.prog-row.header .prog-cell {
  border-right-color: rgba(255,255,255,0.1);
}

.prog-cell .track-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 8px;
}

.prog-cell .track-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: var(--navy);
}

.prog-row.header .prog-cell .day {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
}
.prog-row.header .prog-cell .day-date {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.prog-cell .session {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(12,26,44,0.82);
}

.prog-cell .session + .session {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--rule);
}

@media (max-width: 860px) {
  .prog-row { grid-template-columns: 1fr; }
  .prog-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .prog-row:last-child .prog-cell:last-child { border-bottom: none; }
}

/* ===== Tracks (6) — editorial image cards ===== */

.tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

@media (max-width: 980px) { .tracks { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .tracks { grid-template-columns: 1fr; } }

.track {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.3s ease,
              background 0.3s ease;
}

.track:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -28px rgba(18,46,94,0.28);
  border-color: rgba(31,143,185,0.4);
  background: #fff;
}

.track-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-warm);
}

.track-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
  filter: saturate(0.92);
}

/* Custom branded sector illustrations */
.track-illust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.track:hover .track-illust { transform: scale(1.04); }
.track-illust .bg-grid { stroke: rgba(255,255,255,0.06); }
.track-illust .bg-grid-dark { stroke: rgba(10,30,64,0.08); }
.track-illust text {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.track:hover .track-media img {
  transform: scale(1.08);
  filter: saturate(1.05);
}

.track-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,30,64,0) 45%, rgba(10,30,64,0.55) 100%);
  pointer-events: none;
}

.track-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(10,30,64,0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}
.track-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

.track-iconchip {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.3s ease;
}
.track:hover .track-iconchip {
  transform: rotate(-8deg) scale(1.06);
  background: #fff;
}

.track-body {
  padding: 24px 26px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.track-body h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: balance;
  transition: color 0.25s ease;
}

.track:hover .track-body h3 { color: var(--teal-deep); }

.track-body p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(12,26,44,0.72);
  margin-bottom: 18px;
  flex: 1;
}

.track-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(12,26,44,0.55);
}

.track-foot .arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.track:hover .track-foot .arrow {
  background: var(--yellow);
  transform: translateX(4px);
}

/* ===== Participants table ===== */

.participants {
  border-top: 1px solid var(--rule-dark);
}

.section.dark .participants { border-top-color: var(--rule-dark); }

.part-row {
  display: grid;
  grid-template-columns: 0.6fr 1fr 2fr;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule-dark);
  transition: background 0.2s ease;
}

.part-row {
  transition: background 0.3s ease, padding-left 0.3s ease;
  position: relative;
}
.part-row::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 0;
  height: 1px;
  background: var(--yellow);
  transform: translateY(-50%);
  transition: width 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.part-row:hover { background: rgba(255,255,255,0.03); padding-left: 36px; }
.part-row:hover::before { width: 24px; }
.part-row:hover .part-cat { color: var(--yellow); }
.part-cat { transition: color 0.3s ease; }

.part-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--yellow);
}

.part-cat {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
}

.part-desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 720px) {
  .part-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
}

/* ===== Why participate ===== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

@media (max-width: 860px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .value-grid { grid-template-columns: 1fr; } }

.value {
  background: var(--paper);
  padding: 36px 28px;
  transition: background 0.2s ease;
}

.value {
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  padding-bottom: 72px;
}
.value:hover { background: #fff; }
.value::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 16px; height: 16px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: rotate(-45deg) translateX(-12px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.value:hover::after { opacity: 1; transform: rotate(-45deg) translateX(0); }

/* ===== Back to top ===== */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--yellow);
  display: grid;
  place-items: center;
  z-index: 60;
  opacity: 0;
  transform: translateY(20px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
  box-shadow: 0 12px 30px -10px rgba(10,30,64,0.45);
  border: 1px solid rgba(255,255,255,0.08);
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.to-top:hover {
  background: var(--yellow);
  color: var(--navy-deep);
  transform: translateY(-4px) scale(1);
  box-shadow: 0 18px 36px -12px rgba(245,179,36,0.55);
}

.to-top svg { transition: transform 0.3s ease; }
.to-top:hover svg { transform: translateY(-2px); }

@media (max-width: 540px) {
  .to-top { width: 44px; height: 44px; right: 16px; bottom: 16px; }
}

.value-driver {
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-driver::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--yellow);
}

.value h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}

/* ===== CTA banner ===== */

.cta-banner {
  background: var(--yellow);
  color: var(--navy-deep);
  padding: clamp(56px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "TECHSKILLS '26";
  position: absolute;
  left: -10px;
  bottom: -40px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(120px, 18vw, 280px);
  letter-spacing: -0.04em;
  color: rgba(18,46,94,0.06);
  pointer-events: none;
  white-space: nowrap;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

.cta-inner h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
  text-wrap: balance;
}

.cta-inner p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(10,30,64,0.78);
  max-width: 540px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== Footer ===== */

.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 360px; }

.footer h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14.5px; }
.footer a:hover { color: #fff; }

.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 540px) {
  .footer-bot { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ===== Registration page ===== */

.reg-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

.reg-hero::before {
  content: "REGISTER";
  position: absolute;
  right: -30px;
  top: 60px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(140px, 22vw, 360px);
  letter-spacing: -0.04em;
  color: rgba(245,179,36,0.06);
  pointer-events: none;
}

.reg-hero h1 {
  position: relative;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 880px;
}

.reg-hero h1 .accent { color: var(--yellow); }

.reg-hero p {
  position: relative;
  margin-top: 24px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  line-height: 1.55;
}

.reg-body {
  padding: clamp(56px, 7vw, 100px) 0;
}

.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 980px) { .reg-grid { grid-template-columns: 1fr; } }

.reg-side h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 14px;
}

.reg-side .info-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.reg-side .info-item:first-of-type { border-top: 1px solid var(--rule); }

.reg-side .info-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 6px;
}

.reg-side .info-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
}

.reg-side .info-value span {
  display: block;
  font-family: var(--body);
  font-weight: 400;
  font-size: 14px;
  color: rgba(12,26,44,0.6);
  margin-top: 2px;
}

.reg-side .note {
  margin-top: 28px;
  padding: 20px;
  background: var(--paper-warm);
  border-radius: 4px;
  border-left: 3px solid var(--yellow);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(12,26,44,0.72);
}

.reg-form-wrap {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
}

.reg-form-head {
  padding: 24px 28px;
  background: var(--navy-deep);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.reg-form-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.005em;
}

.reg-form-head .badge {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--yellow);
  color: var(--navy-deep);
  border-radius: 999px;
}

/* Iframe slot, empty placeholder for client form */
.form-slot {
  min-height: 720px;
  position: relative;
  background:
    repeating-linear-gradient(45deg,
      transparent, transparent 14px,
      rgba(18,46,94,0.04) 14px, rgba(18,46,94,0.04) 28px);
}

.form-slot iframe {
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: none;
  display: block;
  background: #fff;
}

.form-slot-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 14px;
}

.form-slot-placeholder .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
  color: var(--navy);
}

.form-slot-placeholder h4 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
}

.form-slot-placeholder code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  background: var(--navy-deep);
  color: var(--yellow);
  padding: 12px 16px;
  border-radius: 4px;
  max-width: 540px;
  white-space: pre-wrap;
  text-align: left;
  line-height: 1.5;
}

.form-slot-placeholder p {
  font-size: 14px;
  color: rgba(12,26,44,0.6);
  max-width: 460px;
  line-height: 1.5;
}

/* Logo cells fade-in on scroll (used with .reveal-stagger) */
.logos-grid .logo-cell { will-change: opacity, transform; }

/* small flourish: scroll indicator under hero */
.scroll-hint {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.scroll-hint .line {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
