/* Aussie Ticket home page. Sits on top of the kit stylesheet (aussie-ticket.css). */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; z-index: 99; border-radius: 12px; }

/* ---------- sticky white pill nav with grouped menus */
.x-top { position: sticky; top: 0; z-index: 60; padding: clamp(12px, 2vw, 22px) var(--at-margin) 0; margin-bottom: calc(-1 * (clamp(58px, 5.3vw, 77px) + clamp(12px, 2vw, 22px))); pointer-events: none; }
.x-top > * { pointer-events: auto; }
.x-top .at-nav { box-shadow: 0 6px 24px rgba(32,31,32,.10); position: relative; }
.at-nav__logo img { transition: opacity .25s; }
.x-menu { display: flex; gap: clamp(16px, 2.6vw, 38px); align-items: center; }
.x-menu > button, .x-menu > a { background: none; border: 0; padding: 8px 0; font: inherit; color: var(--at-ink); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: 2px solid transparent; }
.x-menu > button svg { width: 14px; height: 14px; transition: transform .2s; }
.x-menu > button[aria-expanded="true"] { border-color: var(--at-ink); }
.x-menu > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.x-menu > a:hover, .x-menu > button:hover { border-color: var(--at-ink); }
.x-drop { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border-radius: var(--at-r-card); box-shadow: 0 18px 50px rgba(32,31,32,.18); padding: 36px 40px 40px; display: none; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.x-drop.is-open { display: grid; animation: x-drop .2s ease-out; }
@keyframes x-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.x-drop__lead h2 { font-size: 30px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin: 0 0 12px; }
.x-drop__lead p { margin: 0 0 22px; font-size: 17px; line-height: 1.45; color: var(--at-grey); }
.x-drop__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; align-content: start; }
.x-drop__cols h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--at-grey); margin: 0 0 6px; grid-column: 1 / -1; }
.x-drop__cols a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--at-line); text-decoration: none; font-size: 18px; font-weight: 500; }
.x-drop__cols a span { color: var(--at-grey); font-size: 15px; font-weight: 400; }
.x-drop__cols a:hover { color: var(--at-bottle); border-color: var(--at-bottle); }

/* ---------- hero: the kit's gold hero, with facts that float and change */
.x-hero { padding-top: calc(clamp(58px, 5.3vw, 77px) + clamp(12px, 2vw, 22px) + 8px); }
.x-hero .at-hero__grid { margin-top: clamp(40px, 6vw, 86px); }
.x-hero .at-chip, .x-hero .at-badge { animation: x-in .7s cubic-bezier(.2,.8,.2,1) both, x-bob 6s ease-in-out 1s infinite; }
.x-hero .at-badge { animation-delay: .25s, 1.6s; }
@keyframes x-in { from { transform: translateY(18px) scale(.96); } to { transform: none; } }
@keyframes x-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.x-roll { display: inline-grid; height: 23px; overflow: hidden; }
.x-roll b { grid-area: 1 / 1; font-weight: 600; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .5s; transform: translateY(110%); opacity: 0; white-space: nowrap; }
.x-roll b.is-on { transform: none; opacity: 1; }
.x-roll b.is-out { transform: translateY(-110%); opacity: 0; }

/* ---------- the journey: five colourway cards that stack as you scroll */
.x-journey { padding: clamp(72px, 9vw, 140px) var(--at-margin) clamp(40px, 5vw, 80px); }
.x-journey__head { max-width: 1000px; margin-bottom: clamp(40px, 5vw, 72px); }
.x-journey__head p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--at-grey); margin: 20px 0 0; max-width: 36em; }
.x-stack { display: grid; gap: clamp(20px, 2.5vw, 36px); }
.x-step { position: sticky; top: calc(clamp(84px, 7.6vw, 112px) + var(--i) * 22px); overflow: hidden; background: var(--ground); color: var(--on-ground); border-radius: var(--at-r-panel); min-height: clamp(520px, 44vw, 640px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); box-shadow: 0 -10px 40px rgba(32,31,32,.10); }
.x-step::before, .x-step::after { content: ""; position: absolute; pointer-events: none; }
.x-step::before { left: 0; top: 0; width: 70%; aspect-ratio: 1268 / 593; background: var(--rib-tl) left top / 100% auto no-repeat; }
.x-step::after { right: 0; bottom: 0; width: 46%; aspect-ratio: 678 / 363; background: var(--rib-br) right bottom / 100% auto no-repeat; }
.x-step > * { position: relative; z-index: 1; }
.x-step__text { padding: clamp(40px, 5vw, 76px) 24px clamp(40px, 5vw, 76px) clamp(36px, 5.5vw, 84px); align-self: center; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.x-step__text .at-h1 { max-width: 12em; }
.x-step__text p { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--sub-on-ground); margin: 0; max-width: 28em; }
.x-step__text .x-note { font-size: 14px; opacity: .9; margin-top: -6px; }
.x-step__vis { position: relative; min-height: 420px; }
.x-ph { position: absolute; right: clamp(36px, 5vw, 80px); top: 50%; transform: translateY(-50%); height: 82%; aspect-ratio: 2 / 3; border-radius: var(--at-r-card); background: #ddd center / cover no-repeat; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
.x-n { font-size: 15px; font-weight: 600; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 10px; }
.x-step[data-theme="gold"] .x-n i { background: var(--at-bottle); color: var(--at-gold); }
.x-n i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tag-bg); color: var(--tag-fg); font-size: 14px; }

