/* ==========================================================================
   YOUNICK — parent brand site
   Black & white editorial system
   ========================================================================== */

:root {
  --black: #000;
  --white: #fff;
  --off: #f2f1ed;
  --off-2: #e8e7e2;
  --gray-900: #0d0d0d;
  --gray-700: #3c3c3a;
  --gray-500: #7b7b76;
  --gray-300: #b9b9b3;
  --line: rgba(0, 0, 0, 0.16);
  --line-strong: rgba(0, 0, 0, 0.32);
  --line-light: rgba(255, 255, 255, 0.16);
  --line-light-strong: rgba(255, 255, 255, 0.32);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --container: min(100% - 3rem, 1440px);
  --pad: clamp(5.5rem, 12vh, 10rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol { list-style: none; }

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

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

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}
.on-dark :focus-visible { outline-color: var(--white); }

html.js .reveal { opacity: 0; transform: translateY(36px); }
html.js .reveal.in-view { opacity: 1; transform: none; }
.reveal {
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
html:not(.js) .reveal { opacity: 1; transform: none; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--black); border: 2px solid var(--white); }

/* ---------- helpers ----------------------------------------------------- */
.container { width: var(--container); margin-inline: auto; }

.on-dark { background: var(--black); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--light { color: rgba(255, 255, 255, 0.55); }

.tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--gray-500);
}
.on-dark .tag { color: rgba(255, 255, 255, 0.45); }

.h-xl {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 1.4rem;
}
.on-dark .h-xl { color: var(--white); }
.h-xl em, .hero__title em, .contact__title em {
  font-style: italic;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--black);
  color: var(--white);
  padding: 0.7rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.skip-link:focus { top: 1rem; }

/* ---------- grain ------------------------------------------------------- */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  transition: padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav.scrolled .nav__inner { padding: 0.85rem 0; }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.nav__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.nav__brand:hover .nav__mark { transform: rotate(-8deg) scale(1.06); }
.nav__logo { display: block; height: 1.55rem; width: auto; }

.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--black); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* mobile toggle */
.nav__toggle {
  display: none;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  z-index: 9002;
}
.nav__toggle span {
  position: absolute;
  left: 0.3rem;
  right: 0.3rem;
  height: 2px;
  background: var(--black);
  top: 50%;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.nav__toggle span:first-child { transform: translateY(-0.32rem); }
.nav__toggle span:last-child { transform: translateY(0.32rem); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--black);
  color: var(--white);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--container) 3rem;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 9vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  border-bottom: 1px solid var(--line-light);
  padding: 0.7rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), padding-left 0.4s var(--ease);
  transition-delay: calc(0.08s * var(--i) + 0.25s);
}
.mobile-menu.open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu__links a:hover { padding-left: 1rem; }
.mobile-menu__foot {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
}
.hero__rotor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__word {
  position: absolute;
  right: 4vw;
  top: 22%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(7rem, 18vw, 19rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.09);
  opacity: 0;
  animation: rotor 14.4s var(--ease) infinite;
  white-space: nowrap;
}
.hero__word:nth-child(2) { animation-delay: -2.4s; }
.hero__word:nth-child(3) { animation-delay: -4.8s; }
.hero__word:nth-child(4) { animation-delay: -7.2s; }
.hero__word:nth-child(5) { animation-delay: -9.6s; }
.hero__word:nth-child(6) { animation-delay: -12s; }
@keyframes rotor {
  0%, 100% { opacity: 0; transform: translateY(46px); }
  9% { opacity: 1; transform: none; }
  15% { opacity: 1; transform: none; }
  24% { opacity: 0; transform: translateY(-46px); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 5rem);
  padding-top: 6.5rem;
}
.hero__eyebrow { margin-bottom: 2.2rem; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 8.8vw, 9rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 14ch;
}
.hero__title em { position: relative; }
.hero__lead {
  margin-top: 3rem;
  max-width: 46ch;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--gray-700);
}
.hero__sub {
  margin-top: 1rem;
  max-width: 52ch;
  font-size: 0.98rem;
  color: var(--gray-500);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}
