:root {
  --navy:   #1a3a6b;
  --navy2:  #1e4d8c;
  --coral:  #ef5350;
  --amber:  #f5a623;
  --cream:  #f7f5f0;
  --white:  #ffffff;
  --text:   #222b3a;
  --muted:  #6b7a90;
  --border: rgba(26,58,107,0.15);
  /* decorative background palette */
  --ink:    #0a1f44;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── ANIMATED BG ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 110% 10%, rgba(245,166,35,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at -10% 80%, rgba(239,83,80,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(26,58,107,0.04) 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  
  background: linear-gradient(135deg, var(--navy) 0%, #0f2550 55%, #1e3d7a 100%);
  padding: 0;
  overflow: hidden;
  z-index: 1;
}

/* Decorative geometric lines */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -160px;
  width: 400px; height: 400px;
  border: 1px solid rgba(245,166,35,0.12);
  border-radius: 50%;
}

.hero-ring {
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  border: 1px solid rgba(239,83,80,0.10);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 48px 32px;
  /*display: grid;
  grid-template-columns: 1fr 420px;
  /* gap: 32px; */
  align-items: center;
}

/* Logo */
.logo {
  height: 80px;
  margin-bottom: 20px;
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
   padding: 0px 0px 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--amber);
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 8px;
  position: relative;
}
.hero-headline em {
  font-style: normal;
  color: var(--amber);
}
.hero-image {
  position: absolute;
  right: -120px;
  top: -40px;
  width: 400px;
  height: auto;
}
.hero-image img {
  width: 80%;
  height: auto;
  display: block;
}

.hero-date-strip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.date-block {
  background: var(--amber);
  color: var(--navy);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  padding: 9px 18px;
  letter-spacing: 1px;
}
.location-block {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 9px 18px;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: 15.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 480px;
  padding-bottom: 10px;

}

/* ── SESSIONS STRIP ── */
.sessions-strip {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 48px;
  position: relative;
  z-index: 2;
}
.sessions-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.strip-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--amber);
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.strip-items {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
}
.strip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

/* ── MAIN CONTENT ── */
.main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* ── LEFT INFO ── */
.info-tag-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.info-tag {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.agenda-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  background: var(--amber);
  padding: 4px 12px;
  border-radius: 3px;
  transition: filter 0.2s;
  white-space: nowrap;
  

}
.agenda-btn:hover {
  filter: brightness(0.9);
}

.info-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.05;
  margin-top: 10px;
  margin-bottom: 16px;
}

.info-body {
  font-size: 15px;
  font-weight: 300;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 24px;
}
.info-bullets {
  font-size: 15px;
  font-weight: 300;
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-top: 10px;

}

/* Schedule cards */
.schedule-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.schedule-card {
  display: flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(26,58,107,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.schedule-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(26,58,107,0.12);
}
.card-accent {
  width: 5px;
  background: var(--navy);
  flex-shrink: 0;
}
.card-accent.amber { background: var(--amber); }
.card-accent.coral { background: var(--coral); }
.card-body {
  padding: 14px 18px;
  flex: 1;
}
.card-day {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.card-title {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.card-time {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  margin-top: 2px;
}
.card-price {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.price-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.price-tag.free {
  background: rgba(26,58,107,0.08);
  color: var(--navy);
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 3px;
}


/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(26,58,107,0.14);
  overflow: hidden;
  position: sticky;
  top: 32px;

  /* Entrance animation */
  animation: slideUp 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.form-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}
.form-header::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border: 1px solid rgba(245,166,35,0.20);
  border-radius: 50%;
}
.form-header-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.form-header-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
 letter-spacing: 0.3px; 
  line-height: 1.1;
}
.form-header-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.60);
  margin-top: 8px;
  font-weight: 300;
}

/* Coral stripe */
.form-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--amber) 100%);
}

.form-body {
  padding: 32px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field-full {
  margin-bottom: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
}

label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

label .req {
  color: var(--coral);
  margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--text);
  background: #fcfcfd;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,58,107,0.08);
}

input::placeholder, textarea::placeholder {
  color: #b0bac8;
  font-weight: 300;
}

/* Preferences checkboxes */
.pref-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  display: block;
}
.pref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.pref-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: #fcfcfd;
  user-select: none;
}
.pref-item:hover {
  border-color: rgba(26,58,107,0.30);
  background: #f5f7fc;
}
.pref-item input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
}
.pref-item.checked {
  border-color: var(--navy);
  background: rgba(26,58,107,0.04);
}
.pref-text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

/* Textarea extra info */
.field-full textarea {
  resize: vertical;
  min-height: 80px;
}

/* Submit */
.submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}
.submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
}
.submit-btn:hover {
  background: #e53935;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239,83,80,0.35);
}
.submit-btn:active {
  transform: translateY(0);
}

.form-privacy {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}
.form-privacy a { color: var(--navy); text-decoration: none; }
.form-privacy a:hover { text-decoration: underline; }

/* ── SUCCESS STATE ── */
.success-state {
  display: none;
  padding: 48px 32px;
  text-align: center;
}
.success-icon {
  width: 64px; height: 64px;
  background: rgba(26,58,107,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}
.success-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.success-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.footer-logo {
  height: 40px;
  margin-right: 14px;
}
.footer-left {
  display: flex;
  align-items: center;
}
.footer-address {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  line-height: 1.6;
}
.footer-right {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  text-align: right;
}
.footer-right a { color: rgba(255,255,255,0.55); text-decoration: none; }

/* ── RESPONSIVE ── */

/* ── AGENDA PAGE STYLES ── */

/* Back link in hero */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--white); }
.back-link::before { content: '←'; font-size: 14px; }

