@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/NotoSansGeorgian-georgian.woff2") format("woff2"); unicode-range: U+0589, U+10A0-10FF, U+1C90-1CBA, U+1CBD-1CBF, U+205A, U+2D00-2D2F, U+2E31; }
@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/NotoSansGeorgian-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans Georgian"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/NotoSansGeorgian-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "FiraGO"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/FiraGO-300.woff2") format("woff2"); }
@font-face { font-family: "FiraGO"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/FiraGO-400.woff2") format("woff2"); }
@font-face { font-family: "FiraGO"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/FiraGO-500.woff2") format("woff2"); }
@font-face { font-family: "FiraGO"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/FiraGO-600.woff2") format("woff2"); }
@font-face { font-family: "FiraGO"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/FiraGO-700.woff2") format("woff2"); }
@font-face { font-family: "FiraGO"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/FiraGO-800.woff2") format("woff2"); }
:root {
  color-scheme: dark;
  --bg: #111111;
  --ink: #ffffff;
  --muted: #9a9a9a;
  --nav-muted: #c6c6c6;
  --line: #292929;
  --navy: #101e38;
  --blue: #278eff;
  --yellow: #ffc100;
  --glass: rgba(42, 42, 42, .2);
  --font-ui: "FiraGO", "Noto Sans Georgian", "Segoe UI", system-ui, sans-serif;
  --font-ka: "Noto Sans Georgian", "FiraGO", "Segoe UI", system-ui, sans-serif;
  --ease-pop: cubic-bezier(.2, .9, .25, 1.18);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-draw: cubic-bezier(.55, .08, .3, 1);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ico { display: block; width: 100%; height: 100%; fill: currentColor; flex: none; }

/* ---------- Hero ---------- */
/* The banner is the Figma photo (1280 x 730) with the ridge line, lettering and buttons placed in the photo's
   own coordinates, so the line always sits on the mountain. The photo covers the first screen; when the screen
   is shorter than the photo, the crop is shared between top and bottom and the page keeps room for the arrow. */
:root { --fold: calc(100vh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
@supports (height: 100svh) { :root { --fold: calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); } }
.hero {
  --sw: max(100vw, calc(var(--fold) * 1.7534));
  --sh: max(57.03vw, var(--fold));
  --cta: 112px;  /* button + gap + tagline below the button's top */
  --tail: 100px;  /* gap + arrow + space under it */
  --st: max(calc(var(--fold) - var(--sh)), min(calc((var(--fold) - var(--sh)) * .5), calc(var(--fold) - var(--sh) * .7096 - var(--cta) - var(--tail))));
  position: relative;
  height: max(var(--fold), calc(var(--st) + var(--sh) * .7096 + var(--cta) + var(--tail)));
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: photo-in 2.4s var(--ease-out) backwards;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 31;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1280px;
  margin-inline: auto;
  padding: 20px max(36px, env(safe-area-inset-right)) 0 max(33px, env(safe-area-inset-left));
  box-sizing: border-box;
  animation: drop-in .8s .2s var(--ease-out) backwards;
}
.logo { justify-self: start; display: block; color: var(--ink); }
.logo svg { display: block; width: 86px; height: 25px; }
.nav { display: flex; gap: 47px; }
.nav a {
  position: relative;
  padding-block: 8px;
  font: 300 15px/18px var(--font-ui);
  letter-spacing: .01em;
  color: var(--nav-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease;
}
.nav a[aria-current="page"] { font-weight: 400; color: var(--ink); }
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 52px;
  border-radius: 26px;
  background: var(--ink);
  color: var(--navy);
  font: 700 15px/18px var(--font-ui);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease-pop), box-shadow .35s ease;
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255, 255, 255, .5); }
.pill-btn:active { transform: scale(.97); }
.btn-auth { width: 159px; }
.btn-arrow { justify-content: space-between; padding: 0 7px 0 27px; }
.btn-book { width: 159px; }
.btn-join { width: 183px; }
.round {
  display: grid;
  place-items: center;
  flex: none;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--bg);
  transition: transform .5s var(--ease-pop);
}
.round .ico { width: 22px; height: 22px; }
.btn-arrow:hover .round, a.icard:hover .round { transform: rotate(45deg); }

.burger, .m-menu { display: none; }

/* the ridge line with the lettering inside it (Figma "Vector 4" + "Group 483164") */
.hero-body {
  position: absolute;
  left: 50%;
  top: var(--st);
  width: var(--sw);
  height: var(--sh);
  transform: translateX(-50%);
}
.hero-body::after { /* Figma "Rectangle 4": the photo's lower half fades to black */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 47.53%;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0), #000);
  pointer-events: none;
}
.art { position: absolute; z-index: 1; left: 11.211%; top: 27.369%; width: 83.828%; aspect-ratio: 1073 / 408.71; }
.ridge { position: absolute; left: -.233%; top: -.6%; width: 100.466%; height: 101.3%; overflow: visible; }
.ridge path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ridge .line { stroke-dasharray: var(--len, 2400) var(--len, 2400); stroke-dashoffset: 0; animation: line-draw 2.8s .3s var(--ease-draw) backwards; }
.ridge .glow { stroke-width: 12; opacity: .55; filter: url(#soft); stroke-dasharray: 120 var(--len, 2400); stroke-dashoffset: 120; animation: line-glow 9s 3.4s ease-in-out infinite; }
.letters { position: absolute; left: 18.59%; top: 17.91%; width: 65.01%; height: auto; overflow: visible; animation: letters-in 1.1s 1.2s var(--ease-pop) backwards; }

.cta { position: absolute; z-index: 2; top: 70.96%; left: 50.2%; display: flex; flex-direction: column; align-items: center; gap: 24px; transform: translateX(-50%); }
.cta .btn-book { animation: rise .8s 1.7s var(--ease-out) backwards; }
.tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 30.5px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(6.5px);
  backdrop-filter: blur(6.5px);
  font: 400 13px/16px var(--font-ui);
  letter-spacing: .01em;
  text-align: center;
  white-space: nowrap;
  animation: rise .8s 1.85s var(--ease-out) backwards;
}
.down {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: 40px;
  height: 40px;
  margin-left: -18px;
  color: var(--ink);
  animation: fade 1s 2.2s ease backwards;
}
.down svg { display: block; width: 100%; height: 100%; animation: bounce 1.8s 2.6s ease-in-out infinite; }

/* ---------- Sections ---------- */
.wrap { max-width: 1204px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right)); }
@media (min-width: 1237px) { .wrap { padding-inline: 0; } }
.sec { scroll-margin-top: 24px; }
.sec-head { text-align: center; }
.eyebrow { margin: 0; font: 500 16px/19px var(--font-ui); letter-spacing: .01em; color: var(--blue); }
.eyebrow.yellow { color: var(--yellow); }
.sec-title { margin: 8px 0 0; font: 700 43px/58px var(--font-ka); letter-spacing: .01em; text-wrap: balance; }
.sports { margin-top: 76px; }
.instructors { margin-top: 60px; }

.glass {
  position: relative;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 30.5px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(6.5px);
  backdrop-filter: blur(6.5px);
}
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25.33px; margin-top: 100px; }

/* sport cards */
.scard {
  position: relative;
  display: block;
  height: 251px;
  border: 2px solid var(--blue);
  color: var(--ink);
  text-decoration: none;
  overflow: hidden;
  transition: transform .45s var(--ease-pop), box-shadow .45s ease, background-color .3s ease;
}
.scard h3 { margin: 0; position: absolute; left: 29px; top: 28px; font: 700 28px/38px var(--font-ka); letter-spacing: .01em; }
.scard img { position: absolute; display: block; height: auto; transition: transform .6s var(--ease-pop); }
.scard .ph { position: absolute; right: 50px; bottom: 54px; width: 106px; height: 106px; transition: transform .6s var(--ease-pop); }
.scard:hover .ph { transform: translateY(-6px) scale(1.06); }
.s-ski img { right: 61px; bottom: 45px; width: 130px; }
.s-board img { right: 46px; bottom: 55px; width: 102px; }
.s-free img { right: 42px; bottom: 46px; width: 130px; }
.s-ask img { right: 43px; bottom: 54px; width: 91px; }
.scard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(39, 142, 255, .55); background: rgba(39, 142, 255, .06); }
.s-ski:hover img { transform: translate(10px, 8px) rotate(3deg); }
.s-board:hover img { transform: translateY(-14px) rotate(-6deg); }
.s-free:hover img { transform: translate(-6px, 4px) scale(1.06); }
.s-ask:hover img { animation: wiggle .7s ease-in-out; }