.hero__scroll {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.hero__scroll-line {
  display: block;
  width: 44px;
  height: 1px;
  background: var(--black);
  overflow: hidden;
  position: relative;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-100%);
  animation: scrollline 2.4s var(--ease) infinite;
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* marquee */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
}
.marquee__track span {
  margin-right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-700);
}
.marquee__track span:nth-child(even) { color: var(--gray-300); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.05rem 1.7rem;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}
.btn span { transition: transform 0.35s var(--ease); }
.btn:hover span { transform: translateX(4px); }

.btn--solid { background: var(--black); color: var(--white); border: 1px solid var(--black); }
.btn--solid:hover { background: var(--white); color: var(--black); transform: translateY(-2px); }

.btn--line { border: 1px solid var(--line-strong); color: var(--black); }
.btn--line:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }

.btn--line-light { border-color: var(--line-light-strong); color: var(--white); }
.btn--line-light:hover { background: var(--white); color: var(--black); }

/* ==========================================================================
   WHAT WE BUILD
   ========================================================================== */
.wwb {
  border-top: 1px solid var(--line);
  padding: var(--pad) 0;
}
.wwb__head { max-width: 920px; }
.wwb__intro {
  margin-top: 2rem;
  max-width: 52ch;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.5;
}

.index { margin-top: clamp(3rem, 7vh, 5.5rem); border-top: 1px solid var(--line); }
.index__row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto 3rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease), color 0.4s var(--ease);
}
.index__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  transition: color 0.4s var(--ease);
}
.index__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.index__cat {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
  text-align: right;
  transition: color 0.4s var(--ease);
}
.index__arrow {
  font-size: 1.3rem;
  transition: transform 0.5s var(--ease);
}
.index__row:hover { background: var(--black); color: var(--white); padding-left: 1.4rem; }
.index__row:hover .index__num, .index__row:hover .index__cat { color: rgba(255, 255, 255, 0.55); }
.index__row:hover .index__name { transform: translateX(6px); }
.index__row:hover .index__arrow { transform: translate(4px, 4px); }

/* ==========================================================================
   YOUNICK STUDIO
   ========================================================================== */
.studio { border-top: 1px solid var(--line-light); padding: var(--pad) 0; }
.studio__head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: end; }
.studio__head .h-xl { grid-column: 1 / 3; max-width: 18ch; margin-top: 1.6rem; }
.studio__head .h-xl em { color: rgba(255, 255, 255, 0.45); }
.studio__tags { display: flex; align-items: center; gap: 1rem; }
.studio__intro {
  grid-column: 1 / 2;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
  line-height: 1.5;
  margin-top: 2rem;
}
@media (min-width: 1081px) {
  .studio__intro { grid-column: 2 / 3; grid-row: 3; justify-self: start; margin-top: 0; }
}

/* studio media */
.studio__media { position: relative; margin-top: clamp(3rem, 8vh, 6rem); }
.studio__frame {
  position: relative;
  border: 1px solid var(--line-light);
  background: var(--off-2);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.studio__frame::after {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  z-index: 2;
  pointer-events: none;
}
.studio__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.studio__frame:hover .studio__img { transform: scale(1.03); }
.studio__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.img-bw { filter: grayscale(1) contrast(1.05); }

/* capabilities */
.capabilities { margin-top: clamp(4rem, 10vh, 8rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; }
.capabilities__label {
  grid-column: 1 / 2;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 0.6rem;
}
.capabilities__list { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; column-gap: 4rem; }
.cap {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.35s ease, padding-left 0.35s var(--ease);
}
.cap__num { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.12em; }
.cap:hover { color: var(--white); padding-left: 0.6rem; }
.capabilities .btn { justify-self: start; margin-top: 2rem; }

/* ==========================================================================
   YOUNICK ENERGY
   ========================================================================== */
.energy { border-top: 1px solid var(--line); padding: var(--pad) 0; }
.energy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem 6rem; align-items: center; }
.energy__tags { display: flex; align-items: center; gap: 1rem; }
.energy__text .h-xl { margin-top: 1.6rem; }
.energy__lead {
  margin-top: 2rem;
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.5;
}
.energy__copy { margin-top: 1.1rem; max-width: 44ch; color: var(--gray-500); }
.energy__cta { margin-top: 2.2rem; }
.energy__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.energy__label-badge {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  display: inline-block;
}
.energy__label-badge::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--black); margin: 1px; }