/* Day navigation tabs */
.agenda-nav {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0 48px;
}
.agenda-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
}
.day-tab {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 18px 28px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}
.day-tab:hover { color: rgba(255,255,255,0.85); }
.day-tab.active { color: var(--amber); border-bottom-color: var(--amber); }

/* Main agenda content area */
.agenda-main {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px 72px;
}

/* Day section */
.day-section { margin-bottom: 64px; }
.day-section:last-child { margin-bottom: 0; }

.day-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.day-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
}
.day-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
}
.day-badge.main-event { background: var(--coral); color: var(--white); }
.day-badge.arrival    { background: rgba(26,58,107,0.08); color: var(--navy); }
.day-badge.opt-day    { background: rgba(41,121,181,0.10); color: #2979b5; }

/* Session list timeline */
.session-list {
  position: relative;
  padding-left: 32px;
}
.session-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
  border-radius: 1px;
}

/* Session item */
.session-item {
  position: relative;
  margin-bottom: 18px;
}
.session-item:last-child { margin-bottom: 0; }

.session-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px var(--navy);
}

/* Dot colours per type */
.session-item.type-break::before    { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.session-item.type-meal::before     { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.session-item.type-social::before   { background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.session-item.type-workshop::before { background: #7c4dff;      box-shadow: 0 0 0 1px #7c4dff; }
.session-item.type-optional::before { background: #2979b5;      box-shadow: 0 0 0 1px #2979b5; }

/* Time label */
.session-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
  display: block;
}

.session-item.type-break .session-time,
.session-item.type-meal .session-time     { color: #a06a00; }
.session-item.type-social .session-time   { color: #b03030; }
.session-item.type-workshop .session-time { color: #5c35cc; }
.session-item.type-optional .session-time { color: #2979b5; }

/* Session card */
.session-card {
  background: var(--white);
  border-radius: 6px;
  border-left: 4px solid var(--navy);
  padding: 14px 20px;
  box-shadow: 0 2px 12px rgba(26,58,107,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.session-card + .session-card { margin-top: 8px; }
.session-card:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 18px rgba(26,58,107,0.10);
}

.session-card.break    { border-left-color: var(--amber); }
.session-card.meal     { border-left-color: var(--amber); background: rgba(245,166,35,0.04); }
.session-card.social   { border-left-color: var(--coral); }
.session-card.workshop { border-left-color: #7c4dff; }
.session-card.qa       { border-left-color: var(--navy2); }
.session-card.optional { border-left-color: #2979b5; }

.session-title {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.session-speaker {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 3px;
}
.session-speaker strong { font-weight: 600; color: #4a5568; }

.session-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.session-tag.keynote      { background: rgba(26,58,107,0.08);  color: var(--navy); }
.session-tag.partner      { background: rgba(245,166,35,0.15); color: #8a5800; }
.session-tag.customer     { background: rgba(239,83,80,0.10);  color: #b03030; }
.session-tag.xmpie        { background: rgba(26,58,107,0.08);  color: var(--navy); }
.session-tag.external     { background: rgba(107,122,144,0.12);color: #4a5568; }
.session-tag.workshop-tag { background: rgba(124,77,255,0.10); color: #5c35cc; }
.session-tag.opt-tag      { background: rgba(41,121,181,0.10); color: #2979b5; }

/* Workshop parallel tracks */
.workshop-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.workshop-track {
  background: rgba(124,77,255,0.05);
  border: 1px solid rgba(124,77,255,0.15);
  border-radius: 4px;
  padding: 12px 14px;
}
.workshop-track-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7c4dff;
  margin-bottom: 4px;
}
.workshop-track-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
@media (max-width: 900px) {
  .hero-inner,
  .main {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
  }
  .form-card { position: static; }
  .sessions-strip { padding: 20px 24px; }
  footer { padding: 28px 24px; flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
  .hero-image {
    display: none;
  }

  /* Agenda page */
  .agenda-nav  { padding: 0 24px; }
  .agenda-main { padding: 40px 24px 56px; }
  .day-tab { padding: 14px 16px; font-size: 12px; letter-spacing: 1px; }
}

@media (max-width: 600px) {
  .agenda-nav-inner { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .session-list { padding-left: 20px; }
  .session-list::before { left: 5px; }
  .session-item::before { left: -18px; width: 8px; height: 8px; }
  .workshop-tracks { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .pref-grid { grid-template-columns: 1fr; }
}

/* Staggered entrance for left content */
.hero-inner > *:first-child > * {
  animation: fadeInUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ── DECORATIVE BACKGROUND ── */
.head {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  flex: none;
}
.head .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), rgba(0,0,0,0) 80%);
}
.head .ribbon {
  position: absolute;
  inset: -10% -10% auto auto;
  width: 120%; height: 120%;
  background:
    radial-gradient(closest-side at 70% 30%, #ef3e6d 0%, transparent 55%),
    radial-gradient(closest-side at 85% 55%, #ffb547 0%, transparent 55%),
    radial-gradient(closest-side at 60% 75%, #c7ee4a 0%, transparent 50%),
    radial-gradient(closest-side at 95% 20%, #7b5cff 0%, transparent 55%);
  filter: blur(4px) saturate(115%);
  opacity: .9;
  mix-blend-mode: screen;
}
.head .lines {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(120deg, transparent 0 6px, rgba(255,255,255,.08) 6px 7px);
  mix-blend-mode: overlay;
  opacity: .7;
}