/* ===== kod-oathtaking.soulz.my — navy + gold (from the poster) ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy:      #14213d;
  --navy-dk:   #0c1730;
  --royal:     #1e40af;
  --royal-dk:  #172554;
  --gold:      #f6c700;
  --gold-dk:   #d9ad00;
  --ink:       #14213d;
  --muted:     #5a6478;
  --line:      #e6e8ef;
  --bg:        #ffffff;
  --bg-alt:    #f5f7fb;
  --radius:    16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.12; }
.muted { color: var(--muted); }
a { color: inherit; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--royal);
  color: #fff;
  font-weight: 600;
  padding: .8rem 1.7rem;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(30,64,175,.28);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--royal-dk); transform: translateY(-2px); }
.btn-link {
  font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
}

/* ---- Nav ---- */
.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 1.5rem;
  background: var(--navy);
  position: sticky; top: 0; z-index: 50;
}
.brand { display: flex; align-items: center; gap: 1rem; }
.brand__logo { height: 42px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.nav-links a { color: #dfe4f2; text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--gold); color: var(--navy) !important;
  padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--gold-dk); }

/* ---- Hero ---- */
.hero { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 3rem; }
.hero__grid { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { flex-direction: row; justify-content: space-between; }
  .hero__left, .hero__right { width: 50%; }
}
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700; color: var(--royal); margin-bottom: 1rem;
}
.hero__left h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
.hero__left p { margin-top: 1.2rem; font-size: 1.05rem; color: var(--muted); max-width: 34rem; }
.event-meta {
  margin-top: 1.2rem !important; color: var(--ink) !important;
  border-left: 4px solid var(--gold); padding-left: 1rem;
}
.cta-row { margin-top: 1.8rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ---- Accordion ---- */
.accordion {
  display: flex; flex-direction: row; align-items: stretch; justify-content: center;
  gap: .8rem; overflow-x: auto; padding: .4rem;
}
.acc-item {
  position: relative; height: 420px; flex: 0 0 60px;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  text-decoration: none; color: #fff;
  transition: flex-basis .7s cubic-bezier(.22,1,.36,1);
}
.acc-item.is-active { flex-basis: 320px; }
.acc-item::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad, linear-gradient(160deg, var(--royal), var(--navy)));
  z-index: 0;
}
.acc-item .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,20,45,.75), rgba(10,20,45,.1) 60%);
}
.acc-item .caption {
  position: absolute; z-index: 2; left: 50%; bottom: 6rem;
  font-weight: 600; font-size: 1.02rem; white-space: nowrap;
  transform: translateX(-50%) rotate(90deg); transform-origin: center;
  transition: all .35s ease;
}
.acc-item.is-active .caption { bottom: 1.3rem; transform: translateX(-50%) rotate(0); }
.acc-item .subcaption {
  position: absolute; z-index: 2; left: 1.3rem; right: 1.3rem; bottom: 3.2rem;
  font-size: .82rem; color: rgba(255,255,255,.9);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s ease .1s, transform .4s ease .1s;
}
.acc-item.is-active .subcaption { opacity: 1; transform: translateY(0); }
.acc-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---- Sections ---- */
.section { padding: 3.5rem 1.5rem; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: 1000px; margin: 0 auto; }
.section h2 { font-size: 1.9rem; margin-bottom: .4rem; }
.section h2::after {
  content: ""; display: block; width: 54px; height: 4px;
  background: var(--gold); border-radius: 4px; margin-top: .6rem;
}

.info-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1.6rem; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
.info-card__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--royal); font-weight: 700; }
.info-card__value { display: block; margin-top: .4rem; font-weight: 600; }

.cta-cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.6rem; }
.cta-card {
  display: block; text-decoration: none; padding: 1.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cta-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,33,61,.1); border-color: var(--royal); }