.energy__media { position: relative; }
.energy__frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--off);
  aspect-ratio: 4 / 5;
}
.energy__frame::after {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid var(--black);
  z-index: 2;
  pointer-events: none;
}
.energy__zoom { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.energy__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.energy__frame:hover .energy__zoom .energy__img { transform: scale(1.03); }
.energy__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.energy__renewable { display: inline-flex; align-items: center; gap: 0.5rem; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--black); }

/* ==========================================================================
   YOUNICK ENERGY APP
   ========================================================================== */
.app { border-top: 1px solid var(--line-light); padding: var(--pad) 0; overflow: hidden; }
.app__head { text-align: center; max-width: 820px; margin-inline: auto; }
.app__tags { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-light-strong);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.app__kicker { margin-top: 2.2rem; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.app__intro { margin-top: 1.1rem; color: rgba(255, 255, 255, 0.72); max-width: 56ch; margin-inline: auto; }

.app__showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  margin-top: clamp(3rem, 8vh, 5.5rem);
  padding: 2rem 0;
}
.app__showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent);
  pointer-events: none;
}

.phone__frame {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid #2c2c2c;
  border-radius: 3rem;
  padding: 0.65rem;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.55);
}
.phone--main { width: clamp(280px, 30vw, 340px); }
.phone--side { width: clamp(230px, 23vw, 268px); transform: translateY(3.5rem); }
.phone--side .phone__frame { border-radius: 2.4rem; }
.phone__screen {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2.4rem;
  overflow: hidden;
  padding: 1.1rem 1.15rem 1.4rem;
}
.phone__screen--img { padding: 0; }
.phone__shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone__status {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.phone__body { margin-top: 1rem; }
.phone__hello { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white); letter-spacing: -0.01em; }
.phone__sub { margin-top: 0.15rem; font-family: var(--font-mono); font-size: 0.6rem; color: rgba(255, 255, 255, 0.4); }

.phone__score { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.1rem; }
.phone__ring { position: relative; width: 112px; height: 112px; flex: none; }
.phone__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 8; }
.ring-val { fill: none; stroke: var(--white); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 60; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; color: var(--white); }
.ring-label span { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-top: 0.2rem; }
.phone__score-copy { display: flex; flex-direction: column; gap: 0.25rem; }
.phone__score-copy strong { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; color: var(--white); }
.phone__score-copy span { font-family: var(--font-mono); font-size: 0.6rem; color: rgba(255, 255, 255, 0.45); }

.phone__card {
  margin-top: 0.85rem;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
}
.phone__card-title { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.phone__card-big { margin-top: 0.35rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--white); letter-spacing: -0.01em; }
.phone__card-big span { color: rgba(255, 255, 255, 0.4); }
.phone__card-sub { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.58rem; color: rgba(255, 255, 255, 0.42); }

.phone__chart { width: 100%; height: 46px; margin-top: 0.6rem; }
.chart-line { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.phone__ai {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 1rem;
  padding: 0.85rem 0.95rem;
}
.phone__ai-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--white); margin-top: 0.3rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.phone__ai p { font-family: var(--font-mono); font-size: 0.6rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.phone__ai strong { color: var(--white); }

.phone__compare { margin-top: 0.9rem; }
.compare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.compare-row span { font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255, 255, 255, 0.6); }
.compare-row b { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--white); }

