/* ==========================================================================
   Stefan Jacenko — personal trainer, Novi Sad
   Concept: a gym floor in the colours of competition plates.
   Sections change colour like plates on a bar: black, red, white, blue, grey.
   Everything sits on one central axis; grids are equal-column and symmetrical.
   ========================================================================== */

:root {
  --black: #000000;
  --white: #ffffff;
  --red: #e4002b;
  --red-lit: #ff3b4e;
  --blue: #0a2a66;
  --grey: #ececec;

  --display: "Anybody", "Arial Narrow", Impact, sans-serif;
  --body: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4.5vw, 48px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- section colourways ---------- */
.s-black {
  --bg: var(--black);
  --fg: var(--white);
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.2);
  --accent: var(--red-lit);
  --hover-bg: var(--white);
  --hover-fg: var(--black);
  --hover-muted: rgba(0, 0, 0, 0.66);
  --accent-hover: var(--red);
}

.s-white {
  --bg: var(--white);
  --fg: var(--black);
  --muted: rgba(0, 0, 0, 0.68);
  --line: rgba(0, 0, 0, 0.18);
  --accent: var(--red);
  --hover-bg: var(--black);
  --hover-fg: var(--white);
  --hover-muted: rgba(255, 255, 255, 0.72);
  --accent-hover: var(--red-lit);
}

.s-red {
  --bg: var(--red);
  --fg: var(--white);
  --muted: rgba(255, 255, 255, 0.9);
  --line: rgba(255, 255, 255, 0.42);
  --accent: var(--black);
  --hover-bg: var(--black);
  --hover-fg: var(--white);
  --hover-muted: rgba(255, 255, 255, 0.72);
  --accent-hover: var(--red-lit);
}

.s-blue {
  --bg: var(--blue);
  --fg: var(--white);
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.24);
  --accent: #ff5468;
  --hover-bg: var(--white);
  --hover-fg: var(--black);
  --hover-muted: rgba(0, 0, 0, 0.68);
  --accent-hover: var(--red);
}

.s-grey {
  --bg: var(--grey);
  --fg: var(--black);
  --muted: rgba(0, 0, 0, 0.7);
  --line: rgba(0, 0, 0, 0.2);
  --accent: var(--red);
  --hover-bg: var(--black);
  --hover-fg: var(--white);
  --hover-muted: rgba(255, 255, 255, 0.72);
  --accent-hover: var(--red-lit);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - var(--pad) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  border-radius: 999px;
  transition: top 0.25s var(--ease);
}

.skip-link:focus-visible {
  top: 14px;
}

/* ---------- section shell ---------- */
.s {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(88px, 11vw, 160px);
}

.display {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0;
}

.head {
  max-width: 860px;
  margin: 0 auto clamp(48px, 6vw, 84px);
  text-align: center;
}

.head h2 {
  font-size: clamp(2.7rem, 6.6vw, 5.8rem);
}

.head-sub {
  max-width: 56ch;
  margin: 22px auto 0;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--muted);
}

/* ---------- lottie hosts ---------- */
.lottie {
  display: block;
  color: inherit;
  aspect-ratio: 1;
}

