/* Wellington College International Pune - Boarding landing page (paid traffic)
   Same look and feel as the boarding homepage draft:
   black #101010, mint #a6d6c9, orange #f27d00, yellow #f7d117, teal #007470.
   Brand face is Euclid Circular A (licensed); Figtree stands in for this draft. */

:root {
  --black: #101010;
  --white: #ffffff;
  --mint: #a6d6c9;
  --mint-soft: #eef7f4;
  --orange: #f27d00;
  --yellow: #f7d117;
  --teal: #007470;
  --grey: #5c5c5c;
  --line: #e6e6e6;
  --font: "Figtree", "Euclid Circular A", Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --hdr: 74px;
}
.rsvp-cta {
    padding-top: 30px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--font); color: var(--black); background: var(--white); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0 0 1em; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 920px; }
.nw { white-space: nowrap; }

/* ---------- labels, bars, pills ---------- */
.label { display: inline-block; font-size: 15px; font-weight: 500; padding: 6px 14px; margin: 0 0 22px; line-height: 1.3; color: var(--black); }
.label-mint { background: var(--mint); }
.label-white { background: var(--white); }
.label-yellow { background: var(--yellow); }
.bar, .bar-in { display: inline-block; vertical-align: baseline; }
.bar { width: 0.14em; height: 0.84em; margin: 0 0.06em 0 0.02em; transform: translateY(0.09em); }
.bar-in { width: 0.14em; height: 0.82em; margin: 0 0.06em 0 0.02em; transform: translateY(0.1em); }
.bar-orange { background: var(--orange); } .bar-yellow { background: var(--yellow); } .bar-mint { background: var(--mint); }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--black); color: var(--white); border: 2px solid var(--black);
  text-decoration: none; font: 600 16px/1 var(--font); padding: 15px 48px; border-radius: 40px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pill:hover { background: var(--white); color: var(--black); }
.pill-sm { padding: 11px 20px; font-size: 15px; }
.pill-full { width: 100%; padding: 17px 24px; font-size: 17px; }
.pill-full:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.pill-line { background: transparent; color: var(--black); }
.pill-line:hover { background: var(--black); color: var(--white); }
.pill-white { background: var(--white); color: var(--black); border-color: var(--white); }
.pill-white:hover { background: var(--yellow); border-color: var(--yellow); }
.pill-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.pill-ghost:hover { background: var(--white); color: var(--black); }

