/* Homepage */
.ide-home .site-main { overflow-x: clip; }

/* hero */
.hero { position: relative; isolation: isolate; padding-block: 40px 56px; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; left: -10%; top: 6px; width: 70%; height: 130px; background: linear-gradient(100deg, transparent 0 22%, rgba(240,24,43,.9) 46%, transparent 47%), linear-gradient(100deg, transparent 0 40%, rgba(255,70,90,.35) 60%, transparent 61%); transform: skewY(-8deg); opacity: .8; }
.hero__media { position: absolute; z-index: -2; top: 0; right: 0; bottom: 0; width: min(66vw, 1000px); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(0deg, transparent 0, #000 22%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 40%), linear-gradient(0deg, transparent 0, #000 22%); mask-composite: intersect; }
.hero__media picture, .hero__img { display: block; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: right center; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,18,.55), transparent 55%); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(34px, 5.4vw, 72px); line-height: .98; text-shadow: 0 4px 30px rgba(0,0,0,.6); margin-bottom: 18px; }
.hero__title span { display: block; white-space: nowrap; }
.grad { background: linear-gradient(100deg, #fff 8%, #9cd6ff 55%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.hero__kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(14px, 1.6vw, 21px); letter-spacing: .3em; text-transform: uppercase; }
.hero__kicker::before { content: ""; width: 60px; height: 2px; background: #fff; flex: none; }
.hero__meta { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.7vw, 20px); text-transform: uppercase; }
.hero__meta li { display: inline-flex; align-items: center; gap: 12px; }
.hero__meta .ide-icon { width: 26px; height: 26px; color: var(--blue-hot); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cta .btn { padding: 15px 28px; font-size: 16px; }

/* event info bar */
.eventbar { background: linear-gradient(90deg, var(--surface), var(--surface-2)); border-block: 1px solid var(--line-soft); }
.eventbar__list { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 24px; }
.eventbar__list li { display: flex; gap: 14px; align-items: center; }
.eventbar__list .ide-icon { width: 30px; height: 30px; color: var(--blue-hot); }
.eventbar__list span { display: grid; font-weight: 700; }
.eventbar__list small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.eventbar__note { margin: 0; padding: 0 0 18px; color: var(--muted); font-size: 14px; }

/* about */
.about { padding-block: 56px 0; }
.about__inner { display: grid; gap: 14px; max-width: 860px; text-align: center; justify-items: center; }
.about__inner p { margin: 0; color: #dfe5f7; font-size: 18px; }

/* discover */
.discover { padding-block: 56px; }
.discover__head { text-align: center; margin-bottom: 36px; }
.discover__head .section-title { font-size: clamp(34px, 5vw, 60px); }
.discover__sub { margin: 12px 0 0; font-family: var(--font-display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .36em; font-size: clamp(11px, 1.4vw, 16px); }
.strip { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 -10px; padding: 0; }
.strip .panel { --cut: 9%; --glow: var(--blue); position: relative; margin: 0 -9px; padding: 2px; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); background: linear-gradient(160deg, var(--glow), rgba(255,255,255,.1) 45%, var(--glow)); transition: transform .25s ease, filter .25s ease; }
.strip .panel--red { --glow: var(--red-hot); }
.strip .panel:hover, .strip .panel:focus-within { transform: translateY(-6px); filter: drop-shadow(0 0 18px var(--glow)); z-index: 2; }
.strip .panel__link { display: block; position: relative; height: 100%; min-height: 330px; clip-path: inherit; background: #05060d; overflow: hidden; }
.strip .panel__img { display: block; width: 100%; height: 236px; object-fit: cover; }
.strip .panel__link::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 236px; background: linear-gradient(180deg, rgba(5,8,18,.05) 20%, rgba(5,8,18,.94) 94%); pointer-events: none; }
.strip .panel__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 22px 20px 32px; display: grid; gap: 2px; }
.strip .panel__icon { width: 38px; height: 38px; margin-bottom: 6px; color: #fff; }
.strip .panel--red .panel__icon { color: var(--red-hot); }
.strip .panel--blue .panel__icon { color: var(--blue-hot); }
.strip .panel__title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(17px, 1.55vw, 21px); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; }
.strip .panel__title b { color: var(--red-hot); margin-right: 3px; }
.strip .panel--blue .panel__title b { color: var(--blue-hot); }
.strip .panel__tag { font-weight: 600; font-size: 14.5px; }

/* experience band */
.exp { position: relative; isolation: isolate; border-top: 2px solid var(--blue); border-bottom: 2px solid var(--red); background: linear-gradient(90deg, #05060f, #070a1c 60%, #05060f); overflow: hidden; margin-bottom: 56px; }
.exp::before { content: ""; position: absolute; z-index: -1; left: -6%; top: 0; width: 40%; height: 100%; background: linear-gradient(110deg, rgba(240,24,43,.5), transparent 40%); }
.exp__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; padding-inline: 0; max-width: none; }
.exp__copy { padding: 48px 28px 48px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); align-self: center; display: grid; gap: 18px; justify-items: start; }
.exp__copy .section-title { font-size: clamp(34px, 4.4vw, 56px); }
.exp__copy p { margin: 0; color: #e1e5f7; max-width: 40ch; }
.exp__photo { min-height: 300px; clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.exp__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* bands */
.band { padding-block: 40px 56px; }
.band__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 26px; }
.band--sponsors { background: var(--surface); border-block: 1px solid var(--line-soft); }
.band--sponsors .section-title { margin-bottom: 24px; }

/* plan your visit + ticket cta */
.visit { padding-block: 24px 64px; }
.visit__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.visit__plan { display: grid; gap: 18px; align-content: start; }
.visit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.visit__list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; font-weight: 700; transition: border-color .2s ease, transform .2s ease; }
.visit__list a:hover { border-color: var(--blue); transform: translateY(-2px); }
.visit__list .ide-icon { width: 28px; height: 28px; color: var(--blue-hot); }
.ticket-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 32px; border-radius: 18px; background: linear-gradient(160deg, var(--red-hot), var(--red-deep)); box-shadow: 0 0 40px rgba(240,24,43,.4); position: relative; overflow: hidden; }
.ticket-cta::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.1); }
.ticket-cta .badge { background: rgba(5,8,18,.4); border-color: rgba(255,255,255,.5); }
.ticket-cta__title { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.ticket-cta__note { margin: 0; max-width: 36ch; }
.ticket-cta .btn { position: relative; z-index: 1; }

@media (max-width: 1100px) {
  .exp__grid { grid-template-columns: minmax(0, 1fr); }
  .exp__photo { order: -1; clip-path: none; min-height: 240px; max-height: 320px; }
  .exp__copy { padding: 32px var(--gutter-r) 40px var(--gutter); }
}
@media (max-width: 960px) {
  .hero { min-height: 0; padding-block: 28px 0; display: block; }
  .hero__media { position: relative; z-index: 0; width: calc(100% + var(--gutter) + var(--gutter-r)); margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); height: 300px; order: 2; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 35%); mask-image: linear-gradient(180deg, transparent 0, #000 35%); -webkit-mask-composite: source-over; mask-composite: add; margin-top: 8px; }
  .hero__media::after { display: none; }
  .hero { display: flex; flex-direction: column; }
  .hero__inner { order: 1; }
  .hero__img { object-position: center; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; }
  .strip .panel { margin: 0; --cut: 6%; }
  .strip .panel:last-child { grid-column: 1 / -1; }
  .visit__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero__title span { white-space: normal; }
  .hero__title { font-size: clamp(34px, 11vw, 52px); }
  .hero__kicker { letter-spacing: .18em; }
  .hero__kicker::before { width: 26px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__media { height: 240px; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .strip .panel:last-child { grid-column: auto; }
  .strip .panel__link { min-height: 300px; }
  .strip .panel__img, .strip .panel__link::after { height: 210px; }
  .visit__list { grid-template-columns: minmax(0, 1fr); }
  .ticket-cta { padding: 24px; }
}
