:root {
  --ink: #202124;
  --paper: #f7fbff;
  --white: #ffffff;
  --blue: #4285f4;
  --sky: #cbeef7;
  --green: #34a853;
  --yellow: #fbbc04;
  --orange: #ffb400;
  --pink: #ff66ad;
  --red: #ea4335;
  --mint: #a8e6b1;
  --line: 3px solid var(--ink);
  --shadow: 8px 8px 0 var(--ink);
}

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
  padding-top: 74px;
}
::selection { background: var(--pink); color: var(--ink); }
a { color: inherit; }
a:hover, a:focus { color: inherit; text-decoration: none; }

/* Navigation */
.navbar-devfest {
  min-height: 74px;
  margin: 0;
  border: 0;
  border-bottom: 3px solid var(--ink);
  background: rgba(255,255,255,.97);
  transition: box-shadow .2s ease, transform .2s ease;
}
.navbar-devfest.is-scrolled { box-shadow: 0 5px 0 rgba(32,33,36,.14); }
.navbar-devfest .navbar-brand {
  height: 74px;
  padding: 20px 15px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.navbar-devfest .navbar-brand small {
  display: inline-block;
  margin: 0 8px;
  padding: 5px 9px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  vertical-align: 4px;
  text-transform: uppercase;
}
.brand-brace { color: var(--green); }
.navbar-devfest .navbar-nav > li > a {
  color: var(--ink);
  padding: 27px 12px 24px;
  font-size: 13px;
  font-weight: 700;
}
.navbar-devfest .navbar-nav > li > a:hover,
.navbar-devfest .navbar-nav > li > a:focus,
.navbar-devfest .navbar-nav > .active > a,
.navbar-devfest .navbar-nav > .active > a:hover {
  color: var(--ink);
  background: transparent;
}
.navbar-devfest .navbar-nav > li > a:after {
  content: "";
  display: block;
  height: 4px;
  margin-top: 5px;
  border-radius: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.navbar-devfest .navbar-nav > li > a:hover:after,
.navbar-devfest .navbar-nav > .active > a:after { transform: scaleX(1); }
.navbar-toggle { margin-top: 18px; border: 2px solid var(--ink); border-radius: 14px; }
.navbar-toggle .icon-bar { background: var(--ink); }

/* Hero — based on the 2026 DevFest campaign language */
.hero {
  position: relative;
  min-height: 760px;
  padding: 74px 0 44px;
  overflow: hidden;
  background: var(--sky);
  border-bottom: 3px solid var(--ink);
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  z-index: 0;
  background: rgba(255,255,255,.8);
  border: var(--line);
  transform: rotate(-17deg);
}
.hero:before { width: 420px; height: 160px; left: -120px; top: 36px; }
.hero:after { width: 520px; height: 150px; right: -165px; top: 90px; transform: rotate(17deg); }
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .52;
  background-image:
    linear-gradient(24deg, transparent 49%, var(--ink) 49%, var(--ink) 50%, transparent 50%),
    linear-gradient(-24deg, transparent 49%, var(--ink) 49%, var(--ink) 50%, transparent 50%);
  background-size: 250px 170px;
  background-position: 0 0, 60px 40px;
}
.hero-container { position: relative; z-index: 2; }
.hero-row { display: flex; align-items: center; }
.eyebrow {
  display: inline-block;
  margin-bottom: 24px;
  padding: 10px 16px 8px;
  border: var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(-1deg);
}
.hero-title-box {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  padding: 28px 44px 24px;
  border: var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--blue);
}
.hero-title-box:before,
.hero-title-box:after {
  position: absolute;
  top: 18px;
  color: var(--green);
  font-size: 74px;
  line-height: 1;
  font-weight: 800;
}
.hero-title-box:before { content: "{"; left: -28px; }
.hero-title-box:after { content: "}"; right: -28px; }
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 78px;
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--ink); }
.hero-lead {
  display: inline-block;
  max-width: 700px;
  margin: 0 0 26px;
  padding: 12px 18px;
  border: var(--line);
  border-radius: 13px;
  background: var(--pink);
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  box-shadow: 5px 5px 0 rgba(32,33,36,.16);
  transform: rotate(.4deg);
}
.hero-actions { margin-top: 8px; }
.btn-devfest,
.btn-devfest-ghost {
  border: var(--line);
  border-radius: 13px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-devfest { background: var(--yellow); color: var(--ink); }
.btn-devfest-ghost { background: var(--white); color: var(--ink); margin-left: 8px; }
.btn-devfest:hover,
.btn-devfest-ghost:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }

.hero-poster {
  position: relative;
  min-height: 410px;
  margin-left: 10px;
}
.poster-arrow {
  position: absolute;
  z-index: 7;
  right: 18px;
  top: 22px;
  font-size: 92px;
  line-height: .7;
  font-weight: 900;
  transform: rotate(-30deg);
}
.poster-arrow:after { content: "✦"; color: var(--yellow); font-size: 50px; position: absolute; right: 5px; top: 90px; -webkit-text-stroke: 2px var(--ink); }
.poster-globe {
  position: absolute;
  left: 50px;
  top: 30px;
  width: 150px;
  height: 150px;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--blue);
}
.poster-globe:before,
.poster-globe:after { content: ""; position: absolute; background: var(--ink); }
.poster-globe:before { width: 3px; height: 100%; left: 50%; top: 0; }
.poster-globe:after { height: 3px; width: 100%; left: 0; top: 50%; }
.poster-globe span,
.poster-globe i { position: absolute; border: 3px solid var(--ink); border-radius: 50%; inset: 27px 0; }
.poster-globe i { inset: 0 38px; }
.poster-globe b {
  position: absolute;
  right: -46px;
  bottom: -30px;
  width: 86px;
  height: 86px;
  border: var(--line);
  border-radius: 18px;
  background: var(--green);
  transform: rotate(8deg);
}
.poster-globe b:before { content: "{✳}"; position: absolute; inset: 16px 0 0; text-align: center; font-size: 26px; }
.poster-waves { position: absolute; left: 12px; bottom: 20px; width: 220px; height: 100px; }
.poster-waves i { display: block; height: 18px; margin: 10px 0; border: var(--line); border-radius: 999px; background: var(--blue); transform: rotate(8deg); }
.poster-waves i:nth-child(2) { width: 75%; margin-left: 30px; background: var(--green); }
.poster-waves i:nth-child(3) { width: 45%; margin-left: 80px; background: var(--yellow); }
.poster-circles { position: absolute; right: 10px; bottom: 0; width: 120px; height: 155px; }
.poster-circles i { position: absolute; border: var(--line); border-radius: 50%; }
.poster-circles i:nth-child(1) { width: 84px; height: 84px; left: 5px; top: 10px; background: var(--yellow); }
.poster-circles i:nth-child(2) { width: 62px; height: 62px; right: 0; bottom: 5px; background: var(--pink); }
.poster-circles i:nth-child(3) { width: 38px; height: 38px; left: 0; bottom: 0; background: var(--green); }

.hero-meta { position: relative; z-index: 4; margin-top: 48px; }
.meta-card {
  position: relative;
  min-height: 120px;
  padding: 20px;
  border: var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}
.meta-card:before { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 50%; right: 13px; top: 13px; background: var(--green); }
.hero-meta > div:nth-child(2) .meta-card:before { background: var(--pink); }
.hero-meta > div:nth-child(3) .meta-card:before { background: var(--yellow); }
.meta-card strong { display: block; font-size: 29px; line-height: 1; letter-spacing: -.04em; }
.meta-card span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