.budget-bars { display: flex; align-items: flex-end; gap: 0.4rem; height: 42px; margin-top: 0.7rem; }
.budget-bars i { flex: 1; background: rgba(255, 255, 255, 0.9); height: var(--b); }

/* features */
.app__features { margin-top: clamp(3.5rem, 9vh, 6rem); }
.app__features-label { text-align: center; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.app__features-list {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
  border-top: 1px solid var(--line-light);
}
.app__feature {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
  transition: padding-left 0.35s var(--ease), color 0.35s ease;
}
.app__feature-num { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.12em; }
.app__feature:hover { padding-left: 0.6rem; color: var(--white); }

.app__cta { margin-top: clamp(3rem, 7vh, 4.5rem); display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.app__builtby { flex-basis: 100%; text-align: center; margin-top: 1.4rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { border-top: 1px solid var(--line); padding: var(--pad) 0; }
.about__head { max-width: 980px; }
.about__body {
  margin-top: clamp(3rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: 4rem;
  align-items: start;
}
.about__lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 30ch;
}
.about__story p { margin-top: 1.4rem; max-width: 56ch; color: var(--gray-700); }
.about__story p.about__lead { color: var(--black); }

.founder {
  background: var(--black);
  color: var(--white);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: 2px;
}
.founder__monogram {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}
.founder__name { margin-top: 1.8rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.founder__role { margin-top: 0.2rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.founder__quote { margin-top: 1.2rem; font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); border-top: 1px solid var(--line-light); padding-top: 1.2rem; }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { position: relative; border-top: 1px solid var(--line-light); padding: var(--pad) 0; overflow: hidden; }
.manifesto__ghost {
  position: absolute;
  top: 8%;
  right: -4%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(10rem, 26vw, 26rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
}
.manifesto__kicker { position: relative; }
.manifesto__lead {
  position: relative;
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.manifesto__lines { position: relative; margin-top: clamp(2.5rem, 6vh, 5rem); }
.manifesto__line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.manifesto__line--final {
  margin-top: 1.4rem;
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 0.15em 0.45em;
  line-height: 1.15;
}

/* ==========================================================================
   VENTURES / ECOSYSTEM
   ========================================================================== */
.ventures { border-top: 1px solid var(--line); padding: var(--pad) 0; }
.ventures__head { max-width: 760px; }
.ventures__intro { margin-top: 2rem; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; color: var(--gray-700); max-width: 44ch; }

.ventures__list { margin-top: clamp(3rem, 7vh, 5rem); border-top: 1px solid var(--line); }
.venture { border-bottom: 1px solid var(--line); }
.venture summary {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto 2rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.7rem 0.5rem;
  cursor: pointer;
  list-style: none;
  transition: padding-left 0.4s var(--ease), background 0.4s var(--ease);
}
.venture summary::-webkit-details-marker { display: none; }
.venture:hover summary { background: var(--off); }
.venture__num { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.15em; color: var(--gray-500); }
.venture__name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.2vw, 2.9rem); letter-spacing: -0.025em; line-height: 1; }
.venture__cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-500); text-align: right; }
.venture__toggle { position: relative; width: 1rem; height: 1rem; justify-self: end; }
.venture__toggle::before, .venture__toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--black);
  transition: transform 0.4s var(--ease);
}
.venture__toggle::before { width: 100%; height: 2px; }
.venture__toggle::after { width: 2px; height: 100%; }
.venture[open] .venture__toggle::after { transform: rotate(90deg); }

.venture__body {
  padding: 0 4.5rem 2.2rem 6rem;
  max-width: 52ch;
}
.venture__body p { color: var(--gray-700); }
.venture__body a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--black);
  padding-bottom: 0.2rem;
}
.venture__body a span { transition: transform 0.3s var(--ease); }
.venture__body a:hover span { transform: translateX(4px); }

.venture--future {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.7rem 0.5rem;
  border-bottom: 1px dashed var(--line-strong);
  color: var(--gray-500);
}
.venture--future .venture__name { color: var(--gray-500); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.2rem); }