.cta-card h3 { color: var(--royal); margin-bottom: .3rem; }
.cta-card--accent { background: var(--navy); border-color: var(--navy); }
.cta-card--accent h3 { color: var(--gold); }
.cta-card--accent p { color: #c9d1e6 !important; }

/* ---- Forms ---- */
.form-section { background: var(--bg-alt); min-height: 70vh; }
.form-wrap { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.form-wrap h1 { font-size: 1.7rem; }
.form-wrap > p { margin-bottom: 1.4rem; }
.form-wrap label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: .92rem; }
.form-wrap input, .form-wrap select {
  display: block; width: 100%; margin-top: .4rem;
  padding: .7rem .8rem; font-size: 1rem; font-weight: 400;
  border: 1px solid var(--line); border-radius: 9px; background: #fff;
}
.form-wrap input:focus, .form-wrap select:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(30,64,175,.15); }
.form-wrap .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form-wrap .btn { margin-top: .6rem; width: 100%; }

.alert { border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1.3rem; font-size: .92rem; }
.alert--error { background: #fdecec; border: 1px solid #f5b5b5; color: #9b1c1c; }
.alert--note { background: #fff8e0; border: 1px solid var(--gold); color: #6b5600; margin-top: 1.4rem; }
.alert ul { margin: 0; padding-left: 1.1rem; }

/* ---- Programme table ---- */
.table-wrap { margin: 2rem 0 2.4rem; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.prog-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.prog-table thead th {
  background: var(--navy); color: #fff; text-align: left; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; padding: .85rem 1.1rem;
}
.prog-table tbody td { padding: .95rem 1.1rem; border-top: 1px solid var(--line); vertical-align: top; }
.prog-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.prog-table__time { white-space: nowrap; font-weight: 700; color: var(--royal); border-left: 4px solid var(--gold); }
.prog-table thead .prog-table__time { color: #fff; border-left: 4px solid var(--gold); }
.prog-table__title { display: block; font-weight: 600; }
.prog-table__desc { display: block; margin-top: .2rem; color: var(--muted); font-size: .9rem; }

.thank-you { text-align: center; }
.thank-you__tick {
  width: 66px; height: 66px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Fieldset / radios ---- */
.field { border: none; padding: 0; margin-bottom: 1rem; }
.field legend { font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
.radio-group { display: flex; gap: .8rem; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 9px;
  font-weight: 500; transition: border-color .15s ease, background .15s ease;
}
.radio-option:hover { border-color: var(--royal); }
.radio-option input { accent-color: var(--royal); width: 1.05rem; height: 1.05rem; }
.radio-option:has(input:checked) { border-color: var(--royal); background: rgba(30,64,175,.06); }

/* ---- Modal (confirm before submit) ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,20,45,.55); }
.modal__card {
  position: relative; width: 100%; max-width: 460px; background: #fff;
  border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 24px 60px rgba(0,0,0,.32);
  animation: modal-in .18s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.modal__card h3 { margin-bottom: .3rem; }
.modal__card > .muted { margin-bottom: 1rem; }
.modal__actions { display: flex; gap: .8rem; margin-top: 1.5rem; }
.modal__actions .btn { flex: 1; text-align: center; }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--bg-alt); transform: none; }

.confirm-list { display: flex; flex-direction: column; }
.confirm-row { display: grid; grid-template-columns: 130px 1fr; gap: .6rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.confirm-row dt { color: var(--muted); font-size: .88rem; }
.confirm-row dd { font-weight: 600; word-break: break-word; }
.confirm-photo:not(:empty) { margin-top: 1rem; }
.confirm-photo img { display: block; max-width: 140px; max-height: 160px; border-radius: 10px; border: 1px solid var(--line); }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #dfe4f2; padding: 3rem 1.5rem 1.5rem; margin-top: 2rem; }
.site-footer__inner { max-width: 1000px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.footer-logo { height: 48px; margin-bottom: .8rem; }
.site-footer .muted { color: #9aa4c0; }
.site-footer h4 { color: #fff; margin-bottom: .5rem; }
.site-footer__copy { max-width: 1000px; margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #8a93b3; }
