/* jojigeorge.com — site styles */
:root {
  --bg: #f7f6f2;
  --bg-alt: #efede6;
  --surface: #ffffff;
  --surface-2: #f3f1eb;
  --ink: #0e0f14;
  --text: #3a3b45;
  --muted: #6e6f7a;
  --line: #e4e1d8;
  --brand: #0D9488;
  --brand-2: #3B82F6;
  --hot: #F59E0B;
  --violet: #10B981;
  --grad: linear-gradient(100deg, var(--brand) 0%, var(--violet) 50%, var(--hot) 100%);
  --shadow: 0 1px 2px rgba(14, 15, 20, 0.04), 0 12px 32px -12px rgba(14, 15, 20, 0.14);
  --shadow-lg: 0 2px 6px rgba(14, 15, 20, 0.05), 0 40px 80px -30px rgba(6, 78, 59, 0.3);
  --radius: 24px;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0b0b12;
    --bg-alt: #10101a;
    --surface: #14141f;
    --surface-2: #1b1b29;
    --ink: #f4f3ef;
    --text: #c9c8d3;
    --muted: #8e8d9c;
    --line: #262636;
    --brand: #2DD4BF;
    --brand-2: #60A5FA;
    --hot: #FBBF24;
    --violet: #34D399;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 50px 90px -30px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #0b0b12;
  --bg-alt: #10101a;
  --surface: #14141f;
  --surface-2: #1b1b29;
  --ink: #f4f3ef;
  --text: #c9c8d3;
  --muted: #8e8d9c;
  --line: #262636;
  --brand: #2DD4BF;
  --brand-2: #60A5FA;
  --hot: #FBBF24;
  --violet: #34D399;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 50px 90px -30px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
::selection {
  background: color-mix(in srgb, var(--brand) 30%, transparent);
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow {
  max-width: 780px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: 0;
}
.center {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.mt {
  margin-top: 56px;
  margin-bottom: 20px;
}
.h3 {
  font-size: 24px;
}
.icon {
  flex: none;
  vertical-align: middle;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font: 600 15px/1.2 var(--body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}
.btn-sm {
  padding: 8px 15px;
  font-size: 14px;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--ink) 70%, transparent);
}
.btn-primary:hover {
  box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--brand) 60%, transparent);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--brand) 50%, var(--line));
}
.btn-link {
  color: var(--ink);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.icon-btn:hover {
  border-color: var(--brand);
}
.when-dark {
  display: none;
}
:root[data-theme='dark'] .when-dark {
  display: inline;
}
:root[data-theme='dark'] .when-light {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .when-dark {
    display: inline;
  }
  :root:not([data-theme='light']) .when-light {
    display: none;
  }
}

/* top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: color-mix(in srgb, var(--line) 70%, transparent);
}
.topbar-in {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 18px var(--display);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font: 800 15px var(--display);
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 70%, transparent);
}
.mainnav {
  margin-left: auto;
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--line);
}
.mainnav a {
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.mainnav a:hover,
.mainnav a.is-active {
  color: var(--ink);
  background: var(--surface-2);
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.show-sm {
  display: none;
}
@media (max-width: 900px) {
  .mainnav {
    position: fixed;
    inset: 72px 12px auto 12px;
    flex-direction: column;
    padding: 10px;
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .mainnav.open {
    display: flex;
  }
  .mainnav a {
    padding: 14px 16px;
    font-size: 16px;
  }
  .topbar-actions {
    margin-left: auto;
  }
  .show-sm {
    display: inline-grid;
  }
  .hide-sm {
    display: none;
  }
}

/* hero */
.hero {
  position: relative;
  padding: 48px 0 32px;
  overflow: hidden;
  margin-top: -72px;
  padding-top: 120px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.orb-a {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -80px;
  background: color-mix(in srgb, var(--brand) 55%, transparent);
  animation: drift 18s ease-in-out infinite;
}
.orb-b {
  width: 420px;
  height: 420px;
  right: 22%;
  top: 260px;
  background: color-mix(in srgb, var(--hot) 40%, transparent);
  animation: drift 22s ease-in-out -6s infinite reverse;
}
.orb-c {
  width: 380px;
  height: 380px;
  left: -160px;
  top: 120px;
  background: color-mix(in srgb, var(--brand-2) 35%, transparent);
  animation: drift 26s ease-in-out -12s infinite;
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.5;
}
@keyframes drift {
  50% {
    transform: translate(-40px, 30px) scale(1.08);
  }
}
.hero-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
.hero-title {
  margin: 26px 0 10px;
  display: flex;
  flex-direction: column;
}
.hero-title .hello {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.hero-title .name {
  font-size: clamp(52px, 8.6vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 55%, var(--brand)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-role {
  font: 600 clamp(18px, 2vw, 22px) var(--display);
  color: var(--ink);
  margin: 0 0 6px;
}
.hero-typed {
  font: 500 clamp(18px, 2vw, 22px) var(--display);
  color: var(--muted);
  margin: 0 0 22px;
  min-height: 1.4em;
}
.typed {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--brand);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero-lead {
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.hero-cta.center {
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin: 44px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-stats div {
  display: flex;
  flex-direction: column-reverse;
}
.hero-stats dt {
  font-size: 13.5px;
  color: var(--muted);
}
.hero-stats dd {
  margin: 0;
  font: 800 38px/1 var(--display);
  color: var(--ink);
  letter-spacing: -0.03em;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.portrait {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
}
.portrait > img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.portrait-ring {
  position: absolute;
  inset: -12px;
  border-radius: 48px;
  background: var(--grad);
  opacity: 0.9;
  filter: blur(0.2px);
  transform: rotate(-3deg);
}
.portrait-ring::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 45px;
  background: var(--bg);
}
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  color: var(--ink);
  animation: bob 7s ease-in-out infinite;
}
.float-card b {
  display: block;
  font-family: var(--display);
  font-size: 15px;
}
.float-card small {
  color: var(--muted);
  font-size: 12.5px;
}
.fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--grad);
}
.fc-1 {
  left: -54px;
  top: 14%;
}
.fc-2 {
  right: -46px;
  bottom: 18%;
  animation-delay: -2.5s;
}
.fc-3 {
  left: -20px;
  bottom: -18px;
  animation-delay: -4s;
}
.fc-3 .mono {
  color: var(--brand);
  font-weight: 700;
}
.fc-avatars {
  display: flex;
}
.fc-avatars img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid var(--surface);
  margin-left: -10px;
  background: var(--surface);
}
.fc-avatars img:first-child {
  margin-left: 0;
}
@keyframes bob {
  50% {
    transform: translateY(-10px);
  }
}
.marquee-wrap {
  margin-top: 72px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font: 700 22px var(--display);
  color: color-mix(in srgb, var(--muted) 70%, transparent);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track span::before {
  content: '✦';
  margin-right: 44px;
  color: color-mix(in srgb, var(--brand) 60%, transparent);
  font-size: 14px;
  vertical-align: middle;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 960px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .hero-visual {
    order: -1;
  }
  .portrait {
    width: min(340px, 78vw);
  }
  .fc-1 {
    left: -24px;
  }
  .fc-2 {
    right: -24px;
  }
}
@media (max-width: 560px) {
  .hero-stats {
    gap: 22px;
  }
  .hero-stats dd {
    font-size: 30px;
  }
  .float-card {
    padding: 10px 12px;
    font-size: 13px;
  }
  .fc-1 {
    left: -14px;
    top: 8%;
  }
  .fc-2 {
    right: -14px;
  }
  .fc-3 {
    display: none;
  }
}

/* sections */
.section {
  padding: 110px 0;
  position: relative;
}
.section-tight {
  padding: 40px 0 72px;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  margin-bottom: 52px;
  max-width: 760px;
}
.section-head.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.eyebrow-sm {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font: 600 12px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
}
.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
}
@media (max-width: 700px) {
  .section {
    padding: 80px 0;
  }
  .section-head h2 br {
    display: none;
  }
}

/* bento */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 18px;
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.tile h3 {
  font-size: 20px;
  margin-bottom: 14px;
}
.tile-about {
  grid-column: span 7;
  grid-row: span 2;
  font-size: 17px;
}
.tile-about .btn {
  margin-top: 24px;
}
.tile-about .prose p {
  color: var(--text);
}
.tile-photo {
  grid-column: span 5;
  grid-row: span 2;
  padding: 0;
  min-height: 320px;
}
.tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 35%;
  position: absolute;
  inset: 0;
}
.tile-photo-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}
.tile-photo-cap b {
  font-family: var(--display);
  color: var(--ink);
  font-size: 17px;
}
.tile-photo-cap span {
  font-size: 14px;
  color: var(--muted);
}
.tile-facts {
  grid-column: span 5;
}
.tile-years {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--grad);
  border: 0;
  color: #fff;
}
.tile-years .big-num {
  color: #fff;
}
.tile-label {
  font-size: 14.5px;
  opacity: 0.92;
}
.tile-now {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.tile-now p {
  font-size: 18px;
  color: var(--ink);
  margin: 0;
  font-family: var(--display);
  line-height: 1.35;
}
.tile-now a {
  color: var(--brand);
  font-weight: 600;
}
.big-num {
  font: 800 76px/0.9 var(--display);
  letter-spacing: -0.05em;
  color: var(--ink);
}
.big-num sup {
  font-size: 0.45em;
  vertical-align: top;
  margin-left: 2px;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.facts li:last-child {
  border-bottom: 0;
}
.facts span {
  color: var(--muted);
}
.facts b {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}
@media (max-width: 960px) {
  .tile-about,
  .tile-photo {
    grid-column: span 12;
  }
  .tile-photo {
    min-height: 380px;
  }
  .tile-facts {
    grid-column: span 12;
  }
  .tile-years,
  .tile-now {
    grid-column: span 6;
  }
}
@media (max-width: 600px) {
  .tile-years,
  .tile-now {
    grid-column: span 12;
  }
}

/* products */
.products {
  display: grid;
  gap: 28px;
}
.product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.product::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 100% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}
.product.flip .product-copy {
  order: 2;
}
.product-id {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent, var(--brand)) 70%, transparent);
  background: var(--surface);
}
.app-icon-lg {
  width: 88px;
  height: 88px;
  border-radius: 24px;
}
.app-family {
  margin-top: 40px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
  background: radial-gradient(900px 320px at 50% -10%, rgba(13, 148, 136, 0.35), transparent 70%), #0d0d18;
  border: 1px solid var(--line);
}
.app-family .eyebrow { color: #99F6E4; justify-content: center; }
.app-family h2 { color: #fff; margin: 8px 0 0; }
.app-family-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 3vw, 32px); margin-top: 32px; }
.app-tile {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.app-tile:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.09); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.app-tile.is-current { border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: rgba(255, 255, 255, 0.08); }
.app-tile-icon { display: block; margin-bottom: 10px; line-height: 0; border-radius: 22px; box-shadow: 0 14px 34px -8px var(--accent), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.app-tile-icon img { width: 88px; height: 88px; border-radius: 22px; object-fit: cover; background: #fff; }
.app-tile strong { font-size: 1.05rem; }
.app-tile small { font-size: 0.82rem; color: #b6bacb; line-height: 1.4; }
.app-tile.is-current small { color: #fff; font-weight: 600; }
.product-cat {
  font: 600 12.5px var(--mono);
  color: var(--accent, var(--brand));
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product h3 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.product-summary {
  font-size: 17.5px;
  color: var(--text);
}
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
}
.chips li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
}
.product-links,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.product-shot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  border-radius: 26px;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, var(--surface-2)), var(--surface-2));
  overflow: hidden;
}
.product-shot .glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 45%, transparent);
  filter: blur(60px);
  opacity: 0.6;
}
.phones {
  position: relative;
  display: flex;
  gap: 16px;
  padding: 36px 20px 0;
  align-items: flex-end;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phones img {
  width: 150px;
  border-radius: 24px;
  border: 6px solid #0e0d12;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.45);
}
.phones img:nth-child(2) {
  width: 170px;
  transform: translateY(-24px);
}
.product:hover .phones {
  transform: translateY(14px);
}
.desk-shot {
  position: relative;
  width: 92%;
  border-radius: 16px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.45);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product:hover .desk-shot {
  transform: scale(1.025) rotate(-0.5deg);
}
/* desktop window with two phones in front (products on both) */
.combo {
  position: relative;
  display: block;
  width: 100%;
  padding: 34px 22px 40px 18px;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.combo-desk {
  display: block;
  width: 86%;
  border-radius: 14px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.5);
  border: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.combo-phones {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.combo-phones img {
  width: 104px;
  border-radius: 18px;
  border: 5px solid #0e0d12;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.55);
}
.combo-phones img:nth-child(2) {
  width: 116px;
  transform: translateY(-16px);
}
.product:hover .combo {
  transform: scale(1.02);
}
@media (max-width: 960px) {
  .combo-phones img {
    width: 84px;
  }
  .combo-phones img:nth-child(2) {
    width: 94px;
  }
}
@media (max-width: 480px) {
  .combo-phones img:nth-child(2) {
    display: none;
  }
}
@media (max-width: 960px) {
  .product {
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .product.flip .product-copy {
    order: 0;
  }
  .phones img {
    width: 110px;
  }
  .phones img:nth-child(2) {
    width: 124px;
  }
  .product-shot {
    min-height: 280px;
  }
}
@media (max-width: 480px) {
  .phones img:nth-child(3) {
    display: none;
  }
}

/* services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  margin-bottom: 20px;
}
.service:nth-child(3n + 2) .service-icon {
  color: var(--brand-2);
  background: color-mix(in srgb, var(--brand-2) 13%, transparent);
}
.service:nth-child(3n + 3) .service-icon {
  color: var(--hot);
  background: color-mix(in srgb, var(--hot) 13%, transparent);
}
.service h3 {
  font-size: 21px;
  margin-bottom: 10px;
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 900px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }
}

/* experience */
.exp-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--brand), var(--violet), var(--hot));
  border-radius: 2px;
  opacity: 0.6;
}
.timeline li {
  position: relative;
  padding: 0 0 36px 18px;
}
.timeline .dot {
  position: absolute;
  left: -32px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--brand);
  box-shadow: var(--shadow);
}
.timeline .edu .dot {
  color: var(--hot);
}
.period {
  color: var(--muted);
  font-size: 13px;
}
.timeline h3 {
  font-size: 22px;
  margin: 6px 0 4px;
}
.timeline .org {
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 8px;
  font-size: 15px;
}
.timeline .prose {
  color: var(--muted);
}
.skill-groups {
  display: grid;
  gap: 16px;
}
.skill-group {
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.skill-group h3 {
  font-size: 15px;
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.skill-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.skill-group li {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 14px;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.bar {
  height: 7px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad);
  transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.in .bar span,
.bar.in span {
  width: var(--w);
}
@media (max-width: 960px) {
  .exp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* filters + cards */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: 600 14px var(--body);
  cursor: pointer;
  transition: all 0.2s;
}
.filter:hover {
  border-color: var(--brand);
}
.filter.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.filter .count {
  opacity: 0.55;
  font-weight: 500;
  margin-left: 2px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
}
.card[hidden] {
  display: none;
}
.card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--brand) 8%, var(--surface-2)));
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s;
}
.card-media img.card-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.card:hover .card-media img {
  transform: scale(1.05);
}
.card-icon {
  width: 96px;
  border-radius: 24px;
}
.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 11%, transparent);
  color: var(--brand);
  font-weight: 600;
  font-size: 12px;
}
.card-title {
  font: 700 19px var(--display);
  color: var(--ink);
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.card-title .icon {
  color: var(--muted);
  transition: transform 0.25s, color 0.25s;
}
.card:hover .card-title .icon {
  color: var(--brand);
  transform: translate(2px, -2px);
}
.card-text {
  color: var(--muted);
  font-size: 14.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* posts */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.post-card img {
  border-radius: 16px;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 6px;
}
.post-card h3 {
  font-size: 21px;
}
.post-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}
.post-cover {
  border-radius: 24px;
  margin: 0 0 20px;
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .posts {
    grid-template-columns: 1fr;
  }
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 56px;
  border-radius: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  inset: -40% 40% 40% -20%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 18%, transparent), transparent);
  pointer-events: none;
}
.contact h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.contact .lead {
  font-size: 17px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
}
.ci {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--brand);
  border: 1px solid var(--line);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-form {
  display: grid;
  gap: 16px;
  position: relative;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: grid;
  gap: 7px;
}
.field span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 15px var(--body);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  font-size: 14.5px;
  min-height: 1.4em;
}
.form-status.ok {
  color: #16a34a;
}
.form-status.err {
  color: #dc2626;
}
@media (max-width: 900px) {
  .contact {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    border-radius: 28px;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
}

/* inner pages */
.page-hero {
  padding: 56px 0 24px;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 16px;
}
.page-hero .lead {
  margin-bottom: 28px;
}
.back {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}
.back:hover {
  color: var(--ink);
}
.project-hero {
  position: relative;
}
.project-hero::before {
  content: '';
  position: absolute;
  inset: -100px 0 auto 0;
  height: 520px;
  z-index: -1;
  background: radial-gradient(700px 360px at 80% 0%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%);
}
.project-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.project-head h1 {
  margin: 6px 0 12px;
}
.project-links {
  margin: 8px 0 22px;
}
.gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 2px 18px;
  scroll-snap-type: x mandatory;
}
.gallery .shot {
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.gallery .shot:hover {
  transform: translateY(-3px);
}
.gallery .shot img {
  height: 440px;
  width: auto;
  max-width: none;
}
.gallery.single .shot img {
  height: auto;
  max-width: 100%;
  max-height: 480px;
}
@media (max-width: 600px) {
  .gallery .shot img {
    height: 340px;
  }
  .project-head {
    flex-direction: column;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 10, 0.88);
  display: grid;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.lightbox[hidden] {
  display: none;
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 18px;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  min-width: 0;
  max-width: 48%;
  transition: border-color 0.2s;
}
.pager a:hover {
  border-color: var(--brand);
}
.pager a.next {
  text-align: right;
  margin-left: auto;
}
.pager b {
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* prose */
.prose {
  color: var(--text);
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose strong {
  color: var(--ink);
}
.prose h2,
.prose h3 {
  margin: 1.6em 0 0.6em;
}
.prose h2 {
  font-size: 30px;
}
.prose h3 {
  font-size: 23px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
}
.prose li {
  margin: 0.35em 0;
}
.prose li::marker {
  color: var(--brand);
}
.prose img {
  border-radius: 16px;
  margin: 1.4em 0;
  box-shadow: var(--shadow);
}
.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-2);
}
.prose pre {
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-2);
  overflow-x: auto;
}
.prose pre code {
  padding: 0;
  background: none;
}
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 22px;
  border-left: 3px solid var(--brand);
  color: var(--muted);
  font-style: italic;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.prose-lg {
  font-size: 18px;
  line-height: 1.75;
}
.prose.small {
  font-size: 15px;
}
.empty {
  padding: 60px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: grid;
  justify-items: center;
  gap: 10px;
}
.notfound {
  padding: 100px 0 140px;
}
.notfound .big-num {
  font-size: clamp(100px, 18vw, 180px);
}
.notfound h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 16px 0 12px;
}
.notfound .lead {
  margin: 0 auto 28px;
}