.lottie svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* authored colours -> theme colours: white = ink, red = accent */
.lottie svg [stroke="rgb(255,255,255)"] { stroke: currentColor; }
.lottie svg [fill="rgb(255,255,255)"] { fill: currentColor; }
.lottie svg [stroke="rgb(255,0,0)"] { stroke: var(--accent); }
.lottie svg [fill="rgb(255,0,0)"] { fill: var(--accent); }
.lottie svg [stroke="rgb(0,0,255)"] { stroke: var(--lottie-blue, #0a2a66); }
.lottie svg [fill="rgb(0,0,255)"] { fill: var(--lottie-blue, #0a2a66); }

.tile-icon {
  width: clamp(84px, 8vw, 108px);
  flex: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 36px;
  border: 2px solid var(--fg, currentColor);
  border-radius: 999px;
  font-family: var(--body);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: none;
}

.btn-fill {
  background: var(--fg);
  color: var(--bg);
}

.btn-fill:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-line:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn-sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.95rem;
}

/* ---------- tiles: shared-border grid, invert on hover ---------- */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(30px, 3.4vw, 52px) clamp(22px, 2.4vw, 38px);
  background: var(--bg);
  color: var(--fg);
  text-align: center;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.tile:hover,
.tile:focus-within {
  background: var(--hover-bg);
  color: var(--hover-fg);
  --muted: var(--hover-muted);
  --accent: var(--accent-hover);
}

.tile h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1;
  text-transform: uppercase;
}

.tile p {
  max-width: 34ch;
  color: var(--muted);
}

.tile-tag {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
}

.tile-tag::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 12px;
  background: var(--accent);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(0, 0, 0, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
}

.nav-links a {
  position: relative;
  display: block;
  padding-block: 8px;
  font-weight: 500;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 2px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}

.nav-right .btn {
  --fg: var(--white);
  --bg: var(--black);
}

.lang-switch {
  display: inline-flex;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  min-width: 44px;
  padding: 7px 12px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.is-active {
  background: var(--white);
  color: var(--black);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 130;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease);
}

.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: var(--black);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: calc(var(--nav-h) + 16px) var(--pad) 40px;
  text-align: center;
}

.mobile-menu ul {
  display: grid;
  gap: 4px;
}

.mobile-menu ul a {
  display: block;
  padding-block: 6px;
  font-family: var(--display);
  font-size: clamp(2.3rem, 11vw, 3.4rem);
  font-weight: 800;
  font-stretch: 78%;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s var(--ease);
}

.mobile-menu ul a:hover {
  color: var(--red-lit);
}

/* ==========================================================================
   Hero (black)
   Portrait on the axis, a red plate-disc behind it, equipment and metric
   cards floating in matching pairs either side.
   ========================================================================== */
.hero {
  --pw: min(clamp(220px, 22vw, 330px), 38svh);
  --gap: clamp(64px, 8vw, 120px);
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vh, 72px));
  padding-bottom: clamp(72px, 9vw, 120px);
  text-align: center;
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--pw) minmax(0, 1fr);
  grid-template-areas:
    "first photo last"
    "role role role";
  align-items: center;
  column-gap: var(--gap);
}

.hero-title {
  display: contents;
}

.hero-first,
.hero-last {
  position: relative;
  z-index: 2;
  font-family: var(--display);
  font-weight: 900;
  /* the two names are width-matched with font-stretch so both sit the same distance from the axis */
  font-size: min(6.2vw, 5.8rem);
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  animation: name-in 1.3s var(--ease) 0.15s both;
}

.hero-first {
  grid-area: first;
  text-align: right;
  font-stretch: 90%;
  --from: 50%;
  --to: 90%;
}

.hero-last {
  grid-area: last;
  text-align: left;
  font-stretch: 74%;
  --from: 50%;
  --to: 74%;
}

@keyframes name-in {
  from {
    font-stretch: var(--from);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  to {
    font-stretch: var(--to);
    opacity: 1;
  }
}

.hero-role {
  grid-area: role;
  margin-top: clamp(24px, 3vw, 36px);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 700;
  font-stretch: 100%;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--red-lit);
  animation: rise 0.9s var(--ease) 0.9s both;
}

.hero-photo {
  grid-area: photo;
  position: relative;
  width: var(--pw);
}

.hero-disc {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 0;
  width: calc(var(--pw) * 1.2);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 calc(var(--pw) * 0.05) var(--black),
    0 0 0 calc(var(--pw) * 0.05 + 2px) rgba(255, 255, 255, 0.28);
  animation: disc-in 1s var(--ease) 0.1s both;
}

@keyframes disc-in {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.hero-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: #111;
  clip-path: inset(100% 0 0 0);
  animation: frame-in 1.1s var(--ease) 0.3s forwards;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  transform: scale(1.28);
  transform-origin: 50% 14%;
}

