/* Task ring */
#main .ah-ring { --ah-step: 0; position: relative; height: 420vh; background: #fff; color: #111a23; scroll-margin-top: 0; }
#main .ah-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
#main .ah-pill { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 18px; border-radius: 99px; background: #111a23; color: #fff; font: 500 15px/1.4 GoldstineSynonym, sans-serif; }
#main .ah-pill output { min-width: 48px; padding: 3px 9px; border-radius: 99px; background: #3a444d; color: #fff; text-align: center; font-variant-numeric: tabular-nums; }
#main .ah-orbit { --r: min(31vh, 21vw, 330px); --t: min(15.5vh, 11vw, 158px); position: absolute; top: 52%; left: 50%; width: 0; height: 0; }
#main button.ah-tile:not(#x) { border-radius: 26% !important; }
#main .ah-list button:not(#x) { border-radius: 8px !important; }
#main .ah-nav button:not(#x) { border-radius: 50% !important; }
#main .ah-tile { position: absolute; width: var(--t); height: var(--t); margin: calc(var(--t) / -2); padding: 0; border: 0; border-radius: 26% !important; overflow: hidden; background: #e4e8eb; cursor: pointer; transform: rotate(calc(var(--a, 0) * 1deg)) translateY(calc(var(--r) * -1)) scale(var(--s, 1)); will-change: transform; }
#main .ah-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
#main .ah-centre { position: absolute; width: var(--t); height: var(--t); margin: calc(var(--t) / -2); display: grid; place-items: center; border: 1px solid #ccd4da; border-radius: 26%; background: #fff; color: #111a23; box-shadow: 0 6px 26px rgb(17 26 35 / .07); text-decoration: none; transition: border-color .2s, transform .2s; }
#main .ah-centre:hover { border-color: #111a23; transform: scale(1.04); }
#main .ah-centre svg { width: 34%; }
#main .ah-hint { position: absolute; top: calc(var(--t) / 2 + 12px); left: 0; width: 220px; margin: 0 0 0 -110px; text-align: center; color: #42505b; font: 500 14px/1.4 GoldstineSynonym, sans-serif; }
#main .ah-title { position: absolute; left: clamp(16px, 2.2vw, 34px); bottom: clamp(26px, 4vh, 46px); z-index: 2; max-width: 27vw; margin: 0; color: #111a23 !important; font: 500 clamp(26px, 3.1vw, 56px)/1.06 GoldstineChillax, sans-serif !important; letter-spacing: -.035em; }
#main .ah-title span { display: block; color: #717c85; }
#main .ah-list { position: absolute; top: 50%; right: clamp(16px, 2.2vw, 34px); width: 220px; height: 0; margin: 0; padding: 0; list-style: none; }
#main .ah-list li { position: absolute; right: 0; top: -19px; transform: translateY(calc(var(--d, 0) * 44px)); opacity: max(0, calc(1 - var(--m, 0) * .27)); transition: transform .35s, opacity .35s; }
#main .ah-list button { padding: 7px 13px; border: 1px solid #dbe1e5; border-radius: 8px !important; background: #fff; color: #55616b; font: 500 15px/1.5 GoldstineSynonym, sans-serif; white-space: nowrap; cursor: pointer; }
#main .ah-list [aria-current] { border-color: #111a23; color: #111a23; }
#main .ah-foot { position: absolute; bottom: clamp(26px, 4vh, 46px); margin: 0; color: #42505b; font: 500 14px/1.4 GoldstineSynonym, sans-serif; }
#main .ah-foot-mid { left: 50%; transform: translateX(-50%); }
#main .ah-foot-end { right: clamp(16px, 2.2vw, 34px); }
#main .ah-ring :focus-visible, #main .ah-listings :focus-visible, #main .ah-close :focus-visible { outline: 2px solid #bd810c; outline-offset: 3px; }

