@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/playfair-display-700.woff2) format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/playfair-display-800.woff2) format('woff2');
}

:root {
  /* page + form card (light side) */
  --bg: #e9edf8; --panel: #ffffff;
  --ink: #0c1330; --ink-2: #26314f; --muted: #5a6890; --faint: #6b7899;
  --line: #e6ebf6; --line-2: #d7dfef;
  /* navy panel (dark side) */
  --navy: #141c40; --navy-2: #1b2551;
  --p-ink: #f4f6ff; --p-ink-2: #d3dbf3; --p-muted: #a3b0d6; --p-faint: #8b99c2;
  --p-line: rgba(255, 255, 255, .13);
  /* accents */
  --accent: #4a5fe8; --accent-2: #8b5cf6; --accent-3: #0a9f80;
  --accent-lt: #8ea3ff; --mint: #4fe3bd;
  --grad: linear-gradient(135deg, #4a5fe8 0%, #8b5cf6 58%, #b06ef0 100%);
  --ok: #0da96f; --err: #dd3350; --warn: #b26a00;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); min-height: 100vh;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding: 0 20px 60px; position: relative; overflow-x: hidden;
}

.aurora {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(820px 500px at 88% -12%, rgba(139, 92, 246, .20), transparent 62%),
    radial-gradient(700px 520px at -4% 4%, rgba(74, 95, 232, .16), transparent 60%),
    linear-gradient(180deg, #e4e9f7 0%, var(--bg) 40%, #f2f5fc 100%);
}

.shell { max-width: 1200px; margin: 0 auto; }
.shell--wide { max-width: 1320px; }

/* ---------- top bar ---------- */
.brandbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 4px 0; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); font-weight: 600;
}
.brandbar .left { display: flex; align-items: center; gap: 11px; min-width: 0; }
.mark {
  width: 27px; height: 27px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px; font-weight: 800; color: #fff; letter-spacing: 0;
  box-shadow: 0 7px 18px -6px rgba(122, 80, 236, .6); flex: none;
}
.brandbar b { color: var(--ink); font-weight: 800; letter-spacing: .04em; }
.sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent-2); flex: none; }
.brandbar .right { white-space: nowrap; letter-spacing: .1em; }
@media (max-width: 640px) { .brandbar .right { display: none; } }
@media (max-width: 520px) { .brandbar .tagline, .brandbar .sep { display: none; } }

/* ---------- layout: navy panel left, white form card right ---------- */
.grid {
  display: grid; grid-template-columns: 1fr 1.04fr; grid-template-rows: auto 1fr;
  column-gap: 30px; row-gap: 0; align-items: start; margin-top: 26px;
}
.hero { grid-column: 1; grid-row: 1; }
.extras { grid-column: 1; grid-row: 2; align-self: stretch; }
.formcol { grid-column: 2; grid-row: 1 / span 2; }

/* the two left sections share one navy base so they read as a single panel */
.hero, .extras { background: var(--navy); color: var(--p-ink); position: relative; overflow: hidden; }
.hero { border-radius: 26px 26px 0 0; padding: 42px clamp(24px, 2.8vw, 38px) 32px; }
.extras {
  border-radius: 0 0 26px 26px; padding: 0 clamp(24px, 2.8vw, 38px) 34px;
  display: flex; flex-direction: column;
}
/* glows must fully fade before each edge, or the join shows as a seam */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 108% -22%, rgba(139, 92, 246, .55), transparent 62%),
    radial-gradient(480px 300px at -14% -6%, rgba(74, 95, 232, .45), transparent 62%);
}
.extras::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(460px 300px at -12% 118%, rgba(74, 95, 232, .28), transparent 62%);
}
.hero > *, .extras > * { position: relative; z-index: 1; }