@keyframes frame-in {
  to { clip-path: inset(0 0 0 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- floaters ---------- */
.floaters {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.floater {
  --accent: var(--red-lit);
  --lottie-blue: #153f9a;
  position: absolute;
  top: var(--y);
  width: calc(var(--pw) * var(--s));
  aspect-ratio: 1;
  color: var(--white);
  pointer-events: auto;
  transform: translate3d(calc(var(--mx, 0) * var(--depth) * 18px), calc(var(--my, 0) * var(--depth) * 12px), 0) rotate(var(--r, 0deg));
  transition: transform 0.6s var(--ease), scale 0.35s var(--ease);
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55));
}

.floater:hover {
  scale: 1.1;
}

.floater .lottie {
  animation: bob var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate;
}

@keyframes bob {
  from { transform: translateY(-8px) rotate(-2deg); }
  to { transform: translateY(9px) rotate(2deg); }
}

/* x = how far the item sits beyond the portrait edge (in portrait widths) */
.fl-left { left: calc(var(--pw) * var(--x) * -1); }
.fl-right { right: calc(var(--pw) * var(--x) * -1); }

.f-dumbbell { --x: 0.38; --s: 0.34; --y: 0%; --r: -6deg; --depth: 1; --dur: 6.4s; --delay: -1s; }
.f-heart { --x: 0.3; --s: 0.44; --y: 36%; --r: 0deg; --depth: -0.6; --dur: 7.6s; --delay: -3.2s; }
.f-kettlebell { --x: 0.32; --s: 0.3; --y: 70%; --r: 5deg; --depth: 0.8; --dur: 6.9s; --delay: -2s; }
.f-plate { --x: 0.38; --s: 0.34; --y: 0%; --r: 6deg; --depth: -1; --dur: 6.4s; --delay: -4s; }
.f-chart { --x: 0.3; --s: 0.44; --y: 36%; --r: 0deg; --depth: 0.6; --dur: 7.6s; --delay: -1.4s; }
.f-scale { --x: 0.32; --s: 0.32; --y: 70%; --r: -5deg; --depth: -0.8; --dur: 6.9s; --delay: -5s; }

.hero-message {
  max-width: 34ch;
  margin: clamp(24px, 3.4vw, 40px) auto 0;
  font-size: clamp(1.4rem, 2.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}

.hero-text {
  max-width: 54ch;
  margin: 14px auto 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 34px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(30px, 4vw, 48px);
  color: var(--muted);
  font-weight: 500;
}

.hero-proof li {
  padding-inline: clamp(14px, 2.4vw, 32px);
}

.hero-proof li + li {
  border-left: 1px solid var(--line);
}

/* ==========================================================================
   Marquee band (red)
   ========================================================================== */
.band {
  overflow: hidden;
  padding-block: clamp(14px, 2vw, 22px);
  background: var(--bg);
  color: var(--fg);
}

.band-track {
  display: flex;
  width: max-content;
  animation: band 42s linear infinite;
}

.band:hover .band-track {
  animation-play-state: paused;
}

.band-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-weight: 800;
  font-stretch: 70%;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.band-track span::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  margin-inline: 0.9em;
  border: 0.12em solid currentColor;
  border-radius: 50%;
}

@keyframes band {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   About (blue): photo on the axis, credentials either side
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.78fr) 1fr;
  grid-template-areas:
    "a photo c"
    "b photo d";
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-grid .tile:nth-of-type(1) { grid-area: a; }
.about-grid .tile:nth-of-type(2) { grid-area: b; }
.about-grid .tile:nth-of-type(3) { grid-area: c; }
.about-grid .tile:nth-of-type(4) { grid-area: d; }

.about-photo {
  grid-area: photo;
  position: relative;
  overflow: hidden;
  background: #111;
  min-height: 420px;
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.12);
  transform-origin: 50% 14%;
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}

.about-photo:hover img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.18);
}

.about-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  max-width: 980px;
  margin: clamp(48px, 6vw, 80px) auto 0;
  color: var(--muted);
}

/* ==========================================================================
   Services (black)
   ========================================================================== */
.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

.cta-row p {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 600;
}

/* ==========================================================================
   Approach (white): the one real sequence, so it keeps numbers
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 36px);
}

.steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 3px;
  background: var(--line);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 3px solid var(--fg);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.step:hover .step-num,
.step:focus-within .step-num {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  transform: scale(1.14);
}

.step .tile-icon {
  margin-top: 18px;
}

.step h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  font-stretch: 86%;
  text-transform: uppercase;
  line-height: 1;
}

.step p {
  max-width: 28ch;
  color: var(--muted);
}

/* ==========================================================================
   Location (grey)
   ========================================================================== */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: stretch;
}

.loc-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  align-content: stretch;
}

.loc-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 22px;
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.6vw, 36px);
  background: var(--bg);
  color: var(--fg);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.loc-item:hover,
.loc-item:focus-within {
  background: var(--hover-bg);
  color: var(--hover-fg);
  --muted: var(--hover-muted);
  --accent: var(--accent-hover);
}

.loc-item .lottie {
  width: 92px;
}

.loc-item h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  font-stretch: 86%;
  text-transform: uppercase;
  line-height: 1;
}

.loc-item p {
  margin-top: 8px;
  color: var(--muted);
}

.loc-map {
  position: relative;
  min-height: 380px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.loc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s var(--ease);
}

