@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&display=swap');

:root {
  --ink: #141716;
  --paper: #fbfaf7;
  --soft: #f1f0ea;
  --muted: #6d746e;
  --line: #d8dad2;
  --accent: #ee704d;
  --blue: #d9e6f5;
  --lime: #dfe7a4;
  --sand: #eee3d2;
  --pink: #f0d9da;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }

.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { font-size: 24px; font-weight: 800; letter-spacing: -.08em; }
.brand span, .eyebrow i { color: var(--accent); }
.nav nav { display: flex; gap: 28px; color: var(--muted); font-size: 12px; }
.nav nav a:hover, .nav-mail:hover { color: var(--ink); }
.nav-mail { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.075em; line-height: .9; }
h1 { font-size: clamp(59px, 8vw, 106px); }
h2 { font-size: clamp(52px, 7vw, 88px); }
h1 em, h2 em { font-family: inherit; font-weight: 500; }

.hero {
  display: grid;
  grid-template-columns: 1fr .93fr;
  gap: 84px;
  align-items: center;
  min-height: 620px;
}

.lead { max-width: 430px; margin: 30px 0; color: var(--muted); font-size: 16px; }
.actions { display: flex; gap: 24px; align-items: center; font-size: 12px; }
.button { display: inline-block; padding: 14px 18px; background: var(--ink); color: white; font-size: 12px; font-weight: 700; }
.button:hover { background: var(--accent); }

.hero-image { position: relative; height: 495px; margin: 0; padding: 7px; overflow: hidden; background: white; box-shadow: 0 18px 42px rgba(35, 42, 38, .12); }
.hero-image img { width: 100%; height: 100%; object-fit: contain; }
.hero-image figcaption { position: absolute; bottom: 16px; left: 16px; padding: 9px 11px; background: rgba(8, 19, 33, .9); color: white; font-size: 10px; font-weight: 800; letter-spacing: .07em; line-height: 1.45; }
.hero-image figcaption span { color: #d6e3f3; font-size: 8px; letter-spacing: .14em; }

.climber { padding: 112px 0; background: var(--soft); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; }
.section-heading > p { max-width: 245px; margin: 0 3px 5px; color: var(--muted); font-size: 13px; }

.intro-grid, .athlete-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.intro-grid > img, .athlete-grid > img, .gallery > img { width: 100%; height: auto; padding: 7px; object-fit: contain; background: white; box-shadow: 0 18px 42px rgba(35, 42, 38, .1); }
.bio { max-width: 455px; }
.bio h3 { margin-bottom: 24px; font-size: clamp(27px, 3vw, 40px); letter-spacing: -.055em; line-height: 1.05; }
.bio > p { color: #4e5650; font-size: 16px; }
.bio blockquote { margin: 30px 0 0; padding-left: 16px; border-left: 2px solid var(--accent); font-size: 18px; font-style: italic; line-height: 1.45; }

.athlete-grid { grid-template-columns: .86fr 1.14fr; margin-top: 80px; }
.athlete-grid > img { width: auto; max-width: 100%; max-height: 500px; justify-self: end; }
dl { margin: 0; border-top: 1px solid var(--line); }
dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; text-align: right; }

.achievements { margin-top: 95px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); }
.label-row > span { color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 54px; margin: 0; padding: 0; list-style: none; }
li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
li span { color: var(--muted); font-size: 11px; text-align: right; }

.gallery { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; margin-top: 58px; }
.gallery p { max-width: 290px; margin: 0; color: #4e5650; font-size: 18px; line-height: 1.5; }
.gallery .eyebrow { display: block; margin-bottom: 17px; font-family: inherit; font-size: 10px; }
.supporters { margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.supporters .eyebrow { display: inline-flex; align-items: center; }
.supporter-logos { display: flex; align-items: center; justify-content: center; gap: 54px; min-height: 184px; }
.supporter-logo { display: flex; align-items: center; justify-content: center; }
.supporter-logo img { display: block; mix-blend-mode: multiply; object-fit: contain; }
.slovenia-logo { width: 130px; height: auto; overflow: visible; }
.slovenia-logo img { width: 130px; max-width: none; transform: none; }
.ocun-logo { width: 190px; }
.ocun-logo img { width: 190px; }

.developer { padding: 120px 0; }
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-card { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(145px, .58fr); gap: 12px; align-items: center; min-height: 520px; padding: 28px; }
.app-card.wayup { position: relative; overflow: hidden; background: linear-gradient(135deg, #EF7B45 0%, #8FA1E0 100%); color: #10254b; }
.app-card.wayup::after { content: ""; position: absolute; right: -100px; bottom: -150px; width: 330px; height: 330px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.app-card.highfive { position: relative; overflow: hidden; background: #f58220; color: white; }
.app-card.highfive::after { content: ""; position: absolute; right: -70px; bottom: -85px; width: 260px; height: 260px; border-radius: 50%; background: linear-gradient(135deg, #ffbe39 0%, #6936bd 100%); opacity: .5; }
.app-card > div { position: relative; z-index: 2; }
.app-card > img { position: relative; z-index: 1; justify-self: end; }
.app-card h3 { margin: 0 0 18px; font-size: clamp(39px, 3.6vw, 58px); letter-spacing: -.08em; line-height: .89; }
.app-card > div > p:not(.eyebrow) { max-width: 280px; font-size: 13px; }
.app-card > img { width: 86%; height: 370px; object-fit: contain; }
.wayup .eyebrow { color: #23426f; }
.highfive .eyebrow { color: #fff4dd; }
.wayup .tags span { border-color: #183763; color: #10254b; }
.highfive .tags span { border-color: #fff; color: #fff; }
.wayup a { border-color: #10254b; }
.highfive small { color: #fff5e4; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 23px 0; }
.tags span, .tools div span { padding: 6px 8px; border: 1px solid currentColor; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.app-card small { color: #5e6d77; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.app-card a { font-size: 12px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.app-store-links { display: flex; flex-wrap: wrap; gap: 9px; margin: 16px 0 0; font-size: 9px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.app-store-links span { opacity: .7; }
.app-store-links a { font-size: inherit; }

.tools { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; padding: 70px 0 82px; border-bottom: 1px solid var(--line); }
.tools p { max-width: 310px; margin: 0; font-size: 16px; line-height: 1.55; }
.tools .eyebrow { display: block; margin-bottom: 15px; font-family: inherit; }
.tools div { display: flex; flex-wrap: wrap; align-content: start; gap: 7px; }
.website-label { margin-top: 76px; }
.websites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.websites a { display: flex; flex-direction: column; min-height: 215px; padding: 20px; transition: transform .2s ease; }
.websites a:hover { transform: translateY(-4px); }
.websites .lime { background: var(--lime); }.websites .sand { background: var(--sand); }.websites .pink { background: var(--pink); }
.websites span, .websites p { font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }.websites p { margin: auto 0 7px; }
.websites strong { font-size: 29px; letter-spacing: -.06em; line-height: 1; }.websites b { align-self: end; font-size: 19px; }

.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 120px 0; border-top: 1px solid var(--line); }
.socials h2 { font-size: clamp(54px, 7vw, 88px); }.socials > div > p:not(.eyebrow) { max-width: 285px; color: var(--muted); font-size: 16px; }
.social-links { padding-top: 24px; }.social-links a { display: block; padding: 16px 0; border-top: 1px solid var(--line); font-size: 19px; letter-spacing: -.04em; }.social-links a:last-child { border-bottom: 1px solid var(--line); }
.social-links small { display: block; margin: 4px 0 0 24px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.contact { padding: 106px 0 92px; background: var(--accent); }.contact .eyebrow { display: inline-flex; align-items: center; padding: 8px 10px; background: var(--ink); color: white; font-size: 10px; }.contact .eyebrow i { background: white; }.contact h2 { font-size: clamp(64px, 9vw, 128px); }.contact p:not(.eyebrow) { max-width: 365px; }.light { background: white; color: var(--ink); }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 5; display: inline-flex; align-items: center; gap: 7px; padding: 10px 12px; background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(20, 23, 22, .18); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.back-to-top:hover { background: var(--accent); }.back-to-top span { font-size: 9px; }
footer { display: flex; align-items: center; justify-content: space-between; height: 76px; color: var(--muted); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }footer a { color: var(--ink); }

@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }.nav { height: 70px; }.nav nav { display: flex; gap: 13px; font-size: 10px; }.nav nav a[href="#socials"] { display: none; }.nav-mail { font-size: 10px; }
  .hero, .intro-grid, .athlete-grid, .gallery, .tools, .socials { display: block; }.hero { min-height: 0; padding: 72px 0 52px; }.hero-image { height: 380px; margin-top: 55px; }
  .section-heading { display: block; margin-bottom: 40px; }.section-heading > p { margin: 25px 0 0; }
  .climber, .developer, .socials { padding: 80px 0; }.bio { padding-top: 38px; }.athlete-grid { margin-top: 58px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }.athlete-grid > img { display: none; }
  .achievements { margin-top: 65px; }ol { grid-template-columns: 1fr; }.gallery { margin-top: 46px; }.gallery p { margin-top: 28px; }.supporters { margin-top: 65px; }.supporter-logos { flex-direction: column; align-items: center; gap: 18px; min-height: 0; }.slovenia-logo, .slovenia-logo img { width: 112px; height: auto; transform: none; }.ocun-logo, .ocun-logo img { width: 148px; }
  .apps, .websites { grid-template-columns: 1fr; }.app-card { display: flex; flex-direction: column; min-height: 0; padding: 25px; }.app-card > img { height: 410px; margin-top: 25px; }
  .tools { padding: 55px 0 68px; }.tools div { margin-top: 32px; }.websites a { min-height: 180px; }.website-label { margin-top: 65px; }
  .social-links { padding-top: 42px; }.contact { padding: 80px 0 68px; }.back-to-top { right: 16px; bottom: 16px; padding: 9px 10px; }footer { height: auto; flex-wrap: wrap; gap: 12px; padding: 25px 0; }footer span:nth-child(2) { width: 100%; }
}