/* ---------- header ---------- */
.lp-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.lp-hdr { max-width: 1400px; margin: 0 auto; height: var(--hdr); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; }
.brand-tag { background: var(--mint); font-weight: 600; font-size: 15px; padding: 4px 10px; }
.hdr-right { display: flex; align-items: center; gap: 22px; }
.hdr-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; text-decoration: none; }
.hdr-call:hover { color: var(--teal); }
.ico-phone { width: 18px; height: 18px; display: inline-block; flex: none;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- hero + form ---------- */
.hero { position: relative; color: var(--white); overflow: hidden;
  background: #1b1b1b url("../media/hero-poster.jpg") center / cover no-repeat; }
.hero-media { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,16,.82) 0%, rgba(16,16,16,.55) 50%, rgba(16,16,16,.3) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: calc(100vh - var(--hdr)); min-height: calc(100svh - var(--hdr)); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-title { font-size: clamp(54px, 7.4vw, 112px); line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 24px; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: #f1f1f1; max-width: 560px; margin-bottom: 22px; }
.hero-ticks { list-style: none; padding: 0; margin: 0 0 26px; max-width: 560px; }
.hero-ticks li { position: relative; padding: 7px 0 7px 32px; font-size: 17px; line-height: 1.45; color: #f5f5f5; }
.hero-ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 15px; height: 8px; border-left: 3px solid var(--mint); border-bottom: 3px solid var(--mint); transform: rotate(-45deg); }
.hero-alt { font-weight: 600; font-size: 16px; color: var(--yellow); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.hero-alt:hover { color: var(--white); border-color: var(--white); }

.form-card { background: var(--white); color: var(--black); padding: clamp(24px, 2.6vw, 36px); box-shadow: 0 30px 70px rgba(0,0,0,.35); border-top: 6px solid var(--orange);
  max-width: 500px; width: 100%; justify-self: end; scroll-margin-top: calc(var(--hdr) + 16px); }
.fc-title { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 6px; }
.fc-sub { font-size: 15px; color: var(--grey); margin: 0 0 14px; }
.fc-step { font-weight: 600; color: var(--black); }
.fc-progress { height: 4px; background: var(--line); margin-bottom: 22px; }
.fc-progress span { display: block; height: 100%; width: 50%; background: var(--teal); transition: width .3s; }
.lp-form.on-2 .fc-progress span { width: 100%; }
.q { font-size: 15px; font-weight: 600; margin: 0 0 10px; padding: 0; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--black); margin-bottom: 20px; }
.seg label { position: relative; }
.seg label + label { border-left: 1.5px solid var(--black); }
.seg.seg-4 { grid-template-columns: 1fr 1fr; }
.seg.seg-4 label + label { border-left: 0; }
.seg.seg-4 label:nth-child(even) { border-left: 1.5px solid var(--black); }
.seg.seg-4 label:nth-child(n+3) { border-top: 1.5px solid var(--black); }
.seg input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; text-align: center; padding: 12px 6px; font-size: 14.5px; font-weight: 600; cursor: pointer; line-height: 1.2; }
.seg input:checked + span { background: var(--black); color: var(--white); }
.seg input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: -3px; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.chips label { position: relative; }
.chips span { display: block; text-align: center; padding: 11px 4px; border: 1.5px solid #bdbdbd; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.chips span:hover { border-color: var(--black); }
.chips input:checked + span { background: var(--mint); border-color: var(--black); font-weight: 600; }
.err { color: #b34700; font-size: 14px; font-weight: 600; min-height: 1.4em; margin: 6px 0 10px; }

.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; font-weight: 600; margin-bottom: 14px; }
.fld input, .fld select, .tel-wrap select { font: 400 17px var(--font); padding: 12px 13px; border: 1.5px solid #bdbdbd; border-radius: 0; background: #fff; color: var(--black); width: 100%; }
.fld select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--black) 50%), linear-gradient(135deg, var(--black) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.fld input:focus, .fld select:focus, .tel-wrap select:focus { border-color: var(--black); outline: none; box-shadow: 0 0 0 3px var(--mint); }
.fld input.invalid, .fld select.invalid { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,125,0,.18); }
.tel-wrap { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--grey); margin: 4px 0 4px; font-weight: 400; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); }
.consent.invalid span { color: #b34700; }
.consent a { color: var(--black); }
.step-btns { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.back { background: none; border: 0; font: 600 15px var(--font); cursor: pointer; padding: 10px 6px; color: var(--grey); }
.back:hover { color: var(--black); }
.fc-foot { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--grey); margin: 16px 0 0; line-height: 1.45; }
.ico-lock { width: 12px; height: 14px; flex: none; margin-top: 2px; border: 2px solid var(--teal); border-top-width: 6px; border-radius: 2px; }
.step[hidden] { display: none; }
.is-busy [data-submit] { opacity: .6; pointer-events: none; }

/* ---------- proof bar ---------- */
.proof { border-bottom: 1px solid var(--line); background: var(--white); }
.proof-grid { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding-top: 28px; padding-bottom: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.fact { display: flex; flex-direction: column; }
.fact b { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-size: 14.5px; color: var(--grey); }
.accred { --accred-n: 5; position: relative; width: 100%; padding-bottom: 42px; }
.accred-viewport { container-type: inline-size; overflow: hidden; width: 100%; }
.accred-track { display: flex; align-items: center; will-change: transform; }
.accred-slide { flex: 0 0 calc(100cqi / var(--accred-n)); height: 100px; display: flex; align-items: center; justify-content: center; padding: 8px 16px; }
.accred-slide--lg { flex-basis: calc(100cqi / var(--accred-n) * 0.85); height: 140px; padding: 4px 8px; }
.accred-slide img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.accred-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; }
.accred-arrows { display: flex; align-items: center; gap: 8px; }
.accred-nav { width: 30px; height: 30px; padding: 0; display: grid; place-items: center; border: 1.5px solid var(--black); border-radius: 50%; background: var(--white); color: var(--black); cursor: pointer; }
.accred-nav:hover { background: var(--black); color: var(--white); }

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 54px); max-width: 860px; }
.h2 { font-size: clamp(38px, 5vw, 72px); line-height: 1; letter-spacing: -0.035em; margin-bottom: 20px; }
.h2.light, .light { color: var(--white); }
.h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; margin-bottom: 8px; }
.sec-sub { font-size: 20px; color: #2b2b2b; max-width: 680px; }
.sec-sub.light { color: #d6d6d6; }
.band-mint { background: var(--mint); }
.band-black { background: var(--black); color: var(--white); }
.band-soft { background: var(--mint-soft); }
.note { font-size: 14px; color: #777; margin: 18px 0 0; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { padding: 30px 26px 30px; min-height: 260px; display: flex; flex-direction: column; }
.b-yellow { background: var(--yellow); } .b-mint { background: var(--mint); } .b-orange { background: var(--orange); }
.b-black { background: var(--black); color: var(--white); }
.b-n { font-size: 56px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--black); margin-bottom: 0; padding-bottom: 22px; }
.b-black .b-n { -webkit-text-stroke-color: var(--yellow); }
.benefit h3 { font-size: clamp(15px, 1.2vw, 18px); margin-bottom: 8px; white-space: nowrap; letter-spacing: -0.03em; line-height: 1.2; }
.benefit p { font-size: 16.5px; line-height: 1.5; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card img.house-photo { object-position: center top; }
.card-photo { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: var(--mint-soft); color: var(--teal); }
.card-body { padding: 22px 22px 26px; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { font-size: 16px; color: var(--grey); margin: 0; line-height: 1.5; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.team-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.team-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #f4f4f4; }
.team-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 18%; }
.team-meta { min-height: 104px; padding: 16px 18px 20px; border-top: 3px solid var(--yellow); }
.team-meta h3 { font-size: 20px; line-height: 1.2; min-height: 2.4em; margin: 0 0 6px; letter-spacing: -0.02em; }
.team-meta p { margin: 0; color: var(--grey); font-size: 15px; line-height: 1.4; }

.event-board { margin: clamp(40px, 5vw, 64px) auto 0; }
.event-head { padding: 0 0 22px; }
.event-head h3 { color: var(--black); font-size: clamp(32px, 4vw, 52px); margin: 0 0 8px; letter-spacing: -0.03em; }
.event-head p { margin: 0; color: var(--grey); font-size: 18px; }
.event-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.event-grid li { background: #ececec; color: var(--black); border-radius: 16px; min-height: 196px; padding: 26px 22px 22px; display: flex; flex-direction: column; }
.event-grid li:nth-child(even) { background: var(--yellow); }
.event-date { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 0.95; }
.event-date b { font-weight: 700; }
.event-day { margin: 10px 0 0; font-size: clamp(18px, 1.7vw, 24px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.event-name { margin: 14px 0 0; font-size: 16px; font-weight: 500; line-height: 1.35; max-width: 16ch; }
.event-foot { margin: 16px 0 0; background: var(--yellow); color: var(--black); text-align: center; text-transform: uppercase; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; padding: 14px 16px; }
.rsvp { margin: 22px 0 0; padding: 22px; background: #f6f6f6; border-radius: 16px; }
.rsvp-title { margin: 0 0 14px; font-size: 26px; letter-spacing: -0.03em; }
.rsvp-row { display: grid; grid-template-columns: 1fr 1.35fr auto; gap: 12px; align-items: end; }
.rsvp .fld { margin-bottom: 0; min-width: 0; }
.rsvp .pill { min-height: 49px; padding-left: 28px; padding-right: 28px; }
.rsvp .err { margin-bottom: 0; }
.rsvp-ok { margin: 12px 0 0; font-weight: 600; }

.day-row { --day-gap: 46px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); row-gap: var(--day-gap); }
.day-row li { position: relative; min-width: 0; padding: 0 12px; text-align: center; }
.day-row li:nth-child(6) { grid-column: 5; grid-row: 2; }
.day-row li:nth-child(7) { grid-column: 4; grid-row: 2; }
.day-row li:nth-child(8) { grid-column: 3; grid-row: 2; }
.day-row li:nth-child(9) { grid-column: 2; grid-row: 2; }
.day-row li:nth-child(10) { grid-column: 1; grid-row: 2; }
.day-row li::before { content: ""; position: absolute; z-index: 0; top: 27px; left: 0; right: 0; height: 2px; background: var(--orange); }
.day-row li:nth-child(5n+1)::before { left: 50%; }
.day-row li:nth-child(5n)::before { right: 50%; }
.day-row li:nth-child(6)::before { left: 0; right: 50%; }
.day-row li:nth-child(10)::before { left: 50%; right: 0; }
.day-row li:nth-child(5)::after { content: ""; position: absolute; z-index: 0; top: 27px; left: calc(50% - 1px); width: 2px; height: calc(100% + var(--day-gap)); background: var(--orange); }
.day-ico { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--yellow); color: var(--black); }
.day-row li:nth-child(4n+2) .day-ico { background: var(--mint); }
.day-row li:nth-child(4n+3) .day-ico { background: var(--orange); }
.day-row li:nth-child(4n) .day-ico { background: var(--teal); color: var(--white); }
.day-ico svg { width: 26px; height: 26px; display: block; }
.day-row time { display: block; width: fit-content; margin: 0 auto 4px; position: relative; z-index: 1; background: var(--white); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.day-row h3 { display: block; width: fit-content; max-width: 16em; margin: 0 auto; position: relative; z-index: 1; background: var(--white); font-size: 13.5px; font-weight: 500; color: var(--grey); line-height: 1.35; }
.day-row p { margin: 0; color: var(--grey); font-size: 16px; line-height: 1.45; }

.connect-pop { width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; background: var(--white); color: var(--black); overflow: auto; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.connect-pop::backdrop { background: rgba(16,16,16,.62); }
.connect-form { position: relative; padding: 28px 26px 22px; border-top: 6px solid var(--orange); }
.connect-form .label { margin-bottom: 14px; }
.connect-form h2 { font-size: 32px; letter-spacing: -0.03em; margin-bottom: 8px; }
.connect-lead { margin: 0 0 18px; font-size: 16px; color: #2b2b2b; }
.connect-x { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font: 400 32px/1 var(--font); cursor: pointer; color: var(--black); }
.connect-x:hover { color: var(--orange); }
.connect-form .fld:last-of-type { margin-bottom: 8px; }

.city-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.city-intro .h2 { max-width: 520px; }
.city-form { background: var(--white); padding: clamp(22px, 2.4vw, 34px); border-top: 6px solid var(--orange); box-shadow: 0 16px 40px rgba(16,16,16,.06); }
.city-form .fld:last-of-type { margin-bottom: 8px; }
.city-form > label.fld { display: block; margin-bottom: 8px; }
.city-form > .choice,
.city-form > .topics { margin-bottom: 16px; }
.city-q { margin: 4px 0 16px; }
.q-opt { font-weight: 500; color: var(--grey); }
.choice { display: flex; flex-direction: column; gap: 8px; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: block; padding: 12px 14px; border: 1.5px solid #bdbdbd; font-size: 15.5px; font-weight: 500; line-height: 1.35; cursor: pointer; }
.choice span:hover { border-color: var(--black); }
.choice input:checked + span { background: var(--mint); border-color: var(--black); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: -3px; }
.choice.invalid span { border-color: var(--orange); }
.topics { grid-template-columns: 1fr 1fr; }
.topics span { text-align: left; padding: 12px 12px; line-height: 1.3; }
.fld[hidden] { display: none; }

.care-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.care-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #333; }
.care-list li { display: grid; grid-template-columns: 14px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid #333; }
.dot { display: block; width: 12px; height: 28px; }
.dot-orange { background: var(--orange); } .dot-yellow { background: var(--yellow); } .dot-mint { background: var(--mint); }
.care-list h3 { font-size: 21px; margin-bottom: 4px; }
.care-list p { color: #cfcfcf; font-size: 16.5px; margin: 0; line-height: 1.45; }

.mid-cta { background: var(--yellow); padding: clamp(40px, 5vw, 60px) 0; }
.mid-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.mid-grid p { margin: 0; font-size: 18px; }
.mid-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.mid-cta .pill-line:hover { background: var(--black); }

.adm-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 24px 0; border-top: 2px solid var(--black); }
.steps li:last-child { border-bottom: 2px solid var(--black); }
.step-n { font-size: 50px; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--black); letter-spacing: -0.03em; }
.steps h3 { font-size: 24px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--grey); }

.acc { margin-top: 10px; border-top: 2px solid var(--black); }
.acc details { border-bottom: 1px solid #c9d6d2; }
.acc summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; font-size: 21px; font-weight: 600; position: relative; letter-spacing: -0.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: linear-gradient(var(--black), var(--black)) center / 18px 2px no-repeat, linear-gradient(var(--black), var(--black)) center / 2px 18px no-repeat; transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { color: var(--grey); padding: 0 50px 22px 0; margin: 0; font-size: 18px; }

.final { position: relative; padding: clamp(100px, 12vw, 170px) 0; color: var(--white); overflow: hidden; }
.final-media { position: absolute; inset: 0; background: url("../images/realise-wall.webp") center / cover no-repeat; }
.final-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,16,.9) 0%, rgba(16,16,16,.7) 55%, rgba(16,16,16,.35) 100%); }
.final-inner { position: relative; }
.final-inner .h2 { max-width: 880px; }
.final-inner p { max-width: 560px; font-size: 20px; color: #ececec; margin-bottom: 30px; }
.final-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.lp-footer { background: var(--black); color: #cfcfcf; padding: 44px 0 24px; font-size: 15.5px; }
.foot-row { display: grid; grid-template-columns: 250px 1fr auto; gap: 24px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid #333; }
.foot-row p { margin: 0; line-height: 1.6; }
.lp-footer a { color: #e9e9e9; text-decoration: none; }
.lp-footer a:hover { color: var(--mint); }
.copy { font-size: 13px; color: #8a8a8a; margin: 0; padding-top: 20px; }

/* ---------- admissions chatbot ---------- */
.chatbot { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.chat-panel { position: absolute; right: 0; bottom: 68px; width: min(380px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--white); color: var(--black); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--black); color: var(--white); padding: 14px 14px 14px 18px; }
.chat-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.chat-head h2 { margin: 2px 0 0; color: var(--white); font-size: 22px; letter-spacing: -0.02em; }
.chat-close { background: none; border: 0; color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #f6f6f6; }
.chat-msg { max-width: 90%; margin: 0; padding: 10px 12px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.chat-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-user { align-self: flex-end; background: var(--black); color: var(--white); border-bottom-right-radius: 4px; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chat-actions button, .chat-actions a { border: 1.5px solid var(--black); background: var(--yellow); color: var(--black); font: 600 13.5px/1.2 var(--font); border-radius: 20px; padding: 8px 12px; cursor: pointer; text-decoration: none; }
.chat-form { display: flex; gap: 8px; align-items: center; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat-form input { flex: 1; min-width: 0; border: 1.5px solid #bdbdbd; padding: 11px 12px; font: 400 15px var(--font); color: var(--black); }
.chat-form input:focus { outline: none; border-color: var(--black); }
.chat-send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--black); color: var(--white); cursor: pointer; }
.chat-launch { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--black); color: var(--white); border-radius: 40px; padding: 14px 18px; font: 600 15px/1 var(--font); cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.chat-launch svg { display: block; }
@media (max-width: 760px) {
  .chatbot { right: 12px; bottom: calc(74px + env(safe-area-inset-bottom)); }
  .chat-panel { width: min(380px, calc(100vw - 24px)); height: min(480px, calc(100vh - 170px)); }
}

/* ---------- sticky mobile bar ---------- */
.m-bar { display: none; }

/* ---------- thank-you page ---------- */
.ty { min-height: calc(100vh - var(--hdr)); display: flex; align-items: center; background: var(--mint); padding: 60px 0; }
.ty .wrap { max-width: 860px; }
.ty-next { list-style: none; padding: 0; margin: 30px 0 34px; border-top: 2px solid var(--black); }
.ty-next li { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(16,16,16,.25); font-size: 18px; }
.ty-next b { font-size: 34px; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--black); }
.ty-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .benefits, .cards { grid-template-columns: repeat(2, 1fr); }
  .day-row { --day-gap: 36px; grid-template-columns: repeat(2, 1fr); row-gap: var(--day-gap); }
  .day-row li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .day-row li:nth-child(5)::after { display: none; }
  .day-row li::before,
  .day-row li:nth-child(5n+1)::before,
  .day-row li:nth-child(5n)::before,
  .day-row li:nth-child(6)::before,
  .day-row li:nth-child(10)::before { left: 0; right: 0; }
  .day-row li:nth-child(odd)::before { left: 50%; right: 0; }
  .day-row li:nth-child(even)::before { left: 0; right: 50%; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .form-card { justify-self: stretch; max-width: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(16,16,16,.8) 55%, rgba(16,16,16,.92) 100%); }
  .care-grid, .adm-grid, .city-grid { grid-template-columns: 1fr; }
  .proof-grid { flex-direction: column; align-items: flex-start; }
  .foot-row { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr 1fr; }
  .rsvp { padding: 18px; }
  .rsvp-row { grid-template-columns: 1fr; }
  .rsvp-row .pill { width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  body { padding-bottom: 66px; }
  .hdr-call-txt { display: none; }
  .hdr-call { width: 42px; height: 42px; justify-content: center; border: 1.5px solid var(--black); border-radius: 50%; }
  .brand img { width: 44px; }
  .m-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); padding-bottom: env(safe-area-inset-bottom); }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 62px; font-weight: 600; font-size: 15.5px; text-decoration: none; }
  .m-bar a + a { border-left: 1px solid var(--line); }
  .m-bar svg { width: 20px; height: 20px; fill: #1fa855; }
  .m-bar .m-main { background: var(--black); color: var(--white); }
  .m-bar.is-hidden { transform: translateY(100%); }
  .m-bar { transition: transform .25s; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .benefits, .cards { grid-template-columns: 1fr; }
  .benefit { min-height: 0; }
  .b-n { font-size: 44px; padding-bottom: 18px; }
  .day-row { grid-template-columns: 1fr; row-gap: 0; }
  .day-row li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .day-row li:nth-child(5)::after { display: none; }
  .day-row li { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: start; text-align: left; padding: 0 0 22px; }
  .day-row .day-ico { margin: 0; grid-row: 1 / span 2; }
  .day-row time, .day-row h3 { margin-left: 0; margin-right: 0; background: transparent; }
  .day-row li::before,
  .day-row li:nth-child(odd)::before,
  .day-row li:nth-child(even)::before,
  .day-row li:nth-child(5n+1)::before,
  .day-row li:nth-child(5n)::before { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .day-row li:first-child::before { top: 28px; }
  .day-row li:last-child::before { top: 0; bottom: auto; height: 28px; }
  .day-row time { margin-top: 8px; }
  .day-row h3 { margin: 0; max-width: none; }
  .topics { grid-template-columns: 1fr; }
  .chips span { padding: 11px 2px; font-size: 14px; }
  .seg span { font-size: 13.5px; padding: 12px 4px; }
  .steps li { grid-template-columns: 60px 1fr; }
  .step-n { font-size: 38px; }
  .facts { gap: 14px 26px; }
  .fact b { font-size: 22px; }
  .mid-btns .pill, .final-btns .pill { width: 100%; }
  .pill-sm { padding: 10px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fc-progress span, .m-bar { transition: none; }
}

/* mobile: get the form into the first screen - the ticks are repeated in the proof bar and benefits below */
@media (max-width: 760px) {
  .hero-grid { padding-top: 26px; padding-bottom: 28px; gap: 22px; }
  .hero .label { margin-bottom: 14px; font-size: 14px; }
  .hero-title { font-size: clamp(44px, 13vw, 60px); margin-bottom: 14px; }
  .hero-sub { font-size: 17px; margin-bottom: 0; }
  .hero-ticks, .hero-alt { display: none; }
  .form-card { padding: 22px 18px 20px; }
  .fc-title { font-size: 24px; }
}
.seg label { display: flex; }
.seg span { flex: 1; display: flex; align-items: center; justify-content: center; }
@media (max-width: 560px) {
  .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; width: 100%; }
}

/* V1.1: horizontal Wellington logo (crest left, name right), larger */
:root { --hdr: 86px; }
.brand img.brand-logo { width: auto; height: 62px; }
@media (max-width: 760px) {
  :root { --hdr: 70px; }
  .brand { gap: 8px; }
  .brand img.brand-logo { width: auto; height: 46px; }
  .brand-tag { font-size: 13px; padding: 3px 8px; }
}
@media (max-width: 380px) { .brand-tag { display: none; } }
:root { --hdr: 96px; }
.brand img.brand-logo { height: 74px; }
.pill { white-space: nowrap; }
@media (max-width: 760px) {
  :root { --hdr: 72px; }
  .brand img.brand-logo { height: 52px; }
  .hdr-right { gap: 10px; }
}
@media (max-width: 480px) { .brand-tag { display: none; } }

/* ---------- every screen ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.hero-copy, .form-card, .care-grid > *, .adm-grid > *, .card, .benefit, .foot-row > *, .final-inner, .sec-head { min-width: 0; }
.lp-hdr, .hdr-right, .brand { min-width: 0; }
.hdr-right { flex-wrap: wrap; justify-content: flex-end; }
.fld input, .fld select, .tel-wrap select, .tel-wrap input { min-width: 0; }
.fact b, .fact span, .lp-footer a, .foot-row p, .sec-sub, .steps h3, .care-list h3, .acc summary { overflow-wrap: break-word; }

.benefit { container-type: inline-size; }
.benefit h3 { font-size: clamp(15px, 8cqi, 18px); }
@container (max-width: 220px) {
  .benefit h3 { white-space: normal; }
}

@media (max-width: 1180px) {
  .hdr-call-txt { display: none; }
  .hdr-call { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--black); border-radius: 50%; }
  .hdr-right { gap: 10px; }
  .accred { --accred-n: 4; }
  .accred-slide { height: 88px; padding: 8px 14px; }
  .accred-slide--lg { height: 154px; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .form-card { justify-self: center; max-width: 640px; }
  .hero-shade { background: linear-gradient(180deg, rgba(16,16,16,.55) 0%, rgba(16,16,16,.8) 55%, rgba(16,16,16,.92) 100%); }
}
@media (max-width: 760px) {
  .accred { --accred-n: 3; }
  .accred-slide { height: 76px; padding: 6px 12px; }
  .accred-slide--lg { height: 136px; }
  .accred-nav { width: 28px; height: 28px; }
  .m-bar a { min-width: 0; padding: 0 6px; text-align: center; line-height: 1.15; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .lp-header, .m-bar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}
@media (max-width: 560px) {
  .accred { --accred-n: 2; }
  .accred-slide { height: 72px; padding: 6px 10px; }
  .accred-slide--lg { height: 124px; }
  .sec { padding: 52px 0; }
  .sec-sub, .final-inner p { font-size: 17px; }
  .h2 { font-size: clamp(32px, 10vw, 44px); }
  .acc summary { font-size: 18px; padding-right: 36px; }
  .acc details p { font-size: 16.5px; padding-right: 0; }
  .benefit { padding: 24px 20px; }
  .card-body { padding: 18px 16px 22px; }
  .card h3 { font-size: 20px; }
  .event-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .event-grid li { min-height: 158px; padding: 18px 14px 16px; border-radius: 14px; }
  .event-date { font-size: 26px; }
  .event-day { font-size: 16px; margin-top: 8px; }
  .event-name { font-size: 14.5px; margin-top: 10px; }
  .rsvp { padding: 16px; }
  .rsvp-row { grid-template-columns: 1fr; }
  .rsvp-title { font-size: 22px; }
  .team-meta { min-height: 96px; padding: 14px 14px 16px; }
  .team-meta h3 { font-size: 18px; }
  .event-head p { font-size: 16px; }
  .final { padding: 72px 0; }
  .care-list li { gap: 14px; }
  .day-row h3 { font-size: 15px; }
  .ty { padding: 40px 0; align-items: flex-start; }
  .ty-next li { grid-template-columns: 48px 1fr; font-size: 16px; }
  .ty-next b { font-size: 28px; }
  .ty-btns .pill { width: 100%; }
}
@media (max-width: 520px) {
  .lp-hdr { height: auto; min-height: var(--hdr); flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .brand img.brand-logo { height: 44px; }
  .pill-sm { padding: 11px 14px; font-size: 13.5px; }
}
@media (max-width: 480px) {
  .chips { grid-template-columns: repeat(3, 1fr); }
  .nw { white-space: normal; }
}
@media (max-width: 380px) {
  .chips { grid-template-columns: repeat(2, 1fr); }
  .m-bar { grid-template-columns: 0.85fr 1.05fr 1.2fr; }
  .m-bar a { font-size: 13px; gap: 4px; height: 56px; }
  .hero-title { font-size: clamp(38px, 12vw, 48px); }
}
.event-location {
  font-size: 15px;
  color: #000;
  margin-top: 10px;
  line-height: 1.4;
  font-weight: 700;
}