/* ==========================================================================
   MYJO, s.r.o. — myjo.cz
   Visual system: white canvas, near-black ink, 4px buttons / 8px cards,
   uppercase tracked eyebrows, chromatic accents only as surface fills.
   ========================================================================== */

:root {
  /* Ink & surface */
  --primary: #080808;
  --ink: #080808;
  --ink-strong: #222222;
  --body: #363636;
  --body-mid: #5a5a5a;
  --mute: #898989;
  --mute-soft: #ababab;
  --canvas: #ffffff;
  --canvas-soft: #f6f6f4;
  --hairline: #d8d8d8;
  --hairline-soft: #e8e8e6;

  /* Accents (surface fills only) */
  --accent-purple: #7a3dff;
  --accent-blue: #3b89ff;
  --accent-orange: #ff6b00;
  --accent-green: #00d722;
  --accent-blue-info: #146ef5;
  --rezeo: #e50383;
  --rezeo-ink: #141d33;

  /* Type */
  --font: "Inter", Arial, system-ui, sans-serif;
  --mono: "DM Mono", "Inconsolata", ui-monospace, monospace;

  /* Radius */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;

  /* Space */
  --gutter: 32px;
  --section-y: clamp(88px, 11vw, 160px);

  /* Elevation */
  --shadow-2: 0 84px 24px rgba(0,0,0,0), 0 54px 22px rgba(0,0,0,.01), 0 30px 18px rgba(0,0,0,.04), 0 13px 13px rgba(0,0,0,.08), 0 3px 7px rgba(0,0,0,.09);
  --shadow-3: 0 84px 24px rgba(0,0,0,0), 0 54px 22px rgba(0,0,0,.02), 0 30px 18px rgba(0,0,0,.06), 0 13px 13px rgba(0,0,0,.10), 0 3px 7px rgba(0,0,0,.12);

  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0; }
dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
figure { margin: 0; }
::selection { background: var(--ink); color: #fff; }

.container { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: "zero"; letter-spacing: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent-blue-info); outline-offset: 3px; border-radius: 2px; }

/* ---------- Type roles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; line-height: 1.3;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink);
}
.eyebrow .num { font-size: 13px; color: var(--mute); letter-spacing: .5px; }
.eyebrow--sm { font-size: 12px; letter-spacing: .6px; color: var(--body-mid); }
.eyebrow--light { color: #fff; }
.eyebrow--light .num { color: rgba(255,255,255,.5); }
.dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .35; display: inline-block; }

.h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04; letter-spacing: -0.025em; font-weight: 600;
  text-wrap: balance;
}
.h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.015em; font-weight: 500; }
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; color: var(--body); letter-spacing: -0.012em; }

.ink-link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--hairline); transition: text-decoration-color .2s; }
.ink-link:hover { text-decoration-color: var(--ink); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
  transition: gap .25s var(--ease);
}
.arrow-link:hover { gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 16px/1.6 var(--font); letter-spacing: -0.01em;
  padding: 10px 20px; border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--sm { font-size: 14px; padding: 7px 14px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: #2a2a2a; }
.btn--secondary { background: var(--canvas); color: var(--ink); border-color: var(--hairline); }
.btn--secondary:hover { border-color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: rgba(255,255,255,.88); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { border-color: #fff; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.8px; font-weight: 550; line-height: 1.2;
  padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap;
}
.badge--light { background: rgba(255,255,255,.18); color: #fff; }
.badge--outline-light { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.badge--status { border: 1px solid var(--hairline); color: var(--ink); background: #fff; }

.pulse { width: 7px; height: 7px; border-radius: 50%; background: #ffae13; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 2.2s ease-out infinite; }
.pulse--green { background: var(--accent-green); }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--hairline-soft); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.nav__logo img { width: 92px; height: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__ext {
  font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
  position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__ext { color: var(--body-mid); }
.nav__ext:hover { color: var(--ink); }
.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.nav__mobile { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 9vw, 120px); overflow: hidden; }
.hero__eyebrow { color: var(--body-mid); margin-bottom: 28px; }
.hero__title {
  font-size: clamp(42px, 6.4vw, 88px);
  line-height: 1; letter-spacing: -0.035em; font-weight: 600;
  max-width: 12em; color: var(--ink); text-wrap: balance;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.hero__title.is-in .w > span { transform: none; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: 40px; }
.hero__lead { max-width: 40ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--hairline);
}
.facts__item { padding: 20px 24px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; }
.facts__item + .facts__item { padding-left: 24px; border-left: 1px solid var(--hairline); }
.facts dt { font-size: 14px; color: var(--body-mid); }
.facts dd { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* Product showcase */
.showcase { margin-top: clamp(64px, 8vw, 112px); perspective: 1600px; }
.showcase__frame {
  border-radius: var(--r-md); overflow: hidden; background: #fff;
  border: 1px solid var(--hairline-soft);
  box-shadow: var(--shadow-3);
  transform-origin: 50% 0%;
  transform: rotateX(calc(var(--tilt, 1) * 16deg)) scale(calc(1 - var(--tilt, 1) * .06));
  will-change: transform;
}
.showcase__bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--hairline-soft); background: #fafafa; position: relative; }
.showcase__bar > span { width: 10px; height: 10px; border-radius: 50%; background: #e2e2e2; }
.showcase__url { position: absolute; left: 50%; transform: translateX(-50%); font: 400 12px/1 var(--mono); color: var(--mute); background: #fff; border: 1px solid var(--hairline-soft); border-radius: var(--r-sm); padding: 5px 40px; }
.showcase__caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; font-size: 14px; color: var(--body-mid); }
.showcase__caption .mono { color: var(--mute); font-size: 12px; }
.showcase__caption .arrow-link { margin-left: auto; font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--canvas-soft); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 72px); max-width: 820px; }
.section__head--split { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; }
.section__head--split > div { display: grid; gap: 20px; }
.section__intro { font-size: 18px; line-height: 1.6; color: var(--body-mid); max-width: 52ch; }