/* footer */
.footer {
  padding: 56px 0 64px;
  border-top: 1px solid var(--line);
}
.footer-in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 40px;
  align-items: start;
}
.footer-in .muted {
  margin: 10px 0 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 500;
  font-size: 15px;
}
.footer-links a:hover {
  color: var(--brand);
}
.footer-note {
  grid-column: 1 / -1;
}
@media (max-width: 700px) {
  .footer-in {
    grid-template-columns: 1fr;
  }
}

/* scroll reveal (only when JavaScript runs) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .bar span {
    width: var(--w);
  }
}

/* ===== logo + name: refined mark ===== */
.logo { gap: 12px; }
.logo-mark { width: 44px; height: 44px; background: none; box-shadow: none; border-radius: 0; position: relative; display: block; flex: none; }
.logo-mark svg { display: block; border-radius: 14px; filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--brand) 45%, transparent)); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.logo:hover .logo-mark svg { transform: rotate(-8deg) scale(1.06); }
.lm-dot { animation: lmPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lm-arc { stroke-dasharray: 60; stroke-dashoffset: 60; animation: lmDraw 1.4s 0.3s ease forwards; }
@keyframes lmPulse { 50% { transform: scale(1.5); opacity: 0.6; } }
@keyframes lmDraw { to { stroke-dashoffset: 0; } }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; font: 400 17px var(--display); letter-spacing: -0.02em; color: var(--ink); }
.logo-text b { font-weight: 800; }