/* Generic sections */
.section { position: relative; padding: 96px 0; border-bottom: 3px solid var(--ink); }
.section-light { background: #f8fbff; }
.section-dark { background: var(--blue); color: var(--ink); }
.section-yellow { background: var(--yellow); }
.section-blue { background: var(--green); color: var(--ink); }
.section-kicker {
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.section-kicker.light { color: var(--ink); }
.section-title {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: 64px;
  line-height: .95;
  font-weight: 800;
  letter-spacing: -.06em;
}
.section-title.light { color: var(--ink); }
.about-card {
  position: relative;
  padding: 38px;
  border: var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--pink);
}
.about-card:after { content: "✦"; position: absolute; right: 24px; top: -45px; font-size: 50px; color: var(--yellow); -webkit-text-stroke: 2px var(--ink); }
.lead-copy { margin: 0 0 28px; font-size: 21px; line-height: 1.48; }
.about-stats { margin-top: 14px; }
.stat { min-height: 105px; padding: 13px; border: 2px solid var(--ink); border-radius: 15px; background: var(--sky); margin-top: 12px; }
.about-stats > div:nth-child(2) .stat { background: var(--yellow); }
.about-stats > div:nth-child(3) .stat { background: var(--green); }
.about-stats > div:nth-child(4) .stat { background: var(--pink); }
.stat b { display: block; font-size: 34px; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

.section-head { display: flex; align-items: end; margin-bottom: 28px; }
.text-md-right { text-align: right; }
.speaker-filters { margin-bottom: 31px; }
.speaker-filters .btn {
  background: var(--white);
  border: 2px solid var(--ink);
  color: var(--ink);
  border-radius: 999px !important;
  margin-left: 6px !important;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  box-shadow: 3px 3px 0 var(--ink);
}
.speaker-filters .btn.active,
.speaker-filters .btn:hover { background: var(--pink); color: var(--ink); border-color: var(--ink); box-shadow: 1px 1px 0 var(--ink); }
.speaker-grid { display: flex; flex-wrap: wrap; }
.speaker-item { float: none; display: flex; margin-bottom: 30px; }
.speaker-card {
  width: 100%;
  padding: 10px 10px 20px;
  border: var(--line);
  border-radius: 19px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.speaker-card:hover { transform: translate(4px,4px); box-shadow: 3px 3px 0 var(--ink); }
.speaker-card.accent-cream { background: var(--pink); }
.speaker-card.accent-blue { background: var(--sky); }
.speaker-card.accent-orange { background: #ff9f8f; }
.speaker-photo { height: 270px; border-radius: 13px; overflow: hidden; background: var(--white); border: 2px solid var(--ink); margin-bottom: 16px; }
.speaker-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.speaker-card h3 { margin: 12px 8px 7px; font-size: 27px; line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.speaker-card p { min-height: 46px; margin: 0 8px 7px; }
.speaker-card small { display: block; margin: 0 8px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.track { display: inline-block; margin-left: 8px; padding: 5px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.track-hard:before { content: "● "; color: var(--green); }
.track-soft:before { content: "● "; color: var(--blue); }
.content-note { max-width: 760px; margin: 14px 0 0; padding: 10px 13px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); font-size: 12px; }

.schedule-intro { max-width: 320px; font-size: 17px; }
.schedule-board { overflow: hidden; border: var(--line); border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 9px 9px 0 var(--blue); }
.schedule-head { margin: 0; padding: 18px 20px; border-bottom: var(--line); background: var(--ink); color: var(--white); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.schedule-row { margin: 0; padding: 0 20px; border-bottom: 2px solid var(--ink); }
.schedule-row.last { border-bottom: 0; }
.schedule-row > div { padding-top: 18px; padding-bottom: 18px; }
.schedule-row .time { font-size: 24px; font-weight: 800; letter-spacing: -.04em; }
.schedule-row b { display: block; font-size: 15px; line-height: 1.35; }
.schedule-row span { display: block; margin-top: 6px; font-size: 12px; color: #5f6368; }
.schedule-row .slot { border-left: 2px solid var(--ink); }
.schedule-row .slot em { display: inline-block; margin-bottom: 8px; padding: 3px 7px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-style: normal; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.schedule-row .slot.hard { background: #d8f4dd; }
.schedule-row .slot.soft { background: #e7e6ff; }
.schedule-row.shared { background: #fff8c7; }

.ticket-panel { padding: 16px; border: var(--line); border-radius: 22px; background: var(--sky); box-shadow: 9px 9px 0 var(--green); }
.ticket-stub { display: flex; min-height: 310px; overflow: hidden; border: 3px dashed var(--ink); border-radius: 16px; background: var(--white); color: var(--ink); }
.ticket-code { width: 150px; display: flex; align-items: center; justify-content: center; border-right: 3px dashed var(--ink); background: var(--pink); color: var(--ink); font-size: 38px; font-weight: 800; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .08em; }
.ticket-copy { padding: 38px; }
.ticket-copy > span { display: inline-block; padding: 5px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.ticket-copy h3 { margin: 12px 0 14px; font-size: 37px; line-height: 1.05; font-weight: 800; letter-spacing: -.05em; }
.ticket-copy p { margin-bottom: 22px; color: #5f6368; }

.location-row { display: flex; align-items: center; }
.location-copy { max-width: 680px; font-size: 19px; font-weight: 600; }
.location-tags { margin-top: 24px; }
.location-tags span { display: inline-block; margin: 0 8px 8px 0; padding: 7px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.map-placeholder { position: relative; min-height: 330px; overflow: hidden; border: var(--line); border-radius: 22px; background: var(--sky); box-shadow: 8px 8px 0 var(--ink); }
.map-placeholder:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(0deg, transparent 49%, rgba(32,33,36,.16) 50%, transparent 51%), linear-gradient(90deg, transparent 49%, rgba(32,33,36,.16) 50%, transparent 51%); background-size: 54px 54px; }
.map-placeholder span { position: absolute; left: 22px; bottom: 20px; padding: 7px 9px; border: 2px solid var(--ink); border-radius: 9px; background: var(--white); font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.map-pin { position: absolute; left: 57%; top: 36%; width: 64px; height: 64px; border: var(--line); border-radius: 50% 50% 50% 0; background: var(--yellow); transform: rotate(-45deg); box-shadow: 6px 6px 0 rgba(32,33,36,.18); }
.map-pin i { position: absolute; width: 17px; height: 17px; left: 20px; top: 20px; border-radius: 50%; background: var(--ink); }
.map-cross { position: absolute; width: 80px; height: 3px; background: var(--ink); }
.map-cross:after { content: ""; position: absolute; width: 3px; height: 80px; left: 39px; top: -39px; background: var(--ink); }
.map-cross.x1 { left: 20px; top: 80px; transform: rotate(20deg); }
.map-cross.x2 { right: 15px; bottom: 90px; transform: rotate(-12deg); }

.footer { padding: 34px 0; background: var(--ink); color: var(--white); }
.footer-brand { font-size: 20px; font-weight: 800; }
.footer-brand span { color: var(--green); }
.footer-right { text-align: right; }
.footer-right a { color: var(--yellow); font-weight: 800; }
.footer-right p { margin: 8px 0 0; color: #bdc1c6; font-size: 12px; }

@media (max-width: 991px) {
  body { padding-top: 74px; }
  .hero { min-height: auto; padding-top: 60px; }
  .hero-row, .section-head, .location-row { display: block; }
  .hero h1 { font-size: 66px; }
  .section-title { font-size: 52px; }
  .text-md-right { text-align: left; }
  .speaker-filters { margin: 6px 0 30px; }
  .schedule-intro { max-width: none; margin-bottom: 30px; }
  .map-placeholder { margin-top: 34px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; padding-top: 66px; }
  .navbar-devfest { min-height: 66px; }
  .navbar-devfest .navbar-brand { height: 66px; padding: 17px 15px; font-size: 24px; }
  .navbar-devfest .navbar-collapse { border-top: 2px solid var(--ink); background: var(--white); }
  .navbar-devfest .navbar-nav > li > a { padding: 12px 18px; }
  .navbar-devfest .navbar-brand small { display: none; }
  .navbar-toggle { margin-top: 13px; }
  .hero { padding: 46px 0 36px; }
  .hero-title-box { padding: 22px 25px 20px; box-shadow: 7px 7px 0 var(--blue); }
  .hero-title-box:before, .hero-title-box:after { font-size: 52px; top: 16px; }
  .hero-title-box:before { left: -20px; }
  .hero-title-box:after { right: -20px; }
  .hero h1 { font-size: 46px; }
  .hero-lead { font-size: 17px; }
  .btn-devfest, .btn-devfest-ghost { display: block; width: 100%; margin: 0 0 12px; }
  .hero-meta { margin-top: 34px; }
  .meta-card { margin-bottom: 16px; min-height: 100px; }
  .section { padding: 68px 0; }
  .section-title { font-size: 44px; }
  .about-card { padding: 25px; box-shadow: 7px 7px 0 var(--pink); }
  .about-card:after { right: 12px; font-size: 42px; }
  .lead-copy { font-size: 18px; }
  .speaker-filters .btn { margin: 0 4px 7px 0 !important; }
  .speaker-item { display: block; }
  .speaker-photo { height: auto; aspect-ratio: 4/3; }
  .schedule-board { border-radius: 16px; box-shadow: 6px 6px 0 var(--blue); }
  .schedule-row { padding: 0 14px; }
  .schedule-row .time { padding-bottom: 0; }
  .schedule-row .slot { border-left: 0; border-top: 2px dashed var(--ink); }
  .schedule-row .slot + .slot { border-top: 2px dashed var(--ink); }
  .schedule-row.shared .col-sm-10 { padding-top: 8px; }
  .ticket-stub { display: block; }
  .ticket-code { width: 100%; height: 68px; border-right: 0; border-bottom: 3px dashed var(--ink); writing-mode: horizontal-tb; transform: none; }
  .ticket-copy { padding: 26px 22px; }
  .ticket-copy h3 { font-size: 31px; }
  .footer-right { margin-top: 18px; text-align: left; }
}

/* Tickets 2026 */
.tickets-heading { display: flex; align-items: flex-end; margin-bottom: 34px; }
.tickets-intro { max-width: 670px; padding: 26px 28px; border: var(--line); border-radius: 18px; background: var(--sky); box-shadow: 7px 7px 0 var(--green); }
.tickets-intro p { margin: 16px 0 0; font-size: 18px; line-height: 1.45; }
.registration-live { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 2px solid var(--ink); border-radius: 999px; background: var(--white); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.registration-live i { display: inline-block; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(52,168,83,.16); }
.ticket-grid > div { margin-bottom: 30px; }
.price-ticket { position: relative; min-height: 520px; padding: 22px; border: var(--line); border-radius: 20px; background: var(--white); box-shadow: 7px 7px 0 var(--ink); display: flex; flex-direction: column; }
.ticket-beginner { background: #fffdf0; }
.ticket-junior { background: #fbe5f2; }
.ticket-middle { background: #eaf1ff; }
.ticket-senior { background: #dcf4e4; }
.price-ticket.featured { transform: translateY(-8px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--blue); }
.ticket-ribbon { position: absolute; right: -10px; top: 18px; padding: 6px 11px; border: 2px solid var(--ink); border-radius: 9px; background: var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: .08em; transform: rotate(4deg); }
.ticket-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 2px dashed var(--ink); }
.ticket-topline span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); font-size: 11px; font-weight: 900; }
.ticket-topline b { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.price-ticket h3 { margin: 20px 0 12px; font-size: 30px; font-weight: 800; letter-spacing: -.05em; }
.price-ticket ul { min-height: 145px; margin: 0 0 18px; padding: 0; list-style: none; }
.price-ticket li { position: relative; margin: 9px 0; padding-left: 20px; font-size: 13px; line-height: 1.35; }
.price-ticket li:before { content: "✦"; position: absolute; left: 0; top: -1px; font-weight: 900; }
.ticket-prices { margin-top: auto; padding-top: 18px; border-top: 2px dashed var(--ink); }
.ticket-prices > div { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 10px; }
.ticket-prices small { display: block; max-width: 90px; font-size: 10px; line-height: 1.15; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.ticket-prices strong { font-size: 24px; line-height: 1; letter-spacing: -.04em; }
.ticket-prices .student-price { margin: 10px -8px 16px; padding: 9px 8px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow); }
.ticket-buy { margin-top: 4px; }
.student-note { display: flex; align-items: center; margin-top: 6px; padding: 22px 24px; border: var(--line); border-radius: 18px; background: var(--white); box-shadow: 7px 7px 0 var(--pink); }
.student-note-icon { flex: 0 0 auto; width: 58px; height: 58px; margin-right: 18px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 16px; background: var(--sky); font-size: 28px; }
.student-note strong { display: block; margin-bottom: 4px; font-size: 17px; }
.student-note p { margin: 0; color: #5f6368; }

.registration-modal .modal-dialog { margin-top: 90px; }
.registration-modal .modal-content { border: var(--line); border-radius: 20px; box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.registration-modal .modal-header { padding: 24px 26px; border-bottom: var(--line); background: var(--sky); }
.registration-modal .modal-title { margin-top: 8px; font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.registration-modal .modal-kicker { display: inline-block; padding: 5px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.registration-modal .close { opacity: 1; color: var(--ink); font-size: 32px; }
.registration-modal .modal-body { padding: 26px; background: #fff; }
.registration-modal label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.registration-modal .form-control { height: 46px; border: 2px solid var(--ink); border-radius: 10px; box-shadow: none; }
.registration-modal .student-check { display: block; margin: 18px 0; padding: 13px; border: 2px solid var(--ink); border-radius: 10px; background: #fff8c7; text-transform: none; letter-spacing: 0; }
.registration-modal .registration-hint { margin: 14px 0 18px; color: #777; font-size: 12px; line-height: 1.4; }

@media (max-width: 991px) {
  .tickets-heading { display: block; }
  .tickets-intro { margin-top: 10px; }
  .price-ticket.featured { transform: none; }
}
@media (max-width: 767px) {
  .price-ticket { min-height: 0; }
  .price-ticket ul { min-height: 0; }
  .student-note { display: block; }
  .student-note-icon { margin: 0 0 14px; }
  .registration-modal .modal-dialog { margin: 78px 12px 20px; }
}


/* Interactive talk details */
.speaker-card[data-talk], .slot[data-talk] { cursor: pointer; }
.speaker-card[data-talk]:after { content: "Подробнее ↗"; display:inline-block; margin-top:14px; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.slot[data-talk] { transition: transform .15s ease, box-shadow .15s ease; }
.slot[data-talk]:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--ink); }
.talk-modal .modal-content, .promo-modal .modal-content { border: var(--line); border-radius:20px; box-shadow:10px 10px 0 var(--ink); overflow:hidden; }
.talk-modal .modal-header, .promo-modal .modal-header { background:var(--sky); border-bottom:var(--line); padding:24px 28px; }
.talk-modal .modal-body, .promo-modal .modal-body { padding:28px; }
.talk-avatar { width:110px; height:110px; display:flex; align-items:center; justify-content:center; border:var(--line); border-radius:24px; background:var(--green); box-shadow:6px 6px 0 var(--ink); font-size:36px; font-weight:900; margin-bottom:20px; }
.talk-person h5 { font-size:24px; font-weight:800; margin:0 0 7px; }
.talk-person p { font-weight:700; margin:0 0 8px; }
.talk-label, .gallery-label { display:inline-block; padding:6px 10px; border:2px solid var(--ink); border-radius:999px; background:var(--pink); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.talk-modal h3 { font-size:34px; line-height:1.08; font-weight:800; margin:14px 0 18px; letter-spacing:-.03em; }
.talk-description { font-size:18px; line-height:1.55; }
.talk-note { margin-top:22px; padding:14px 16px; border:2px solid var(--ink); border-radius:12px; background:var(--yellow); font-size:13px; font-weight:700; }
.promo-open { margin-top:10px; }
.promo-copy { font-size:17px; line-height:1.5; margin-bottom:22px; }

/* History / videos / gallery */
.history-section { background:var(--sky); }
.history-copy { max-width:420px; font-size:18px; line-height:1.5; }
.video-feature, .video-card { border:var(--line); border-radius:18px; background:var(--white); padding:8px; box-shadow:7px 7px 0 var(--ink); overflow:hidden; }
.video-feature iframe, .video-card iframe { border:0; }
.video-grid { margin-top:28px; }
.video-card { margin-bottom:24px; box-shadow:5px 5px 0 var(--ink); }
.gallery-head { margin:62px 0 24px; }
.gallery-head h3 { font-size:42px; font-weight:800; letter-spacing:-.04em; margin:12px 0 8px; }
.gallery-head p { max-width:760px; font-size:16px; }
.photo-gallery { margin-left:-8px; margin-right:-8px; }
.photo-gallery > div { padding:8px; }
.photo-tile { position:relative; display:block; height:260px; border:var(--line); border-radius:18px; overflow:hidden; background:var(--white); box-shadow:6px 6px 0 var(--ink); }
.photo-tile.tall { height:330px; }
.photo-tile img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease; }
.photo-tile:hover img { transform:scale(1.035); }
.photo-tile span { position:absolute; left:12px; bottom:12px; padding:7px 10px; border:2px solid var(--ink); border-radius:999px; background:var(--yellow); font-size:11px; font-weight:800; text-transform:uppercase; }
@media (max-width:767px) { .photo-tile, .photo-tile.tall { height:210px; } .talk-modal h3 { font-size:27px; } }

/* v4 — compact ticket actions, horizontal gallery, event pass */
.event-pass {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 920px;
  margin-top: 48px;
  border: var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
  overflow: visible;
}
.event-pass-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 360px;
  padding: 20px 28px;
  background: var(--yellow);
  border-right: 3px dashed var(--ink);
  border-radius: 18px 0 0 18px;
}
.event-pass-label {
  position: absolute;
  left: 18px;
  top: -15px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  transform: rotate(-2deg);
}
.event-pass-main > strong { font-size: 74px; line-height: .8; letter-spacing: -.08em; }
.event-pass-main div { display: flex; flex-direction: column; }
.event-pass-main b { font-size: 28px; line-height: 1; }
.event-pass-main small { margin-top: 7px; font-weight: 800; letter-spacing: .08em; }
.event-pass-info { display: flex; flex: 1; align-items: center; }
.event-info-item { flex: 1; display: flex; align-items: center; gap: 12px; padding: 22px 20px; }
.event-info-item + .event-info-item { border-left: 2px solid var(--ink); }
.event-icon { width: 44px; height: 44px; flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--sky); font-size: 24px; font-weight: 900; }
.event-city .event-icon { background: var(--green); }
.event-info-item small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 900; letter-spacing: .09em; }
.event-info-item b { font-size: 18px; letter-spacing: -.02em; }
.event-pass-sticker { position: absolute; right: -32px; top: -26px; width: 82px; height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: var(--line); border-radius: 50%; background: var(--blue); font-size: 11px; font-weight: 900; line-height: 1.05; text-align: center; transform: rotate(9deg); box-shadow: 4px 4px 0 var(--ink); }
.event-pass-sticker span { font-size: 22px; line-height: 1; }

.ticket-grid .col-sm-4 { margin-bottom: 30px; }
.price-ticket { min-height: 540px; }
.ticket-middle.featured { transform: translateY(-9px) rotate(-.4deg); box-shadow: 9px 9px 0 var(--blue); }
.ticket-actions { display: flex; gap: 8px; margin-top: 4px; }
.ticket-actions .btn { flex: 1 1 50%; min-height: 48px; white-space: normal; line-height: 1.15; padding: 10px 9px; }
.btn-promo { border: var(--line); border-radius: 13px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.btn-promo:hover, .btn-promo:focus { color: var(--ink); transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }

.gallery-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-controls { display: flex; gap: 10px; padding-bottom: 4px; }
.gallery-controls button { width: 48px; height: 48px; border: var(--line); border-radius: 50%; background: var(--white); font-size: 24px; font-weight: 900; box-shadow: 4px 4px 0 var(--ink); }
.gallery-controls button:hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.gallery-viewport { overflow: hidden; margin: 0 -6px; padding: 8px 6px 16px; }
.gallery-strip { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; padding: 0 2px 12px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.gallery-slide { position: relative; flex: 0 0 240px; height: 165px; overflow: hidden; border: var(--line); border-radius: 16px; background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.gallery-slide:hover img { transform: scale(1.035); }
.gallery-slide span { position: absolute; left: 9px; bottom: 9px; padding: 5px 8px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .05em; }

@media (max-width: 991px) {
  .event-pass { max-width: none; }
  .event-pass-main { min-width: 310px; }
  .event-pass-main > strong { font-size: 62px; }
  .event-info-item { padding: 18px 14px; }
  .event-info-item b { font-size: 15px; }
}
@media (max-width: 767px) {
  .event-pass { display: block; margin-right: 8px; overflow: hidden; }
  .event-pass-main { min-width: 0; border-right: 0; border-bottom: 3px dashed var(--ink); border-radius: 18px 18px 0 0; }
  .event-pass-info { display: block; }
  .event-info-item + .event-info-item { border-left: 0; border-top: 2px solid var(--ink); }
  .event-pass-sticker { display: none; }
  .ticket-actions { display: block; }
  .ticket-actions .btn { width: 100%; margin: 4px 0; }
  .gallery-head-row { display: block; }
  .gallery-controls { margin-top: 14px; }
  .gallery-slide { flex-basis: 205px; height: 145px; }
}

/* v5 — quieter date card, full-width gallery, partners */
.event-pass-main { min-width: 285px; padding: 18px 24px; gap: 14px; }
.event-pass-main > strong { font-size: 54px; line-height: .85; }
.event-pass-main b { font-size: 22px; }
.event-pass-main small { font-size: 10px; }
.event-info-item { min-width: 0; }
.event-city b { text-transform: none; }
.event-city span { display:block; margin-top:4px; font-size:12px; font-weight:800; }
.event-pass-sticker { color:var(--ink); text-decoration:none; }
.event-pass-sticker:hover, .event-pass-sticker:focus { color:var(--ink); text-decoration:none; transform:rotate(3deg) translate(2px,2px); }

.history-section { overflow:hidden; }
.gallery-fullbleed { position:relative; left:50%; width:100vw; margin-left:-50vw; margin-top:58px; padding:18px 66px 44px; border-top:3px solid var(--ink); border-bottom:3px solid var(--ink); background:var(--sky); }
.gallery-viewport { overflow:hidden; margin:0; padding:0; }
.gallery-strip { display:flex; gap:18px; overflow-x:auto; padding:8px 0 18px; scroll-behavior:smooth; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.gallery-strip::-webkit-scrollbar { display:none; }
.gallery-slide { flex:0 0 calc((100vw - 168px) / 3); height:330px; padding:0; overflow:hidden; border:var(--line); border-radius:22px; background:var(--white); box-shadow:7px 7px 0 var(--ink); scroll-snap-align:center; cursor:zoom-in; appearance:none; }
.gallery-slide:nth-child(4n+2) { transform:rotate(.7deg); }
.gallery-slide:nth-child(4n+3) { transform:rotate(-.8deg); }
.gallery-slide img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .22s ease; }
.gallery-slide:hover img { transform:scale(1.035); }
.gallery-edge { position:absolute; z-index:3; top:50%; width:52px; height:52px; margin-top:-38px; border:var(--line); border-radius:50%; background:var(--yellow); box-shadow:4px 4px 0 var(--ink); font-size:25px; font-weight:900; }
.gallery-prev { left:14px; }
.gallery-next { right:14px; }
.gallery-dots { display:flex; justify-content:center; gap:8px; margin-top:8px; }
.gallery-dot { width:13px; height:13px; padding:0; border:2px solid var(--ink); border-radius:50%; background:var(--white); transition:.15s ease; }
.gallery-dot:nth-child(4n+2) { border-radius:3px; transform:rotate(12deg); }
.gallery-dot:nth-child(4n+3) { width:16px; border-radius:999px; }
.gallery-dot.active { background:var(--pink); transform:scale(1.35); }

.photo-modal .modal-dialog { width:min(1100px, calc(100% - 28px)); margin:24px auto; }
.photo-modal .modal-content { position:relative; overflow:hidden; padding:12px; border:var(--line); border-radius:22px; background:var(--ink); box-shadow:none; }
.photo-modal img { display:block; width:100%; max-height:82vh; object-fit:contain; border-radius:14px; background:#111; }
.photo-modal-close { position:absolute; z-index:4; right:22px; top:20px; width:44px; height:44px; border:2px solid var(--ink); border-radius:50%; background:var(--yellow); font-size:30px; line-height:36px; font-weight:900; }
.photo-modal-nav { position:absolute; z-index:4; top:50%; width:48px; height:48px; margin-top:-24px; border:2px solid var(--ink); border-radius:50%; background:var(--white); font-size:24px; font-weight:900; }
.photo-modal-prev { left:22px; } .photo-modal-next { right:22px; }

.location-map-link { margin-top:18px; }
.partners-section { background:#f8fbff; }
.partners-top { display:flex; align-items:center; }
.partners-copy-card { padding:30px; border:var(--line); border-radius:20px; background:var(--white); box-shadow:8px 8px 0 var(--green); }
.partners-copy-card p { margin:0 0 20px; font-size:19px; line-height:1.45; font-weight:650; }
.partner-logo-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:34px; }
.partner-logo-slot { min-height:150px; display:flex; flex-direction:column; align-items:center; justify-content:center; border:var(--line); border-radius:20px; background:var(--white); box-shadow:5px 5px 0 var(--ink); text-align:center; }
.partner-logo-slot span { font-size:10px; font-weight:900; letter-spacing:.12em; }
.partner-logo-slot strong { margin-top:8px; font-size:21px; letter-spacing:-.04em; }
.partner-slot-blue { background:var(--sky); } .partner-slot-yellow { background:var(--yellow); } .partner-slot-pink { background:var(--pink); } .partner-slot-green { background:var(--green); }
.organizers-block { position:relative; display:grid; grid-template-columns:1.2fr 110px 1.6fr; align-items:center; gap:26px; margin-top:42px; padding:26px 30px; border:var(--line); border-radius:22px; background:var(--ink); color:var(--white); }
.organizers-title span { font-size:10px; font-weight:900; letter-spacing:.12em; color:var(--yellow); }
.organizers-title h3 { margin:6px 0 0; font-size:32px; font-weight:800; letter-spacing:-.04em; }
.organizers-block p { margin:0; font-size:16px; line-height:1.45; }
.gdg-mark { position:relative; width:100px; height:66px; margin:auto; }
.gdg-mark i { position:absolute; top:14px; width:46px; height:24px; border-radius:999px; }
.gdg-left { left:4px; background:var(--blue); transform:rotate(35deg); box-shadow:0 22px 0 var(--red,#ea4335); }
.gdg-right { right:4px; background:var(--green); transform:rotate(-35deg); box-shadow:0 22px 0 var(--yellow); }

@media (max-width: 991px) {
  .event-pass-main { min-width:235px; }
  .event-pass-main > strong { font-size:48px; }
  .gallery-slide { flex-basis:calc((100vw - 126px) / 2); height:285px; }
  .partners-top { display:block; }
  .partner-logo-grid { grid-template-columns:repeat(2,1fr); }
  .organizers-block { grid-template-columns:1fr 90px 1.4fr; }
}
@media (max-width: 767px) {
  .event-pass-main { padding:16px 18px; }
  .event-pass-main > strong { font-size:44px; }
  .event-city span { font-size:11px; }
  .gallery-fullbleed { padding:12px 26px 36px; }
  .gallery-slide { flex-basis:calc(100vw - 68px); height:300px; }
  .gallery-edge { width:44px; height:44px; top:auto; bottom:21px; margin:0; }
  .gallery-prev { left:18px; } .gallery-next { right:18px; }
  .gallery-dots { padding:0 46px; gap:6px; }
  .gallery-dot { width:10px; height:10px; }
  .partner-logo-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .partner-logo-slot { min-height:112px; }
  .organizers-block { display:block; text-align:center; }
  .gdg-mark { margin:18px auto 28px; }
}

/* v6 — hero CTA first, repaired gallery navigation, visible organizers */
.hero-event-line {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  max-width: 860px;
  font-weight: 800;
}
.hero-event-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
}
.hero-event-chip:hover,
.hero-event-chip:focus { color: var(--ink); text-decoration: none; transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--ink); }
.hero-event-chip span { font-size: 15px; line-height: 1; }
.hero-event-chip b { font-size: 10px; line-height: 1.2; letter-spacing: .02em; opacity: .72; }
.hero-event-date { background: var(--yellow); }
.hero-event-place { border-radius: 16px; }
.hero-event-sep { font-size: 16px; transform: rotate(12deg); }
.hero-actions { position: relative; z-index: 6; margin-top: 28px; }
.hero-actions .btn-devfest.btn-lg {
  padding: 16px 28px;
  font-size: 18px;
  box-shadow: 7px 7px 0 var(--pink), 10px 10px 0 var(--ink);
}
.hero-actions .btn-devfest.btn-lg:hover,
.hero-actions .btn-devfest.btn-lg:focus { transform: translate(3px,3px); box-shadow: 4px 4px 0 var(--pink), 6px 6px 0 var(--ink); }

.gallery-edge:disabled { opacity: .35; cursor: default; box-shadow: 2px 2px 0 var(--ink); }
.gallery-edge:not(:disabled):hover { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.gallery-dot { cursor: pointer; }
.gallery-dot:focus { outline: 3px solid rgba(0,0,0,.22); outline-offset: 3px; }

.organizers-area {
  margin-top: 76px;
  padding-top: 68px;
  border-top: 3px dashed var(--ink);
}
.organizers-heading { margin-bottom: 30px; }
.organizers-heading .section-title { margin-bottom: 0; }
.organizers-title small { display:block; margin-top:10px; color:rgba(255,255,255,.6); font-size:11px; font-weight:800; letter-spacing:.04em; }
.organizers-copy p { margin-bottom: 12px; }
.organizer-link { color: var(--yellow); font-weight: 900; text-decoration: none; }
.organizer-link:hover, .organizer-link:focus { color: var(--white); text-decoration: none; }

@media (max-width: 767px) {
  .hero-event-line { margin-top: 26px; gap: 7px; }
  .hero-event-sep { display: none; }
  .hero-event-chip { width: auto; max-width: 100%; }
  .hero-event-place { width: 100%; justify-content: space-between; }
  .hero-actions .btn { display: block; width: 100%; margin: 0 0 12px; }
  .organizers-area { margin-top: 52px; padding-top: 48px; }
}

/* v7 — redesigned hero: CTA is the primary action */
.hero-v7 {
  min-height: 690px;
  padding: 60px 0 64px;
  background: var(--sky);
}
.hero-v7:before {
  width: 360px;
  height: 110px;
  left: -150px;
  top: 110px;
  opacity: .45;
}
.hero-v7:after {
  width: 430px;
  height: 120px;
  right: -175px;
  top: 150px;
  opacity: .45;
}
.hero-v7 .hero-grid { opacity: .20; background-size: 290px 200px; }
.hero-v7 .hero-row { min-height: 500px; align-items: center; }
.hero-wordmark { position: relative; margin-top: 6px; }
.hero-code-mark {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
}
.hero-v7 h1 {
  margin: 0;
  max-width: 680px;
  font-size: 82px;
  line-height: .86;
  letter-spacing: -.07em;
}
.hero-v7 h1 em {
  position: relative;
  display: inline-block;
  z-index: 1;
  font-style: normal;
}
.hero-v7 h1 em:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -5px;
  right: -8px;
  bottom: 3px;
  height: 22px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  transform: rotate(-1deg);
}
.hero-v7 h1 span {
  display: inline-block;
  margin-left: 7px;
  font-size: .35em;
  letter-spacing: -.03em;
  vertical-align: 15px;
  padding: 8px 10px 6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
}
.hero-lead-v7 {
  display: block;
  max-width: 610px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
}
.hero-actions-v7 { margin-top: 30px; }
.hero-actions-v7 .hero-buy {
  min-width: 190px;
  padding: 17px 28px;
  font-size: 18px;
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--pink), 11px 11px 0 var(--ink);
}
.hero-actions-v7 .hero-support {
  padding: 14px 22px;
  margin-left: 18px;
  font-size: 15px;
  background: rgba(255,255,255,.86);
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-actions-v7 .hero-buy:hover,
.hero-actions-v7 .hero-buy:focus { transform: translate(3px,3px); box-shadow: 5px 5px 0 var(--pink), 7px 7px 0 var(--ink); }
.hero-actions-v7 .hero-support:hover,
.hero-actions-v7 .hero-support:focus { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.hero-event-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 2px dashed rgba(32,33,36,.55);
  max-width: 660px;
}
.hero-event-mini > i {
  width: 7px;
  height: 7px;
  border: 2px solid var(--ink);
  background: var(--green);
  transform: rotate(45deg);
}
.hero-event-mini a,
.hero-event-mini > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
}
.hero-event-mini strong { font-size: 14px; font-weight: 900; }
.hero-event-mini span { font-size: 11px; font-weight: 700; opacity: .67; }
.hero-event-mini-place { flex: 1 1 auto; }
.hero-event-mini a:hover strong { text-decoration: underline; }
.hero-art { position: relative; min-height: 440px; margin-left: 28px; }
.hero-art-window {
  position: absolute;
  inset: 20px 14px 34px 20px;
  overflow: hidden;
  border: var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--blue), 15px 15px 0 var(--ink);
  transform: rotate(1.5deg);
}
.hero-art-bar {
  height: 48px;
  padding: 14px 15px;
  border-bottom: var(--line);
  background: var(--pink);
}
.hero-art-bar span { display: inline-block; width: 13px; height: 13px; margin-right: 5px; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); }
.hero-art-bar span:nth-child(2) { background: var(--green); }
.hero-art-bar span:nth-child(3) { background: var(--blue); }
.hero-art-copy {
  position: absolute;
  left: 32px;
  top: 94px;
  width: 150px;
  height: 145px;
  padding: 17px;
  border: var(--line);
  border-radius: 18px;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-4deg);
}
.hero-art-copy-alt { left: auto; right: 27px; top: 160px; background: var(--green); transform: rotate(5deg); }
.hero-art-copy b { display: block; font-size: 70px; line-height: .9; letter-spacing: -.07em; }
.hero-art-copy span { display: block; margin-top: 13px; font-size: 13px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.hero-art-braces { position: absolute; left: 35px; bottom: 40px; font-size: 44px; font-weight: 900; color: var(--blue); -webkit-text-stroke: 2px var(--ink); }
.hero-art-cursor { position: absolute; right: 34px; bottom: 25px; font-size: 82px; line-height: 1; font-weight: 900; transform: rotate(-20deg); }
.hero-art-sticker {
  position: absolute;
  z-index: 4;
  right: -12px;
  top: -3px;
  width: 92px;
  height: 92px;
  padding-top: 20px;
  border: var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
  font-size: 18px;
  line-height: .9;
  font-weight: 900;
  transform: rotate(10deg);
}

@media (max-width: 991px) {
  .hero-v7 { min-height: auto; padding-top: 72px; }
  .hero-v7 .hero-row { min-height: auto; }
  .hero-v7 h1 { font-size: 68px; }
}
@media (max-width: 767px) {
  .hero-v7 { padding: 54px 0 38px; }
  .hero-v7 h1 { font-size: 50px; }
  .hero-v7 h1 span { margin-left: 2px; vertical-align: 8px; }
  .hero-v7 h1 em:after { height: 14px; bottom: 1px; }
  .hero-lead-v7 { margin-top: 22px; font-size: 17px; }
  .hero-actions-v7 { margin-top: 24px; }
  .hero-actions-v7 .btn { display: block; width: 100%; margin: 0 0 14px; }
  .hero-actions-v7 .hero-buy { padding: 16px 22px; }
  .hero-event-mini { margin-top: 28px; gap: 9px; }
  .hero-event-mini > i { display: none; }
  .hero-event-mini a,
  .hero-event-mini > div { width: 100%; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(32,33,36,.25); }
}

/* v8 — readable event facts + standalone organizers */
.hero-event-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1.45fr;
  gap: 10px;
  max-width: 760px;
  margin-top: 40px;
}
.hero-fact {
  position: relative;
  min-height: 104px;
  padding: 15px 17px 14px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .16s ease, box-shadow .16s ease;
}
a.hero-fact:hover,
a.hero-fact:focus {
  color: var(--ink);
  text-decoration: none;
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0 var(--ink);
}
.hero-fact-date { background: var(--yellow); }
.hero-fact-time { background: var(--white); }
.hero-fact-place { background: var(--green); }
.hero-fact-label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  opacity: .68;
}
.hero-fact strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.025em;
}
.hero-fact small {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  opacity: .72;
}
.hero-fact-place strong { font-size: 19px; }
.hero-fact-place small { max-width: 220px; }

.organizers-section {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  border-top: var(--line);
}
.organizers-section:before {
  content: "";
  position: absolute;
  width: 320px;
  height: 110px;
  right: -90px;
  top: 40px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  opacity: .12;
  transform: rotate(-12deg);
}
.organizers-intro { display: flex; align-items: end; }
.organizers-lead {
  max-width: 690px;
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 700;
}
.organizer-card-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-top: 42px;
  padding: 38px 40px;
  border: var(--line);
  border-radius: 28px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 10px 10px 0 var(--yellow);
}
.organizer-badge {
  position: absolute;
  right: 28px;
  top: -18px;
  padding: 9px 15px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  transform: rotate(2deg);
}
.organizer-card-brand { display: flex; align-items: center; gap: 24px; }
.organizer-card-brand h3 {
  margin: 0;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -.045em;
}
.organizer-card-brand p {
  margin: 9px 0 0;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  font-weight: 800;
}
.gdg-mark-large { transform: scale(1.28); transform-origin: center; }
.organizer-card-copy p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}
.organizer-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
  padding: 18px 20px;
  border: 2px dashed var(--ink);
  border-radius: 18px;
  background: rgba(255,255,255,.55);
}
.organizer-note > span { font-size: 29px; font-weight: 900; color: var(--blue); }
.organizer-note p { margin: 0; font-size: 14px; line-height: 1.4; }
.organizer-note .btn { white-space: nowrap; }

@media (max-width: 991px) {
  .hero-event-facts { grid-template-columns: 1fr 1fr; }
  .hero-fact-place { grid-column: 1 / -1; }
  .organizers-intro { display: block; }
  .organizers-lead { margin-top: 20px; }
  .organizer-card-main { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .hero-event-facts { display: block; margin-top: 28px; }
  .hero-fact { display: block; min-height: 0; margin-bottom: 10px; padding: 13px 15px; }
  .hero-fact strong { font-size: 18px; }
  .hero-fact small { font-size: 12px; }
  .organizer-card-main { padding: 30px 22px 26px; box-shadow: 6px 6px 0 var(--yellow); }
  .organizer-card-brand { align-items: flex-start; }
  .organizer-card-brand h3 { font-size: 31px; }
  .gdg-mark-large { transform: scale(1); }
  .organizer-note { grid-template-columns: auto 1fr; }
  .organizer-note .btn { grid-column: 1 / -1; width: 100%; }
}

/* v9 — calmer hero: no underline, event info is editorial not CTA */
.hero-v7 h1 em:after { display: none; }
.hero-v7 h1 em {
  padding: 0;
  background: transparent;
}

.hero-event-facts {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 760px;
  margin-top: 38px;
  padding: 18px 0 0;
  border-top: 2px dashed rgba(32,33,36,.42);
}
.hero-fact {
  min-height: 0;
  flex: 0 1 auto;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
  transition: none;
}
.hero-fact:first-child { padding-left: 0; }
.hero-fact + .hero-fact { border-left: 1px solid rgba(32,33,36,.28); }
.hero-fact-place { flex: 1 1 auto; }
.hero-fact-label {
  margin-bottom: 5px;
  font-size: 9px;
  letter-spacing: .12em;
  opacity: .54;
}
.hero-fact strong {
  font-size: 18px;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hero-fact small {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  opacity: .62;
}
.hero-fact-place strong { font-size: 18px; }
.hero-fact-place small { max-width: 260px; }
a.hero-fact:hover,
a.hero-fact:focus {
  color: var(--ink);
  text-decoration: none;
  transform: none;
  box-shadow: none;
}
a.hero-fact:hover strong,
a.hero-fact:focus strong { text-decoration: underline; }

@media (max-width: 991px) {
  .hero-event-facts { display: flex; flex-wrap: wrap; }
  .hero-fact-place { flex-basis: 100%; margin-top: 16px; padding: 16px 0 0; border-left: 0 !important; border-top: 1px solid rgba(32,33,36,.25); }
}
@media (max-width: 767px) {
  .hero-event-facts {
    display: block;
    margin-top: 28px;
    padding-top: 12px;
  }
  .hero-fact {
    display: block;
    margin: 0;
    padding: 10px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(32,33,36,.22) !important;
  }
  .hero-fact:last-child { border-bottom: 0 !important; }
  .hero-fact-label { margin-bottom: 3px; }
  .hero-fact strong { font-size: 17px; }
  .hero-fact small { font-size: 11px; }
}

/* Keep the Middle tier name unobstructed by the POPULAR badge */
.ticket-middle.featured { padding-top: 30px; }
.ticket-middle .ticket-ribbon {
  top: -15px;
  right: 16px;
  z-index: 4;
}
.ticket-middle .ticket-topline {
  position: relative;
  z-index: 2;
}
.ticket-middle .ticket-topline b {
  display: inline-block;
  padding-right: 2px;
  color: var(--ink);
  font-size: 13px;
  opacity: 1;
}
@media (max-width: 767px) {
  .ticket-middle.featured { padding-top: 28px; }
  .ticket-middle .ticket-ribbon { top: -13px; right: 14px; }
}

/* v13 — taller navigation, properly fitted logo, real image slots for partners */
@media (min-width: 768px) {
  body { padding-top: 90px; }
  .navbar-devfest { min-height: 90px; }
  .navbar-devfest .navbar-brand {
    display: flex;
    align-items: center;
    height: 90px;
    padding: 7px 15px;
  }
  .navbar-devfest .navbar-brand .nav-logo {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
  }
  .navbar-devfest .navbar-nav > li > a {
    padding-top: 35px;
    padding-bottom: 31px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .navbar-devfest .navbar-brand .nav-logo { width: 220px; }
  .navbar-devfest .navbar-nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {
  .navbar-devfest .navbar-brand {
    display: flex;
    align-items: center;
    padding: 7px 15px;
  }
  .navbar-devfest .navbar-brand .nav-logo {
    display: block;
    width: 185px;
    max-width: calc(100vw - 105px);
    height: auto;
  }
}

.partner-logo-slot.partner-logo-image {
  padding: 20px;
  background: var(--white);
  overflow: hidden;
}
.partner-logo-slot.partner-logo-image img {
  display: block;
  width: 100%;
  max-width: 290px;
  max-height: 88px;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 767px) {
  .partner-logo-slot.partner-logo-image { padding: 12px; }
  .partner-logo-slot.partner-logo-image img { max-height: 72px; }
}


/* v15 — custom interactive map: no ad banner, instant DevFest marker */
.map-card {
  position: relative;
  overflow: hidden;
  border: var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 9px 9px 0 var(--ink);
}
.map-card-top {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-bottom: var(--line);
  background: var(--white);
}
.map-card-top strong {
  margin-right: auto;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.map-card-top > span {
  display: inline-block;
  padding: 5px 8px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sky);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.map-browser-dots { display: flex; gap: 5px; }
.map-browser-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
}
.map-browser-dots i:nth-child(2) { background: var(--yellow); }
.map-browser-dots i:nth-child(3) { background: var(--sky); }
.map-frame-wrap {
  position: relative;
  min-height: 360px;
  background: #dce7e8;
}
.devfest-map {
  display: block;
  width: 100%;
  height: 360px;
  z-index: 1;
  background: #dce7e8;
}
.map-venue-label {
  pointer-events: none;
  position: absolute;
  z-index: 500;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}
.map-venue-label b {
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.02em;
}
.map-venue-label span {
  padding-left: 8px;
  border-left: 2px solid var(--ink);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Leaflet controls are restyled to match the poster-like UI. */
.devfest-map .leaflet-control-zoom {
  overflow: hidden;
  margin: 14px 14px 0 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--ink);
}
.devfest-map .leaflet-control-zoom a,
.devfest-map .leaflet-control-zoom a:hover {
  width: 34px;
  height: 34px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 31px;
  font-weight: 900;
}
.devfest-map .leaflet-control-zoom a:last-child { border-bottom: 0; }
.devfest-map .leaflet-control-attribution {
  margin: 0 6px 6px 0;
  padding: 2px 5px;
  border: 1px solid rgba(20,20,20,.18);
  border-radius: 5px;
  background: rgba(255,255,255,.9);
  color: #555;
  font-size: 9px;
}
.devfest-map .leaflet-control-attribution a { color: #333; }

.devfest-pin-wrap { background: transparent; border: 0; }
.devfest-pin {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 18px 18px 18px 4px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-4deg);
}
.devfest-pin:after {
  content: '';
  position: absolute;
  left: 10px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  transform: rotate(-41deg) skew(-7deg,-7deg);
  z-index: -1;
}
.devfest-pin span {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.12em;
  transform: rotate(4deg) translateX(-1px);
}
.devfest-map .leaflet-popup-content-wrapper {
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
}
.devfest-map .leaflet-popup-tip { border: 1px solid var(--ink); box-shadow: none; }
.devfest-map .leaflet-popup-content { margin: 12px 14px; line-height: 1.35; }
.devfest-map .leaflet-popup-content strong { display:block; margin-bottom: 3px; font-size: 13px; }
.devfest-map .leaflet-popup-content span { font-size: 11px; }

.map-card-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border-top: var(--line);
  background: var(--white);
}
.map-card-bottom > span {
  margin-right: auto;
  font-size: 12px;
  font-weight: 800;
}
.map-route-links { display: flex; align-items: center; gap: 12px; }
.map-route-links a {
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.map-route-links a:hover,
.map-route-links a:focus { color: var(--ink); }

@media (max-width: 991px) {
  .map-card { margin-top: 34px; }
}
@media (max-width: 767px) {
  .map-card { border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
  .map-card-top { gap: 9px; min-height: 50px; padding: 9px 10px; }
  .map-card-top strong { font-size: 13px; }
  .map-card-top > span { font-size: 8px; }
  .map-frame-wrap,
  .devfest-map { height: 300px; min-height: 300px; }
  .map-venue-label { left: 10px; bottom: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .map-card-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
  .map-card-bottom > span { margin-right: 0; }
  .map-route-links { width: 100%; justify-content: space-between; }
}


/* v16 — robust map embed: Google Maps iframe instead of public OSM tiles */
.devfest-map-google {
  border: 0;
  filter: saturate(.88) contrast(.98);
}
.map-source-badge {
  pointer-events: none;
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
}
.map-source-badge span {
  color: #19a957;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.14em;
}
.map-source-badge b {
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.02em;
}
/* Old Leaflet-specific elements are no longer used. */
.map-venue-label,
.devfest-pin-wrap { display: none !important; }

@media (max-width: 767px) {
  .map-source-badge { left: 10px; bottom: 10px; box-shadow: 3px 3px 0 var(--ink); }
}

/* v17 — custom interactive map: no iframe place card, custom DevFest marker */
.map-card-top > span {
  background: var(--sky);
}
.map-frame-wrap {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  background: #dfe8eb;
}
.devfest-map {
  width: 100%;
  height: 450px;
  min-height: 450px;
  border: 0;
  display: block;
}
.devfest-map .leaflet-control-attribution {
  background: rgba(255,255,255,.88);
  color: #5f6368;
  font-size: 9px;
  border-radius: 8px 0 0 0;
}
.devfest-map .leaflet-control-attribution a { color: #202124; }
.devfest-map .leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 4px 4px 0 var(--ink);
}
.devfest-map .leaflet-control-zoom a {
  width: 38px;
  height: 38px;
  line-height: 34px;
  border: 2px solid var(--ink) !important;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 22px;
  font-weight: 900;
}
.devfest-map .leaflet-control-zoom a:first-child { border-radius: 12px 12px 0 0; }
.devfest-map .leaflet-control-zoom a:last-child { border-radius: 0 0 12px 12px; }

.devfest-pin-wrap { background: transparent; border: 0; }
.devfest-pin {
  position: relative;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 17px 17px 17px 5px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-4deg);
}
.devfest-pin span {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -3px;
  transform: rotate(4deg);
}
.devfest-pin i {
  position: absolute;
  left: 8px;
  bottom: -12px;
  width: 20px;
  height: 20px;
  background: var(--yellow);
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg) skew(8deg,8deg);
  z-index: -1;
}
.devfest-map-tooltip {
  padding: 6px 10px;
  border: 2px solid var(--ink) !important;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 900;
}
.devfest-map-tooltip:before { display: none; }
.devfest-map .leaflet-popup-content-wrapper {
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
}
.devfest-map .leaflet-popup-content { margin: 14px 16px; }
.devfest-map .leaflet-popup-content strong { display:block; margin-bottom:4px; font-size:15px; }
.devfest-map .leaflet-popup-content span { color:#5f6368; font-size:12px; }
.devfest-map .leaflet-popup-tip { border: 2px solid var(--ink); border-top: 0; border-left: 0; box-shadow: none; }

@media (max-width: 767px) {
  .map-frame-wrap, .devfest-map { min-height: 360px; height: 360px; }
  .devfest-map-tooltip { display: none; }
}


/* v18 — MapLibre + OpenFreeMap: no API key, custom DevFest marker */
.devfest-map .maplibregl-ctrl-top-right {
  top: 12px;
  right: 12px;
}
.devfest-map .maplibregl-ctrl-group {
  overflow: hidden;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
}
.devfest-map .maplibregl-ctrl-group button {
  width: 38px;
  height: 38px;
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}
.devfest-map .maplibregl-ctrl-group button:last-child { border-bottom: 0; }
.devfest-map .maplibregl-ctrl-group button:hover,
.devfest-map .maplibregl-ctrl-group button:focus { background: #f5f5f5; }
.devfest-map .maplibregl-ctrl-icon { filter: contrast(1.8); }
.devfest-map .maplibregl-ctrl-bottom-right { right: 6px; bottom: 5px; }
.devfest-map .maplibregl-ctrl-attrib {
  padding: 3px 6px;
  border: 1px solid rgba(20,20,20,.14);
  border-radius: 7px;
  background: rgba(255,255,255,.9);
  color: #5f6368;
  font: 9px/1.3 Arial, sans-serif;
}
.devfest-map .maplibregl-ctrl-attrib a { color: #363636; }

.devfest-map-marker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  outline: 0;
}
.devfest-map-marker-pin {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  border: 3px solid var(--ink);
  border-radius: 18px 18px 18px 5px;
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-4deg);
}
.devfest-map-marker-pin b {
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -3px;
  transform: rotate(4deg);
}
.devfest-map-marker-pin i {
  position: absolute;
  left: 8px;
  bottom: -12px;
  width: 20px;
  height: 20px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  background: var(--yellow);
  transform: rotate(-45deg) skew(8deg,8deg);
  z-index: -1;
}
.devfest-map-marker-label {
  position: relative;
  padding: 7px 11px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}
.devfest-map-marker:hover .devfest-map-marker-label,
.devfest-map-marker:focus .devfest-map-marker-label { transform: translateY(-2px); }

.devfest-map .maplibregl-popup { max-width: 240px !important; }
.devfest-map .maplibregl-popup-content {
  padding: 13px 15px;
  border: 3px solid var(--ink);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-family: inherit;
}
.devfest-map .maplibregl-popup-content strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 950;
}
.devfest-map .maplibregl-popup-content span {
  color: #5f6368;
  font-size: 11px;
  font-weight: 700;
}
.devfest-map .maplibregl-popup-tip { display: none; }

/* Neutralize rules left from previous Leaflet experiments. */
.devfest-map .leaflet-control-zoom,
.devfest-map .leaflet-control-attribution,
.devfest-map-tooltip,
.devfest-pin-wrap { display: none !important; }

@media (max-width: 767px) {
  .devfest-map .maplibregl-ctrl-top-right { top: 9px; right: 9px; }
  .devfest-map .maplibregl-ctrl-group button { width: 34px; height: 34px; }
  .devfest-map-marker-label { display: none; }
  .devfest-map-marker-pin { width: 50px; height: 50px; flex-basis: 50px; }
}


/* v19 — exact venue point + square map viewport */
/* The venue coordinates match: Астрахань, ул. Ульяновых, 4. */
.map-frame-wrap {
  position: relative;
  width: 100%;
  height: 0;
  min-height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  background: #dfe8eb;
}
.devfest-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* Keep the coordinate at the actual tip of the custom pin.
   The label is absolutely positioned so it no longer shifts the marker anchor. */
.devfest-map-marker {
  position: relative;
  display: block;
  width: 56px;
  height: 70px;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  outline: 0;
}
.devfest-map-marker-pin {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  margin: 0;
}
.devfest-map-marker-label {
  position: absolute;
  left: 68px;
  top: 15px;
  margin: 0;
}

@media (max-width: 767px) {
  .map-frame-wrap {
    height: 0;
    min-height: 0;
    padding-bottom: 100%;
  }
  .devfest-map {
    height: 100%;
    min-height: 0;
  }
  .devfest-map-marker {
    width: 50px;
    height: 64px;
  }
  .devfest-map-marker-pin {
    width: 50px;
    height: 50px;
  }
  .devfest-map-marker-label { display: none; }
}

/* v20 — location block: clean square interactive map, like the poster mockup */
.map-card.map-card-clean {
  width: 100%;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: var(--sky);
  box-shadow: 11px 11px 0 var(--ink);
}
.map-card-clean .map-frame-wrap {
  position: relative;
  width: 100%;
  height: 0;
  min-height: 0;
  padding-bottom: 100%;
  overflow: hidden;
  background: var(--sky);
}
.map-card-clean .devfest-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.map-card-clean .map-address-sticker {
  pointer-events: none;
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 6;
  min-width: 188px;
  padding: 11px 13px 10px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(32,33,36,.15);
  text-transform: uppercase;
}
.map-card-clean .map-address-sticker strong,
.map-card-clean .map-address-sticker span {
  display: block;
  font-size: 12px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: .045em;
}
.map-card-clean .map-address-sticker span { margin-top: 2px; }
.map-card-clean .maplibregl-ctrl-top-right { top: 12px; right: 12px; }
.map-card-clean .maplibregl-ctrl-group {
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 rgba(32,33,36,.18);
}
.map-card-clean .maplibregl-ctrl-group button { width: 38px; height: 38px; }
.map-card-clean .maplibregl-ctrl-attrib {
  border-radius: 8px 0 0 0;
  font-size: 9px;
}
.location-map-link { margin-top: 24px; }

@media (max-width: 991px) {
  .map-card.map-card-clean { margin-top: 34px; }
}
@media (max-width: 767px) {
  .map-card.map-card-clean {
    border-radius: 22px;
    box-shadow: 7px 7px 0 var(--ink);
  }
  .map-card-clean .map-address-sticker {
    left: 14px;
    bottom: 14px;
    min-width: 158px;
    padding: 9px 10px 8px;
    border-radius: 10px;
  }
  .map-card-clean .map-address-sticker strong,
  .map-card-clean .map-address-sticker span { font-size: 10px; }
}

/* v22 — Astrakhan visual language: local skyline, Volga, city poster */
.hero-v7 {
  min-height: 730px;
  padding-top: 68px;
  background: #c9eff8;
}
.hero-v7:before,
.hero-v7:after { display: none; }
.hero-v7 .hero-grid {
  opacity: .28;
  background-image:
    linear-gradient(24deg, transparent 49.3%, rgba(26,134,181,.72) 49.5%, rgba(26,134,181,.72) 50.1%, transparent 50.3%),
    linear-gradient(-24deg, transparent 49.3%, rgba(26,134,181,.72) 49.5%, rgba(26,134,181,.72) 50.1%, transparent 50.3%);
  background-size: 340px 230px;
  background-position: -20px -25px, 110px 65px;
}
.hero-v7 .hero-row { min-height: 560px; }
.hero-code-mark {
  margin-bottom: 10px;
  color: var(--green);
  text-shadow: 2px 2px 0 rgba(32,33,36,.08);
}
.hero-v7 h1 {
  max-width: 650px;
}
.hero-lead-v7 {
  max-width: 590px;
}

.hero-astrakhan-col {
  position: relative;
}
.hero-astrakhan {
  position: relative;
  min-height: 510px;
  margin-left: 22px;
}
.hero-astrakhan-card {
  position: absolute;
  inset: 15px 0 12px 10px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 30px;
  background: linear-gradient(180deg, #d7f4fb 0%, #c9eff8 58%, #bfeaf6 100%);
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(1deg);
}
.hero-astrakhan-card:before {
  content: "";
  position: absolute;
  right: -64px;
  top: 34px;
  width: 180px;
  height: 180px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  z-index: 0;
}
.hero-astrakhan-card:after {
  content: "↗";
  position: absolute;
  right: 48px;
  top: 36px;
  z-index: 4;
  font-size: 70px;
  line-height: 1;
  font-weight: 900;
  transform: rotate(-7deg);
}
.hero-astrakhan-grid {
  position: absolute;
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(90deg, rgba(38,151,194,.45) 1px, transparent 1px),
    linear-gradient(rgba(38,151,194,.45) 1px, transparent 1px);
  background-size: 54px 54px;
  z-index: 0;
}
.hero-astrakhan-city {
  position: absolute;
  z-index: 2;
  left: -7%;
  right: -7%;
  bottom: -4px;
  width: 114%;
  max-width: none;
  height: auto;
  display: block;
}
.hero-astrakhan-year {
  position: absolute;
  z-index: 5;
  left: 25px;
  top: 24px;
  padding: 10px 15px 8px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--pink);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .03em;
  transform: rotate(-3deg);
}
.hero-astrakhan-stat {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 118px;
  min-height: 108px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--ink);
  text-align: center;
  transform: rotate(-3deg);
}
.hero-astrakhan-stat b {
  display: block;
  font-size: 48px;
  line-height: .88;
  letter-spacing: -.06em;
}
.hero-astrakhan-stat span {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-astrakhan-stat-one {
  right: 30px;
  bottom: 146px;
  background: var(--pink);
}
.hero-astrakhan-stat-two {
  left: 28px;
  bottom: 128px;
  min-width: 104px;
  min-height: 94px;
  background: var(--yellow);
  transform: rotate(3deg);
}
.hero-astrakhan-stat-two b { font-size: 42px; }
.hero-astrakhan-star {
  position: absolute;
  z-index: 5;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 3px 0 rgba(32,33,36,.12);
}
.hero-astrakhan-star-a {
  left: 160px;
  top: 70px;
  font-size: 43px;
  transform: rotate(12deg);
}
.hero-astrakhan-star-b {
  right: 126px;
  top: 125px;
  font-size: 28px;
  transform: rotate(-8deg);
}

/* Local touch in the location section: the Volga becomes a section divider. */
#location {
  overflow: hidden;
  padding-bottom: 138px;
}
#location:before {
  content: "";
  position: absolute;
  right: -88px;
  top: 64px;
  width: 260px;
  height: 260px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  opacity: .96;
  z-index: 0;
}
#location:after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  border-top: 3px solid var(--ink);
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(255,255,255,.34) 7% 15%, transparent 15% 29%, rgba(255,255,255,.34) 29% 41%, transparent 41% 57%, rgba(255,255,255,.34) 57% 66%, transparent 66% 83%, rgba(255,255,255,.34) 83% 94%, transparent 94%),
    var(--blue);
}
#location .container {
  position: relative;
  z-index: 1;
}
#location .section-kicker,
#location .location-tags span {
  box-shadow: 3px 3px 0 rgba(32,33,36,.15);
}
#location .location-map-link {
  background: var(--yellow);
  box-shadow: 7px 7px 0 var(--ink);
}

@media (max-width: 1199px) {
  .hero-astrakhan { min-height: 470px; margin-left: 8px; }
  .hero-astrakhan-stat-one { right: 20px; bottom: 134px; }
  .hero-astrakhan-stat-two { left: 20px; bottom: 118px; }
}

@media (max-width: 991px) {
  .hero-v7 { padding-bottom: 62px; }
  .hero-v7 .hero-row { display: block; }
  .hero-astrakhan { min-height: 430px; max-width: 650px; margin: 42px auto 0; }
  .hero-astrakhan-card { inset: 0 8px 10px; }
  .hero-astrakhan-city { left: -2%; width: 104%; }
}

@media (max-width: 767px) {
  .hero-v7 {
    padding-top: 44px;
    padding-bottom: 42px;
  }
  .hero-v7 .hero-grid {
    opacity: .22;
    background-size: 220px 150px;
  }
  .hero-astrakhan {
    min-height: 340px;
    margin-top: 34px;
  }
  .hero-astrakhan-card {
    inset: 0 2px 8px;
    border-radius: 22px;
    box-shadow: 7px 7px 0 var(--ink);
  }
  .hero-astrakhan-card:before {
    right: -48px;
    top: 46px;
    width: 130px;
    height: 130px;
  }
  .hero-astrakhan-card:after {
    right: 26px;
    top: 24px;
    font-size: 48px;
  }
  .hero-astrakhan-year {
    left: 16px;
    top: 15px;
    padding: 8px 11px 7px;
    border-width: 2px;
    border-radius: 11px;
    box-shadow: 3px 3px 0 var(--ink);
    font-size: 14px;
  }
  .hero-astrakhan-stat {
    min-width: 94px;
    min-height: 78px;
    padding: 9px 10px;
    border-width: 2px;
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--ink);
  }
  .hero-astrakhan-stat b { font-size: 35px; }
  .hero-astrakhan-stat span { margin-top: 6px; font-size: 9px; }
  .hero-astrakhan-stat-one { right: 14px; bottom: 98px; }
  .hero-astrakhan-stat-two { left: 14px; bottom: 88px; min-width: 86px; min-height: 72px; }
  .hero-astrakhan-stat-two b { font-size: 32px; }
  .hero-astrakhan-star-a { left: 108px; top: 55px; font-size: 30px; }
  .hero-astrakhan-star-b { right: 88px; top: 90px; font-size: 20px; }
  #location { padding-bottom: 112px; }
  #location:before { width: 180px; height: 180px; right: -74px; top: 80px; }
  #location:after { height: 46px; }
}

/* v23 — fully redrawn hero in the Astrakhan poster style */
.hero-v23 {
  min-height: auto;
  padding: 72px 0 64px;
  background: #c9eff8;
  overflow: hidden;
}
.hero-v23 .hero-grid {
  opacity: .30;
  background-image:
    linear-gradient(24deg, transparent 49.3%, rgba(26,134,181,.66) 49.5%, rgba(26,134,181,.66) 50.1%, transparent 50.3%),
    linear-gradient(-24deg, transparent 49.3%, rgba(26,134,181,.66) 49.5%, rgba(26,134,181,.66) 50.1%, transparent 50.3%);
  background-size: 320px 210px;
  background-position: -30px -18px, 120px 58px;
}
.hero-v23 .hero-row {
  min-height: 0;
  display: flex;
  align-items: center;
}
.hero-copy-col { z-index: 2; }
.hero-kicker-v23 {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 16px 8px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-poster-title {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 24px 34px 20px;
  border: 4px solid var(--ink);
  border-radius: 34px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--ink);
}
.hero-poster-title:before,
.hero-poster-title:after {
  position: absolute;
  top: 28px;
  font-size: 88px;
  line-height: 1;
  font-weight: 900;
  color: var(--green);
  text-shadow: 2px 2px 0 rgba(32,33,36,.12);
}
.hero-poster-title:before { content: "{"; left: -26px; }
.hero-poster-title:after { content: "}"; right: -26px; }
.hero-poster-title h1 {
  margin: 0;
  font-size: 92px;
  line-height: .84;
  letter-spacing: -.08em;
  font-weight: 950;
}
.hero-poster-title h1 span { display: block; }
.hero-ribbon-v23 {
  display: inline-block;
  margin-top: 18px;
  margin-left: 8px;
  padding: 13px 22px 12px;
  border: 4px solid var(--ink);
  border-radius: 20px;
  background: var(--yellow);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.02em;
}
.hero-lead-v23 {
  max-width: 600px;
  margin-top: 26px;
  font-size: 20px;
  line-height: 1.52;
}
.hero-actions-v23 { margin-top: 30px; }
.hero-event-facts-v23 {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-event-facts-v23 .hero-fact {
  min-width: 180px;
  padding: 14px 18px 12px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-event-facts-v23 .hero-fact-place {
  min-width: 250px;
  background: #def6e5;
}
.hero-event-facts-v23 .hero-fact-label {
  margin-bottom: 5px;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .6;
}
.hero-event-facts-v23 .hero-fact strong {
  display: block;
  font-size: 27px;
  line-height: 1.02;
  font-weight: 950;
}
.hero-event-facts-v23 .hero-fact small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  opacity: .78;
}
.hero-event-facts-v23 a.hero-fact:hover,
.hero-event-facts-v23 a.hero-fact:focus {
  transform: translate(2px,2px);
  box-shadow: 2px 2px 0 var(--ink);
  text-decoration: none;
  color: var(--ink);
}
.hero-scene-col { z-index: 1; }
.hero-scene-v23 {
  position: relative;
  min-height: 560px;
  margin-left: 16px;
}
.hero-scene-curve {
  position: absolute;
  inset: 42px 0 0 0;
  width: 100%;
  height: 72%;
  z-index: 2;
}
.hero-scene-star {
  position: absolute;
  z-index: 4;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 3px 3px 0 rgba(32,33,36,.12);
}
.hero-scene-star-a { left: 18px; top: 40px; font-size: 44px; }
.hero-scene-star-b { right: 85px; top: 72px; font-size: 34px; transform: rotate(10deg); }
.hero-scene-rocket {
  position: absolute;
  left: 108px;
  top: 52px;
  z-index: 4;
  font-size: 68px;
  line-height: 1;
  transform: rotate(14deg);
  filter: drop-shadow(3px 3px 0 rgba(32,33,36,.16));
}
.hero-scene-year {
  position: absolute;
  right: 20px;
  top: 118px;
  z-index: 5;
  padding: 12px 19px 10px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--ink);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}
.hero-scene-stat {
  position: absolute;
  z-index: 5;
  width: 132px;
  border: 3px solid var(--ink);
  border-radius: 22px 22px 0 0;
  box-shadow: 6px 6px 0 rgba(32,33,36,.12);
  text-align: center;
  padding: 16px 14px 12px;
}
.hero-scene-stat strong {
  display: block;
  font-size: 62px;
  line-height: .9;
  letter-spacing: -.06em;
}
.hero-scene-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.hero-scene-stat-speakers {
  left: 30px;
  bottom: 145px;
  height: 190px;
  background: var(--yellow);
}
.hero-scene-stat-tracks {
  left: 186px;
  bottom: 145px;
  height: 235px;
  background: var(--blue);
}
.hero-scene-note {
  position: absolute;
  right: 0;
  bottom: 118px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 310px;
  padding: 16px 18px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}
.hero-scene-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  background: var(--pink);
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 54px;
}
.hero-scene-note b {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -.02em;
}
.hero-scene-cloud {
  position: absolute;
  z-index: 1;
  width: 128px;
  height: 60px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
}
.hero-scene-cloud:before,
.hero-scene-cloud:after {
  content: "";
  position: absolute;
  bottom: 22px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}
.hero-scene-cloud:before { left: 18px; width: 44px; height: 44px; }
.hero-scene-cloud:after { left: 52px; width: 54px; height: 54px; }
.hero-scene-cloud-left { left: -12px; top: 124px; }
.hero-scene-cloud-right { right: -10px; top: 204px; }
.hero-scene-city {
  position: absolute;
  left: -9%;
  bottom: -4px;
  width: 118%;
  max-width: none;
  z-index: 3;
}

@media (max-width: 1199px) {
  .hero-poster-title h1 { font-size: 82px; }
  .hero-ribbon-v23 { font-size: 19px; }
  .hero-scene-v23 { min-height: 520px; }
  .hero-scene-note { max-width: 280px; }
}

@media (max-width: 991px) {
  .hero-v23 { padding-top: 56px; padding-bottom: 52px; }
  .hero-v23 .hero-row { display: block; }
  .hero-poster-title h1 { font-size: 72px; }
  .hero-copy-col { text-align: left; }
  .hero-scene-v23 {
    min-height: 510px;
    max-width: 640px;
    margin: 42px auto 0;
  }
}

@media (max-width: 767px) {
  .hero-v23 { padding-top: 42px; padding-bottom: 42px; }
  .hero-kicker-v23 {
    margin-bottom: 14px;
    padding: 7px 12px 6px;
    font-size: 11px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .hero-poster-title {
    padding: 18px 18px 14px;
    border-width: 3px;
    border-radius: 22px;
    box-shadow: 6px 6px 0 var(--ink);
  }
  .hero-poster-title:before,
  .hero-poster-title:after {
    top: 17px;
    font-size: 48px;
  }
  .hero-poster-title:before { left: -14px; }
  .hero-poster-title:after { right: -14px; }
  .hero-poster-title h1 {
    font-size: 52px;
    line-height: .86;
  }
  .hero-ribbon-v23 {
    margin-top: 14px;
    margin-left: 0;
    padding: 10px 14px 9px;
    border-width: 3px;
    border-radius: 15px;
    box-shadow: 5px 5px 0 var(--ink);
    font-size: 16px;
  }
  .hero-lead-v23 {
    margin-top: 18px;
    font-size: 16px;
  }
  .hero-actions-v23 { margin-top: 22px; }
  .hero-actions-v23 .btn { display: block; width: 100%; margin: 0 0 14px; }
  .hero-event-facts-v23 { display: block; margin-top: 24px; }
  .hero-event-facts-v23 .hero-fact {
    display: block;
    width: 100%;
    min-width: 0;
    margin-bottom: 10px;
    padding: 12px 14px 11px;
    border-width: 2px;
    border-radius: 14px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .hero-event-facts-v23 .hero-fact strong { font-size: 20px; }
  .hero-event-facts-v23 .hero-fact small { font-size: 11px; }
  .hero-scene-v23 {
    min-height: 360px;
    margin-top: 28px;
  }
  .hero-scene-rocket { left: 72px; top: 44px; font-size: 46px; }
  .hero-scene-star-a { left: 14px; top: 36px; font-size: 28px; }
  .hero-scene-star-b { right: 62px; top: 66px; font-size: 22px; }
  .hero-scene-year {
    right: 6px;
    top: 86px;
    padding: 8px 12px 7px;
    border-width: 2px;
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 21px;
  }
  .hero-scene-stat {
    width: 90px;
    border-width: 2px;
    border-radius: 14px 14px 0 0;
    padding: 10px 8px 8px;
  }
  .hero-scene-stat strong { font-size: 40px; }
  .hero-scene-stat span { margin-top: 5px; font-size: 9px; }
  .hero-scene-stat-speakers { left: 18px; bottom: 94px; height: 122px; }
  .hero-scene-stat-tracks { left: 122px; bottom: 94px; height: 152px; }
  .hero-scene-note {
    right: 4px;
    bottom: 76px;
    gap: 10px;
    max-width: 175px;
    padding: 10px 11px;
    border-width: 2px;
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--ink);
  }
  .hero-scene-note-icon {
    width: 38px;
    height: 38px;
    border-width: 2px;
    border-radius: 10px;
    font-size: 20px;
    flex-basis: 38px;
  }
  .hero-scene-note b { font-size: 13px; }
  .hero-scene-cloud { transform: scale(.7); }
  .hero-scene-cloud-left { left: -16px; top: 118px; }
  .hero-scene-cloud-right { right: -18px; top: 160px; }
}

/* v24 — full-bleed illustrated hero, no separate right-hand artwork card */
.hero-v24 {
  position: relative;
  min-height: 795px;
  padding: 54px 0 260px;
  overflow: hidden;
  background: #bcecff;
  border-bottom: 4px solid var(--ink);
}
.hero-v24::before,.hero-v24::after { display: none; }
.hero-v24-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background-image: linear-gradient(26deg, transparent 49.6%, #2a96ce 49.75%, #2a96ce 50%, transparent 50.15%),linear-gradient(-26deg, transparent 49.6%, #2a96ce 49.75%, #2a96ce 50%, transparent 50.15%);
  background-size: 380px 240px;
}
.hero-v24-content { position: relative; z-index: 3; }
.hero-v24 .row { display: block; }
.hero-v24-copy { position: relative; z-index: 5; }
.hero-v24-eyebrow {
  display: inline-block; padding: 9px 16px 8px; margin: 0 0 20px;
  border: 2.5px solid var(--ink); border-radius: 999px; background: #fff;
  font-size: 13px; line-height: 1.1; font-weight: 900; text-transform: uppercase; letter-spacing: .045em;
}
.hero-v24-title-lockup { position: relative; width: max-content; max-width: 100%; }
.hero-v24-title-sign {
  position: relative; display: inline-block;
  padding: 28px 43px 27px;
  border: 4px solid #17191a; border-radius: 30px; background: #fff;
  box-shadow: 8px 8px 0 #17191a;
}
.hero-v24 h1 {
  margin: 0; max-width: none;
  font-size: clamp(52px, 5.5vw, 90px);
  font-weight: 950; letter-spacing: -.065em; line-height: .94;
  color: #141414;
}
.hero-v24-brace { position: absolute; z-index: 2; top: 50%; transform: translateY(-55%); font-weight: 950; font-size: 103px; line-height: 1; color: #2db253; -webkit-text-stroke: 2px var(--ink); }
.hero-v24-brace-left { left: -30px; }.hero-v24-brace-right { right: -30px; }
.hero-v24-year {
  position: absolute; top: -18px; right: -56px; z-index: 5;
  padding: 11px 17px 9px;
  border: 3px solid var(--ink); border-radius: 16px; background: #ff68aa;
  transform: rotate(8deg); box-shadow: 4px 4px 0 var(--ink);
  font-size: 25px; font-weight: 950; line-height: 1;
}
.hero-v24-description { max-width: 625px; margin: 28px 0 24px; font-size: 23px; line-height: 1.35; font-weight: 750; }
.hero-v24-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 25px; }
.hero-v24-buy,
.hero-v24-help {
  display: inline-flex; align-items: center; justify-content: center; gap: 17px;
  min-height: 62px; padding: 13px 26px;
  border: 3px solid var(--ink); border-radius: 18px;
  font-size: 19px; line-height: 1.1; font-weight: 950; color: var(--ink);
  text-decoration: none; transition: transform .2s,box-shadow .2s;
}
.hero-v24-buy { background: #ffc400; box-shadow: 6px 6px 0 var(--ink); font-size: 22px; }
.hero-v24-help { background: #fff; box-shadow: 3px 3px 0 var(--ink); font-size: 17px; }
.hero-v24-buy span { font-size: 27px; }.hero-v24-help span { font-size: 22px; }
.hero-v24-buy:hover,.hero-v24-buy:focus { color: var(--ink); text-decoration: none; transform: translate(3px,3px); box-shadow: 3px 3px 0 var(--ink); }
.hero-v24-help:hover,.hero-v24-help:focus { color: var(--ink); text-decoration: none; transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.hero-v24-info {
  display: flex; flex-wrap: wrap; align-items: start; gap: 0;
  max-width: 760px; padding-top: 15px;
  border-top: 2px solid rgba(22,31,35,.25);
}
.hero-v24-info > div,.hero-v24-info > a {
  display: flex; flex-direction: column; padding: 0 20px; gap: 3px; min-width: 0;
  color: var(--ink); text-decoration: none;
}
.hero-v24-info > :first-child { padding-left: 0; }
.hero-v24-info > :not(:first-child) { border-left: 1px solid rgba(22,31,35,.25); }
.hero-v24-info-label { font-size: 11px; letter-spacing: .055em; font-weight: 800; text-transform: uppercase; opacity: .65; }
.hero-v24-info strong { font-size: 15px; line-height: 1.3; font-weight: 900; }
.hero-v24-info a:hover strong { text-decoration: underline; }
.hero-v24-graphic { position: absolute; right: 2%; top: 24px; width: 37%; height: 430px; pointer-events: none; }
.hero-v24-flight { position: absolute; right: 0; top: 4px; width: 100%; height: 100%; overflow: visible; }
.hero-v24-star { position: absolute; color: #ffcb11; -webkit-text-stroke: 2px var(--ink); font-size: 45px; font-weight: 900; }
.hero-v24-star-one { right: 20%; top: 15px; }.hero-v24-star-two { right: 5%; top: 240px; font-size: 34px; }.hero-v24-star-three { left: 6%; top: 90px; font-size: 28px; }
.hero-v24-event-chip { position: absolute; z-index: 1; top: 315px; right: 12px; padding: 9px 15px; border: 3px solid var(--ink); border-radius: 16px; background: #ff68aa; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-5deg); font-size: 16px; font-weight: 800; white-space: nowrap; }
.hero-v24-event-chip b { font-size: 21px; }.hero-v24-event-chip span { padding: 0 4px; }
.hero-v24-skyline { position: absolute; z-index: 2; left: 0; bottom: -1px; width: 100%; height: 270px; object-fit: fill; pointer-events: none; }
.hero-v24-cloud { position: absolute; pointer-events: none; background: #fff; border: 3px solid var(--ink); border-radius: 70px 70px 0 0; height: 80px; width: 210px; opacity: .95; }
.hero-v24-cloud-left { left: -70px; top: 320px; }.hero-v24-cloud-right { right: -55px; top: 165px; }
@media (max-width: 1199px) {
  .hero-v24 h1 { font-size: 76px; }
  .hero-v24-title-sign { padding: 26px 36px; }
  .hero-v24-graphic { opacity: .88; right: -8%; width: 45%; }
  .hero-v24-copy { width: 70%; }
}
@media (max-width: 991px) {
  .hero-v24 { padding-top: 48px; padding-bottom: 255px; }
  .hero-v24-copy { width: 100%; }
  .hero-v24 h1 { font-size: 69px; }
  .hero-v24-graphic { top: 175px; right: -20%; width: 43%; opacity: .42; }
  .hero-v24-info { max-width: 620px; }
}
@media (max-width: 767px) {
  .hero-v24 { min-height: 0; padding: 37px 0 182px; }
  .hero-v24 .hero-v24-content { padding-left: 23px; padding-right: 23px; }
  .hero-v24 .row { margin-left: 0; margin-right: 0; }
  .hero-v24 .hero-v24-copy { padding: 0; }
  .hero-v24-eyebrow { font-size: 10px; padding: 8px 11px; margin-bottom: 20px; }
  .hero-v24-title-sign { padding: 22px 22px 19px; border-width: 3px; border-radius: 21px; box-shadow: 5px 5px 0 var(--ink); }
  .hero-v24 h1 { font-size: clamp(37px,10.5vw,58px); letter-spacing: -.06em; }
  .hero-v24-brace { font-size: 53px; -webkit-text-stroke: 1px var(--ink); }
  .hero-v24-brace-left { left: -17px; }.hero-v24-brace-right { right: -17px; }
  .hero-v24-year { top: -15px; right: -11px; padding: 7px 10px 5px; font-size: 16px; border-width: 2px; border-radius: 10px; box-shadow: 3px 3px 0 var(--ink); }
  .hero-v24-description { margin: 24px 0 18px; font-size: 17px; line-height: 1.42; font-weight: 700; }
  .hero-v24-actions { display: block; margin-bottom: 23px; }
  .hero-v24-buy,.hero-v24-help { width: 100%; min-height: 56px; margin: 0 0 12px; padding: 12px 20px; font-size: 17px; }
  .hero-v24-buy { font-size: 20px; }
  .hero-v24-info { display: flex; gap: 10px 18px; padding-top: 14px; }
  .hero-v24-info > div,.hero-v24-info > a { padding: 0; }
  .hero-v24-info > :not(:first-child) { border: 0; }
  .hero-v24-info > a { flex-basis: 100%; }
  .hero-v24-info-label { font-size: 10px; }.hero-v24-info strong { font-size: 14px; }
  .hero-v24-graphic { top: auto; bottom: 110px; height: 150px; width: 200px; right: 0; opacity: .83; }
  .hero-v24-flight { top: 0; height: 170px; }.hero-v24-star { display: none; }
  .hero-v24-event-chip { top: 78px; right: 15px; padding: 6px 9px; font-size: 11px; border-width: 2px; border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); }
  .hero-v24-event-chip b { font-size: 14px; }
  .hero-v24-skyline { height: 167px; }
  .hero-v24-cloud { display: none; }
}
@media (max-width: 390px) {
  .hero-v24 h1 { font-size: 36px; }
  .hero-v24-title-sign { padding: 20px 17px 16px; }
  .hero-v24-graphic { opacity: .65; }
}

/* v24 final QA: legible display tracking, mobile skyline and no overlap with CTA */
.hero-v24 h1 { letter-spacing: -.045em; }
.hero-v24-skyline { display: block; height: 270px; }
.hero-v24-skyline img { display: block; width: 100%; height: 100%; object-fit: fill; }
@media (max-width: 767px) {
  .hero-v24-graphic { display: none; }
  .hero-v24-skyline { height: 167px; }
  .hero-v24 h1 { letter-spacing: -.045em; }
}


/* v27 — restore v24 hero without Astrakhan landmarks or river motif.
   Preserve the original DevFest typography, rocket, CTA and event details. */
.hero-v24 {
  min-height: 0;
  padding-bottom: 72px;
}
.hero-v24-skyline { display: none; }

/* The v22 location decorations were part of the removed Astrakhan theme. */
#location { padding-bottom: 96px; }
#location::before,
#location::after { content: none; display: none; }

@media (max-width: 991px) {
  .hero-v24 { padding-bottom: 70px; }
}
@media (max-width: 767px) {
  .hero-v24 { padding-bottom: 42px; }
  #location { padding-bottom: 64px; }
}