/* instructor cards */
.icard {
  display: flex;
  flex-direction: column;
  height: 251px;
  padding: 39px 30px 33px 23px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .45s var(--ease-pop), border-color .3s ease;
}
.icard-head { display: flex; align-items: flex-start; gap: 14px; }
.avatar { flex: none; width: 47px; height: 47px; border-radius: 50%; background: var(--bg); transition: transform .5s var(--ease-pop); }
.who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.p-name { font: 700 18px/24px var(--font-ka); letter-spacing: .01em; white-space: nowrap; }
.p-disc { display: flex; align-items: center; gap: 5px; font: 500 15px/20px var(--font-ka); letter-spacing: .01em; color: var(--muted); white-space: nowrap; }
.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.icard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.price { display: flex; align-items: baseline; gap: 6px; font: 700 30px/41px var(--font-ka); letter-spacing: .01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.unit { font: 500 15px/20px var(--font-ka); letter-spacing: .01em; color: var(--muted); }
a.icard:hover { transform: translateY(-6px); border-color: #3a3a3a; }
a.icard:hover .avatar { transform: scale(1.07); }

/* instructor sign-up banner */
.join { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 251px; margin-top: 71px; padding: 47px 13px 0 54px; overflow: hidden; }
.join-text { align-self: flex-start; min-width: 0; }
.join h2 { margin: 0; font: 700 30px/41px var(--font-ka); letter-spacing: .01em; }
.join p { margin: 10px 0 0; font: 500 20px/27px var(--font-ka); letter-spacing: .01em; color: var(--muted); }
.join .btn-join { margin-top: 30px; }
.join-art { align-self: flex-start; flex: none; width: min(492px, 46%); margin-top: -22px; }
.join-art img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.join:hover .join-art img { transform: translateX(-8px); }

/* ---------- Footer (same as the other GOODSKI pages) ---------- */
.footer { max-width: 1280px; margin: 87px auto 0; padding-bottom: 55px; box-sizing: border-box; }
.f-grid { display: grid; grid-template-columns: 364px 283px 348px minmax(0, 1fr); padding-left: 55px; }
.f-logo { display: inline-block; font: 800 18px/22px var(--font-ui); letter-spacing: .01em; color: var(--ink); text-decoration: none; }
.f-tag { max-width: 223px; margin: 5px 0 0; font: 500 15px/20px var(--font-ka); letter-spacing: .01em; color: var(--muted); }
.f-head { margin: 2px 0 0; font: 500 15px/20px var(--font-ka); letter-spacing: .01em; color: var(--muted); }
.f-list { list-style: none; margin: 29px 0 0; padding: 0; display: grid; gap: 20px; }
.f-list a, .f-list span { font: 600 15px/20px var(--font-ka); letter-spacing: .01em; color: var(--ink); text-decoration: none; white-space: pre; }
.f-list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.f-list a:hover { background-size: 100% 1px; }
.f-bottom { margin: 47px 36px 0 40px; border-top: 1px solid var(--line); padding-top: 33px; }
.f-bottom-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: 0 12px 0 15px; font: 500 14px/19px var(--font-ka); letter-spacing: .01em; color: var(--muted); }
.f-bottom-row p { margin: 0; }

/* ---------- Scroll reveal: blocks rest visible and only animate as they arrive ---------- */
[data-reveal].is-in { animation: pop-in .9s var(--ease-pop) backwards; animation-delay: calc(var(--i, 0) * .08s); }
[data-reveal="rise"].is-in { animation-name: rise; animation-duration: .8s; animation-timing-function: var(--ease-out); }

@keyframes photo-in { from { opacity: 0; transform: scale(1.08); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-20px); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop-in { 0% { opacity: 0; transform: translateY(42px) scale(.92) rotate(var(--rot, -2deg)); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes letters-in { 0% { opacity: 0; transform: translateY(40px) scale(.86); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes line-draw { from { stroke-dashoffset: var(--len, 2400); } }
@keyframes line-glow { 0% { stroke-dashoffset: 120; } 55%, 100% { stroke-dashoffset: calc(var(--len, 2400) * -1); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
@keyframes wiggle { 20% { transform: rotate(-10deg); } 45% { transform: rotate(8deg); } 70% { transform: rotate(-4deg); } 100% { transform: none; } }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; padding-left: 16px; }
  .f-bottom { margin-inline: 16px; }
  .f-bottom-row { padding-inline: 0; }
}
@media (max-width: 900px), (orientation: landscape) and (max-height: 500px) and (hover: none) {
  .site-header { grid-template-columns: auto 1fr; padding: 14px max(10px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
  .nav { display: none; }
  .btn-auth { width: auto; height: 44px; padding: 0 18px; font-size: 14px; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .burger-lines { position: relative; display: block; width: 20px; height: 14px; }
  .burger-lines i { position: absolute; left: 0; top: 6px; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), opacity .2s ease; }
  .burger-lines i:nth-child(1) { transform: translateY(-6px); }
  .burger-lines i:nth-child(3) { transform: translateY(6px); }
  .menu-open .burger-lines i:nth-child(1) { transform: rotate(45deg); }
  .menu-open .burger-lines i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .menu-open .burger-lines i:nth-child(3) { transform: rotate(-45deg); }
  html.menu-open { overflow: hidden; }
  .m-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 30;
    box-sizing: border-box;
    padding: 96px max(24px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(10, 10, 10, .92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }
  .menu-open .m-menu { visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .m-nav { display: flex; flex-direction: column; }
  .m-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font: 700 26px/34px var(--font-ka);
    letter-spacing: .01em;
    color: var(--ink);
    text-decoration: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .3s ease, transform .5s var(--ease-out);
  }
  .menu-open .m-nav a { opacity: 1; transform: none; transition-delay: calc(.05s + var(--i, 0) * .06s); }
  .m-nav a[aria-current="page"]::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
  .m-nav a .ico { width: 24px; height: 24px; margin-left: auto; color: var(--muted); }
}
@media (orientation: landscape) and (max-height: 500px) and (hover: none) {
  .m-nav a { padding-block: 11px; font-size: 22px; line-height: 30px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  /* phones on their side: tighter stack under the lettering so the arrow stays on the first screen */
  .hero { --cta: 100px; --tail: 60px; }
  .cta { gap: 12px; }
  .down { bottom: 8px; width: 30px; height: 30px; margin-left: -13px; }
}
@media (min-width: 761px) and (max-aspect-ratio: 7/5) {
  .hero { --sw: 100vw; --sh: 57.03vw; --st: max(84px, calc((var(--fold) - 57.03vw) / 2 - 30px)); }
  .hero-body::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 16%; background: linear-gradient(#000, rgba(0, 0, 0, 0)); pointer-events: none; }
}
/* ---------- Phones: the Figma mobile frame (13:399, 360px wide) ---------- */
.rail-wrap { position: relative; }
.rail-fade, .rail-next { display: none; }
@media (max-width: 760px) {
  /* card rows become swipeable rails, the next card peeking in under a fade with an arrow */
  .wrap { padding-inline: 0; }
  .sec-head { padding-inline: 16px; }
  .eyebrow { font-size: 12px; line-height: 14px; }
  .sec-title { max-width: 232px; margin: 14px auto 0; font-size: 24px; line-height: 33px; }
  .sec-title .br { display: block; }
  .sports { margin-top: 39px; }
  .instructors { margin-top: 69px; }
  .grid4 {
    display: flex;
    gap: 10px;
    margin: -12px 0 -32px;
    padding: 12px 16px 32px;  /* room for the hover lift and shadow inside the scrolling row */
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .rail-wrap { margin-top: 36px; }
  .instructors .rail-wrap { margin-top: 42px; }
  .grid4::-webkit-scrollbar { display: none; }
  .grid4 > * { flex: 0 0 313px; max-width: calc(100vw - 47px); scroll-snap-align: start; }
  .grid4 > [data-reveal].is-in { animation-name: rise; animation-duration: .7s; animation-timing-function: var(--ease-out); }
  .rail-fade {
    display: block;
    position: absolute;
    top: -9px;
    right: 0;
    bottom: -5px;
    width: 119px;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0), #111111 90%);
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .rail-next {
    display: grid;
    place-items: center;
    position: absolute;
    top: 50%;
    right: 6px;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, .1);
    cursor: pointer;
    transition: opacity .35s ease, color .25s ease;
  }
  .rail-next svg { width: 30px; height: 30px; fill: currentColor; animation: nudge 2.4s 2s ease-in-out infinite; }
  .rail-next:hover, .rail-next:focus-visible { color: rgba(255, 255, 255, .5); }
  .rail-wrap.at-end .rail-fade, .rail-wrap.at-end .rail-next { opacity: 0; pointer-events: none; }
  .scard h3 { left: 29px; top: 28px; }
  .s-ski img, .s-board img, .s-ask img { right: 28px; }
  .s-free img { right: 24px; }
  .icard { padding: 39px 23px 34px 26px; }

  /* the instructor sign-up box: everything centred, the illustration at the bottom */
  .join { flex-direction: column; align-items: center; gap: 0; min-height: 359px; margin: 68px 16px 0; padding: 33px 10px 10px; text-align: center; }
  .join-text { align-self: center; }
  .join h2 { font-size: 20px; line-height: 27px; }
  .join p { max-width: 260px; margin: 10px auto 0; font-size: 14px; line-height: 19px; }
  .join .btn-join { margin-top: 27px; }
  .join-art { align-self: center; width: min(307px, 100%); margin-top: 27px; }

  /* footer: one column */
  .footer { margin-top: 62px; padding-bottom: 41px; }
  .f-grid { grid-template-columns: minmax(0, 1fr); row-gap: 60px; padding: 0 16px 0 37px; }
  .f-grid > div:first-child { margin-bottom: -12px; }
  .f-logo { font-size: 16px; line-height: 19px; }
  .f-tag { max-width: 276px; margin-top: 8px; font-size: 12px; line-height: 16px; }
  .f-list a, .f-list span { white-space: normal; }
  .f-bottom { margin: 46px 16px 0; padding-top: 20px; }
  .f-bottom-row { grid-template-columns: minmax(0, 1fr); row-gap: 6px; padding: 0 0 0 21px; font-size: 10px; line-height: 14px; }
}
@media (max-width: 760px) and (orientation: portrait) {
  /* hero: photo on top (360 x 344 crop of the same picture), dark below, buttons and arrow at the bottom */
  .hero { height: var(--fold); min-height: calc(95.56vw + 241px); background: #000409; }
  .hero-body { left: 0; top: 0; width: 100%; height: 100%; transform: none; }
  .hero-body::after { display: none; }
  .hero-photo { inset: 0 0 auto; height: 95.56vw; object-position: 56.2% 0; }
  .site-header { padding: 18px 20px 0; }
  .logo svg { width: 73px; height: 21.25px; }
  .header-actions { gap: 4px; }
  .btn-auth { width: 129px; height: 42px; padding: 0; font-size: 13px; line-height: 16px; }
  .burger { margin-right: -7px; }
  .burger-lines { width: 21.75px; height: 16.9px; }
  .burger-lines i { top: 7.25px; height: 2.4px; border-radius: 0; }
  .burger-lines i:nth-child(1) { transform: translateY(-7.25px); }
  .burger-lines i:nth-child(3) { transform: translateY(7.25px); }
  .art { left: -18.06vw; top: 25.56vw; width: 138.06vw; }
  .ridge path { stroke-width: 6.5; }
  .ridge .glow { stroke-width: 14; }
  .letters { left: 17.1%; top: 20%; width: 67%; }
  .cta { top: auto; left: 16px; right: 16px; bottom: 79px; gap: 24px; transform: none; }
  .tagline { white-space: normal; }
  .tagline { box-sizing: border-box; width: 100%; max-width: 328px; min-height: 36px; padding: 8px 12px; font-size: 10px; line-height: 20px; }
  .tagline { padding-block: 0; }
  .down { bottom: 29px; width: 26px; height: 26px; margin-left: -13px; }
}
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: translateX(4px); } 90% { transform: translateX(-1px); } }
@media (hover: none) {
  .pill-btn:hover, .scard:hover, a.icard:hover { transform: none; box-shadow: none; }
  .scard:hover img, .join:hover .join-art img { transform: none; }
  .btn-arrow:hover .round, a.icard:hover .round { transform: none; }
  .pill-btn:active, .scard:active, a.icard:active { transform: scale(.97); transition-duration: .15s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .ridge .glow { display: none; }
}

/* ---------- GOODSKI chat widget (reference) ---------- */
.gs-chat { --c-blue: #278eff; --c-ink: #fff; --c-bg: #161616; --c-chip: #222; position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); font-family: "Noto Sans Georgian", "FiraGO", system-ui, sans-serif; }
.gs-chat * { box-sizing: border-box; }
.gs-fab { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; background: var(--c-blue); color: #fff; cursor: pointer; box-shadow: 0 12px 30px -8px rgba(39, 142, 255, .65), 0 2px 6px rgba(0, 0, 0, .3); transition: transform .35s cubic-bezier(.2, .9, .25, 1.18); animation: gs-in .6s .8s cubic-bezier(.2, .9, .25, 1.18) backwards; }
.gs-fab:hover { transform: translateY(-3px) scale(1.04); }
.gs-fab:active { transform: scale(.92); }
.gs-fab svg { width: 28px; height: 28px; fill: currentColor; transition: transform .35s cubic-bezier(.2, .9, .25, 1.18), opacity .2s ease; }
.gs-fab .x { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.6); }
.gs-chat.open .gs-fab .b { opacity: 0; transform: rotate(90deg) scale(.6); }
.gs-chat.open .gs-fab .x { opacity: 1; transform: none; }
.gs-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(39, 142, 255, .5); animation: gs-ring 2.6s 2s ease-out infinite; }
.gs-chat.open .gs-fab::after, .gs-chat.seen .gs-fab::after { animation: none; }
.gs-dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border: 2px solid #111; border-radius: 50%; background: #fc5000; }
.gs-chat.seen .gs-dot, .gs-chat.open .gs-dot { display: none; }
.gs-panel { position: absolute; right: 0; bottom: 76px; display: flex; flex-direction: column; width: 370px; height: min(560px, calc(100svh - 120px)); border-radius: 26px; background: var(--c-bg); color: var(--c-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); overflow: hidden; transform-origin: bottom right; animation: gs-pop .35s cubic-bezier(.2, .9, .25, 1.18); }
.gs-panel[hidden] { display: none; }
.gs-panel::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, #333 0%, #1e1e1e 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.gs-head { display: flex; align-items: center; gap: 12px; flex: none; padding: 18px 18px 16px; background: linear-gradient(180deg, #1d1d1d, #161616); border-bottom: 1px solid #242424; }
.gs-ava { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #101e38; color: var(--c-blue); font: 800 14px/1 "FiraGO", system-ui, sans-serif; }
.gs-head h2 { margin: 0; font: 700 15px/20px "Noto Sans Georgian", system-ui, sans-serif; }
.gs-head p { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font: 400 11px/14px "Noto Sans Georgian", system-ui, sans-serif; color: #9a9a9a; }
.gs-head p i { width: 7px; height: 7px; border-radius: 50%; background: #00ac67; box-shadow: 0 0 0 3px rgba(0, 172, 103, .18); }
.gs-close { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #242424; color: #fff; cursor: pointer; }
.gs-close svg { width: 16px; height: 16px; fill: currentColor; }
.gs-log { flex: 1; min-height: 0; margin: 0; padding: 16px 16px 8px; overflow-y: auto; list-style: none; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.gs-msg { display: flex; margin-top: 8px; animation: gs-up .3s cubic-bezier(.16, 1, .3, 1); }
.gs-msg p { max-width: 82%; margin: 0; padding: 10px 14px; border-radius: 18px 18px 18px 6px; background: var(--c-chip); font: 400 13px/19px "Noto Sans Georgian", system-ui, sans-serif; white-space: pre-line; }
.gs-msg p a { color: var(--c-blue); font-weight: 600; text-decoration: none; }
.gs-msg p a:hover { text-decoration: underline; }
.gs-msg.me { justify-content: flex-end; }
.gs-msg.me p { border-radius: 18px 18px 6px 18px; background: var(--c-blue); }
.gs-typing p { display: flex; gap: 4px; padding: 14px; }
.gs-typing i { width: 6px; height: 6px; border-radius: 50%; background: #777; animation: gs-bob 1s ease-in-out infinite; }
.gs-typing i:nth-child(2) { animation-delay: .15s; } .gs-typing i:nth-child(3) { animation-delay: .3s; }
.gs-quick { display: flex; gap: 6px; flex: none; padding: 6px 16px 10px; overflow-x: auto; scrollbar-width: none; }
.gs-quick::-webkit-scrollbar { display: none; }
.gs-quick button { flex: none; height: 32px; padding: 0 12px; border: 1px solid #2c2c2c; border-radius: 16px; background: #1c1c1c; color: #fff; font: 600 11px/15px "Noto Sans Georgian", system-ui, sans-serif; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.gs-quick button:hover { border-color: var(--c-blue); background: #202a36; }
.gs-form { display: flex; align-items: center; gap: 8px; flex: none; margin: 0 12px 12px; padding: 6px 6px 6px 18px; border: 1px solid transparent; border-radius: 26px; background: #222; transition: border-color .25s ease; }
.gs-form:focus-within { border-color: var(--c-blue); }
.gs-form input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; background: none; outline: none; color: #fff; font: 500 13px/18px "Noto Sans Georgian", system-ui, sans-serif; }
.gs-form input::placeholder { color: #5a5a5a; }
.gs-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--c-blue); color: #fff; cursor: pointer; transition: transform .3s cubic-bezier(.2, .9, .25, 1.18), opacity .2s ease; }
.gs-send:disabled { opacity: .35; cursor: default; }
.gs-send:not(:disabled):hover { transform: scale(1.06); }
.gs-send svg { width: 18px; height: 18px; fill: currentColor; }
.gs-note { flex: none; margin: -4px 0 10px; text-align: center; font: 400 10px/13px "Noto Sans Georgian", system-ui, sans-serif; color: #5a5a5a; }
@keyframes gs-in { from { opacity: 0; transform: scale(.4); } }
@keyframes gs-pop { from { opacity: 0; transform: translateY(14px) scale(.94); } }
@keyframes gs-up { from { opacity: 0; transform: translateY(8px); } }
@keyframes gs-bob { 50% { transform: translateY(-4px); background: #aaa; } }
@keyframes gs-ring { 0% { box-shadow: 0 0 0 0 rgba(39, 142, 255, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(39, 142, 255, 0); } }
@media (max-width: 520px) {
  .gs-chat { right: 14px; bottom: 14px; }
  .gs-chat.open .gs-fab { opacity: 0; pointer-events: none; }
  .gs-panel { position: fixed; inset: 0; width: auto; height: 100svh; border-radius: 0; transform-origin: bottom center; }
  .gs-panel::before { display: none; }
  .gs-head { padding-top: max(18px, env(safe-area-inset-top)); }
  .gs-form { margin-bottom: max(12px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .gs-chat *, .gs-fab::after { animation: none !important; transition: none !important; } }
/* ---------- Footer prefs + light theme (reference) ---------- */
/* Light theme: the dark design is turned over as a whole; photos are turned back so they keep their colours. */
html[data-theme="light"] { filter: invert(1) hue-rotate(180deg); background: #111; }
html[data-theme="light"] img, html[data-theme="light"] video, html[data-theme="light"] picture img, html[data-theme="light"] .keep-color { filter: invert(1) hue-rotate(180deg); }
html[data-theme="light"] picture img { filter: none; }
html[data-theme="light"] picture { filter: invert(1) hue-rotate(180deg); }
.gs-prefs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 22px; }
.gs-seg { display: inline-flex; gap: 3px; padding: 3px; border-radius: 20px; background: #1a1a1a; }
.gs-seg button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border: 0; border-radius: 16px; background: none; color: #9a9a9a; font: 600 12px/16px "Noto Sans Georgian", "FiraGO", system-ui, sans-serif; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.gs-seg button:hover { color: #fff; }
.gs-seg button[aria-pressed="true"] { background: #2b2b2b; color: #fff; }
.gs-seg svg { width: 15px; height: 15px; fill: currentColor; }

/* Parts drawn over a photo keep their dark look in the light theme. */
html[data-theme="light"] .hero { filter: invert(1) hue-rotate(180deg); }
html[data-theme="light"] .hero img { filter: none; }

/* ---------- Light theme polish (light is inverted dark; keep real photos/maps/accents correct) ---------- */
html[data-theme="light"] iframe, html[data-theme="light"] .leaflet-container, html[data-theme="light"] canvas.keep-color, html[data-theme="light"] .photo img, html[data-theme="light"] .hero-photo, html[data-theme="light"] .join-art img { filter: invert(1) hue-rotate(180deg); }
html[data-theme="light"] .eyebrow.yellow, html[data-theme="light"] .badge-ui.yellow { filter: invert(1) hue-rotate(180deg); color: #b87900; }
html[data-theme="light"] .rate, html[data-theme="light"] .pill-ok, html[data-theme="light"] .pill-cancel, html[data-theme="light"] .pill-wait2 { filter: invert(1) hue-rotate(180deg); }
html[data-theme="light"] :focus-visible { outline-color: #111; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* submit-once feedback */
button.is-busy, input.is-busy { position: relative; cursor: progress; opacity: .7; }
button.is-busy::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: gs-spin .7s linear infinite; }
@keyframes gs-spin { to { transform: rotate(360deg); } }
html[data-theme="light"] .ia-out, html[data-theme="light"] .ia-btn.red, html[data-theme="light"] .ia-btn.ok, html[data-theme="light"] .chip.paid, html[data-theme="light"] .chip.wait, html[data-theme="light"] .chip.cancel { filter: invert(1) hue-rotate(180deg); }
/* visually hidden but read by search engines and screen readers */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }


/* ===== Design artwork (from the GOODSKI design artifact): sport cards + join banner ===== */
.scard .art-l { display: none; }
html[data-theme="light"] .scard .art-d { display: none; }
html[data-theme="light"] .scard .art-l { display: block; }
.scard .art.art { position:absolute !important; inset:auto !important; right:12px !important; bottom:12px !important; top:auto !important; left:auto !important; width:auto !important; height:72% !important; max-width:66% !important; object-fit:contain !important; z-index:0 !important; transform:none !important; transition: transform .6s var(--ease-pop); }
.scard h3 { position:relative; z-index:2; }
@media (hover: hover) { .scard:hover .art.art { transform: translateY(-6px) rotate(-2deg) !important; } }
.join-art .ja-day { display:none !important; }
html[data-theme="light"] .join-art .ja-night { display:none !important; }
html[data-theme="light"] .join-art .ja-day { display:block !important; }
.join-art { width:auto !important; align-self:flex-end !important; margin-bottom:-2px !important; }
.join-art img { width:auto !important; max-width:100%; height:330px !important; object-fit:contain; border-radius:0; margin-left:auto; -webkit-mask-image: radial-gradient(ellipse 52% 60% at 50% 60%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 52% 60% at 50% 60%, #000 62%, transparent 100%); }
@media (max-width:720px){ .join-art img { height:220px !important; margin:0 auto; } }