/* ---------- Projects ---------- */
.project { border-radius: var(--r-md); position: relative; overflow: hidden; }
.project__body { display: flex; flex-direction: column; gap: 18px; }
.project__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.project p { font-size: 16px; line-height: 1.6; }

.project--rezeo {
  background: var(--rezeo); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px; padding: clamp(28px, 4vw, 56px);
}
.project--rezeo .h3 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.02em; max-width: 18ch; }
.project--rezeo p { color: rgba(255,255,255,.88); max-width: 52ch; }
.project__logo { width: 148px; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 10px; border-radius: var(--r-sm); background: rgba(255,255,255,.14); color: #fff; }
.project__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.project__stats { display: grid; grid-template-columns: 1fr 1fr; align-content: stretch; background: rgba(0,0,0,.12); border-radius: var(--r-md); overflow: hidden; }
.project__stats > div { padding: 24px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; border-color: rgba(255,255,255,.18); border-style: solid; border-width: 0; }
.project__stats > div:nth-child(odd) { border-right-width: 1px; }
.project__stats > div:nth-child(-n+2) { border-bottom-width: 1px; }
.project__stats dt { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.8); }
.project__stats dd { font-size: clamp(30px, 3vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }

.project-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.project--portal { background: var(--rezeo-ink); color: #fff; padding: clamp(28px, 3.5vw, 44px) clamp(28px, 3.5vw, 44px) 0; display: flex; flex-direction: column; }
.project--portal .h3 { color: #fff; }
.project--portal p { color: rgba(255,255,255,.75); max-width: 50ch; }
.project__logo--portal { width: 168px; }
.project__shot { margin-top: 36px; border-radius: var(--r-md) var(--r-md) 0 0; overflow: hidden; box-shadow: 0 -1px 0 rgba(255,255,255,.08), var(--shadow-3); transform: translateY(var(--lift, 24px)); transition: transform 1.2s var(--ease); }
.project--portal.is-in .project__shot { --lift: 0px; }
.project--portal:hover .project__shot { transform: translateY(-6px); }

.project--note { border: 1px solid var(--hairline); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 28px; background: #fff; }
.principles { display: grid; gap: 24px; }
.principles li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--body); padding-top: 20px; border-top: 1px solid var(--hairline-soft); }
.principles li:first-child { border-top: 0; padding-top: 0; }
.principles .mono { font-size: 12px; color: var(--mute); padding-top: 3px; }
.principles strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }
.note__foot { margin-top: auto; display: grid; gap: 4px; padding: 20px; border-radius: var(--r-sm); background: var(--canvas-soft); }
.note__phone { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.note__phone:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.note__hours { font-size: 14px; color: var(--body-mid); }

/* ---------- Marketing bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat {
  border-radius: var(--r-md); padding: 32px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  color: #fff; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cat .h3 { color: inherit; margin-bottom: 10px; font-weight: 500; }
.cat p { font-size: 15.5px; line-height: 1.6; opacity: .9; max-width: 42ch; }
.cat__no { font-size: 12px; opacity: .7; }
.cat__content { position: relative; z-index: 1; }
.cat--wide { grid-column: span 2; }
.cat--purple { background: var(--accent-purple); }
.cat--blue { background: var(--accent-blue); }
.cat--orange { background: var(--accent-orange); }
.cat--green { background: var(--accent-green); color: var(--primary); }
.cat--ink { background: var(--primary); }

.cat__art { position: absolute; right: 32px; top: 32px; display: grid; grid-template-columns: repeat(2, 56px); gap: 8px; }
.sw { width: 56px; height: 56px; border-radius: var(--r-md); background: rgba(255,255,255,.16); transition: transform .6s var(--ease), background-color .6s; }
.sw--1 { background: rgba(255,255,255,.95); }
.sw--4 { border-radius: 50%; }
.cat--wide:hover .sw--1 { transform: translate(64px, 0); }
.cat--wide:hover .sw--2 { transform: translate(-64px, 0); }
.cat--wide:hover .sw--4 { transform: rotate(90deg); border-radius: var(--r-md); }

.cat__chart { position: absolute; right: 24px; top: 32px; width: 46%; overflow: visible; }
.cat__chart polyline { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.cat.is-in .cat__chart polyline { stroke-dashoffset: 0; }

.press { margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--hairline); }
.press__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.press__head .arrow-link { font-size: 14px; }
.press__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.press__card {
  height: 100%; display: flex; flex-direction: column; gap: 14px;
  padding: 24px; background: #fff; border: 1px solid var(--hairline-soft); border-radius: var(--r-md);
  text-decoration: none; color: var(--body);
  transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.press__card:hover { border-color: var(--hairline); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.press__logo { height: 40px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; opacity: .75; transition: opacity .3s, filter .3s; }
.press__logo--sm { height: 26px; margin: 7px 0; }
.press__logo--wide { height: 22px; margin: 9px 0; }
.press__card:hover .press__logo { opacity: 1; filter: brightness(0); }
.press__text { font-size: 14px; line-height: 1.5; color: var(--body); flex: 1; }
.press__more { font-size: 13px; font-weight: 500; color: var(--ink); }

/* ---------- People ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.founder__photo { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--canvas-soft); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(var(--zoom, 1.08)); transition: transform 1.6s var(--ease); }
.founder__photo.is-in img { --zoom: 1; }
.founder__photo figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 12px; color: #fff; background: rgba(8,8,8,.55); padding: 4px 8px; border-radius: var(--r-sm); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.founder__body { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.founder__name { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; letter-spacing: -0.03em; }
.founder__text { font-size: 18px; line-height: 1.65; color: var(--body); max-width: 54ch; }
.quote { margin: 12px 0 8px; padding: 4px 0 4px 24px; border-left: 2px solid var(--ink); }
.quote p { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.edu { margin-top: 16px; display: grid; gap: 12px; }
.edu__list { border-top: 1px solid var(--hairline); }
.edu__row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.edu__row dt { font-size: 13px; color: var(--body-mid); }
.edu__row dd { font-size: 16px; color: var(--body); }
.edu__row strong { color: var(--ink); font-weight: 500; }

/* Tech lead */
.tech { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(72px, 9vw, 128px); }
.tech__photo { order: 2; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3.4; background: #2a2520; }
.tech__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; transform: scale(var(--zoom, 1.08)); transition: transform 1.6s var(--ease); }
.tech.is-in .tech__photo img { --zoom: 1; }
.tech__body { display: flex; flex-direction: column; gap: 16px; }
.tech__role { font-size: 18px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; margin-top: -4px; }
.tech__text { font-size: 17px; line-height: 1.65; color: var(--body); max-width: 52ch; }
.tech__areas { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-top: 1px solid var(--hairline); }
.tech__areas li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 14px 12px 14px 0; font-size: 15px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--hairline); }
.tech__areas li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--hairline); }
.tech__areas .mono { font-size: 12px; color: var(--mute); font-weight: 400; padding-top: 3px; }