.logo-text .ln { display: block; white-space: nowrap; }
.logo-text .ln b { font-weight: 800; }
.logo-text .ln span { font-weight: 500; color: var(--muted); }
.logo-text small { display: block; margin-top: 4px; font: 600 9.5px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); white-space: nowrap; }
@media (max-width: 520px) { .logo-text small { display: none; } }

/* ===== hero: abstract animated background ===== */
.hero-bg { --mx: 0; --my: 0; }
.abs-rings { position: absolute; right: -200px; top: -90px; width: 900px; height: 900px; opacity: 0.55; translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -18px); }
.ring { stroke: var(--brand); stroke-width: 1.2; stroke-dasharray: 3 9; transform-box: fill-box; transform-origin: center; opacity: 0.6; }
.ring.r1 { animation: spin 40s linear infinite; stroke-dasharray: none; opacity: 0.35; }
.ring.r2 { animation: spin 70s linear infinite reverse; }
.ring.r3 { animation: spin 110s linear infinite; stroke: var(--hot); stroke-dasharray: 2 14; }
.ring.r4 { animation: spin 150s linear infinite reverse; stroke-dasharray: 1 7; opacity: 0.4; }
.orbit { transform-box: view-box; transform-origin: 400px 400px; }
.orbit.o1 { animation: spin 18s linear infinite; }
.orbit.o2 { animation: spin 32s linear infinite reverse; }
.orbit.o3 { animation: spin 56s linear infinite; }
.dot { filter: drop-shadow(0 0 8px currentColor); }
.d-brand { fill: var(--brand); color: var(--brand); }
.d-hot { fill: var(--hot); color: var(--hot); }
.d-alt { fill: var(--brand-2); color: var(--brand-2); }
@keyframes spin { to { transform: rotate(360deg); } }
.abs-wave { position: absolute; left: 0; bottom: 4px; width: 100%; height: 180px; opacity: 0.5; }
.abs-wave path { stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: waveDraw 5s 0.4s ease-out forwards, waveFlow 9s 5s ease-in-out infinite alternate; }
.abs-wave .w2 { stroke: var(--hot); opacity: 0.7; animation-delay: 0.8s, 5.4s; }
@keyframes waveDraw { to { stroke-dashoffset: 0; } }
@keyframes waveFlow { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.shape { position: absolute; display: block; translate: calc(var(--mx, 0) * var(--k, 30) * 1px) calc(var(--my, 0) * var(--k, 30) * 1px); }
.shape::before { content: ''; position: absolute; inset: 0; }
.sh-1 { left: 1.5%; top: 17%; width: 54px; height: 54px; --k: 40; }
.sh-1::before { border-radius: 16px; border: 2px solid var(--brand); animation: floatRot 14s ease-in-out infinite; }
.sh-2 { left: 44%; top: 14%; width: 22px; height: 22px; --k: -26; }
.sh-2::before { border-radius: 50%; background: var(--hot); opacity: 0.8; animation: floatY 7s ease-in-out infinite; }
.sh-3 { right: 8%; bottom: 22%; width: 64px; height: 64px; --k: -44; }
.sh-3::before { background: var(--grad); clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: 0.55; animation: floatRot 18s ease-in-out -4s infinite reverse; }
.sh-4 { left: 46%; bottom: 20%; width: 38px; height: 38px; --k: 32; }
.sh-4::before { border-radius: 10px; background: color-mix(in srgb, var(--brand-2) 55%, transparent); animation: floatRot 11s ease-in-out -2s infinite; }
.sh-5 { right: 36%; top: 8%; width: 16px; height: 16px; --k: 20; }
.sh-5::before { border-radius: 50%; border: 2px solid var(--brand-2); animation: floatY 9s ease-in-out -3s infinite; }
.sh-6 { left: 52%; bottom: 3%; width: 88px; height: 88px; --k: -22; }
.sh-6::before { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: var(--grad); opacity: 0.18; animation: morph 12s ease-in-out infinite, floatY 10s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(-22px); } }
@keyframes floatRot { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(90deg); } }
@keyframes morph { 50% { border-radius: 63% 37% 41% 59% / 55% 62% 38% 45%; } }