.ventures__note {
  margin-top: 2.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { border-top: 1px solid var(--line-light); padding: var(--pad) 0 clamp(6rem, 12vh, 9rem); overflow: hidden; }
.contact__head { text-align: center; max-width: 760px; margin-inline: auto; }
.contact__title {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 7vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.contact__intro { margin-top: 1.8rem; color: rgba(255, 255, 255, 0.72); max-width: 52ch; margin-inline: auto; }
.contact__cta { margin-top: 2.4rem; text-align: center; }

.contact__grid {
  margin-top: clamp(4rem, 10vh, 7rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line-light);
  padding-top: 3rem;
}
.contact__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.contact__value { margin-top: 0.9rem; display: block; font-family: var(--font-display); font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 500; line-height: 1.5; color: var(--white); }
.contact__value a { position: relative; transition: color 0.3s ease; }
.contact__value a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.contact__value a:hover { color: rgba(255, 255, 255, 0.7); }
.contact__value a:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__value--stack { display: flex; flex-direction: column; gap: 0.35rem; }
.contact__note { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(255, 255, 255, 0.4); }

.contact__email {
  display: block;
  margin-top: clamp(4rem, 10vh, 7rem);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5.4vw, 5.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  position: relative;
  word-break: break-word;
}
.contact__email::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -0.15em;
  height: 3px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s var(--ease);
}
.contact__email:hover::after { transform: scaleX(1); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line-light); padding: clamp(4rem, 8vh, 6rem) 0 2.4rem; }
.footer__wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  transition: -webkit-text-stroke 0.4s ease, color 0.4s ease;
}
.footer__wordmark:hover {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}
.footer__tagline { margin-top: 1.6rem; color: rgba(255, 255, 255, 0.6); max-width: 34ch; font-size: 1.02rem; }
.footer__grid {
  margin-top: clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line-light);
}
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.7rem; }
.footer__nav a {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
}
.footer__nav a:hover { color: var(--white); padding-left: 0.5rem; }
.footer__meta { text-align: right; display: flex; flex-direction: column; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.footer__backtop a { color: var(--white); border-bottom: 1px solid var(--white); padding-bottom: 0.15rem; }
.footer__bottom {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   CURSOR
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    display: none;
  }
  .cursor span {
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--white);
    border-radius: 50%;
    transition: transform 0.35s var(--ease), opacity 0.3s ease;
  }
  .cursor.is-active { display: block; }
  .cursor.is-hot span { transform: scale(1.6); }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .energy__grid { grid-template-columns: 1fr; gap: 3rem; }
  .energy__media { max-width: 560px; }
  .about__body { grid-template-columns: 1fr; gap: 3rem; }
  .founder { max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; }
  .studio__head { grid-template-columns: 1fr; }
  .studio__head .h-xl { grid-column: 1; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .mobile-menu { display: flex; }

  .hero__word { display: none; }
  .hero__grid { min-height: calc(100svh - 4rem); }

  .capabilities { grid-template-columns: 1fr; }
  .capabilities__list { grid-column: 1; grid-template-columns: 1fr; }

  .app__features-list { grid-template-columns: 1fr; gap: 0; }
  .app__showcase { flex-direction: column; }
  .phone--side { transform: none; }

  .venture__cat { display: none; }
  .venture summary { grid-template-columns: 3.5rem 1fr 2rem; }
  .venture--future { grid-template-columns: 3.5rem 1fr; }
  .venture__body { padding: 0 1rem 2rem 5rem; }

  .index__row { grid-template-columns: 3.5rem 1fr 2rem; }
  .index__cat { display: none; }
  .index__arrow { grid-column: 3; grid-row: 1; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 2.4rem, 1440px); }
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
  .app__cta { flex-direction: column; }
  .app__cta .btn { width: 100%; justify-content: center; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .footer__bottom { flex-direction: column; }
  .energy__frame::after { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .cursor { display: none !important; }
}