.panelfoot {
  margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--p-faint); letter-spacing: .03em; line-height: 1.5;
}
.panelfoot .rule { flex: 1; height: 1px; background: var(--p-line); min-width: 14px; }
.panelfoot a {
  color: var(--p-ink-2); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.panelfoot a:hover { color: #fff; border-bottom-color: #fff; }

@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 26px; margin-top: 22px; }
  .hero, .extras, .formcol { grid-column: 1; grid-row: auto; }
  .hero { order: 1; border-radius: 24px; padding: 34px 26px 32px; }
  .formcol { order: 2; }
  .extras { order: 3; border-radius: 24px; padding: 32px 26px 34px; }
  .panelfoot { padding-top: 26px; }
}

/* ---------- hero content (on navy) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px);
  font-size: 11.5px; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 700; color: var(--p-ink-2);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); position: relative; flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--mint); opacity: .55; animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(.55); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

h1 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 800;
  font-size: clamp(34px, 3.9vw, 50px); line-height: 1.06; letter-spacing: -.022em;
  margin: 22px 0 16px; color: #fff;
}
h1 .grad {
  background: linear-gradient(120deg, #9db2ff, #c9a6ff 55%, #f0b8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--p-muted); font-size: 16px; line-height: 1.62; max-width: 44ch; margin: 0; }
.lead b { color: #fff; font-weight: 600; }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 24px 0 0; }
.facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06);
  font-size: 13px; color: var(--p-ink-2); font-weight: 500;
}
.facts svg {
  width: 14px; height: 14px; stroke: var(--mint); fill: none; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; flex: none;
}

.works { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--p-line); }
@media (max-width: 980px) { .works { margin-top: 0; padding-top: 0; border-top: none; } }
.works h3, .agenda h3 {
  margin: 0 0 15px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--p-faint); font-weight: 700;
}
.step {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 13px;
  font-size: 13.5px; color: var(--p-muted); line-height: 1.55;
}
.step:last-child { margin-bottom: 0; }
.step .n {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; color: var(--accent-lt);
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid rgba(142, 163, 255, .32); background: rgba(142, 163, 255, .13); margin-top: -2px;
}
.step b { color: var(--p-ink-2); font-weight: 600; }

.agenda { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--p-line); }
.agenda ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.agenda li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 13.5px; color: var(--p-muted); line-height: 1.55;
}
.agenda li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #8ea3ff, #c9a6ff); flex: none; margin-top: 6px;
}
.agenda li b { color: var(--p-ink-2); font-weight: 600; }

/* ---------- form card (white) ---------- */
.card {
  position: relative; border-radius: 26px; padding: 36px clamp(20px, 2.9vw, 36px) 32px;
  background: var(--panel); border: 1px solid var(--line);
  box-shadow: 0 2px 4px -2px rgba(20, 30, 70, .06), 0 36px 74px -40px rgba(20, 28, 64, .5);
}
.card-head { margin: 0 0 24px; }
.card-head h2 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 24px;
  font-weight: 700; margin: 0 0 6px; color: var(--ink);
}
.card-head p { margin: 0; font-size: 13.5px; color: var(--faint); line-height: 1.5; }