/* Team */
.team { background: var(--primary); color: #fff; border-radius: var(--r-md); padding: clamp(28px, 4vw, 56px); margin-top: clamp(72px, 9vw, 128px); display: grid; gap: clamp(40px, 5vw, 64px); }
.team__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.team .team__num { color: #fff; display: flex; align-items: baseline; gap: .08em; font-size: clamp(88px, 11vw, 160px); line-height: .8; font-weight: 600; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.team__plus { color: rgba(255,255,255,.35); font-weight: 400; margin: 0 .06em; }
.team .h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.team__head p { color: rgba(255,255,255,.72); max-width: 58ch; }
.team__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 28px; }
.team__label { display: flex; align-items: baseline; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.team__label .mono { font-size: 13px; color: #fff; letter-spacing: 0; }
.team__roles { display: flex; flex-wrap: wrap; gap: 8px; }
.team__roles li { font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: var(--r-sm); background: rgba(255,255,255,.1); color: #fff; }
.team__roles--ext li { background: transparent; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.85); }

/* ---------- History ---------- */
.history { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.history__head { position: sticky; top: 120px; display: grid; gap: 20px; }
.timeline { position: relative; padding-left: 0; --progress: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 76px; top: 10px; bottom: 10px; width: 1px; }
.timeline::before { background: var(--hairline); }
.timeline::after { background: var(--ink); transform-origin: top; transform: scaleY(var(--progress)); }
.tl { display: grid; grid-template-columns: 76px 1fr; gap: 0; padding: 0 0 44px; position: relative; }
.tl:last-child { padding-bottom: 0; }
.tl__year { font-size: 14px; color: var(--body-mid); padding-top: 2px; }
.tl__body { padding-left: 36px; position: relative; }
.tl__body::before { content: ""; position: absolute; left: -4.5px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--canvas-soft); border: 1px solid var(--ink); z-index: 1; transition: background-color .4s; }
.tl.is-in .tl__body::before { background: var(--ink); }
.tl h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px; }
.tl p { font-size: 15.5px; line-height: 1.6; color: var(--body-mid); max-width: 52ch; }
.tl--now .tl__year { color: var(--ink); font-weight: 500; }
.tl--now .tl__body::before { background: var(--accent-green) !important; border-color: var(--accent-green); box-shadow: 0 0 0 4px rgba(0,215,34,.18); }

/* ---------- Registry ---------- */
.registry { border: 1px solid var(--hairline); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.registry__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px; border-bottom: 1px solid var(--hairline); }
.registry__head img { width: 84px; }
.registry__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.registry__grid > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 32px; border-bottom: 1px solid var(--hairline-soft); align-items: baseline; }
.registry__grid > div:nth-child(odd) { border-right: 1px solid var(--hairline-soft); }
.registry__grid dt { font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--mute); }
.registry__grid dd { font-size: 16px; color: var(--ink); line-height: 1.5; }
.registry__grid dd.mono { font-size: 15px; }
.copyable { display: flex; align-items: center; gap: 12px; }
.copy {
  font: 500 12px/1 var(--font); letter-spacing: 0; color: var(--body-mid);
  background: none; border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 5px 8px; cursor: pointer; opacity: 0; transition: opacity .2s, color .2s, border-color .2s;
}
.registry__grid > div:hover .copy, .copy:focus-visible, .copy.is-done { opacity: 1; }
.copy:hover { color: var(--ink); border-color: var(--ink); }
.copy.is-done { color: #0a8a1f; border-color: #0a8a1f; }
.registry__foot { display: flex; gap: 28px; padding: 22px 32px; background: #fafafa; font-size: 15px; }

/* ---------- Contact ---------- */
.contact { background: var(--primary); color: #fff; padding: var(--section-y) 0; }
.contact .h2 { color: #fff; font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -0.035em; margin: 20px 0 24px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.contact__lead { font-size: 18px; color: rgba(255,255,255,.7); max-width: 42ch; margin-bottom: 32px; }
.contact__list { border-top: 1px solid rgba(255,255,255,.2); }
.contact__list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); align-items: baseline; }
.contact__list dt { font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.contact__list dd { font-size: 17px; }
.contact__list a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.contact__list a:hover { background-size: 100% 1px; }

.channels { margin-top: clamp(64px, 8vw, 104px); }
.eyebrow--light.eyebrow--sm { color: rgba(255,255,255,.55); }
.channels__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 20px; }
.channel {
  height: 100%; display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md);
  text-decoration: none; color: #fff; position: relative;
  transition: background-color .3s, border-color .3s;
}
.channel::after { content: "↗"; position: absolute; top: 16px; right: 18px; font-size: 14px; color: rgba(255,255,255,.4); transition: transform .3s var(--ease), color .3s; }
.channel:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
.channel:hover::after { transform: translate(2px, -2px); color: #fff; }
.channel svg { width: 22px; height: 22px; fill: currentColor; margin-bottom: 18px; }
.channel__name { font-size: 16px; font-weight: 500; }
.channel__sub { font-size: 13px; color: rgba(255,255,255,.5); overflow-wrap: anywhere; }
.facts__plus { color: var(--mute-soft); font-weight: 400; }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.12); padding: 32px 0 40px; font-size: 13px; line-height: 1.6; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer__logo { filter: invert(1); width: 72px; opacity: .9; }
.footer__legal { max-width: 80ch; }
.footer__meta { display: flex; gap: 20px; white-space: nowrap; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 20px; }
  .nav__ext { display: none; }
  .project--rezeo { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .press__grid { grid-template-columns: repeat(3, 1fr); }
  .channels__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  :root { --gutter: 24px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__mobile {
    display: grid; gap: 0; padding: 0 var(--gutter);
    max-height: 0; overflow: hidden; transition: max-height .45s var(--ease), padding .45s var(--ease);
    background: #fff;
  }
  .nav__mobile a { font-size: 22px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--hairline-soft); letter-spacing: -0.02em; }
  .nav.is-open .nav__mobile { max-height: 560px; padding-bottom: 24px; }
  .nav.is-open { border-bottom-color: var(--hairline-soft); background: #fff; }

  .hero__row { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts__item:nth-child(n+3) { padding-top: 24px; }
  .section__head--split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cat--wide { grid-column: span 2; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { aspect-ratio: 4 / 4.2; max-height: 640px; }
  .tech { grid-template-columns: 1fr; }
  .tech__photo { order: 0; aspect-ratio: 16 / 11; }
  .team__cols { grid-template-columns: 1fr; }
  .history { grid-template-columns: 1fr; }
  .history__head { position: static; }
  .registry__grid { grid-template-columns: 1fr; }
  .registry__grid > div:nth-child(odd) { border-right: 0; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: 1px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts dd { font-size: 30px; }
  .facts__item { padding-right: 12px; }
  .facts__item + .facts__item { padding-left: 16px; }
  .facts__item:nth-child(3) { padding-left: 0; }
  .showcase__url { display: none; }
  .showcase__caption .arrow-link { margin-left: 0; }
  .project__top { flex-wrap: wrap; }
  .project__logo { width: 124px; }
  .project__stats { grid-template-columns: 1fr 1fr; }
  .project__stats > div { padding: 18px 16px; }
  .project__stats dd { font-size: 28px; }
  .project__stats dt { font-size: 13px; }
  .bento { grid-template-columns: 1fr; }
  .cat--wide { grid-column: auto; }
  .cat { min-height: 260px; padding: 24px; }
  .cat__art { right: 24px; top: 24px; grid-template-columns: repeat(2, 40px); }
  .sw { width: 40px; height: 40px; }
  .cat__chart { width: 55%; right: 20px; top: 24px; }
  .edu__row { grid-template-columns: 1fr; gap: 2px; }
  .team__head { grid-template-columns: 1fr; gap: 20px; }
  .press__grid { grid-template-columns: 1fr 1fr; }
  .channels__grid { grid-template-columns: 1fr 1fr; }
  .press__grid li:last-child { grid-column: span 2; }
  .channel { padding: 16px; }
  .press__card { padding: 18px; }
  .press__logo { height: 32px; }
  .tech__areas { grid-template-columns: 1fr; }
  .tech__areas li:nth-child(even) { padding-left: 0; border-left: 0; }
  .timeline::before, .timeline::after { left: 56px; }
  .tl { grid-template-columns: 56px 1fr; }
  .tl__body { padding-left: 24px; }
  .registry__head, .registry__foot { padding-left: 20px; padding-right: 20px; }
  .registry__grid > div { grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; }
  .copy { opacity: 1; }
  .contact__list > div { grid-template-columns: 1fr; gap: 2px; }
  .footer__meta { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__title .w > span { transform: none; }
  .showcase__frame { transform: none; }
  .timeline::after { transform: scaleY(1); }
}