.loc-map:hover iframe {
  filter: grayscale(0.2) contrast(1);
}

/* ==========================================================================
   Contact (black)
   ========================================================================== */
.contact {
  overflow: hidden;
  text-align: center;
}

.contact-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
}

.contact-head h2 {
  font-size: clamp(2.8rem, 7.2vw, 6.4rem);
}

.contact-icon {
  width: clamp(88px, 11vw, 160px);
  justify-self: center;
}

.contact-sub {
  max-width: 54ch;
  margin: clamp(22px, 3vw, 34px) auto 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 44px);
}

.contact-actions .btn {
  min-height: 64px;
  padding-inline: 44px;
  font-size: 1.1rem;
}

.channels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: clamp(48px, 6vw, 80px);
  background: var(--line);
  border: 1px solid var(--line);
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 28px 12px;
  background: var(--bg);
  color: var(--fg);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.channel:hover,
.channel:focus-visible {
  background: var(--hover-bg);
  color: var(--hover-fg);
  --muted: var(--hover-muted);
}

.channel-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.channel:hover .channel-icon {
  transform: rotate(-12deg) scale(1.1);
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.channel-label {
  font-size: 0.9rem;
  color: var(--muted);
}

.channel-value {
  font-weight: 600;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--white);
  --muted: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: clamp(56px, 7vw, 88px);
  text-align: center;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(44px, 6vw, 72px);
}

.footer-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.footer-name {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 800;
  font-stretch: 80%;
  text-transform: uppercase;
  line-height: 1;
}

.footer-role,
.footer-city {
  color: var(--muted);
}

.footer-heading {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.05rem;
}

.footer li + li {
  margin-top: 8px;
}

.footer-list a {
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.footer-list a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
  color: var(--muted);
}

.footer__dev{
  color: var(--red);
  transition: color 0.5s ease;
}

.footer__dev:hover{
  color: var(--grey);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-cta {
    display: none;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .channels {
    grid-template-columns: repeat(6, 1fr);
  }

  .channels .channel:nth-child(-n + 3) { grid-column: span 2; }
  .channels .channel:nth-child(n + 4) { grid-column: span 3; }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .nav-right .lang-switch {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  /* backdrop-filter would make the header the containing block of the fixed menu */
  .menu-open .site-header {
    background: var(--black);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero {
    --pw: min(300px, 62vw);
  }

  .hero-stage {
    grid-template-columns: 1fr;
    grid-template-areas:
      "first"
      "last"
      "photo"
      "role";
    row-gap: 0;
  }

  .hero-first,
  .hero-last {
    text-align: center;
    font-size: clamp(3.4rem, 17vw, 6.4rem);
  }

  .hero-photo {
    justify-self: center;
    margin-top: 28px;
  }

  .f-dumbbell { --x: 0.2; --s: 0.36; --y: 0%; }
  .f-kettlebell { --x: 0.2; --s: 0.34; --y: 70%; }
  .f-plate { --x: 0.2; --s: 0.36; --y: 0%; }
  .f-scale { --x: 0.2; --s: 0.36; --y: 70%; }
  .f-heart,
  .f-chart { display: none; }

  .hero-role {
    margin-top: 26px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo photo"
      "a c"
      "b d";
  }

  .about-photo {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .about-bio {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .steps::before {
    display: none;
  }

  .loc-grid {
    grid-template-columns: 1fr;
  }

  .loc-map {
    min-height: 320px;
  }

  .contact-head {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "h h"
      "l r";
  }

  .contact-head h2 {
    grid-area: h;
  }

  .contact-head .contact-icon:first-child {
    grid-area: l;
    justify-self: end;
  }

  .contact-head .contact-icon:last-child {
    grid-area: r;
    justify-self: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "a"
      "b"
      "c"
      "d";
  }

  .steps {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .hero-proof {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .hero-proof li + li {
    border-left: 0;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .loc-item {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .loc-item .lottie {
    width: 72px;
  }

  .channels {
    grid-template-columns: 1fr;
  }

  .channels .channel:nth-child(n) {
    grid-column: auto;
  }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .band-track {
    animation: none;
  }

  .hero-first,
  .hero-last,
  .hero-role {
    animation: none;
  }

  .hero-frame {
    animation: none;
    clip-path: none;
  }

  .hero-disc,
  .floater .lottie {
    animation: none;
  }

  .floater {
    transform: rotate(var(--r, 0deg));
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001s !important;
  }
}