/* ---------- fields ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-top: 18px; }
.row .field { margin-top: 18px; }
fieldset.field { border: 0; padding: 0; margin-inline: 0; min-width: 0; }

label, legend {
  display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  color: var(--ink-2); margin-bottom: 9px; padding: 0;
}
.opt { color: var(--faint); font-weight: 500; }
.req { color: var(--accent-2); }

input[type=text], input[type=email], input[type=tel], select {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2);
  background: #f9fafe; color: var(--ink); font-size: 15px; font-family: inherit;
  transition: border-color .16s, box-shadow .16s, background .16s;
  appearance: none; -webkit-appearance: none;
}
input::placeholder { color: #9aa5c0; }
input:hover, select:hover { border-color: #bcc7e2; }
input:focus, select:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3.5px rgba(74, 95, 232, .15);
}
select {
  cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234a5fe8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 15px center;
}
select:has(option[value=""]:checked) { color: #9aa5c0; }
select optgroup { color: var(--faint); font-style: normal; }

.hint { margin-top: 7px; font-size: 12px; color: var(--faint); line-height: 1.45; }
.err-msg {
  display: none; margin-top: 7px; font-size: 12px; color: var(--err);
  line-height: 1.45; align-items: center; gap: 6px;
}
.err-msg::before {
  content: ""; width: 13px; height: 13px; flex: none; border-radius: 50%;
  background: var(--err) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round'><line x1='12' y1='7' x2='12' y2='13'/><line x1='12' y1='17' x2='12' y2='17'/></svg>") center/11px no-repeat;
}
.field.invalid .err-msg { display: flex; }
.field.invalid input, .field.invalid select {
  border-color: var(--err); background: #fff7f8; box-shadow: 0 0 0 3.5px rgba(221, 51, 80, .11);
}

/* ---------- session slots ---------- */
.slots { display: grid; gap: 11px; }
.slot {
  position: relative; display: grid; grid-template-columns: 21px 1fr auto;
  align-items: center; gap: 14px; padding: 15px 17px;
  border: 1px solid var(--line-2); border-radius: 15px; background: #f9fafe;
  cursor: pointer; transition: border-color .16s, background .16s, transform .12s, box-shadow .16s;
  margin: 0;
}
.slot:hover { border-color: #b3bfe6; background: #fff; box-shadow: 0 8px 20px -14px rgba(28, 38, 90, .55); }
.slot:active { transform: scale(.995); }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c2cbe2;
  flex: none; position: relative; transition: .16s; background: #fff;
}
.slot:has(input:focus-visible) { border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(74, 95, 232, .2); }
.slot .meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.slot .ed {
  display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); font-weight: 800;
}
.slot .dt {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 700;
  font-size: 18.5px; color: var(--ink); letter-spacing: .005em;
}
.slot .tz {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  white-space: nowrap; text-align: right;
}
.slot .tz .t { font-size: 14.5px; font-weight: 800; color: var(--ink-2); letter-spacing: .005em; }
.slot .tz .z { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--faint); }
.slot.sel {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(74, 95, 232, .09), rgba(139, 92, 246, .08));
  box-shadow: 0 0 0 1.5px var(--accent), 0 14px 30px -20px rgba(74, 95, 232, .9);
}
.slot.sel .radio { border-color: var(--accent); }
.slot.sel .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--grad); }
.slot.sel .tz .t { color: var(--ink); }
.slot.full { opacity: .55; cursor: not-allowed; }
.slot.full:hover { border-color: var(--line-2); background: #f9fafe; box-shadow: none; }
.field.invalid .slots { outline: 1.5px solid rgba(221, 51, 80, .35); outline-offset: 6px; border-radius: 19px; }

@media (max-width: 430px) {
  .slot { grid-template-columns: 21px 1fr; row-gap: 9px; }
  .slot .tz {
    grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: baseline;
    gap: 3px 8px; justify-content: flex-start; text-align: left; white-space: normal;
  }
  .slot .tz .t { font-size: 13.5px; }
}

/* ---------- consent ---------- */
.consent {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  align-items: start; margin-top: 22px; cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box {
  width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c2cbe2;
  background: #fff; position: relative; transition: .15s; margin-top: 1px;
}
.consent:hover .box { border-color: var(--accent); }
.consent input:focus-visible + .box { border-color: var(--accent); box-shadow: 0 0 0 3.5px rgba(74, 95, 232, .2); }
.consent input:checked + .box { background: var(--grad); border-color: transparent; }
.consent input:checked + .box::after {
  content: ""; position: absolute; left: 6.4px; top: 2.6px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(43deg);
}
.consent .txt { font-size: 12.5px; color: var(--muted); line-height: 1.55; font-weight: 400; letter-spacing: 0; margin: 0; }
.consent .txt a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.field.invalid .box { border-color: var(--err); box-shadow: 0 0 0 3.5px rgba(221, 51, 80, .12); }

/* ---------- submit ---------- */
.submit {
  position: relative; overflow: hidden; margin-top: 24px; width: 100%; padding: 17px 20px;
  border: none; border-radius: 14px; cursor: pointer; background: var(--grad); color: #fff;
  font-size: 16px; font-weight: 800; letter-spacing: .015em; font-family: inherit;
  transition: filter .16s, transform .07s, box-shadow .2s;
  box-shadow: 0 16px 32px -16px rgba(105, 90, 235, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.submit::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-18deg);
}
.submit:hover::after { animation: sheen .85s ease; }
@keyframes sheen { to { left: 150%; } }
.submit:hover { filter: brightness(1.06); }
.submit:active { transform: translateY(1.5px); }
.submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.submit[disabled] { cursor: progress; filter: saturate(.6) brightness(1.02); }
.submit .spin {
  display: none; width: 16px; height: 16px; border-radius: 50%;
  border: 2.2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: sp .7s linear infinite; vertical-align: -3px; margin-right: 9px;
}
.submit.busy .spin { display: inline-block; }
@keyframes sp { to { transform: rotate(360deg); } }

.microfoot { margin: 14px 2px 0; font-size: 11.5px; color: var(--faint); line-height: 1.55; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* form-level error, e.g. a duplicate email or the server being unreachable */
.formerr {
  display: none; margin-top: 18px; padding: 13px 15px; border-radius: 12px;
  border: 1px solid rgba(221, 51, 80, .3); background: #fff5f7; color: #a81d38;
  font-size: 13px; line-height: 1.5;
}
.formerr.show { display: block; }
.formerr.info { border-color: var(--line-2); background: #f5f8fd; color: var(--muted); }

/* ---------- confirmation ---------- */
.confirm { display: none; text-align: center; padding: 10px 2px 4px; }
.confirm.show { display: block; animation: fade .45s cubic-bezier(.2, .8, .3, 1); }
.confirm:focus { outline: none; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.check {
  width: 70px; height: 70px; border-radius: 50%; margin: 6px auto 20px;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(13, 169, 111, .16), rgba(13, 169, 111, .05));
  border: 1px solid rgba(13, 169, 111, .3); box-shadow: 0 14px 34px -16px rgba(13, 169, 111, .75);
}
.check svg { width: 32px; height: 32px; stroke: var(--ok); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .55s .18s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h2 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 800;
  font-size: 31px; margin: 0 0 12px; color: var(--ink);
}
.confirm p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 44ch; margin: 0 auto; }
.confirm p b { color: var(--ink); }
.pill { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 22px 0 0; }
.pill span {
  background: #f5f8fd; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 16px; font-size: 12.5px; color: var(--muted);
}
.pill span b { color: var(--ink); font-weight: 700; }
.cal { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.cal h4 {
  margin: 0 0 13px; font-size: 10.5px; letter-spacing: .19em;
  text-transform: uppercase; color: var(--faint); font-weight: 700;
}
.calrow { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.calrow a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border-radius: 11px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  font-size: 13px; font-weight: 600; text-decoration: none; transition: .16s;
  font-family: inherit; cursor: pointer;
}
.calrow a:hover {
  border-color: var(--accent); color: var(--accent); background: rgba(74, 95, 232, .06);
  box-shadow: 0 8px 18px -14px rgba(74, 95, 232, .9);
}
.calrow svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.again {
  margin-top: 24px; background: transparent; border: none; color: var(--faint);
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
  text-decoration: underline; text-underline-offset: 3px; transition: .15s; padding: 6px;
}
.again:hover { color: var(--accent); }

/* ---------- misc ---------- */
noscript .ns {
  display: block; margin-top: 18px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(221, 51, 80, .3); background: #fff5f7;
  color: #a81d38; font-size: 13px; line-height: 1.5;
}
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html { scroll-behavior: auto; }
}