/* Listings carousel */
#main .ah-listings { padding: clamp(64px, 9vw, 130px) 0; background: #111a23; color: #f3f5f7; overflow: hidden; scroll-margin-top: -100px; }
#main .ah-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; width: calc(100% - 2 * clamp(16px, 4vw, 64px)); margin: 0 auto clamp(28px, 4vw, 56px); }
#main .ah-head h2 { max-width: 15ch; margin: 0 0 14px; color: #f3f5f7 !important; font: 500 clamp(38px, 5.4vw, 80px)/1.03 GoldstineChillax, sans-serif !important; letter-spacing: -.03em; }
#main .ah-head p { max-width: 52ch; margin: 0; color: #b8c5cf !important; font: 400 18px/1.55 GoldstineSynonym, sans-serif; }
#main .ah-nav { display: flex; gap: 8px; }
#main .ah-nav button { width: 52px; height: 52px; border: 1px solid #52626e; border-radius: 50% !important; background: none; color: #f3f5f7; font-size: 20px; cursor: pointer; }
#main .ah-nav button:hover:not(:disabled) { background: #f3f5f7; color: #111a23; }
#main .ah-nav button:disabled { opacity: .35; cursor: default; }
#main .ah-track { display: flex; gap: 18px; margin: 0; padding: 0 clamp(16px, 4vw, 64px); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 4vw, 64px); scrollbar-width: none; }
#main .ah-track::-webkit-scrollbar { display: none; }
#main .ah-card { flex: 0 0 min(980px, 84vw); display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; scroll-snap-align: start; border-radius: 22px; overflow: hidden; background: #f3f5f7; color: #111a23; }
#main .ah-card > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
#main .ah-card > div { display: flex; flex-direction: column; padding: clamp(22px, 3vw, 42px); }
#main .ah-card h3 { margin: 0 0 auto; padding-bottom: 28px; color: #111a23 !important; font: 500 clamp(28px, 3vw, 44px)/1.08 GoldstineChillax, sans-serif !important; letter-spacing: -.025em; }
#main .ah-card dl { margin: 0; }
#main .ah-card dt { padding-top: 12px; border-top: 1px solid #cdd6dc; color: #275d73; font: 600 14px/1.4 GoldstineSynonym, sans-serif; }
#main .ah-card dd { margin: 2px 0 14px; font: 400 17px/1.45 GoldstineSynonym, sans-serif; }
#main .ah-note { width: calc(100% - 2 * clamp(16px, 4vw, 64px)); margin: 26px auto 0; color: #9fb0bc !important; font: 400 15px/1.5 GoldstineSynonym, sans-serif; }

/* Closing */
#main .ah-close { display: grid; grid-template-columns: 1fr 1fr; min-height: min(86vh, 820px); background: #e7b52e; color: #111a23; }
#main .ah-close > div { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(92px, 7vw, 116px) clamp(16px, 4vw, 64px) clamp(28px, 5vw, 80px); }
#main .ah-close h2 { max-width: 9ch; margin: 0; color: #111a23 !important; font: 500 clamp(46px, 7vw, 108px)/.98 GoldstineChillax, sans-serif !important; letter-spacing: -.04em; }
#main .ah-close p { max-width: 40ch; margin: 0 0 24px; color: #111a23 !important; font: 400 19px/1.5 GoldstineSynonym, sans-serif; }
#main .ah-close a { display: inline-block; padding: 15px 24px; border-radius: 99px !important; background: #111a23; color: #fff; font: 600 17px/1.2 GoldstineSynonym, sans-serif; text-decoration: none; }
#main .ah-close a:hover { background: #2b3944; }
#main .ah-close img { width: 100%; height: 100%; object-fit: cover; }

#main .gg-image-expansion .content { min-height: 0; padding-block: clamp(40px, 5vw, 76px); }

@media (max-width: 800px) {
  #main .ah-ring { height: 340vh; }
  #main .ah-orbit { --r: min(37vw, 25vh); --t: min(19vw, 13vh); top: 41%; }
  #main .ah-pill { top: 84px; display: none; }
  #main .ah-list, #main .ah-foot { display: none; }
  #main .ah-title { bottom: 40px; right: 16px; max-width: none; min-height: 3.2em; font-size: clamp(34px, 10vw, 46px) !important; }
  #main .ah-nav { display: none; }
  #main .ah-card { flex-basis: 86vw; grid-template-columns: 1fr; }
  #main .ah-card > img { aspect-ratio: 4 / 3; height: auto; }
  #main .ah-close { grid-template-columns: 1fr; }
  #main .ah-close img { aspect-ratio: 4 / 3; }
  #main .ah-close > div { padding-top: 92px; }
  #main .ah-listings { padding-top: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  #main .ah-ring { height: auto; }
  #main .ah-stage { position: relative; }
  #main .ah-list li, #main .ah-centre { transition: none; }
}
