:root {
  --asphalt: #101214;
  --carbon: #191d21;
  --panel: #f6f3ed;
  --paper: #fffaf0;
  --red: #e22b2b;
  --orange: #ff8a00;
  --cyan: #00a3ff;
  --lime: #c7ff3d;
  --ink: #111318;
  --muted: #646b73;
  --line: rgba(17, 19, 24, 0.16);
  --shadow: 0 30px 90px rgba(10, 12, 16, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 10%, rgba(226, 43, 43, 0.22), transparent 24rem),
    radial-gradient(circle at 92% 0, rgba(0, 163, 255, 0.2), transparent 25rem),
    linear-gradient(180deg, #f6f3ed 0, #e9e3d8 52%, #d9d0c2 100%);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 58px);
  border-bottom: 3px solid var(--red);
  background: rgba(16, 18, 20, 0.95);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--red);
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--red), var(--orange)),
    var(--carbon);
  color: #fff;
  font-weight: 1000;
  letter-spacing: -0.08em;
  box-shadow: 8px 8px 0 rgba(0, 163, 255, 0.35);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 21px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.brand small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 8px;
}

nav a,
.button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
.button:hover {
  background: var(--red);
  color: #fff;
}

main {
  width: min(1640px, calc(100% - 34px));
  margin: 0 auto;
  padding: 16px 0 42px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 500px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(110deg, rgba(16, 18, 20, 0.96) 0, rgba(16, 18, 20, 0.86) 44%, rgba(16, 18, 20, 0.18) 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 22px),
    radial-gradient(circle at 78% 34%, rgba(0, 163, 255, 0.48), transparent 18rem),
    url("assets/facebook/vicmar-01.jpg") center / cover no-repeat,
    linear-gradient(135deg, #20252b, #0e1114);
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(226, 43, 43, 0.78) 50% 52%, transparent 52%),
    linear-gradient(0deg, transparent 0 48%, rgba(199, 255, 61, 0.28) 48% 49%, transparent 49%);
  opacity: 0.45;
  transform: skewX(-12deg) scale(1.08);
}

.hero::after {
  content: "RUN BIKE SWIM";
  position: absolute;
  right: -40px;
  bottom: 34px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(54px, 9vw, 150px);
  font-weight: 1000;
  letter-spacing: -0.08em;
  transform: rotate(-7deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: clamp(28px, 5vw, 70px);
  color: #fff;
}

.eyebrow,
.tag {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 900px;
  margin-top: 20px;
  color: #fff;
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 1000;
  letter-spacing: -0.075em;
  line-height: 0.86;
  text-transform: uppercase;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 1000;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

h3 {
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.lead,
.muted,
.section p,
footer {
  color: var(--muted);
  line-height: 1.7;
}

.hero .lead {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.hero-card {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 42px);
  z-index: 2;
  width: min(430px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(16, 18, 20, 0.78);
  color: #fff;
  padding: 20px;
  backdrop-filter: blur(12px);
}

.hero-card img {
  display: block;
  width: 100%;
  height: 150px;
  margin-bottom: 14px;
  border-radius: 14px;
  object-fit: cover;
}

.hero-card span {
  color: var(--lime);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  margin-top: 16px;
  border: 1px solid rgba(16, 18, 20, 0.13);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.88);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 18px 60px rgba(20, 18, 14, 0.08);
}

.story,
.feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: center;
}

.story p,
.feature p {
  font-size: 18px;
}

.discipline-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.discipline-grid article,
.contact-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  padding: 20px;
}

.discipline-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(226, 43, 43, 0.11);
}

.discipline-grid img {
  width: 100%;
  max-width: 150px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 14px;
}

.discipline-grid h2,
.discipline-grid p,
.contact-grid p {
  margin-top: 14px;
}

.gallery-head {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.gallery-grid figure {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #101214;
}

.gallery-grid figure:first-child {
  grid-row: span 2;
  min-height: 470px;
}

.gallery-grid figure::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(16, 18, 20, 0.42), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.short-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--asphalt);
}

.short-note p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.86);
}

.feature {
  background:
    linear-gradient(135deg, rgba(16, 18, 20, 0.94), rgba(226, 43, 43, 0.82)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 8px, transparent 8px 20px);
}

.feature h2,
.feature p {
  color: #fff;
}

footer {
  width: min(1640px, calc(100% - 34px));
  margin: 0 auto;
  padding: 0 0 36px;
  font-size: 14px;
}

footer p + p {
  margin-top: 8px;
}

@media (max-width: 1000px) {
  .site-header,
  nav,
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 640px;
  }

  .hero-card {
    right: 22px;
    left: 22px;
    width: auto;
  }

  .story,
  .feature {
    grid-template-columns: 1fr;
  }

  .discipline-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .short-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid figure:first-child {
    grid-row: auto;
    min-height: 230px;
  }
}

@media (max-width: 560px) {
  main,
  footer {
    width: calc(100% - 22px);
  }

  .hero {
    min-height: 590px;
    border-radius: 18px;
  }

  .hero-copy,
  .section {
    padding: 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 44px;
  }
}
