/* Sandi Kecanovic - Mental Performance */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #090909;
  --ink-soft: #121212;
  --paper: #f2f0e9;
  --white: #fff;
  --muted: #a3a39d;
  --line: rgba(255,255,255,.16);
  --signal: #d9ff43;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", Arial, sans-serif;
  --wrap: min(1200px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 980px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { z-index: 1000; top: 12px; left: 12px; background: var(--signal); color: var(--ink); padding: 10px 16px; }

/* Navigation */
.nav {
  position: fixed; inset: 14px 0 auto; z-index: 100;
  transition: transform .25s;
}
.nav__inner {
  min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 9px 12px 9px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(9,9,9,.68);
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  backdrop-filter: blur(18px) saturate(130%);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.nav.scrolled .nav__inner { background: rgba(9,9,9,.93); border-color: rgba(255,255,255,.16); box-shadow: 0 14px 50px rgba(0,0,0,.34); }
.nav__brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; line-height: 1; }
.nav__brand img { width: 42px; height: 42px; object-fit: cover; }
.nav__brand-text { display: grid; gap: 5px; }
.nav__brand strong { font: 700 13px/1 var(--display); letter-spacing: .08em; }
.nav__brand em { color: var(--muted); font: normal 500 9px/1 var(--body); letter-spacing: .17em; }
.nav__menu { display: flex; align-items: center; gap: 24px; }
.nav__menu a { color: #c9c9c3; text-decoration: none; font-size: 12px; font-weight: 500; }
.nav__menu a:hover, .nav__menu a:focus { color: var(--white); }
.nav__cta { border: 1px solid #555; border-radius: 3px; padding: 9px 15px; transition: background .2s, color .2s, border-color .2s; }
.nav__cta:hover { background: var(--paper); border-color: var(--paper); color: var(--ink) !important; }
.nav__lang { display: flex; align-items: center; gap: 7px; margin-left: -8px; font-size: 11px; }
.nav__lang a { color: var(--muted); }
.nav__lang .active { color: var(--signal); }
.nav__toggle { display: none; z-index: 2; border: 0; background: transparent; color: white; width: 40px; height: 40px; position: relative; }
.nav__toggle-bar, .nav__toggle-bar::before { content: ""; position: absolute; width: 24px; height: 1px; background: currentColor; left: 8px; transition: .25s; }
.nav__toggle-bar { top: 16px; }
.nav__toggle-bar::before { left: 0; top: 8px; }
.menu-open .nav__toggle-bar { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__toggle-bar::before { transform: translateY(-8px) rotate(-90deg); }

/* Type and sections */
.section { padding: clamp(96px, 11vw, 156px) 0; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 30px; color: var(--signal); font: 700 10px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; }
.h2, .statement, .claim { font-family: var(--display); text-transform: uppercase; letter-spacing: -.025em; }
.h2 { margin: 0 0 42px; max-width: 940px; font-size: clamp(52px, 7.2vw, 100px); font-weight: 700; line-height: .88; }
.statement { margin: 0 0 68px; max-width: 1050px; font-size: clamp(48px, 7.2vw, 98px); font-weight: 700; line-height: .9; }
.lead { max-width: 780px; margin: 0 0 56px; font-size: clamp(18px, 1.75vw, 23px); line-height: 1.55; color: #cfcec7; }
p { max-width: 680px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.section--statement { position: relative; overflow: hidden; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px); background-size: 72px 72px; }
.section--statement::after { content: ""; position: absolute; width: 420px; height: 420px; right: -210px; bottom: -210px; border: 1px solid rgba(217,255,67,.12); border-radius: 50%; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 8vw, 110px); }
.cols p { margin-top: 0; }
.keywords { color: var(--white); font-weight: 600; }
.pull { margin: 72px 0 0; padding-left: 24px; border-left: 3px solid var(--signal); color: var(--muted); font-size: clamp(20px, 2.5vw, 30px); line-height: 1.4; }
.pull span { color: var(--white); }
.pull.small { margin-top: 48px; font-size: 20px; }
.note { color: var(--muted); }
.role { margin-top: -24px; color: var(--signal); font-weight: 500; }

/* Hero */
.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.67) 52%, rgba(0,0,0,.2) 100%), linear-gradient(0deg, #090909 0%, transparent 32%); }
.hero__media { position: absolute; inset: 0; background: radial-gradient(circle at 78% 42%, rgba(217,255,67,.1), transparent 25%); }
.hero__portrait { position: absolute; z-index: 2; width: min(38vw, 540px); height: auto; right: max(5vw, calc((100vw - 1300px) / 2)); bottom: 0; filter: saturate(.72) contrast(1.04) drop-shadow(0 20px 50px rgba(0,0,0,.45)); pointer-events: none; }
.hero__inner { position: relative; z-index: 3; padding-top: 150px; padding-bottom: clamp(145px, 14vw, 190px); }
.hero h1 { margin: 0; max-width: 920px; font: 700 clamp(78px, 12vw, 166px)/.76 var(--display); letter-spacing: -.025em; text-transform: uppercase; }
.hero__claim { margin: 42px 0 20px; font-size: clamp(29px, 3.4vw, 48px); font-weight: 600; line-height: .95; color: var(--signal); }
.hero .lead { max-width: 620px; margin-bottom: 36px; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; }
.hero__scroll { position: absolute; z-index: 3; right: 4vw; bottom: 40px; width: 1px; height: 70px; background: #666; overflow: hidden; }
.hero__scroll span { display: block; width: 1px; height: 25px; background: var(--signal); animation: scroll 2s infinite; }
@keyframes scroll { from { transform: translateY(-25px); } to { transform: translateY(70px); } }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 54px; padding: 0 22px 0 25px; border: 1px solid #777; border-radius: 3px; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn::after { content: ""; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translate(3px, -3px) rotate(45deg); }
.btn--primary { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.btn--primary:hover { background: var(--white); border-color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }

/* Image placeholders - replace files in assets/img, no markup changes needed */
.ph { position: relative; overflow: hidden; background: #191919; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, transparent 0 80px, rgba(255,255,255,.025) 80px 81px); }
.ph::after { content: "Photo coming September"; position: absolute; left: 24px; bottom: 22px; color: #777; font: 600 9px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.ph:has(.ph__img)::after { display: none; }
.hero__media.ph::after { display: none; }
/* Cards */
.cards { list-style: none; padding: 0; margin: 72px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { position: relative; min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: 5px; background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); display: flex; flex-direction: column; overflow: hidden; transition: transform .3s, border-color .3s, background .3s; }
.card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -90px; top: -90px; border: 1px solid rgba(217,255,67,.22); border-radius: 50%; transition: transform .4s, background .4s; }
.card:hover { transform: translateY(-6px); border-color: rgba(217,255,67,.5); background: linear-gradient(145deg, rgba(217,255,67,.08), rgba(255,255,255,.015)); }
.card:hover::after { transform: scale(1.35); background: rgba(217,255,67,.05); }
.card__no { color: var(--signal); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.card h3 { position: relative; z-index: 1; margin: auto 0 18px; font: 700 29px/.98 var(--display); letter-spacing: -.01em; text-transform: uppercase; }
.card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

/* Splits */
.section--split, .section--about { padding-block: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 830px; }
.split__media { min-height: 620px; margin-left: calc((100vw - var(--wrap))/ -2); }
.split__text { padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px) clamp(50px, 8vw, 110px); align-self: center; }
.split__text .h2 { font-size: clamp(50px, 5.8vw, 80px); }
.split--reverse .split__media { order: 2; margin-left: 0; margin-right: calc((100vw - var(--wrap))/ -2); }
.split--reverse .split__text { padding-left: 0; padding-right: clamp(50px, 8vw, 110px); }
.process { list-style: none; counter-reset: item; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 42px 0 0; border-top: 1px solid #555; }
.process li { position: relative; padding-top: 24px; color: var(--white); font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.process li::before { counter-increment: item; content: "0" counter(item); display: block; margin-bottom: 12px; color: var(--signal); font-size: 9px; }
.process li:not(:last-child)::after { content: "/"; position: absolute; right: 10px; top: 41px; color: #555; }

/* Calm */
.section--calm { min-height: 900px; display: grid; position: relative; overflow: hidden; }
.calm__media { position: absolute; inset: 0; }
.calm__media::before { background: rgba(0,0,0,.78); z-index: 1; }
.calm__inner { position: relative; z-index: 2; align-self: center; }

.section--beyond { background: var(--paper); color: var(--ink); }
.section--beyond .eyebrow { color: #4d6000; }
.section--beyond .note { color: #62625d; }

/* Workshops */
.topics { list-style: none; padding: 0; margin: 68px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.topics li { padding: 25px 0; border-bottom: 1px solid var(--line); font: 600 clamp(18px, 2vw, 25px)/1.2 var(--display); text-transform: uppercase; }
.topics li:nth-child(odd) { padding-right: 36px; }
.topics li:nth-child(even) { padding-left: 36px; border-left: 1px solid var(--line); }

/* About */
.questions { list-style: none; padding: 18px 0 18px 20px; border-left: 2px solid var(--signal); color: var(--white); font-weight: 600; }
.credentials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-top: 36px; }
.credentials li { border: 1px solid #444; padding: 7px 10px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

/* Contact */
.section--contact { background: var(--paper); color: var(--ink); }
.section--contact .eyebrow { color: #4d6000; }
.section--contact .lead { color: #565650; }
.offers { list-style: none; padding: 0; margin: 60px 0 100px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; }
.offers li { padding: 27px 20px 27px 0; font: 600 14px/1.3 var(--display); text-transform: uppercase; }
.offers li + li { padding-left: 25px; border-left: 1px solid #aaa; }
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(60px, 10vw, 140px); }
.field { display: grid; margin-bottom: 30px; }
.field label { margin-bottom: 8px; color: #555; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.field label span { color: #999; text-transform: none; letter-spacing: 0; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #888; border-radius: 0; background: transparent; color: var(--ink); padding: 8px 0 12px; outline: none; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.form__hint { color: #777; font-size: 11px; }
.form__hint--success { color: #395000; font-weight: 600; }
.field--website { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__aside { border-left: 1px solid #aaa; padding-left: clamp(30px, 5vw, 70px); }
.contact__aside .claim { margin: 0 0 80px; font-size: clamp(48px, 6vw, 78px); line-height: .85; }
.contact__list { list-style: none; padding: 0; font-size: 13px; }
.contact__list li { padding: 12px 0; border-top: 1px solid #aaa; }
.contact__list a { text-decoration: none; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand div { display: grid; gap: 3px; }
.footer__brand strong { font: 700 13px/1 var(--display); text-transform: uppercase; }
.footer__brand span { color: var(--muted); font-size: 10px; }
.footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer__nav a { color: var(--muted); text-decoration: none; font-size: 11px; }
.footer__legal { grid-column: 1 / -1; max-width: none; margin: 30px 0 0; border-top: 1px solid var(--line); padding-top: 24px; color: #92928c; font-size: 10px; }

/* Motion: content stays visible if JavaScript is unavailable. */
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.motion-ready .reveal.visible { opacity: 1; transform: none; }
.motion-ready .hero .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll { display: none; }
}

@media (max-width: 900px) {
  :root { --wrap: min(100% - 36px, 680px); }
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; inset: 0; z-index: 1; width: 100vw; height: 100dvh; background: var(--ink); padding: 88px 28px 40px; flex-direction: column; align-items: flex-start; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
  .nav__menu a { width: 100%; font: 700 clamp(25px, 8vw, 44px)/1 var(--display); text-transform: uppercase; }
  .nav__cta { border: 0; padding: 0; }
  .nav__lang { margin: 14px 0 0; }
  .menu-open .nav__inner { backdrop-filter: none; }
  .menu-open .nav__menu { opacity: 1; visibility: visible; pointer-events: auto; }
  .cols { grid-template-columns: 1fr; gap: 16px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split__media, .split--reverse .split__media { order: 0; min-height: min(100vw, 680px); margin: 0 calc((100vw - var(--wrap))/ -2); }
  .split__text, .split--reverse .split__text { padding: 80px 0; }
  .offers { grid-template-columns: 1fr; }
  .offers li + li { padding-left: 0; border-left: 0; border-top: 1px solid #aaa; }
  .contact { grid-template-columns: 1fr; }
  .contact__aside { border-left: 0; border-top: 1px solid #aaa; padding: 55px 0 0; }
  .contact__aside .claim { margin-bottom: 50px; }
  .footer__inner { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 580px) {
  :root { --wrap: calc(100vw - 28px); }
  html { scroll-padding-top: 94px; }
  .section { padding-block: 80px; }
  .nav { top: 8px; }
  .nav__inner { min-height: 62px; padding: 7px 9px 7px 11px; }
  .nav__brand-text { display: none; }
  .hero { min-height: max(700px, 90svh); align-items: center; }
  .hero__portrait { width: 285px; max-width: none; right: -14px; top: 175px; bottom: auto; opacity: .24; filter: grayscale(.2) saturate(.7) contrast(1.05); }
  .hero::after { background: linear-gradient(0deg, #090909 5%, rgba(0,0,0,.7) 66%, rgba(0,0,0,.44)); }
  .hero h1 { max-width: 100%; font-size: clamp(60px, 17vw, 72px); line-height: .8; }
  .hero__claim { margin-top: 30px; font-size: clamp(25px, 7vw, 29px); }
  .hero .lead { font-size: 14px; line-height: 1.75; }
  .hero__inner { padding-block: 0; transform: translateY(-20px); }
  .hero__scroll { display: none; }
  .h2 { font-size: clamp(46px, 14vw, 62px); }
  .statement { font-size: clamp(43px, 13vw, 58px); }
  .split__media, .split--reverse .split__media { width: 100vw; margin-inline: calc(50% - 50vw); }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { min-height: 245px; padding: 28px; }
  .process { grid-template-columns: 1fr 1fr; }
  .topics { grid-template-columns: 1fr; }
  .topics li:nth-child(even) { padding-left: 0; border-left: 0; }
  .topics li:nth-child(odd) { padding-right: 0; }
  .offers { margin-bottom: 72px; }
  .contact__aside .claim { font-size: 58px; }
  .footer__brand { align-items: flex-start; }
  .footer__nav { display: grid; grid-template-columns: 1fr 1fr; }
}