/* hero: name, portrait, entrance */
.hero-title .name { background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 30%, var(--brand) 52%, var(--hot) 68%, var(--ink) 88%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: nameFlow 9s ease-in-out infinite alternate; padding-bottom: 0.06em; }
@keyframes nameFlow { from { background-position: 100% 0; } to { background-position: 0 0; } }
.portrait-ring { background: conic-gradient(from 0deg, var(--brand), var(--hot), var(--brand-2), var(--brand)); animation: spin 14s linear infinite; filter: blur(1px); opacity: 0.85; }
.portrait > img { animation: floatY 9s ease-in-out infinite; }
.hero-copy > * { animation: heroRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-copy > :nth-child(6) { animation-delay: 0.4s; }
.hero-copy > :nth-child(7) { animation-delay: 0.48s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } }
@media (max-width: 900px) { .abs-rings { right: -380px; opacity: 0.4; } .shape { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .ring, .orbit, .shape::before, .portrait-ring, .portrait > img, .hero-title .name, .hero-copy > *, .abs-wave path, .lm-dot, .lm-arc { animation: none !important; }
  .abs-wave path, .lm-arc { stroke-dashoffset: 0; }
}

.fam-logo{display:block;margin:0 auto 18px;height:35px;width:auto}
.maker{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:16px}.maker img{height:26px;width:auto}

.by-jl{display:inline-flex;align-items:center;padding-left:16px;border-left:1px solid var(--line);margin-left:4px}.by-jl img{height:21px;width:auto}
@media (max-width:1100px){.by-jl{display:none}}

.face path{stroke-dasharray:1;stroke-dashoffset:1;animation:faceDraw 1.8s .2s ease forwards}
.face path:nth-child(2){animation-delay:.5s}.face path:nth-child(3){animation-delay:.8s}.face path:nth-child(n+4){animation-delay:1.1s}
@keyframes faceDraw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.face path{animation:none;stroke-dashoffset:0}}

