/* MakeIT AI 2027 homepage */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 400 1rem/1.5 "Nunito Sans", system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); letter-spacing: -.045em; }
h3 { font-size: 1.25rem; letter-spacing: -.025em; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .24em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.community-band :focus-visible, .cfp-panel :focus-visible, .theme-featured :focus-visible {
  outline-color: #7bdeff;
}

.section { padding-block: var(--section-space); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, var(--night) 12%, var(--night-raised) 55%, var(--navy));
  color: var(--white);
}
.hero-inner { display: grid; grid-template-columns: 49% 1fr; min-height: clamp(480px, 36vw, 560px); align-items: center; }
.hero-copy { z-index: 1; padding-block: clamp(40px, 4.5vw, 72px); }
.hero-promise {
  font-size: clamp(1.8rem, 3.45vw, 3.3rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.048em;
}
.hero-break { display: block; }
.hero-promise strong { color: var(--accent-light); font-weight: inherit; }
.hero-description { max-width: 47ch; margin-top: 1.2rem; color: #e1eaf7; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.event-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1.45rem; font-weight: 800; }
.event-meta li { display: flex; align-items: center; gap: .55rem; }
.event-meta .icon { color: var(--accent-light); }
.event-meta a { text-decoration: none; }
.event-meta a:hover { text-decoration: underline; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.45rem; }
.hero-actions .button:first-child { padding-inline: 1.65em; }
.hero-visual {
  position: absolute;
  inset: 0 0 0 48%;
  background: var(--accent);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% 49%;
  clip-path: polygon(21% 0, 100% 0, 100% 82%, 94% 100%, 0 100%);
}

.value-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 25px; }
.value-strip li { display: grid; justify-items: center; align-content: start; gap: .16rem; padding-inline: .8rem; text-align: center; }
.value-strip li + li { border-inline-start: 1px solid var(--line); }
.value-strip .icon { width: 1.85rem; height: 1.85rem; margin-bottom: .25rem; color: var(--action); }
.value-strip strong { font-weight: 900; }
.value-strip span { color: var(--muted); font-size: .94rem; line-height: 1.35; }

.themes-section { background: var(--ice); }
.themes-layout, .programme-layout {
  display: grid;
  grid-template-columns: minmax(215px, 1fr) minmax(0, 3.75fr);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
  font-size: .87rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.section-intro .eyebrow::before {
  content: "";
  display: inline-block;
  width: .38rem;
  height: 1.15rem;
  margin-inline: .18rem;
  background: var(--accent);
  transform: skewX(-21deg);
}
.section-intro > p:not(.eyebrow) { max-width: 57ch; margin-top: .7rem; color: var(--muted); }
.section-intro > .button { margin-top: 1rem; }
.schedule-link { display: block; width: fit-content; margin-top: .65rem; font-weight: 850; }
.themes-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.theme-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(.95rem, 1.45vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.theme-card .icon { width: 2rem; height: 2rem; margin-bottom: .8rem; color: var(--action); }
.theme-card h3 { margin-bottom: .55rem; }
.theme-card p { color: var(--muted); line-height: 1.42; }
.theme-card .theme-community { margin: -.25rem 0 .5rem; color: var(--action); font-size: .9rem; font-weight: 850; }
.theme-featured {
  border-color: var(--accent);
  border-top-width: 3px;
  background: linear-gradient(145deg, var(--night-raised), var(--navy));
  color: var(--white);
}
.theme-featured p { color: #e5edf8; }
.theme-featured .icon { color: var(--accent-light); }
.theme-link { margin-top: auto; padding-top: .75rem; font-size: .95rem; font-weight: 850; }

.programme-section { background: #f8fafc; }
.programme-layout { grid-template-columns: minmax(245px, 1fr) minmax(0, 2.6fr); }
.programme-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 2.9vw, 2.45rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.programme-status { display: flex; align-items: flex-start; gap: .95rem; }
.programme-status p { max-width: 44ch; margin-top: .42rem; color: var(--muted); }
.programme-status-icon {
  display: grid;
  flex: none;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 10px;
  background: #fff0f5;
  color: var(--action);
}
.programme-preview .button { flex: none; }
.programme-topics, .programme-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.programme-topics { margin-bottom: .75rem; }
.programme-topics a, .programme-tags li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: .25rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .9rem;
  font-weight: 850;
}
.programme-topics a:hover { color: var(--action); border-color: var(--action); }
.programme-sessions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.programme-card { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.programme-card time { display: block; margin-bottom: .55rem; color: var(--muted); font-size: .9rem; }
.programme-tags { margin-top: .75rem; }
.programme-tags li { min-height: 0; border: 0; background: var(--ice); font-size: .86rem; }

.conference-stats-band {
  position: relative;
  background: var(--night);
  color: var(--white);
}
.conference-stats-band::after {
  position: absolute;
  inset: 0 0 0 auto;
  width: clamp(16px, 3vw, 48px);
  background: var(--accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  content: "";
}
.conference-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 1.1rem;
}
.conference-stats li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.55rem, 1vw, .9rem);
  padding-inline: clamp(.65rem, 2vw, 1.75rem);
}
.conference-stats li + li { border-inline-start: 1px solid #ffffff40; }
.conference-stats .icon { width: clamp(1.5rem, 3vw, 2.4rem); height: auto; aspect-ratio: 1; color: var(--accent-light); }
.conference-stats strong, .conference-stats span { display: block; }
.conference-stats strong { margin-bottom: .2rem; font-size: clamp(1.55rem, 2.7vw, 2.25rem); font-weight: 950; line-height: 1; }
.conference-stats span { font-size: .95rem; line-height: 1.25; }

.experience-section { background: var(--white); }
.experience-layout {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(0, 3.75fr);
  align-items: start;
  gap: clamp(20px, 3vw, 42px);
}
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits li { padding-inline: 1rem; }
.benefits li + li { border-inline-start: 1px solid var(--line); }
.benefits .icon { color: var(--action); }
.benefits h3 { margin-block: .4rem; font-size: 1.1rem; }
.benefits p { color: var(--muted); font-size: .95rem; line-height: 1.4; }

.people-section { background: #f8fafc; }
.people-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: stretch; gap: clamp(18px, 3vw, 35px); }
.people-layout-single { grid-template-columns: minmax(0, 850px); }
.speaker-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.speaker-photo {
  position: relative;
  min-height: 235px;
  align-self: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ice);
}
.speaker-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.speaker-photo figcaption {
  position: absolute;
  bottom: .65rem;
  left: .65rem;
  padding: .15rem .55rem;
  border-radius: 5px;
  background: var(--night);
  color: var(--white);
  font-size: .82rem;
  font-weight: 800;
}
.speaker-copy p { margin-block: .65rem .9rem; color: var(--muted); }
.cfp-panel {
  padding: clamp(1.35rem, 2.5vw, 2.2rem);
  border-radius: var(--radius);
  background: linear-gradient(130deg, var(--action) 12%, #870029);
  color: var(--white);
}
.cfp-panel .eyebrow .icon { width: 1.15rem; height: 1.15rem; }
.cfp-panel h2 { max-width: 21ch; font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.cfp-panel h2 + p { margin-top: .65rem; }
.cfp-deadline { margin-top: .5rem; font-size: .92rem; font-weight: 800; }
.cfp-panel .button { margin-top: .9rem; }

.location-section { background: var(--ice); }
.location-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(20px, 3.5vw, 52px); }
.location-photo {
  width: 100%;
  aspect-ratio: 2.25;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 58%;
}
.location-links { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: .9rem; }
.location-links a { display: flex; min-height: 44px; align-items: center; gap: .35rem; font-size: .95rem; font-weight: 850; }
.location-links a:hover, .location-links .icon { color: var(--action); }
.venue-address { display: block; color: var(--muted); font-size: .87rem; font-weight: 650; }

.community-band { background: var(--night-raised); color: var(--white); }
.community-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(22px, 5vw, 70px); padding-block: var(--section-space); }
.community-layout h2 { font-size: clamp(1.55rem, 2.7vw, 2.1rem); }
.community-layout h2 + p { max-width: 52ch; margin-top: .5rem; color: #e0e9f6; }
.community-marks { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.community-marks li {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: .45rem;
  padding: .3rem .7rem;
  border-radius: 7px;
  background: var(--white);
  color: var(--navy);
  font-size: .94rem;
  font-weight: 950;
}
.community-marks img { width: 80px; }
.community-marks li + li img { width: 36px; }
.community-marks small { display: block; font-size: .7rem; line-height: 1; }
.newsletter { border-inline-start: 1px solid #ffffff45; padding-inline-start: clamp(22px, 5vw, 70px); }
.newsletter form { position: relative; margin-top: .8rem; }
.newsletter label { display: block; margin-bottom: .35rem; font-size: .94rem; font-weight: 850; }
.newsletter-fields { display: flex; gap: .5rem; }
.newsletter input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
}
.newsletter .form-note { margin-top: .45rem; color: #e0e9f6; font-size: .86rem; }
.form-trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }

.sponsors-section { background: #f8fafc; }
.sponsor-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .45rem; }
.sponsors-section p { color: var(--muted); }
.sponsor-archive-heading { margin-top: 1.3rem; }
.sponsor-tiers { display: flex; flex-wrap: wrap; gap: .8rem 1rem; margin-top: .8rem; }
.sponsor-tier-title { margin-bottom: .28rem; font-size: .88rem; font-weight: 850; }
.sponsor-tier ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.sponsor-tier a {
  display: grid;
  width: 78px;
  height: 52px;
  place-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}
.sponsor-tier a:hover { border-color: var(--action); }
.sponsor-tier img { max-height: 35px; object-fit: contain; }
.sponsor-tier:first-child a { width: 100px; }

@media (max-width: 1150px) {
  .themes-layout, .experience-layout { grid-template-columns: 1fr; align-items: start; }
  .experience-layout h2 br { display: none; }
  .benefits li:first-child { padding-inline-start: 0; }
  .hero-inner { grid-template-columns: 51% 1fr; }
}

@media (max-width: 940px) {
  .themes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people-layout { grid-template-columns: 1fr; }
  .hero-break { display: inline; }
  .programme-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-inner { display: block; min-height: 0; }
  .hero-copy { padding-block: clamp(36px, 8vw, 52px); }
  .hero-promise { max-width: 20ch; }
  .hero-description { max-width: 49ch; }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 2 / 1; max-height: 310px; clip-path: none; }
  .hero-visual img { object-position: 50% 45%; clip-path: polygon(0 0, 100% 0, 100% 79%, 94% 100%, 0 100%); }
  .conference-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.1rem; }
  .conference-stats li { align-items: flex-start; justify-content: flex-start; }
  .conference-stats li:nth-child(3) { border-inline-start: 0; }
  .conference-stats .icon { margin-top: .25rem; }
  .value-strip, .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .value-strip li:nth-child(3), .benefits li:nth-child(3) { border-inline-start: 0; }
  .benefits li:nth-child(3) { padding-inline-start: 0; }
  .location-layout, .community-layout { grid-template-columns: 1fr; }
  .newsletter { border-inline-start: 0; border-top: 1px solid #ffffff45; padding: 1.2rem 0 0; }
}

@media (max-width: 520px) {
  .hero-actions .button { padding-inline: .9em; font-size: .94rem; }
  .hero-actions .button:first-child { padding-inline: .9em; }
  .hero-visual { aspect-ratio: 1.75; }
  .themes-grid, .programme-sessions { grid-template-columns: 1fr; }
  .programme-preview { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .speaker-feature { grid-template-columns: 1fr; }
  .speaker-photo { min-height: 0; aspect-ratio: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