/* live demos, Study Guide style: real product moments in a white card */
.x-demo { position: absolute; left: 0; bottom: clamp(40px, 5vw, 80px); width: min(370px, 82%); background: #fff; color: var(--at-ink); border-radius: var(--at-r-card); box-shadow: 0 18px 48px rgba(0,0,0,.22); padding: 22px; z-index: 2; }
.x-demo__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.x-demo__head strong { font-size: 17px; font-weight: 600; }
.x-pause { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--at-line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--at-ink); }
.x-pause::before { content: ""; width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.x-pause[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.x-q { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 24px; background: var(--at-cream); font-size: 16px; font-weight: 500; }
.x-q svg { width: 18px; height: 18px; color: var(--at-bottle); }
.x-q .x-caret { width: 2px; height: 20px; background: var(--at-ink); animation: x-blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes x-blink { 50% { opacity: 0; } }
.x-count { font-size: 14px; color: var(--at-grey); margin: 14px 0 6px; }
.x-count b { color: var(--at-ink); }
.x-rows { display: grid; gap: 8px; }
.x-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--at-line); font-size: 15px; line-height: 1.3; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.x-row.is-on { opacity: 1; transform: none; }
.x-row b { display: block; font-weight: 600; }
.x-row small { color: var(--at-grey); font-size: 13px; }
.x-row em { font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; }
.x-seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 24px; background: var(--at-cream); position: relative; }
.x-seg span { position: relative; z-index: 1; text-align: center; padding: 11px 0; font-weight: 600; font-size: 15px; transition: color .3s; }
.x-seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 20px; background: #4B2A7B; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.x-seg[data-v="1"]::before { transform: translateX(100%); }
.x-seg span.is-on { color: #fff; }
.x-panes { display: grid; margin-top: 16px; }
.x-pane { grid-area: 1 / 1; opacity: 0; transition: opacity .4s; }
.x-pane.is-on { opacity: 1; }
.x-pane h4 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.x-pane p { margin: 0 0 12px; font-size: 15px; line-height: 1.45; color: var(--at-grey); }
.x-pane ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.x-pane li { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: #EDE4FB; color: #4B2A7B; }
.x-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.x-checks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--at-line); font-size: 15px; font-weight: 500; }
.x-checks li:last-child { border: 0; }
.x-checks i { width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--at-line); display: inline-flex; align-items: center; justify-content: center; transition: background .3s, box-shadow .3s; }
.x-checks i svg { width: 13px; height: 13px; color: #fff; opacity: 0; transition: opacity .3s; }
.x-checks li.is-done i { background: var(--at-green); box-shadow: none; }
.x-checks li.is-done i svg { opacity: 1; }
.x-bar { height: 6px; border-radius: 3px; background: var(--at-line); margin: 4px 0 12px; overflow: hidden; }
.x-bar span { display: block; height: 100%; width: 0; background: var(--at-green); border-radius: 3px; transition: width .5s; }
.x-figs { display: grid; gap: 12px; }
.x-fig { padding: 14px 16px; border-radius: 18px; background: #FFF1EC; }
.x-fig span { display: block; font-size: 13px; color: var(--at-grey); margin-bottom: 4px; }
.x-fig b { font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.x-fig small { display: block; font-size: 13px; color: var(--at-grey); margin-top: 4px; }
.x-board { background: #1B1A1B; color: #FFD3DA; border-radius: 20px; padding: 14px; font-variant-numeric: tabular-nums; }
.x-board__h { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9a9899; padding: 0 6px 8px; }
.x-flip { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 6px; border-top: 1px solid #333; font-size: 15px; perspective: 400px; }
.x-flip b { font-weight: 700; color: #fff; letter-spacing: .06em; }
.x-flip span { color: #fff; }
.x-flip em { font-style: normal; color: #FFD3DA; font-size: 13px; }
.x-flip.is-flip { animation: x-flip .5s ease-in-out; }
@keyframes x-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); opacity: .3; } 100% { transform: rotateX(0); } }

/* ---------- finder on white */
.x-find { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 120px) var(--at-margin) clamp(40px, 5vw, 64px); }
.x-find__inner { max-width: 1100px; position: relative; z-index: 1; }
.x-find .at-h1 { margin: 16px 0 12px; }
.x-find__sub { font-size: clamp(17px, 1.45vw, 20px); color: var(--at-grey); margin: 0 0 32px; max-width: 34em; line-height: 1.5; }
.x-find .at-search { max-width: 1000px; }
.x-find .at-filters a { text-decoration: none; }
.x-find .at-pill span { opacity: .7; }
.x-find .at-pill:hover { background: var(--at-pale-gold); }


/* ---------- find out more, UCAS style */
.x-more { padding: 0 var(--at-margin) clamp(40px, 5vw, 72px); }
.x-more__label { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 22px; padding-top: 28px; border-top: 1px solid var(--at-line); }
.x-more__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 40px; }
.x-mc { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.x-mc__img { border-radius: var(--at-r-card); background: #ddd center / cover no-repeat; aspect-ratio: 4 / 3; transition: transform .3s; }
.x-mc:first-child { grid-row: span 2; }
.x-mc:first-child .x-mc__img { aspect-ratio: auto; flex: 1; min-height: 360px; }
.x-mc:hover .x-mc__img { transform: scale(1.015); }
.x-mc h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--at-bottle); display: flex; align-items: center; gap: 10px; }
.x-mc h3 svg { width: 16px; height: 13px; transition: transform .2s; }
.x-mc:hover h3 svg { transform: translateX(4px); }
.x-mc p { margin: -4px 0 0; font-size: 16px; line-height: 1.45; color: var(--at-grey); }
.x-more__grid .x-mc:nth-child(n+2) { flex-direction: row; align-items: center; gap: 20px; }
.x-more__grid .x-mc:nth-child(n+2) .x-mc__img { width: 44%; flex: none; }

/* ---------- closing and footer */
.x-closing .at-btn { margin-top: 4px; }
.x-closing { margin-bottom: 0; }
.x-closing { --close-l: url(../img/ribbons/coral/closing-left.svg); --close-r: url(../img/ribbons/coral/closing-right.svg); }
.x-band { margin: 0 var(--at-margin); background: var(--at-pale-gold); border-radius: var(--at-r-panel); display: grid; grid-template-columns: auto 1.2fr 1fr; gap: 40px; align-items: center; padding: 36px 48px; }
.x-band img { width: 64px; height: 64px; }
.x-band h2 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0; }
.x-band p { font-size: 15px; line-height: 1.5; margin: 0; }
.x-foot { padding: 64px var(--at-margin) 40px; }
.x-foot__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 64px; }
.x-foot h3 { font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.x-foot ul { list-style: none; margin: 0; padding: 0; }
.x-foot li { margin-top: 12px; font-size: 16px; }
.x-foot li a { text-decoration: none; }
.x-foot li a:hover { text-decoration: underline; }
.x-foot p { font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.x-foot__legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--at-line); }
.x-foot__legal p { color: var(--at-grey); font-size: 14px; max-width: 980px; }
.x-foot__base { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 32px; font-size: 14px; }
.x-foot__base img { height: 24px; margin-right: auto; }

/* ---------- phones and tablets */
@media (max-width: 1000px) {
  .x-menu, .x-top .at-nav > .at-btn { display: none; }
  .at-nav__menu { display: inline-flex; margin-left: auto; }
  .x-drop { grid-template-columns: 1fr; padding: 24px; gap: 20px; max-height: 75vh; overflow: auto; }
  .x-drop__lead { display: none; }
  .x-drop__cols { grid-template-columns: 1fr; }
  .x-mob.is-open { display: block; }
  .x-step { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .x-step__text { padding: 40px 24px 8px; }
  .x-step__vis { min-height: 460px; }
  .x-step__vis { min-height: 0; padding: 0 20px 28px; }
  .x-ph { position: relative; right: auto; top: auto; transform: none; height: 380px; aspect-ratio: auto; width: 72%; margin-left: auto; }
  .x-demo { position: relative; left: auto; top: auto; bottom: auto; margin: -110px 24px 0 0; width: min(330px, calc(100% - 32px)); }
  .x-more__grid { grid-template-columns: 1fr; }
  .x-mc:first-child { grid-row: auto; }
  .x-mc:first-child .x-mc__img { min-height: 220px; aspect-ratio: 4 / 3; }
  .x-band { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .x-foot__cols { grid-template-columns: 1fr; gap: 36px; }
}
.x-mob { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; border-radius: var(--at-r-card); box-shadow: 0 18px 50px rgba(32,31,32,.18); padding: 12px 24px 20px; max-height: 78vh; overflow: auto; }
.x-mob h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--at-grey); margin: 18px 0 4px; }
.x-mob a { display: block; padding: 12px 0; border-bottom: 1px solid var(--at-line); text-decoration: none; font-size: 17px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .x-hero .at-chip, .x-hero .at-badge { animation: none; }
  .x-step { position: relative; top: auto; }
}

/* ---------- footer: cream ground so the closing ribbons run into it */
.x-closing { position: relative; z-index: 0; padding-bottom: calc(var(--rh) * .55); }
@media (max-width: 760px) { .x-closing { padding-bottom: calc(var(--rh) + 20px); } }
.jf { position: relative; background: #fff; display: flow-root; }
:root { --rh: calc(100vw * .363 * 198 / 523); }
@media (max-width: 760px) { :root { --rh: calc(100vw * .46 * 198 / 523); } }
.x-pass { position: relative; z-index: 3; width: calc(100% - 2 * var(--at-margin)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); background: var(--at-gold); border-radius: 28px; }
.x-pass::before, .x-pass::after { content: ""; position: absolute; bottom: 34px; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.x-pass::before { left: -18px; } .x-pass::after { right: -18px; }
.x-pass__main { padding: 34px 44px; display: flex; align-items: center; gap: 24px 56px; flex-wrap: wrap; }
.x-pass__main p { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 500; max-width: 30rem; }
.x-pass__stub { padding: 32px 30px 30px; border-left: 2px dashed rgba(20,40,75,.4); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.x-pass__stub .jf__st { align-self: center; width: auto; height: 78px; flex: none; }
.x-pass__stub { align-items: center; padding-left: 40px; padding-right: 40px; }
.x-pass__stub p { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--at-ink); text-align: center; max-width: 12em; }

.lg { --h: 44px; display: block; position: relative; overflow: hidden; height: var(--h); width: calc(var(--h) * 2208 / 978); }
.lg img { position: absolute; max-width: none; height: calc(var(--h) * 3500 / 978); width: auto; left: calc(var(--h) * -648 / 978); top: calc(var(--h) * -1261 / 978); }
.lg-anim .lg-word { clip-path: inset(0 49.23% 0 0); }
.lg-anim.lg-wait .lg-p { stroke-dashoffset: var(--len, 1100); }
.lg-anim.lg-wait .lg-word { opacity: 0; }
.lg-mark { position: absolute; top: 0; overflow: visible; }
.lg-mark .lg-p { fill: none; stroke: #070707; stroke-width: 18; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; stroke-dasharray: var(--len, 1100); stroke-dashoffset: 0; }
.lg-mark .lg-fill { fill: transparent; }
.lg-anim.play .lg-p1 { animation: lgdraw .805s cubic-bezier(.6,0,.2,1) both; }
.lg-anim.play .lg-p2 { animation: lgdraw .4s cubic-bezier(.6,0,.2,1) .69s both; }
.lg-anim.play .lg-p3 { animation: lgdraw .52s cubic-bezier(.6,0,.2,1) 1.035s both; }
.lg-anim.play .lg-word { animation: lgword .575s ease 1.38s both; }
.lg-anim.play .lg-fill { animation: lgneon 6.2s ease-in-out 1.6s both, lgrest .8s ease 17.8s forwards; }
@keyframes lgdraw { from { stroke-dashoffset: var(--len, 1100); } to { stroke-dashoffset: 0; } }
@keyframes lgrest { from { fill: #FF9500; } to { fill: transparent; } }
@keyframes lgword { from { opacity: 0; transform: translateX(-4px); } to { opacity: 1; transform: none; } }
@keyframes lgneon { 0% { fill: #1F072F; opacity: 0; } 5% { fill: #1F072F; opacity: 1; } 16% { fill: #00158A; } 28% { fill: #2189FF; } 40% { fill: #0AFF33; } 52% { fill: #C406F9; } 64% { fill: #FC2121; } 76% { fill: #FF9500; } 86% { fill: #FF9500; opacity: 1; } 100% { fill: #FF9500; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lg-anim.play .lg-p, .lg-anim.play .lg-word, .lg-anim.play .lg-fill { animation: none !important; } }
.jf__in { padding: 8px var(--at-margin) 32px; }
.jf__head { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 32px 64px; align-items: center; padding-bottom: 44px; }
.jf__lock { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.jf__lock { --s: 52px; gap: calc(var(--s) * .55); }
.jf__at { height: calc(var(--s) * 1.128); width: auto; display: block; }
.jf__jgl .lg { --h: var(--s); }
.jf__div { height: calc(var(--s) * 1.128) !important; }
.jf__div { width: 1px; height: 40px; background: rgba(20,40,75,.35); }
.jf__jgl { display: block; }
.jf__st { height: 46px; width: auto; display: block; }
.jf__about { max-width: 34rem; justify-self: end; }
.jf__lead { margin: 0 0 6px; font-size: 18px; line-height: 1.45; font-weight: 500; }
.jf__small { margin: 0; font-size: 14px; line-height: 1.5; color: #5A574E; }
.jf__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 56px 0 40px; border-bottom: 1px solid var(--at-line); }
.jf__lab { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.jf ul { list-style: none; margin: 0; padding: 0; }
.jf li { margin-bottom: 11px; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; }
.jf li a { color: #3D3B35; text-decoration: none; }
.jf li a:hover { color: var(--at-ink); text-decoration: underline; }
.jf__fine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--at-line); }
.jf__fine p { margin: 0; font-size: 13px; line-height: 1.55; color: #5A574E; }
.jf__base { display: flex; justify-content: space-between; gap: 32px; padding-top: 24px; font-size: 13px; line-height: 1.5; color: #5A574E; }
.jf__base p { margin: 0; max-width: 40rem; }
.jf__copy { white-space: nowrap; }
@media (max-width: 1000px) {
  .x-pass { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .x-pass__main { flex-direction: column; align-items: flex-start; }
  .x-pass__main { padding: 26px 24px 22px; }
  .x-pass__stub { border-left: 0; border-top: 2px dashed rgba(20,40,75,.4); padding: 22px 24px 26px; flex-direction: row; align-items: center; }
  .x-pass::before, .x-pass::after { bottom: auto; top: calc(100% - 110px); width: 28px; height: 28px; }
  .x-pass__stub .jf__st { align-self: center; height: 56px; }
  .x-pass__stub { justify-content: center; }
  .x-pass::before { left: -14px; } .x-pass::after { right: -14px; }
  .jf__head { grid-template-columns: minmax(0, 1fr); }
  .jf__about { justify-self: start; }
  .jf__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jf__fine { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .jf__base { flex-direction: column; gap: 12px; }
  .jf__copy { white-space: normal; }
}
@media (max-width: 480px) {
  .jf__lock { gap: 14px; }
  .jf__lock { --s: 28px; } .jf__st { height: 40px; }
  .jf__div { height: 32px; }
}


/* ---------- inner pages */
.x-menu > button.is-cur { border-color: var(--at-ink); }
.x-ih { padding-bottom: clamp(56px, 7vw, 104px); }
.x-ih .at-hero__grid { margin-top: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 1fr) clamp(220px, 23vw, 330px); }
.x-ih__solo { grid-template-columns: minmax(0, 1fr) !important; }
.x-crumb { margin: 0 0 22px; font-size: 15px; font-weight: 500; color: var(--sub-on-ground); }
.x-crumb a { color: inherit; text-underline-offset: 3px; }
.x-ih__h { margin: 0; font-size: clamp(38px, 5vw, 72px); line-height: 1.06; font-weight: 600; letter-spacing: -.03em; max-width: 14em; }
.x-ih__lead { color: var(--sub-on-ground); margin-top: 22px; max-width: 30em; font-size: clamp(18px, 1.7vw, 24px); }
.x-ih .at-chip, .x-ih .at-chip strong { color: var(--at-ink); }
.x-ih .at-photo-card .at-chip { animation: x-in .7s cubic-bezier(.2,.8,.2,1) both, x-bob 6s ease-in-out 1s infinite; }
.x-sec { padding: clamp(56px, 7vw, 104px) var(--at-margin); }
.x-sec--top0 { padding-top: 0; }
.x-sec--app { padding-top: clamp(40px, 5vw, 64px); }
.x-in { max-width: 1200px; }
.x-mt { margin-top: 16px; }
.x-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--at-grey); margin: 14px 0 0; max-width: 40em; }
.x-small { font-size: 14px; line-height: 1.55; color: var(--at-grey); margin: 28px 0 0; max-width: 60em; }
.x-small a, .x-lead a, .x-box a, .x-legal a { color: var(--at-bottle); text-underline-offset: 3px; }
.x-h3 { font-size: 21px; font-weight: 600; margin: 0 0 18px; }
.x-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 56px; }
.x-notes p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--at-grey); }

/* figures: the big official numbers */
.x-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--at-ink); margin-top: 8px; }
.x-facts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; }
.x-facts > div { padding: 28px 28px 8px; border-left: 1px solid var(--at-line); }
.x-facts > div:first-child { padding-left: 0; border-left: 0; }
.x-facts b { display: block; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.x-facts p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--at-grey); }
/* two column definitions */
.x-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 28px; }
.x-defs > div { padding: 22px 0; border-top: 1px solid var(--at-line); }
.x-defs h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.x-defs p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--at-grey); }
/* steps */
.x-steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.x-steps li { counter-increment: s; font-size: 17px; font-weight: 600; line-height: 1.35; padding-top: 18px; border-top: 6px solid var(--at-line); position: relative; }
.x-steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--at-gold); color: var(--at-ink); font-size: 18px; margin-bottom: 14px; }
/* panels */
.x-panel { background: var(--at-cream); border-radius: var(--at-r-panel); padding: clamp(28px, 4vw, 56px); }
.x-panel .x-defs > div { border-color: #EADFC0; }
.x-box { border: 2px solid var(--at-ink); border-radius: var(--at-r-card); padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.x-box p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 46em; }
.x-actions { display: flex; gap: 14px; flex-wrap: wrap; }
/* directory */
.x-flabel { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 28px 0 0; }
.x-flabel + .at-filters { margin-top: 12px; }
.at-search .x-f2 { flex: 0 1 260px; }
.x-count { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 40px 0 24px; padding-top: 28px; border-top: 3px solid var(--at-ink); }
.x-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.x-r { border-radius: var(--at-r-card); box-shadow: inset 0 0 0 1px var(--at-line); padding: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.x-r h3 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 600; }
.x-r__meta { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--at-grey); }
.x-r .x-small { margin: 0; }
.x-r .at-btn { margin-top: auto; }
.x-morebtn { display: flex; justify-content: center; margin-top: 36px; }
/* pathways */
.x-path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.x-path + .x-path { margin-top: clamp(48px, 6vw, 88px); }
.x-path:nth-child(2) .x-path__img { order: 2; }
.x-path__img { border-radius: var(--at-r-panel); aspect-ratio: 4 / 3; background: #ddd center / cover no-repeat; }
.x-path__t { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.x-path__t .x-lead { margin: 0; }
.x-ticks { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; }
.x-ticks li { display: flex; gap: 10px; align-items: center; font-size: 17px; }
.x-ticks svg { width: 18px; height: 18px; color: var(--at-bottle); flex: none; }
.x-fields { margin-top: 28px; border-top: 3px solid var(--at-ink); }
.x-field { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) 9em 18px; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--at-line); text-decoration: none; }
.x-field__n { font-size: 18px; font-weight: 600; }
.x-field__bar { height: 10px; border-radius: 5px; background: #EDE4FB; overflow: hidden; }
.x-field__bar i { display: block; height: 100%; border-radius: 5px; background: #4B2A7B; }
.x-field__c { font-size: 15px; color: var(--at-grey); text-align: right; }
.x-field svg { width: 16px; height: 13px; transition: transform .2s; }
.x-field:hover .x-field__n { color: #4B2A7B; }
.x-field:hover svg { transform: translateX(4px); }
/* calculator */
.x-calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 32px; }
.x-calc__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.x-lab { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.x-calc__out { background: var(--at-gold); border-radius: var(--at-r-panel); padding: clamp(24px, 3vw, 40px); display: grid; gap: 4px; }
.x-calc__out span { font-size: 15px; }
.x-calc__out strong { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.x-calc__out strong.x-big { font-size: clamp(40px, 4.4vw, 60px); }
.x-calc__out p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; }
/* cities */
.x-cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.x-city { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.x-city__img { border-radius: var(--at-r-card); aspect-ratio: 4 / 3; background: #ddd center / cover no-repeat; margin-bottom: 10px; transition: transform .3s; }
.x-city:hover .x-city__img { transform: scale(1.015); }
.x-city__st { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--at-grey); }
.x-city h3 { margin: 0; font-size: 22px; font-weight: 600; display: flex; gap: 10px; align-items: center; color: var(--at-bottle); }
.x-city h3 svg { width: 16px; height: 13px; transition: transform .2s; }
.x-city:hover h3 svg { transform: translateX(4px); }
.x-city p { margin: 0; font-size: 15px; color: var(--at-grey); }
/* about */
.x-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.x-dolist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--at-ink); }
.x-dolist a { display: grid; grid-template-columns: 8em minmax(0, 1fr) 18px; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--at-line); text-decoration: none; }
.x-dolist b { font-size: 22px; font-weight: 600; }
.x-dolist span { font-size: 16px; line-height: 1.5; color: var(--at-grey); }
.x-dolist svg { width: 16px; height: 13px; transition: transform .2s; }
.x-dolist a:hover svg { transform: translateX(4px); }
/* legal */
.x-legal { max-width: 820px; }
.x-legal > div { padding-top: 48px; margin-top: 48px; border-top: 1px solid var(--at-line); display: grid; gap: 14px; }
.x-legal > div:first-child { border: 0; margin-top: 0; padding-top: 0; }
.x-legal h3 { margin: 12px 0 0; font-size: 20px; font-weight: 600; }
.x-legal p { margin: 0; font-size: 17px; line-height: 1.6; }
.x-legal div div { display: grid; gap: 8px; }

@media (max-width: 1000px) {
  .x-ih .at-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .x-ih .at-photo-card { width: min(300px, 70%); margin-left: auto; }
  .x-notes, .x-defs, .x-split { grid-template-columns: minmax(0, 1fr); }
  .x-facts, .x-facts--4 { grid-template-columns: minmax(0, 1fr); }
  .x-facts > div { padding: 22px 0 10px; border-left: 0; border-top: 1px solid var(--at-line); }
  .x-facts > div:first-child { border-top: 0; }
  .x-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-path { grid-template-columns: minmax(0, 1fr); }
  .x-path:nth-child(2) .x-path__img { order: 0; }
  .x-field { grid-template-columns: minmax(0, 1fr) 7.5em 16px; }
  .x-field__bar { display: none; }
  .x-calc, .x-calc__in { grid-template-columns: minmax(0, 1fr); }
  .x-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .x-dolist a { grid-template-columns: minmax(0, 1fr) 16px; }
  .x-dolist span { grid-column: 1; }
}
@media (max-width: 600px) {
  main .at-btn { white-space: normal; height: auto; min-height: 48px; padding-top: 7px; padding-bottom: 7px; text-align: left; max-width: 100%; }
  .x-res { grid-template-columns: minmax(0, 1fr); }
  .x-steps { grid-template-columns: minmax(0, 1fr); }
  .x-city h3 { font-size: 18px; }
}

/* ---------- inner pages: colour cards and panels from the home page */
.x-sec--cards { padding-bottom: 0; }
.x-cardstack { display: grid; gap: clamp(20px, 2.5vw, 36px); }
.x-step--flat { position: relative; top: auto; box-shadow: none; }
.x-dpanel { position: relative; overflow: hidden; background: var(--ground); color: var(--on-ground); border-radius: var(--at-r-panel); padding: clamp(28px, 4.5vw, 64px); }
.x-dpanel::before { content: ""; position: absolute; left: 0; top: 0; width: 70%; aspect-ratio: 1268 / 593; background: var(--rib-tl) left top / 100% auto no-repeat; pointer-events: none; }
.x-dpanel::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 678 / 363; background: var(--rib-br) right bottom / 100% auto no-repeat; pointer-events: none; }
.x-dpanel > * { position: relative; z-index: 1; }
.x-dpanel__sub { color: var(--sub-on-ground); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; margin: 12px 0 28px; max-width: 40em; }
.x-dpanel .x-flabel { color: var(--sub-on-ground); }
.x-dpanel .x-calc { margin-top: 0; }
.x-dpanel .x-lab { color: var(--on-ground); }
.x-dpanel[data-theme="coral"] .x-calc__out { background: #fff; color: var(--at-ink); }
.x-dpanel .at-field { background: #fff; }
.x-sec--app .x-count { border-top: 0; padding-top: 0; }

/* ================= inner page templates: wireframe structure, home page articulation ================= */
/* reveal on scroll */
.js-rv .rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js-rv .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-rv .rv { opacity: 1; transform: none; transition: none; } }

/* the colour tile with a floating interface card, beside text */
.sg-split { max-width: 1200px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sg-split--flip .sg-split__tile { order: 2; }
.sg-split__tile { position: relative; overflow: hidden; background: var(--ground); border-radius: var(--at-r-panel); padding: clamp(36px, 5vw, 72px) clamp(24px, 4vw, 56px); min-height: 420px; display: flex; align-items: center; justify-content: center; }
.sg-split__tile::before { content: ""; position: absolute; left: 0; top: 0; width: 90%; aspect-ratio: 1268 / 593; background: var(--rib-tl) left top / 100% auto no-repeat; }
.sg-split__tile::after { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; aspect-ratio: 678 / 363; background: var(--rib-br) right bottom / 100% auto no-repeat; }
.sg-split__t { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sg-split__t .x-lead { margin: 0; }
.sg-ui { position: relative; z-index: 1; width: min(400px, 100%); background: #fff; color: var(--at-ink); border-radius: 26px; padding: 26px; box-shadow: 0 30px 60px -24px rgba(32,31,32,.45); animation: x-bob 7s ease-in-out infinite; }
.sg-ui__t { margin: 0 0 14px; font-size: 19px; font-weight: 600; }
.sg-ui__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.sg-ui__row + .sg-ui__row { margin-top: 4px; }
.sg-ui__row:hover { background: var(--at-cream); }
.sg-ui__row b { display: block; font-size: 17px; font-weight: 600; }
.sg-ui__row small { display: block; font-size: 14px; color: var(--at-grey); margin-top: 2px; }
.sg-ui__row i { width: 34px; height: 34px; border-radius: 50%; background: var(--ground); color: var(--on-ground); display: flex; align-items: center; justify-content: center; flex: none; transition: transform .2s; }
.sg-ui__row i svg { width: 14px; height: 12px; }
.sg-ui__row:hover i { transform: translateX(4px); }

/* numbered how it works */
.sg-how { max-width: 1200px; text-align: center; }
.sg-how ol { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.sg-how ol::before { content: ""; position: absolute; left: 16%; right: 16%; top: 30px; border-top: 2px dashed var(--ground); opacity: .55; }
.sg-how li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; font-size: 18px; line-height: 1.45; font-weight: 500; padding: 0 12px; }
.sg-how li b { width: 60px; height: 60px; border-radius: 50%; background: var(--ground); color: var(--on-ground); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; box-shadow: 0 0 0 10px #fff; }
.sg-how a { color: var(--at-bottle); font-weight: 600; text-underline-offset: 4px; }

/* coloured band with a photo, the closing sell on each page */
.sg-band { max-width: 1200px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: var(--ground); color: var(--on-ground); border-radius: var(--at-r-panel); }
.sg-band::before { content: ""; position: absolute; left: 0; bottom: 0; width: 55%; aspect-ratio: 1268 / 593; background: var(--rib-tl) left top / 100% auto no-repeat; transform: scaleY(-1); opacity: .9; pointer-events: none; }
.sg-band__t { position: relative; z-index: 1; padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sg-band__t p { margin: 0; color: var(--sub-on-ground); font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; max-width: 34em; }
.sg-band__t a:not(.at-btn) { color: inherit; text-underline-offset: 3px; }
.sg-band__img { min-height: 340px; background: #ddd center / cover no-repeat; border-radius: var(--at-r-panel) 0 0 var(--at-r-panel); margin: 14px 14px 14px 0; border-radius: calc(var(--at-r-panel) - 12px); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.sg-band:hover .sg-band__img { transform: scale(1.02); }

/* icon tiles */
.sg-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.sg-tile { background: var(--ground); color: var(--on-ground); border-radius: var(--at-r-card); padding: 30px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sg-tile:hover { transform: translateY(-6px) rotate(-.6deg); }
.sg-tile:nth-child(even) { background: var(--at-cream); color: var(--at-ink); }
.sg-tile .at-icon-disc { background: #fff; color: var(--at-bottle); margin-bottom: 8px; }
.sg-tile h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.sg-tile p { margin: 0; font-size: 16px; line-height: 1.5; }

/* ---------- Study: directory */
.x-dirhero { padding-bottom: clamp(48px, 6vw, 88px); }
.x-dirhero__in { position: relative; z-index: 1; max-width: 1200px; }
.x-dirhero .x-ih__h { max-width: 14em; }
.sg-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 52px); }
.sg-count { background: rgba(255,255,255,.08); border: 1px solid rgba(224,169,59,.45); border-radius: 24px; padding: 22px 24px; text-decoration: none; color: #fff; display: flex; flex-direction: column; gap: 4px; transition: background .25s, transform .25s; animation: x-in .7s cubic-bezier(.2,.8,.2,1) both; }
.sg-count:nth-child(2) { animation-delay: .08s; } .sg-count:nth-child(3) { animation-delay: .16s; } .sg-count:nth-child(4) { animation-delay: .24s; }
.sg-count b { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.02em; color: #E0A93B; line-height: 1.1; }
.sg-count span { font-size: 16px; }
.sg-count:hover { background: #E0A93B; color: #14284B; transform: translateY(-4px); }
.sg-count:hover b { color: #14284B; }
.x-dsearch { max-width: 1200px; }
.x-dgrid { max-width: 1200px; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 36px; }
.x-dside { position: sticky; top: 100px; background: var(--at-cream); border-radius: var(--at-r-card); padding: 28px; }
.x-dside__h { display: flex; justify-content: space-between; align-items: center; }
.x-dside__h h2 { margin: 0; font-size: 22px; font-weight: 600; }
.x-dside .x-flabel:first-of-type { margin-top: 18px; }
.x-dside .at-filters { gap: 8px; }
.x-dside .at-pill { font-size: 14px; }
.x-clear { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--at-bottle); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.x-dside__note { margin: 28px 0 0; font-size: 13px; line-height: 1.5; color: var(--at-grey); }
.x-dmain .x-count { margin-top: 0; padding-top: 0; border-top: 0; }
.x-dmain .x-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.x-dmain .x-r { transition: box-shadow .25s, transform .25s; }
.x-dmain .x-r:hover { box-shadow: inset 0 0 0 2px var(--at-gold), 0 18px 40px -24px rgba(32,31,32,.35); transform: translateY(-3px); }

/* ---------- Pathways */
.lilac, [data-theme="lilac"] { --ground: #C9B1F5; --on-ground: #2E1650; --sub-on-ground: #2E1650; --cta-bg: #4B2A7B; --cta-fg: #fff; --cta-disc: #C9B1F5; --cta-arrow: #4B2A7B; --tag-bg: #4B2A7B; --tag-fg: #fff; }
.sg-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sg-col { background: var(--ground); color: var(--on-ground); border-radius: var(--at-r-panel); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.sg-col h3 { margin: 4px 0 0; font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.02em; }
.sg-col dl { margin: 10px 0 18px; width: 100%; }
.sg-col dt { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .75; padding-top: 16px; border-top: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); }
.sg-col dd { margin: 6px 0 16px; font-size: 18px; line-height: 1.45; color: var(--sub-on-ground); }
.sg-col .at-btn { margin-top: auto; }
.sg-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 36px; }
.sg-field { --c: #EDE4FB; background: var(--c); border-radius: 28px; padding: 22px; min-height: 170px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s, color .25s; }
.sg-field:nth-child(4n+2) { --c: #FFE6A6; } .sg-field:nth-child(4n+3) { --c: #FFC2B6; } .sg-field:nth-child(4n+4) { --c: #C9EFE6; }
.sg-field .at-icon-disc { width: 46px; height: 46px; background: #fff; margin-bottom: auto; }
.sg-field b { font-size: 19px; font-weight: 600; line-height: 1.2; margin-top: 18px; }
.sg-field span:last-child { font-size: 14px; color: var(--at-grey); }
.sg-field:hover { background: #4B2A7B; color: #fff; transform: translateY(-6px); }
.sg-field:hover span:last-child { color: #C9B1F5; }

/* ---------- Visas */
.sg-fees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--at-gold); border-radius: var(--at-r-panel); position: relative; }
.sg-fees > div { padding: clamp(28px, 3.5vw, 48px); position: relative; }
.sg-fees > div + div { border-left: 2px dashed rgba(32,31,32,.35); }
.sg-fees > div + div::before, .sg-fees > div + div::after { content: ""; position: absolute; left: -15px; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.sg-fees > div + div::before { top: -14px; } .sg-fees > div + div::after { bottom: -14px; }
.sg-fees span { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.sg-fees b { display: block; font-size: clamp(38px, 4.4vw, 62px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin: 12px 0 14px; }
.sg-fees p { margin: 0; font-size: 16px; line-height: 1.5; }
.sg-reqs { margin-top: 40px; display: grid; gap: 0; }
.sg-req { position: sticky; top: calc(96px + var(--i) * 14px); background: var(--c); border-radius: var(--at-r-card); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; min-height: 170px; margin-bottom: 18px; box-shadow: 0 -12px 30px -22px rgba(32,31,32,.4); }
.sg-req__n { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--at-bottle); }
.sg-req h3 { margin: 0 0 6px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.01em; }
.sg-req p { margin: 0; font-size: 17px; line-height: 1.5; max-width: 40em; }
.sg-req .at-icon-disc { background: #fff; }
.sg-route { max-width: 1200px; background: var(--at-cream); border-radius: var(--at-r-panel); padding: clamp(28px, 4.5vw, 64px); }
.sg-route ol { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; }
.sg-route ol::before { content: ""; position: absolute; left: 30px; right: 10%; top: 29px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--at-bottle) 0 14px, transparent 14px 24px); }
.sg-route li { position: relative; display: flex; flex-direction: column; gap: 16px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.sg-route li b { width: 60px; height: 60px; border-radius: 50%; background: var(--at-gold); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 0 0 8px var(--at-cream); }
.sg-route li:last-child b { background: var(--at-bottle); color: var(--at-gold); }

/* ---------- Cities: departures board */
.sg-boardhero { align-items: center; }
.sg-board { position: relative; z-index: 1; background: #201F20; color: #fff; border-radius: 28px; padding: 18px 18px 10px; box-shadow: 0 30px 60px -24px rgba(32,31,32,.55); font-variant-numeric: tabular-nums; }
.sg-board__h, .sg-flight { display: grid; grid-template-columns: 4.2em minmax(0, 1fr) 5em 22px; gap: 14px; align-items: center; }
.sg-board__h { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #FFD3DA; padding: 4px 12px 12px; }
.sg-flight { padding: 11px 12px; border-top: 1px solid rgba(255,255,255,.1); text-decoration: none; border-radius: 10px; animation: sg-flip .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.3s + var(--d) * 90ms); transform-origin: 50% 0; transition: background .2s; }
.sg-flight b { font-size: 15px; letter-spacing: .12em; color: var(--at-gold); background: rgba(255,255,255,.08); border-radius: 6px; padding: 3px 0; text-align: center; }
.sg-flight span { font-size: 18px; font-weight: 600; }
.sg-flight em { font-style: normal; font-size: 16px; text-align: right; color: #FFD3DA; }
.sg-flight i { display: flex; } .sg-flight i svg { width: 16px; height: 13px; transition: transform .2s; }
.sg-flight:hover { background: #D81E3A; } .sg-flight:hover i svg { transform: translateX(4px); }
@keyframes sg-flip { from { opacity: 0; transform: rotateX(-80deg); } to { opacity: 1; transform: none; } }
.sg-collage { position: relative; height: 720px; max-width: 1300px; margin: 0 auto; }
.sg-collage figure { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 40px -26px rgba(32,31,32,.45); }
.sg-collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.sg-collage figure:hover img { transform: scale(1.06); }
.sg-collage__t { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, 46%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.sg-collage__t .x-lead { margin: 0; }

/* ---------- About */
.sg-money { max-width: 1200px; position: relative; overflow: hidden; background: var(--ground); color: #fff; border-radius: var(--at-r-panel); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sg-money::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 678 / 363; background: var(--rib-br) right bottom / 100% auto no-repeat; pointer-events: none; opacity: .9; }
.sg-money > * { position: relative; z-index: 1; }
.sg-money .at-h1 { color: var(--on-ground); }
.sg-money p { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; margin: 18px 0 0; }
.sg-money__now { display: inline-block; background: var(--on-ground); color: #14284B; font-weight: 600; border-radius: 14px; padding: 12px 18px; }
.sg-money ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sg-money li { background: rgba(255,255,255,.08); border: 1px solid rgba(224,169,59,.4); border-radius: 18px; padding: 18px 22px; font-size: 18px; font-weight: 600; }
.sg-money li::before { content: "Not yet"; float: right; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ground); padding-top: 4px; }

@media (max-width: 1000px) {
  .sg-split, .sg-band, .sg-money, .sg-compare { grid-template-columns: minmax(0, 1fr); }
  .sg-split--flip .sg-split__tile { order: 0; }
  .sg-split__tile { min-height: 360px; }
  .sg-band__img { margin: 0 14px 14px; min-height: 280px; }
  .sg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-dgrid { grid-template-columns: minmax(0, 1fr); }
  .x-dside { position: static; }
  .sg-fees { grid-template-columns: minmax(0, 1fr); }
  .sg-fees > div + div { border-left: 0; border-top: 2px dashed rgba(32,31,32,.35); }
  .sg-fees > div + div::before { left: -14px; top: -15px; } .sg-fees > div + div::after { left: auto; right: -14px; top: -15px; bottom: auto; }
  .sg-route ol { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .sg-route ol::before { left: 28px; right: auto; top: 30px; bottom: 30px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--at-bottle) 0 14px, transparent 14px 24px); }
  .sg-route li { flex-direction: row; align-items: center; }
  .sg-route li b { flex: none; }
  .sg-collage { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .sg-collage figure { position: static; width: auto !important; height: 160px !important; }
  .sg-collage__t { position: static; transform: none; width: auto; grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
}
@media (max-width: 600px) {
  .sg-how ol { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .sg-how ol::before { display: none; }
  .sg-tiles, .x-dmain .x-res { grid-template-columns: minmax(0, 1fr); }
  .sg-split__tile { min-height: 0; padding: 28px 16px; }
  .sg-ui { padding: 18px; }
  .sg-req { grid-template-columns: minmax(0, 1fr); position: static; min-height: 0; gap: 10px; }
  .sg-req .at-icon-disc { display: none; }
  .sg-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-collage figure { height: 130px !important; }
  .sg-collage figure:nth-of-type(9) { display: none; }
  .sg-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sg-field { min-height: 150px; padding: 18px; }
  .sg-field b { font-size: 16px; }
  .sg-board__h, .sg-flight { grid-template-columns: 3.6em minmax(0, 1fr) 3.6em 16px; gap: 10px; }
  .sg-flight span { font-size: 16px; }
}
.sg-route li b { position: relative; z-index: 1; }
@media (max-width: 1000px) { .jf__lock { --s: 40px; } }
@media (max-width: 760px) { .jf__lock { --s: 32px; } }
@media (max-width: 480px) { .jf__lock { --s: 28px; } }

/* ================= master copy pass ================= */
.x-banner { margin: 0; background: var(--at-ink); color: #fff; text-align: center; font-size: 14px; line-height: 1.4; padding: 9px var(--at-margin); }
.x-hero__sub { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.6vw, 22px); }
.x-hint { margin: 14px 0 0; font-size: 15px; color: var(--at-grey); }
.x-hint a { color: var(--at-bottle); font-weight: 600; text-underline-offset: 3px; }
.x-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.x-lc { display: inline-flex; align-items: center; gap: 8px; margin: 24px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--at-bottle); background: var(--at-cream); border-radius: 999px; padding: 6px 14px 6px 10px; }
.x-lc svg { width: 15px; height: 15px; }
[data-theme="navy"] .x-lc, .sg-money .x-lc { background: rgba(255,255,255,.1); color: #fff; }
.x-loading { font-size: 18px; color: var(--at-grey); padding: 40px 0; max-width: 1200px; }
.x-note--plain { margin: 18px 0 0; font-size: 15px; line-height: 1.5; padding: 14px 18px; border-left: 4px solid var(--at-gold); background: var(--at-cream); border-radius: 0 12px 12px 0; max-width: 46em; }
.x-about { max-width: 46em; }
.x-about p { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; margin: 0 0 18px; }

/* tables */
.x-tbl { margin-top: 32px; overflow-x: auto; border-radius: var(--at-r-card); box-shadow: inset 0 0 0 1px var(--at-line); }
.x-tbl table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.x-tbl th, .x-tbl td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--at-line); }
.x-tbl thead th { border-top: 0; background: var(--at-cream); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.x-tbl tbody th { font-weight: 600; white-space: nowrap; }
.x-tbl tbody tr { transition: background .2s; }
.x-tbl tbody tr:hover { background: #FFFBEF; }
.x-tbl a { color: var(--at-bottle); text-underline-offset: 3px; }
.x-tbl--eng td { font-size: 18px; font-weight: 600; }
.x-tbl--eng td:nth-child(2) { color: var(--at-bottle); }
.x-tbl--3 tbody th { width: 16%; } .x-tbl--2 tbody th { width: 24%; white-space: normal; }

/* home: changes and promise */
.sg-rules { max-width: 1200px; }
.sg-rules ol { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.sg-rules li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start; background: var(--at-cream); border-radius: var(--at-r-card); padding: 28px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.sg-rules li:hover { transform: translateY(-4px); }
.sg-rules li > b { width: 64px; height: 64px; border-radius: 50%; background: var(--at-gold); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 600; }
.sg-rules h3 { margin: 6px 0 8px; font-size: 21px; font-weight: 600; }
.sg-rules p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--at-grey); }
.sg-rules > .at-btn { margin-top: 28px; }
.sg-rules--gold li:nth-child(2) > b, .sg-rules--gold li:nth-child(3) > b { background: var(--at-bottle); color: var(--at-gold); }
.sg-scholar li { padding: 0 !important; }
.sg-scholar li::before { display: none; }
.sg-scholar a { display: block; padding: 20px 22px; text-decoration: none; font-weight: 500; line-height: 1.45; border-radius: 18px; transition: background .2s; }
.sg-scholar a:hover { background: rgba(224,169,59,.2); }
.sg-money li::before { content: none; }
.sg-money .at-btn { margin-top: 24px; }

/* footer tagline */
.jf__tag { margin: 0 0 28px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; }
.jf__copy a { color: inherit; }

/* directory */
.sg-counts--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sg-counts--5 .sg-count b { font-size: clamp(28px, 2.8vw, 42px); }
.x-sel { width: 100%; margin-top: 10px; }
.x-sel select { width: 100%; }
.x-r__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.x-tag--dual { background: var(--at-bottle); color: #fff; }
.x-r__links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.x-r .x-r__links .at-btn { margin-top: 0; }
.x-reclink { font-size: 15px; font-weight: 600; color: var(--at-bottle); text-underline-offset: 3px; }
.x-r__code { margin: 0; font-size: 13px; color: var(--at-grey); }
.x-notes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.x-notes--4 h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; }

/* fields */
.sg-after { margin: 6px 0 18px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.14); }
[data-theme="lilac"] .sg-after { background: rgba(255,255,255,.45); }
.sg-after b { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.sg-after p { margin: 0 !important; }
.sg-col p { margin: 0 0 14px; font-size: 17px; line-height: 1.55; color: var(--sub-on-ground); }
.sg-field span:last-child { line-height: 1.4; }
.sg-field { min-height: 210px; }

/* visa */
.x-sec--disc { padding-bottom: clamp(32px, 4vw, 56px); }
.x-disc { max-width: 1200px; display: flex; gap: 16px; align-items: flex-start; border: 2px solid var(--at-ink); border-radius: var(--at-r-card); padding: 22px 26px; }
.x-disc p { margin: 0; font-size: 16px; line-height: 1.55; }
.x-disc__i { width: 26px; height: 26px; flex: none; color: var(--at-bottle); }
.x-defs--fees { margin-top: 40px; }
.x-defs--fees p + p { margin-top: 10px; }
.x-three { margin-top: 28px; }
.x-three ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 17px; line-height: 1.5; max-width: 50em; }
.x-panel--485 { position: relative; overflow: hidden; }
.sg-stay { display: grid; gap: 10px; margin: 32px 0 8px; }
.sg-stay > div { width: var(--w); min-width: 230px; background: var(--at-bottle); color: #fff; border-radius: 14px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; transform-origin: left; animation: sg-grow 1s cubic-bezier(.2,.8,.2,1) both; }
.sg-stay > div:nth-child(2) { background: var(--at-gold); color: var(--at-ink); animation-delay: .12s; }
.sg-stay > div:nth-child(3) { background: #14284B; animation-delay: .24s; }
.sg-stay b { font-size: 20px; } .sg-stay span { font-size: 14px; text-align: right; }
@keyframes sg-grow { from { transform: scaleX(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.sg-help { max-width: 1200px; background: var(--ground); color: #fff; border-radius: var(--at-r-panel); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.sg-help::after { content: ""; position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 678 / 363; background: var(--rib-br) right bottom / 100% auto no-repeat; opacity: .8; pointer-events: none; }
.sg-help > * { position: relative; z-index: 1; }
.sg-help .at-h1 { color: var(--on-ground); }
.sg-help__t p { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; margin: 18px 0 0; }
.sg-help__cards { display: grid; gap: 16px; }
.sg-help__cards > div { background: #fff; color: var(--at-ink); border-radius: 26px; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sg-help__cards h3 { margin: 0; font-size: 21px; font-weight: 600; }
.sg-help__cards p { margin: 0 0 8px; font-size: 16px; line-height: 1.5; color: var(--at-grey); }

/* live: rent */
.x-rent { margin-top: 32px; border-radius: var(--at-r-card); box-shadow: inset 0 0 0 1px var(--at-line); overflow: hidden; }
.x-rent__row { display: grid; grid-template-columns: 9em minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--at-line); font-size: 16px; }
.x-rent__row:first-child { border-top: 0; }
.x-rent__h { background: var(--at-cream); font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.x-rent__row > b { font-weight: 600; }
.x-rent__bar { position: relative; display: flex; align-items: center; gap: 10px; }
.x-rent__bar i { display: block; height: 26px; width: var(--w); border-radius: 13px; background: #FF5B2F; transform-origin: left; animation: sg-grow 1.1s cubic-bezier(.2,.8,.2,1) both; }
.x-rent__row:nth-child(odd) .x-rent__bar i { background: #FFC2B6; }
.x-rent__bar span { font-weight: 600; font-size: 17px; }
.x-calc__city { grid-column: 1 / -1; }
.x-calc__city select { width: 100%; }
.sg-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.sg-tile a { color: inherit; text-underline-offset: 3px; font-weight: 600; }
.sg-rights { align-items: start; }
.sg-rights a:not(.at-btn) { text-underline-offset: 3px; }
.sg-rights__list { display: grid; gap: 14px; }
.sg-rights__list > div { background: rgba(255,255,255,.08); border: 1px solid rgba(224,169,59,.4); border-radius: 22px; padding: 22px 24px; }
.sg-rights__list h3 { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--on-ground); }
.sg-rights__list p { margin: 0 !important; font-size: 16px !important; }
.sg-rights__list ul { margin: 10px 0 16px; padding-left: 20px; display: grid; gap: 6px; font-size: 16px; line-height: 1.5; }
.sg-rights__list .at-btn { margin-top: 4px; }

/* cities */
.x-states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1200px; }
.x-state { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: var(--at-r-card); box-shadow: inset 0 0 0 1px var(--at-line); overflow: hidden; scroll-margin-top: 110px; transition: box-shadow .25s, transform .25s; }
.x-state:hover { box-shadow: inset 0 0 0 2px #D81E3A, 0 20px 40px -26px rgba(32,31,32,.35); transform: translateY(-3px); }
.x-state__img { background: #ddd center / cover no-repeat; min-height: 240px; }
.x-state__t { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.x-state h3 { margin: 0; font-size: 18px; line-height: 1.35; font-weight: 600; }
.x-state dl { margin: 6px 0 4px; display: grid; gap: 6px; }
.x-state dl div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-top: 1px solid var(--at-line); padding-top: 6px; }
.x-state dt { font-size: 13px; color: var(--at-grey); line-height: 1.35; }
.x-state dd { margin: 0; font-size: 20px; font-weight: 600; color: #D81E3A; white-space: nowrap; }
.x-state__links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: auto; padding-top: 8px; }
.x-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.x-strip figure { margin: 0; height: 280px; border-radius: var(--at-r-card); background: #ddd center / cover no-repeat; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.x-strip figure:nth-child(2) { margin-top: 36px; }
.x-strip figure:hover { transform: scale(1.02); }
.x-wx { margin-top: 32px; border-radius: var(--at-r-card); box-shadow: inset 0 0 0 1px var(--at-line); padding: 8px 22px 14px; }
.x-wx__h, .x-wx__row { display: grid; grid-template-columns: 8em minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.x-wx__h { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 12px 0; }
.x-wx__row { padding: 10px 0; border-top: 1px solid var(--at-line); }
.x-wx__row b { font-weight: 600; }
.x-wx__bar { position: relative; height: 30px; border-radius: 15px; background: #F6F1E3; }
.x-wx__bar > span { position: absolute; top: 0; bottom: 0; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; padding: 0 8px; min-width: 96px; animation: sg-grow 1s cubic-bezier(.2,.8,.2,1) both; }
.x-wx--jan > span { background: linear-gradient(90deg, #FFC2B6, #FF5B2F); }
.x-wx--jul > span { background: linear-gradient(90deg, #C9E4F5, #14284B); color: #fff; }
.x-wx__bar em { font-style: normal; font-size: 12px; font-weight: 600; }
.x-wx--jul em:first-child { color: #14284B; }
.sg-safe { max-width: 1200px; position: relative; overflow: hidden; background: var(--ground); color: #fff; border-radius: var(--at-r-panel); padding: clamp(32px, 5vw, 64px); }
.sg-safe__img { position: absolute; right: 0; top: 0; bottom: 0; width: 38%; background: center / cover no-repeat; }
.sg-safe > .at-h1, .sg-safe__grid { position: relative; z-index: 1; max-width: 60%; }
.sg-safe__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
.sg-safe__grid > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: center; background: rgba(255,255,255,.1); border-radius: 22px; padding: 18px 22px; }
.sg-safe__grid b { font-size: 34px; font-weight: 600; letter-spacing: -.02em; color: #FFD3DA; }
.sg-safe__grid p { margin: 0; font-size: 16px; line-height: 1.5; }
.sg-flag { display: block; width: 72px; height: 48px; border-radius: 6px; background: linear-gradient(180deg, #D81E3A 50%, #FACD4D 50%); box-shadow: 0 0 0 3px #fff; }

/* scholarships */
.sg-sch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1200px; }
.sg-sch__card { background: var(--ground); color: var(--on-ground); border-radius: var(--at-r-panel); padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; overflow: hidden; }
.sg-sch__card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 60%; aspect-ratio: 678 / 363; background: var(--rib-br) right bottom / 100% auto no-repeat; opacity: .7; pointer-events: none; }
.sg-sch__card > * { position: relative; z-index: 1; }
.sg-sch__card p { margin: 0 0 10px; font-size: 17px; line-height: 1.55; color: var(--sub-on-ground); }
.sg-sch__card .at-btn { margin-top: auto; }
.sg-checklist { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; width: min(420px, 100%); display: grid; gap: 12px; }
.sg-checklist li { background: #fff; border-radius: 20px; padding: 18px 20px 18px 56px; font-size: 16px; font-weight: 500; line-height: 1.45; position: relative; box-shadow: 0 20px 40px -26px rgba(32,31,32,.45); }
.sg-checklist li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: #FF5B2F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.sg-checklist li:nth-child(2) { margin-left: 20px; } .sg-checklist li:nth-child(3) { margin-left: 40px; }
.x-defs--sch > div { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.x-defs--sch .at-btn { margin-top: 14px; }
.x-defs--sch .at-tag--plain { background: var(--at-line); color: var(--at-ink); }

@media (max-width: 1000px) {
  .sg-counts--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-notes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-rules ol, .x-states, .sg-sch, .sg-help { grid-template-columns: minmax(0, 1fr); }
  .sg-tiles--3 { grid-template-columns: minmax(0, 1fr); }
  .x-rent__row { grid-template-columns: 7em minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 10px; padding: 12px 16px; font-size: 15px; }
  .sg-safe__img { position: relative; width: auto; height: 240px; margin: -1px 0 24px; border-radius: 26px; }
  .sg-safe > .at-h1, .sg-safe__grid { max-width: none; }
}
@media (max-width: 600px) {
  .x-banner { font-size: 12px; }
  .sg-counts--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-notes--4 { grid-template-columns: minmax(0, 1fr); }
  .sg-rules li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 20px; }
  .sg-rules li > b { width: 48px; height: 48px; font-size: 20px; }
  .x-state { grid-template-columns: minmax(0, 1fr); }
  .x-state__img { min-height: 180px; }
  .x-strip { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-strip figure { height: 170px; } .x-strip figure:nth-child(2) { margin-top: 0; } .x-strip figure:nth-child(3) { grid-column: 1 / -1; }
  .x-rent__h { display: none; }
  .x-rent__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 14px; }
  .x-rent__row > b { grid-column: 1 / -1; }
  .x-rent__bar { grid-column: 1 / -1; }
  .x-rent__row > span::before { content: attr(data-l); display: block; font-size: 12px; color: var(--at-grey); }
  .x-rent__row > span:last-child { grid-column: 1 / -1; }
  .x-wx { padding: 6px 14px 12px; }
  .x-wx__h { display: none; }
  .x-wx__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .x-wx__row::after { content: "January, then July"; font-size: 11px; color: var(--at-grey); order: -1; display: none; }
  .x-tbl table, .x-tbl thead, .x-tbl tbody, .x-tbl tr, .x-tbl th, .x-tbl td { display: block; }
  .x-tbl thead { display: none; }
  .x-tbl tr { padding: 14px 16px; border-top: 1px solid var(--at-line); }
  .x-tbl th, .x-tbl td { border: 0; padding: 4px 0; white-space: normal !important; width: auto !important; }
  .x-tbl tbody th { font-size: 17px; }
  .x-tbl--eng td { font-size: 15px; }
  .sg-safe__grid > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sg-checklist li:nth-child(n) { margin-left: 0; }
  .sg-stay > div { width: auto; min-width: 0; }
}
.jf__tag { margin-top: 44px; }
.sg-boardhero .sg-board { min-width: 440px; }
.sg-rights a:not(.at-btn) { color: var(--on-ground); }
.sg-rights .at-btn, .sg-money .at-btn { color: var(--btn-fg); }
.sg-sch__card[data-theme="gold"] .at-tag { background: #fff; color: var(--at-ink); }
.x-panel--485 .at-tag { background: var(--at-gold); }
@media (max-width: 1000px) { .sg-boardhero .sg-board { min-width: 0; } }
@media (max-width: 600px) {
  .x-tbl td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--at-grey); margin-top: 6px; }
}
.sg-boardhero .sg-board { min-width: 0; }
@media (min-width: 1001px) { .at-hero__grid.sg-boardhero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } }
.sg-board .sg-flight span { font-size: 16px; }
/* Sets Grotesk from the Adobe Fonts web project "Aussie Ticket": M (text) and L (display) optical sizes */
:root { --at-font: "sets-grotesk-m", "sets-grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body, button, input, select, textarea { font-family: var(--at-font); }
.at-display, .at-h1, .at-h2, h1, h2, .x-ih__h, .sg-fees b, .sg-count b, .sg-req__n, .x-facts b, .jf__tag { font-family: "sets-grotesk-l", var(--at-font); }
@media (max-width: 600px) {
  .x-wx__bar { margin-top: 16px; }
  .x-wx__bar::before { position: absolute; left: 4px; top: -15px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--at-grey); }
  .x-wx--jan::before { content: "January"; } .x-wx--jul::before { content: "July"; }
  .x-hero .at-chip .x-roll { font-size: 15px; }
}
@media (max-width: 1000px) {
  .x-hero:not(.x-ih) .at-photo-card .at-chip { left: auto; right: 8%; }
  .x-hero:not(.x-ih) .at-chip .x-roll { font-size: 18px; }
}
@media (max-width: 600px) { .x-hero:not(.x-ih) .at-chip .x-roll { font-size: 15px; } }
.x-hero:not(.x-ih) .x-roll { height: auto; }
.x-hero:not(.x-ih) .x-roll b { white-space: normal; max-width: 9.6em; line-height: 1.12; }
.sg-stay b { white-space: nowrap; }
.sg-stay > div { min-width: 320px; }
@media (max-width: 600px) { .sg-stay > div { min-width: 0; } }
.at-field { min-width: 0; max-width: 100%; }
@media (max-width: 600px) { .at-search .at-field, .at-search .x-f2 { flex: 1 1 100%; } .at-search .at-btn { width: 100%; justify-content: space-between; } }
.sg-scholar a b { display: block; font-size: 19px; font-weight: 600; margin-bottom: 4px; color: var(--on-ground); }
.sg-scholar a span { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; color: var(--on-ground); }
.sg-scholar a span svg { width: 15px; height: 12px; transition: transform .2s; }
.sg-scholar a:hover span svg { transform: translateX(4px); }
.x-flip { grid-template-columns: 52px minmax(0, 1fr) auto; min-height: 54px; font-size: 14px; line-height: 1.15; }