/* logo: photo in a gradient ring */
.logo-photo { width: 46px; height: 46px; padding: 2.5px; border-radius: 50%; background: conic-gradient(from 200deg, var(--brand), var(--hot), var(--brand-2), var(--brand)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--brand) 60%, transparent); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.logo-photo { overflow: hidden; }
.logo-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 30%; transform: scale(1.05); transform-origin: 50% 45%; background: #fff; box-shadow: 0 0 0 2px var(--surface); }
.logo:hover .logo-photo { transform: rotate(-6deg) scale(1.06); }

/* logo wordmark: refined type */
.logo { gap: 14px; }
.logo-photo { width: 50px; height: 50px; padding: 3px; }
.logo-text { font: 400 22px/1 var(--display); letter-spacing: -0.035em; }
.logo-text .ln { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.logo-text .ln b { font-weight: 800; color: var(--ink); }
.logo-text .ln span { font-weight: 500; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-text .ln::after { content: ''; align-self: center; width: 6px; height: 6px; margin-left: 2px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 25%, transparent); }
@media (max-width: 520px) { .logo-text { font-size: 19px; } .logo-photo { width: 44px; height: 44px; } }

.fc-icon.fc-logo { background: #fff; box-shadow: 0 6px 16px -8px rgba(14, 15, 20, 0.35), 0 0 0 1px var(--line); }
.fc-icon.fc-logo img { width: 26px; height: 26px; display: block; }
