﻿@font-face {
  font-family: "Marble";
  src: url("assets/fonts/Marble-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marble";
  src: url("assets/fonts/Marble-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marble";
  src: url("assets/fonts/Marble-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #05030b;
  --bg-deep: #090513;
  --surface: rgba(17, 12, 30, 0.86);
  --surface-soft: rgba(12, 8, 22, 0.7);
  --surface-strong: rgba(8, 5, 17, 0.94);
  --text: #f6f4fb;
  --muted: #b9b2c8;
  --muted-strong: #dfd8ee;
  --pink: #ff5ca8;
  --violet: #9c39ff;
  --blue: #6db7ff;
  --coral: #ff7a75;
  --focus: rgba(255, 255, 255, 0.96);
  --shadow-lg: 0 34px 90px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 54px rgba(0, 0, 0, 0.26);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --page-gutter: clamp(18px, 2vw, 1.5cm);
  --font-body: "Marble", "Palatino Linotype", Georgia, serif;
  --font-heading: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --font-ui: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 92, 168, 0.18), transparent 24%),
    radial-gradient(circle at 85% 16%, rgba(109, 183, 255, 0.2), transparent 24%),
    radial-gradient(circle at 50% 78%, rgba(156, 57, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #05030b 0%, #090513 44%, #05030b 100%);
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}
body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 24%, transparent 82%);
  opacity: 0.42;
}
body::after {
  background: linear-gradient(130deg, transparent 0%, rgba(255, 255, 255, 0.03) 48%, transparent 100%);
  mix-blend-mode: screen;
  z-index: -1;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
main {
  position: relative;
}
.section,
.hero,
.footer {
  width: 100%;
  margin: 0;
  padding-inline: var(--page-gutter);
}
.section,
.hero {
  position: relative;
  scroll-margin-top: 112px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 12px 16px;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  z-index: 200;
  transition: top 180ms ease;
  font-family: var(--font-ui);
}
.skip-link:focus {
  top: 16px;
}
.page-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
}
.topbar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 15px var(--page-gutter);
  background: rgba(5, 3, 11, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.brand-mark,
.footer-mark {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(109, 183, 255, 0.16));
}
.brand-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.brand-name,
.nav a,
.footer-nav a,
.topbar-cta,
.button,
.lang-button,
.nav-toggle,
h1,
h2,
h3,
.contact-link,
.footer-title,
.project-link,
.status-pill,
.project-category,
.section-eyebrow,
.eyebrow,
.panel-label,
.brand-meta,
.caption-label {
  font-family: var(--font-ui);
}
.brand-name,
h1,
h2,
h3,
.contact-link,
.footer-title {
  font-family: var(--font-heading);
}
.brand-name {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-meta,
.eyebrow,
.section-eyebrow,
.panel-label,
.project-category,
.status-pill,
.footer-title,
.caption-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-meta {
  color: var(--muted);
  font-size: 0.72rem;
}
.nav-toggle,
.button,
.lang-button,
.social-link,
.project-link,
.nav-panel,
.nav a,
.footer-nav a,
.topbar-cta,
.info-panel,
.skill-item,
.project-card,
.contact-card,
.vision-body {
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: end;
  min-width: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-lines {
  display: inline-grid;
  gap: 5px;
}
.nav-toggle-lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
body.nav-open .nav-toggle-lines span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
body.nav-open .nav-toggle-lines span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.nav-toggle-text {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-panel,
.nav,
.topbar-actions,
.lang-switch,
.hero-actions,
.footer-nav,
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-panel {
  justify-content: space-between;
  min-width: 0;
}
.nav {
  flex: 1;
  justify-content: center;
  gap: 20px;
}
.nav a,
.footer-nav a,
.topbar-cta {
  position: relative;
  color: var(--muted-strong);
  font-size: 0.92rem;
}
.nav a::after,
.footer-nav a::after,
.topbar-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
  opacity: 0.9;
}
.nav a:hover,
.nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible,
.topbar-cta:hover,
.topbar-cta:focus-visible {
  color: var(--text);
}
.nav a:hover::after,
.nav a:focus-visible::after,
.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.topbar-cta:hover::after,
.topbar-cta:focus-visible::after {
  transform: scaleX(1);
}
.topbar-actions {
  gap: 20px;
}
.lang-switch {
  padding: 4px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.05);
}
.lang-button {
  min-width: 46px;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.84rem;
  cursor: pointer;
}
.lang-button.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.section {
  padding-top: clamp(78px, 9vw, 118px);
}
.hero {
  padding-top: clamp(46px, 6vw, 74px);
}
.site-decor-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.site-spectrum-wave {
  position: absolute;
  width: min(52vw, 780px);
  height: auto;
  opacity: 0.08;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 42px rgba(109, 183, 255, 0.16));
}
.site-spectrum-wave-alpha {
  top: 5%;
  right: -12%;
  rotate: 18deg;
}
.site-spectrum-wave-beta {
  top: 46%;
  left: -14%;
  width: min(44vw, 660px);
  opacity: 0.06;
  rotate: -22deg;
}
.site-spectrum-wave-gamma {
  top: 18%;
  left: 44%;
  width: min(30vw, 420px);
  opacity: 0.05;
  rotate: 74deg;
}
.site-spectrum-wave-delta {
  top: 72%;
  right: 8%;
  width: min(38vw, 560px);
  opacity: 0.07;
  rotate: -14deg;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-spectrum-ring {
  position: absolute;
  width: min(36vw, 520px);
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.1;
  filter: drop-shadow(0 0 42px rgba(109, 183, 255, 0.12));
}
.hero-spectrum-ring-left {
  top: 0;
  left: -4%;
  transform: rotate(-20deg);
}
.hero-spectrum-ring-right {
  top: 28%;
  right: -5%;
  transform: rotate(18deg);
  opacity: 0.08;
}
.hero-grid,
.about-grid,
.vision-layout,
.footer {
  display: grid;
  gap: 32px 48px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.16fr) minmax(370px, 0.84fr);
  grid-template-areas:
    "copy visual"
    "panels visual";
  align-items: start;
}
.hero-copy {
  grid-area: copy;
  max-width: 820px;
}
.hero-visual {
  grid-area: visual;
  min-width: 0;
}
.hero-visual[data-parallax-scene] {
  --hero-parallax-x: 0;
  --hero-parallax-y: 0;
  --hero-parallax-scroll: 0;
}
.hero-panels {
  grid-area: panels;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 920px;
}
.eyebrow,
.section-eyebrow,
.panel-label,
.caption-label {
  margin: 0 0 18px;
  color: var(--muted-strong);
  font-size: 0.76rem;
  font-weight: 600;
}
.eyebrow:empty,
.panel-label:empty,
.about-lead:empty,
.about-body p:empty,
.about-signature:empty,
.portrait-caption p:empty {
  display: none;
}
.hero-title,
h2 {
  margin: 0;
  line-height: 0.9;
  text-wrap: balance;
  letter-spacing: -0.055em;
}
.hero-title {
  max-width: 8.9ch;
  font-size: clamp(3.4rem, 7.2vw, 6.7rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.2rem);
  font-weight: 700;
}
h3 {
  margin: 0;
  font-size: 1.48rem;
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.hero-subheadline,
.section-intro,
.about-body p,
.about-lead,
.contact-note,
.vision-copy,
.footer-copy p,
.skill-content p,
.project-description,
.portrait-caption p {
  color: var(--muted);
}
.hero-subheadline {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  color: var(--muted-strong);
}
.hero-actions {
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 21px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--pink), var(--violet) 54%, var(--blue));
  box-shadow: 0 14px 28px rgba(126, 77, 255, 0.26);
  color: #ffffff;
  font-weight: 700;
}
.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.info-panel,
.skill-item,
.project-card,
.contact-card,
.vision-body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(180deg, rgba(15, 11, 28, 0.98), rgba(9, 6, 18, 0.96));
  box-shadow: var(--shadow-md);
}
.info-panel::after,
.skill-item::after,
.project-card::after,
.contact-card::after,
.vision-body::after {
  content: "";
  position: absolute;
  inset: auto -8% -26% -8%;
  height: 48%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.info-panel {
  min-width: 0;
  padding: 24px 24px 22px;
}
.info-panel-alt {
  background:
    linear-gradient(150deg, rgba(109, 183, 255, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(15, 11, 29, 0.98), rgba(8, 7, 19, 0.96));
}
.hero-list,
.vision-list,
.skill-highlights,
.project-highlights {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-list {
  display: grid;
  gap: 11px;
}
.hero-list-item,
.vision-item {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
}
.hero-list-item::before,
.vision-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  transform: translateY(-50%);
}
.portrait-stage {
  --portrait-frame-inset: clamp(18px, 4.8%, 34px);
  position: relative;
  min-height: clamp(560px, 60vw, 780px);
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 92, 168, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(109, 183, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, rgba(8, 5, 17, 0.94), rgba(5, 3, 11, 0.98));
  box-shadow: var(--shadow-lg);
}
.portrait-stage::before,
.portrait-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portrait-stage::before {
  background: linear-gradient(180deg, rgba(5, 3, 11, 0) 0%, rgba(5, 3, 11, 0.1) 52%, rgba(5, 3, 11, 0.42) 100%);
  z-index: 0;
}
.portrait-stage::after {
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.04) 48%, transparent 72%);
  mix-blend-mode: screen;
  opacity: 0.28;
  z-index: 0;
}
.portrait-aura,
.portrait-orbit,
.portrait-grid,
.portrait-beam,
.portrait-floor {
  position: absolute;
  pointer-events: none;
}
.portrait-aura,
.portrait-orbit,
.portrait-grid {
  inset: 0;
}
.portrait-aura-one {
  background: radial-gradient(circle at 20% 16%, rgba(255, 92, 168, 0.3), transparent 26%);
  z-index: 0;
}
.portrait-aura-two {
  background: radial-gradient(circle at 80% 24%, rgba(109, 183, 255, 0.24), transparent 29%);
  z-index: 0;
}
.portrait-orbit-one {
  background-image: radial-gradient(ellipse at 60% 42%, transparent 57%, rgba(255, 255, 255, 0.08) 58%, transparent 60%);
  opacity: 0.42;
  z-index: 1;
  transform: translate3d(calc(var(--hero-parallax-x) * 12px), calc((var(--hero-parallax-scroll) * -10px) + (var(--hero-parallax-y) * 10px)), 0) scale(1.08) rotate(-8deg);
}
.portrait-orbit-two {
  background-image: radial-gradient(ellipse at 50% 50%, transparent 63%, rgba(255, 255, 255, 0.06) 64%, transparent 66%);
  opacity: 0.34;
  z-index: 1;
  transform: translate3d(calc(var(--hero-parallax-x) * -10px), calc((var(--hero-parallax-scroll) * 10px) + (var(--hero-parallax-y) * -8px)), 0) scale(1.2) rotate(12deg);
}
.portrait-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.54), transparent 88%);
  opacity: 0.22;
  z-index: 1;
  transform: translate3d(calc(var(--hero-parallax-x) * 6px), calc(var(--hero-parallax-scroll) * -8px), 0);
}
.portrait-beam {
  top: 10%;
  left: 10%;
  width: 42%;
  height: 38%;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 214, 179, 0.22), rgba(255, 255, 255, 0.03) 52%, transparent 84%);
  filter: blur(1px);
  opacity: 0.48;
  z-index: 1;
  transform: translate3d(calc(var(--hero-parallax-x) * 8px), calc((var(--hero-parallax-scroll) * -8px) + (var(--hero-parallax-y) * 6px)), 0);
}
.portrait-floor {
  left: 10%;
  right: 8%;
  bottom: 8%;
  height: 18%;
  background: radial-gradient(circle at center, rgba(255, 122, 117, 0.18), rgba(109, 183, 255, 0.05) 42%, transparent 76%);
  filter: blur(26px);
  z-index: 1;
  transform: translate3d(calc(var(--hero-parallax-x) * -6px), calc(var(--hero-parallax-scroll) * 8px), 0);
}
.portrait-card {
  position: absolute;
  top: clamp(24px, 5.2%, 38px);
  left: var(--portrait-frame-inset);
  width: min(calc(100% - (var(--portrait-frame-inset) * 2)), 560px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 30px;
  background: #130d1a;
  box-shadow: 0 30px 82px rgba(0, 0, 0, 0.42);
  z-index: 2;
  transform: translate3d(calc(var(--hero-parallax-x) * -18px), calc((var(--hero-parallax-scroll) * -26px) + (var(--hero-parallax-y) * -14px)), 0);
  will-change: transform;
}
.portrait-card::before,
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.portrait-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(135deg, rgba(255, 196, 152, 0.16), transparent 38%),
    linear-gradient(180deg, transparent 54%, rgba(5, 3, 11, 0.24) 100%);
  z-index: 2;
}
.portrait-card::after {
  inset: -1%;
  background:
    radial-gradient(circle at center, transparent 38%, rgba(7, 5, 14, 0.16) 68%, rgba(4, 2, 8, 0.62) 100%),
    linear-gradient(0deg, rgba(5, 3, 11, 0.14), rgba(5, 3, 11, 0.14));
  z-index: 3;
}
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.78) contrast(1.08) brightness(0.96) sepia(0.18);
  transform: scale(1.04);
}
.hero-logo-mark {
  position: absolute;
  right: clamp(20px, 5.4%, 34px);
  bottom: clamp(118px, 22%, 170px);
  width: clamp(128px, 15vw, 178px);
  height: auto;
  opacity: 0.94;
  filter: drop-shadow(0 14px 30px rgba(109, 183, 255, 0.24));
  z-index: 4;
  transform: translate3d(calc(var(--hero-parallax-x) * 14px), calc((var(--hero-parallax-scroll) * 12px) + (var(--hero-parallax-y) * 10px)), 0) rotate(-8deg);
  will-change: transform;
}
.portrait-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 5;
  display: grid;
  gap: 8px;
  max-width: min(410px, calc(100% - 48px));
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(9, 6, 18, 0.6), rgba(6, 4, 12, 0.74));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
  transform: translate3d(calc(var(--hero-parallax-x) * 8px), calc((var(--hero-parallax-scroll) * 8px) + (var(--hero-parallax-y) * 8px)), 0);
  will-change: transform;
}
.portrait-caption p,
.caption-label,
.contact-link,
.about-lead,
.vision-copy,
.footer-meta {
  margin: 0;
}
.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}
.section-intro {
  max-width: 64ch;
  margin: 0;
}
.about-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}
.about-lead {
  font-size: clamp(1.48rem, 2.4vw, 2rem);
  line-height: 1.34;
  color: var(--muted-strong);
}
.about-body {
  display: grid;
  gap: 16px;
}
.about-signature {
  color: var(--muted) !important;
  font-weight: 400 !important;
}
.skills-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.skill-item {
  display: grid;
  gap: 18px;
  padding: 24px;
}
.skill-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 16%, color-mix(in srgb, var(--skill-accent) 34%, transparent), transparent 22%);
  opacity: 0.84;
}
.skill-content,
.project-main,
.project-footer,
.project-top {
  position: relative;
  z-index: 1;
}
.skill-content {
  display: grid;
  gap: 10px;
}
.skill-content p,
.project-description {
  margin: 0;
}
.skill-highlights,
.project-highlights {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.skill-highlight,
.project-highlight,
.social-link {
  padding: 9px 13px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-family: var(--font-ui);
  font-size: 0.84rem;
}
.projects-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  min-height: 372px;
  padding: 26px;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 14%, color-mix(in srgb, var(--project-accent) 32%, transparent), transparent 26%),
    radial-gradient(circle at 82% 90%, color-mix(in srgb, var(--project-accent) 16%, transparent), transparent 30%);
  opacity: 0.94;
}
.project-top,
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.project-top {
  align-items: flex-start;
  justify-content: flex-start;
}
.project-main {
  display: grid;
  gap: 12px;
}
.project-main h3 {
  max-width: 13ch;
}
.project-category {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted-strong);
  font-weight: 600;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  font-weight: 600;
}
.status-live {
  color: #ffe1f0;
}
.status-development {
  color: #ded7ff;
}
.status-comingSoon {
  color: #d9efff;
}
.project-footer {
  margin-top: auto;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
}
.project-link::after {
  content: "->";
  font-size: 0.86rem;
  opacity: 0.82;
}
.vision-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}
.vision-body {
  padding: 28px;
  border-radius: var(--radius-xl);
}
.vision-copy {
  font-size: clamp(1.12rem, 1.9vw, 1.4rem);
  color: var(--muted-strong);
}
.vision-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}
.contact-link {
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 650;
}
.social-links {
  flex-wrap: wrap;
}
.footer {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) auto;
  align-items: end;
  padding-top: 58px;
  padding-bottom: 42px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-copy {
  display: grid;
  gap: 6px;
}
.footer-copy p {
  margin: 0;
}
.footer-title {
  margin: 0;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
}
.footer-nav {
  justify-content: center;
  flex-wrap: wrap;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  color: var(--muted);
  text-align: right;
  font-family: var(--font-ui);
  font-size: 0.92rem;
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.button:hover,
.button:focus-visible,
.lang-button:hover,
.lang-button:focus-visible,
.project-link:hover,
.project-link:focus-visible,
.social-link:hover,
.social-link:focus-visible,
.nav-toggle:hover,
.nav-toggle:focus-visible,
.info-panel:hover,
.skill-item:hover,
.project-card:hover,
.contact-card:hover,
.vision-body:hover {
  transform: translateY(-2px);
}
@media (max-width: 1160px) {
  .hero-grid,
  .about-grid,
  .vision-layout,
  .footer {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-areas:
      "copy"
      "visual"
      "panels";
  }
  .hero-panels {
    max-width: 100%;
  }
  .footer-meta {
    justify-content: flex-start;
    text-align: left;
  }
}
@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto auto;
    gap: 18px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: var(--page-gutter);
    right: var(--page-gutter);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.07), transparent 36%),
      rgba(8, 5, 17, 0.96);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    z-index: 120;
  }
  body.nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav,
  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .nav {
    justify-content: flex-start;
    gap: 0;
  }
  .nav a,
  .topbar-cta {
    padding: 11px 4px;
    font-size: 0.96rem;
  }
  .nav a::after,
  .topbar-cta::after {
    bottom: 3px;
  }
  .lang-switch {
    width: fit-content;
  }
  .hero-panels,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .site-spectrum-wave-alpha {
    top: 2%;
    right: -24%;
    width: min(92vw, 520px);
    opacity: 0.08;
  }
  .site-spectrum-wave-beta {
    top: 58%;
    left: -28%;
    width: min(86vw, 420px);
    opacity: 0.07;
  }
  .site-spectrum-wave-gamma {
    top: 24%;
    left: 48%;
    width: min(54vw, 240px);
    opacity: 0.06;
  }
  .site-spectrum-wave-delta {
    top: 78%;
    right: -10%;
    width: min(74vw, 320px);
    opacity: 0.07;
  }
  .topbar {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    width: 62px;
    height: 62px;
  }
  .brand-meta {
    display: none;
  }
  .nav-toggle {
    padding-inline: 0;
  }
  .nav-toggle-text {
    display: none;
  }
  .hero-title {
    max-width: 9.4ch;
    font-size: clamp(3rem, 12.8vw, 5.2rem);
  }
  .hero-subheadline {
    font-size: 1.02rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button,
  .button-ghost {
    width: 100%;
  }
  .hero-spectrum-ring-left {
    top: 6%;
    left: -14%;
    width: min(52vw, 250px);
    opacity: 0.04;
  }
  .hero-spectrum-ring-right {
    display: none;
  }
  .portrait-stage {
    --portrait-frame-inset: 14px;
    min-height: 468px;
  }
  .portrait-card {
    top: 16px;
    width: calc(100% - (var(--portrait-frame-inset) * 2));
    border-radius: 24px;
  }
  .hero-logo-mark {
    right: 16px;
    bottom: 112px;
    width: clamp(114px, 30vw, 150px);
  }
  .portrait-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px;
    max-width: none;
  }
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card,
  .skill-item,
  .contact-card,
  .vision-body,
  .info-panel {
    padding: 20px;
  }
}
@media (max-width: 540px) {
  .hero {
    padding-top: 34px;
  }
  .hero-title {
    font-size: clamp(2.72rem, 12vw, 4.1rem);
  }
  .hero-subheadline {
    margin-top: 18px;
  }
  .brand-mark {
    width: 56px;
    height: 56px;
  }
  .footer {
    padding-top: 50px;
  }
}
@media (prefers-contrast: more) {
  .topbar,
  .info-panel,
  .skill-item,
  .project-card,
  .contact-card,
  .vision-body,
  .portrait-caption {
    background: rgba(8, 5, 17, 0.96);
  }
  .button-ghost,
  .project-link,
  .social-link,
  .lang-switch,
  .nav-toggle {
    background: rgba(255, 255, 255, 0.14);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-visual[data-parallax-scene] {
    --hero-parallax-x: 0;
    --hero-parallax-y: 0;
    --hero-parallax-scroll: 0;
  }
  .hero .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Direction update: single-logo identity with ambient full-bleed imagery. */
body {
  position: relative;
  isolation: isolate;
}
.page-atmosphere {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -4;
}
.page-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 92, 168, 0.18), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(109, 183, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(5, 3, 11, 0.08), rgba(5, 3, 11, 0.68) 34%, rgba(5, 3, 11, 0.94) 100%);
}
.page-atmosphere-shot {
  position: absolute;
  height: auto;
  opacity: 0.12;
  mix-blend-mode: screen;
  transform-origin: center;
}
.page-atmosphere-shot-one {
  top: -7%;
  right: -18%;
  width: min(88vw, 1140px);
  transform: rotate(-7deg) scale(1.2);
}
.page-atmosphere-shot-two {
  top: 46%;
  left: -16%;
  width: min(82vw, 1040px);
  opacity: 0.1;
  transform: rotate(7deg) scale(1.18);
}
.page-noise {
  opacity: 0.024;
}
.topbar {
  gap: clamp(20px, 3vw, 34px);
  padding-top: 12px;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(6, 4, 13, 0.92), rgba(6, 4, 13, 0.82));
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}
.brand {
  gap: 18px;
}
.brand-mark {
  width: 176px;
  height: 176px;
  flex: 0 0 auto;
  filter: drop-shadow(0 16px 34px rgba(109, 183, 255, 0.22));
}
.brand-copy {
  gap: 6px;
  padding-top: 8px;
}
.brand-name {
  font-size: 1.24rem;
}
.brand-meta {
  max-width: 22ch;
  font-size: 0.75rem;
}
.hero {
  padding-top: clamp(54px, 7vw, 90px);
}
.hero-grid {
  gap: 40px 64px;
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  align-items: center;
}
.hero-copy {
  padding-top: 10px;
}
.hero-subheadline {
  max-width: 46ch;
}
.hero-panels {
  grid-template-columns: minmax(0, 1fr);
  max-width: 430px;
}
.info-panel {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(14, 10, 25, 0.92), rgba(8, 5, 17, 0.84));
  backdrop-filter: blur(16px);
}
.portrait-stage {
  --portrait-frame-inset: clamp(18px, 4.6%, 34px);
  min-height: clamp(600px, 62vw, 820px);
  border-radius: 38px;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 92, 168, 0.22), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(109, 183, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(8, 5, 17, 0.9), rgba(5, 3, 11, 0.98));
}
.portrait-stage::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 92, 168, 0.18), transparent 28%),
    radial-gradient(circle at 80% 22%, rgba(109, 183, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(5, 3, 11, 0.02) 0%, rgba(5, 3, 11, 0.14) 52%, rgba(5, 3, 11, 0.42) 100%);
  z-index: 0;
}
.portrait-stage::after {
  background:
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.04) 46%, transparent 74%),
    url("assets/ambient-tech-b.jpg?v=20260314-1") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.18;
  z-index: 0;
}
.portrait-aura-one {
  background: radial-gradient(circle at 20% 18%, rgba(255, 92, 168, 0.2), transparent 24%);
}
.portrait-aura-two {
  background: radial-gradient(circle at 76% 24%, rgba(109, 183, 255, 0.18), transparent 28%);
}
.portrait-grid {
  background-size: 82px 82px;
  opacity: 0.14;
}
.portrait-beam {
  top: 8%;
  left: 12%;
  width: 26%;
  height: 70%;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 215, 179, 0.22), transparent 82%);
  filter: blur(18px);
  opacity: 0.38;
}
.portrait-floor {
  left: 16%;
  right: 10%;
  bottom: 5%;
  height: 18%;
  background: radial-gradient(circle at center, rgba(255, 122, 117, 0.18), rgba(109, 183, 255, 0.06) 40%, transparent 74%);
}
.portrait-card {
  top: clamp(34px, 8%, 64px);
  right: var(--portrait-frame-inset);
  left: auto;
  width: min(calc(100% - (var(--portrait-frame-inset) * 2)), 520px);
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.46);
}
.portrait-card::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 18%),
    linear-gradient(135deg, rgba(255, 92, 168, 0.12), transparent 40%),
    linear-gradient(220deg, rgba(109, 183, 255, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.016) 0 1px, transparent 1px 4px);
  z-index: 2;
}
.portrait-card::after {
  inset: -1%;
  background:
    radial-gradient(circle at center, transparent 34%, rgba(7, 5, 14, 0.16) 66%, rgba(4, 2, 8, 0.68) 100%),
    linear-gradient(180deg, rgba(5, 3, 11, 0) 48%, rgba(5, 3, 11, 0.22) 100%);
}
.portrait-photo {
  object-position: center 22%;
  filter: saturate(0.92) contrast(1.04) brightness(0.93) sepia(0.12);
  transform: scale(1.06);
}
.portrait-caption {
  left: 22px;
  right: auto;
  bottom: 20px;
  max-width: min(340px, calc(100% - 44px));
  background: linear-gradient(180deg, rgba(8, 5, 17, 0.74), rgba(6, 4, 12, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer {
  grid-template-columns: minmax(0, 1.2fr) auto auto;
  gap: 24px 32px;
  align-items: start;
}
.footer-brand {
  align-items: flex-start;
}
.footer-copy {
  max-width: 30ch;
}
@media (max-width: 1160px) {
  .hero-grid {
    align-items: start;
  }
  .hero-panels {
    max-width: 100%;
  }
}
@media (max-width: 980px) {
  .topbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .brand-mark {
    width: 134px;
    height: 134px;
  }
  .nav-panel {
    top: calc(100% + 8px);
  }
  .hero-grid {
    gap: 30px;
  }
  .portrait-stage {
    min-height: 560px;
  }
}
@media (max-width: 720px) {
  .page-atmosphere-shot-one {
    top: -2%;
    right: -38%;
    width: min(150vw, 920px);
  }
  .page-atmosphere-shot-two {
    top: 62%;
    left: -42%;
    width: min(148vw, 900px);
  }
  .topbar {
    gap: 12px;
  }
  .brand {
    gap: 12px;
  }
  .brand-mark {
    width: 116px;
    height: 116px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .hero {
    padding-top: 42px;
  }
  .hero-grid {
    gap: 28px;
  }
  .portrait-stage {
    min-height: 500px;
    border-radius: 28px;
  }
  .portrait-card {
    top: 18px;
    right: var(--portrait-frame-inset);
    width: calc(100% - (var(--portrait-frame-inset) * 2));
    border-radius: 24px;
  }
  .portrait-photo {
    object-position: center 18%;
  }
}
@media (max-width: 540px) {
  .brand-mark {
    width: 100px;
    height: 100px;
  }
  .brand-meta {
    display: block;
    font-size: 0.66rem;
  }
  .topbar {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-atmosphere-shot {
    transform: none !important;
  }
}
@media (max-width: 720px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .brand {
    min-width: 0;
    gap: 10px;
  }
  .brand-copy {
    min-width: 0;
    padding-top: 0;
  }
  .brand-mark {
    width: 88px;
    height: 88px;
  }
  .brand-name {
    font-size: 0.92rem;
  }
  .brand-meta {
    display: none;
  }
}
@media (max-width: 540px) {
  .brand-mark {
    width: 76px;
    height: 76px;
  }
  .brand-name {
    font-size: 0.88rem;
  }
  .brand-meta {
    display: none;
  }
}
@media (max-width: 720px) {
  .portrait-orbit,
  .portrait-grid,
  .portrait-beam,
  .portrait-floor,
  .portrait-caption {
    display: none;
  }
  .portrait-stage {
    min-height: 0;
    aspect-ratio: 4 / 5;
    padding: 14px;
    background:
      linear-gradient(180deg, rgba(9, 6, 18, 0.86), rgba(5, 3, 11, 0.94)),
      url("assets/ambient-tech-b.jpg?v=20260314-1") center / cover no-repeat;
  }
  .portrait-card {
    inset: 14px;
    top: auto;
    right: auto;
    left: auto;
    width: auto;
    border-radius: 24px;
    transform: none !important;
  }
  .portrait-card::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%),
      linear-gradient(135deg, rgba(255, 92, 168, 0.08), transparent 40%),
      linear-gradient(220deg, rgba(109, 183, 255, 0.12), transparent 42%);
  }
}
@media (max-width: 1160px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "panels";
  }
}
@media (max-width: 720px) {
  .hero-panels {
    max-width: none;
  }
}
.hero-ambient-surface {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 4, 12, 0.16), rgba(6, 4, 12, 0.28)),
    radial-gradient(circle at 20% 24%, rgba(255, 92, 168, 0.22), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(109, 183, 255, 0.18), transparent 32%),
    url("assets/about-photo-ann.jpg?v=20260401-7") center 10% / cover no-repeat;
  filter: saturate(0.92) contrast(1.02) brightness(0.9);
}
.hero-ambient-surface::before,
.hero-ambient-surface::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero-ambient-surface::before {
  background: url("assets/ambient-tech-b.jpg?v=20260314-1") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.32;
}
.hero-ambient-surface::after {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 38%),
    linear-gradient(180deg, transparent 58%, rgba(5, 3, 11, 0.28) 100%);
}
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.84fr);
  align-items: stretch;
}
.contact-card-primary {
  align-content: start;
}
.contact-photo-card {
  min-height: 0;
  padding: 14px;
  aspect-ratio: 1 / 1;
}
.contact-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(15, 11, 28, 0.98), rgba(8, 5, 17, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.contact-photo-frame::before,
.contact-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.contact-photo-frame::before {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 92, 168, 0.16), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(109, 183, 255, 0.16), transparent 28%);
  z-index: 1;
}
.contact-photo-frame::after {
  background:
    radial-gradient(circle at center, transparent 34%, rgba(7, 5, 14, 0.14) 68%, rgba(4, 2, 8, 0.68) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, transparent 58%, rgba(5, 3, 11, 0.24) 100%);
  z-index: 2;
}
.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.94) contrast(1.04) brightness(0.94) sepia(0.1);
}
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-photo-card {
    max-width: min(420px, 100%);
  }
}
#about h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 0.96;
}
.brand-mark-shell {
  display: block;
  width: 176px;
  height: 176px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 980px) {
  .brand-mark-shell {
    width: 134px;
    height: 134px;
  }
}
@media (max-width: 720px) {
  .brand-mark-shell {
    width: 88px;
    height: 88px;
  }
}
@media (max-width: 540px) {
  .brand-mark-shell {
    width: 76px;
    height: 76px;
  }
}
/* Layout polish: March 2026 refresh */
.brand-mark-shell {
  width: 98px;
  height: 104px;
}
.topbar {
  gap: clamp(18px, 2.4vw, 30px);
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  gap: 14px;
}
.brand-copy {
  gap: 4px;
  min-width: 0;
  padding-top: 0;
  align-content: center;
}
.brand-name {
  font-size: 1.04rem;
  line-height: 1;
}
.brand-meta {
  max-width: none;
  white-space: nowrap;
  font-size: 0.64rem;
  line-height: 1.15;
  letter-spacing: 0.12em;
}
.nav-panel {
  gap: clamp(18px, 2.2vw, 28px);
}
.nav {
  justify-content: flex-end;
  gap: clamp(14px, 1.8vw, 22px);
}
.topbar-actions {
  gap: 14px;
}
.hero {
  padding-top: clamp(42px, 5vw, 72px);
}
.hero-grid {
  gap: clamp(32px, 4vw, 58px);
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  align-items: start;
}
.hero-copy {
  max-width: 760px;
  padding-top: clamp(16px, 2vw, 28px);
}
.hero-title,
.section-heading h2,
.project-main h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.12em;
}
.hero-title {
  max-width: 10.2ch;
  font-size: clamp(3.15rem, 6vw, 5.65rem);
}
.hero-subheadline {
  max-width: 40ch;
}
.hero-visual {
  width: min(100%, 520px);
  justify-self: end;
  align-self: start;
}
.portrait-stage {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
}
.portrait-card {
  top: clamp(24px, 5%, 40px);
  right: var(--portrait-frame-inset);
  left: auto;
  width: min(calc(100% - (var(--portrait-frame-inset) * 2)), 430px);
  border-radius: 28px;
}
.portrait-caption {
  max-width: min(310px, calc(100% - 44px));
}
.hero-panels {
  max-width: 360px;
}
.projects-grid {
  gap: 24px;
}
.project-card {
  min-height: 348px;
}
.hero-title::after,
.section-heading h2::after,
.project-main h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--violet) 52%, var(--blue));
  opacity: 0.38;
  transform: scaleX(0.14);
  transform-origin: left center;
  transition: transform 180ms ease, opacity 180ms ease;
}
.hero-copy:hover .hero-title::after,
.section-heading:hover h2::after,
.project-card:hover h3::after,
.project-card:focus-within h3::after {
  opacity: 0.96;
  transform: scaleX(1);
}
@media (min-width: 901px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  }
}
@media (max-width: 980px) {
  .brand-mark-shell {
    width: 88px;
    height: 94px;
  }
  .brand-meta {
    font-size: 0.58rem;
  }
  .hero-grid {
    gap: 28px;
  }
}
@media (max-width: 720px) {
  .brand-mark-shell {
    width: 72px;
    height: 76px;
  }
  .hero-title {
    max-width: none;
    font-size: clamp(2.9rem, 11vw, 4.6rem);
  }
  .hero-visual {
    width: 100%;
  }
  .hero-panels {
    max-width: none;
  }
}
@media (max-width: 540px) {
  .brand-mark-shell {
    width: 64px;
    height: 68px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title::after,
  .section-heading h2::after,
  .project-main h3::after {
    transition: none;
  }
}
/* Layout polish: March 2026 hero system */
.hero-grid {
  gap: clamp(26px, 2.6vw, 34px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.hero-copy {
  max-width: 100%;
  padding-top: 0;
}
.hero-subheadline {
  max-width: 34ch;
}
.hero-panels {
  max-width: none;
  width: 100%;
}
.hero-visual {
  display: flex;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  align-self: stretch;
  margin-left: 0;
}
.portrait-stage {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 34px;
}
.portrait-card {
  top: clamp(18px, 3.4%, 26px);
  right: clamp(18px, 3.4%, 26px);
  bottom: clamp(90px, 15%, 124px);
  left: clamp(18px, 3.4%, 26px);
  width: auto;
  aspect-ratio: auto;
  border-radius: 28px;
}
.portrait-caption {
  left: 20px;
  right: 20px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 40px));
}
@media (max-width: 1180px) {
  .hero-grid {
    gap: 24px;
  }
  .portrait-card {
    bottom: clamp(84px, 14%, 112px);
  }
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero-visual {
    width: min(100%, 520px);
    justify-self: center;
    align-self: start;
  }
  .portrait-stage {
    aspect-ratio: 4 / 4.7;
    height: auto;
  }
  .portrait-card {
    top: clamp(22px, 4.4%, 32px);
    right: var(--portrait-frame-inset);
    bottom: auto;
    left: var(--portrait-frame-inset);
    width: auto;
    aspect-ratio: 4 / 3.45;
  }
}
@media (max-width: 720px) {
  .hero-subheadline {
    max-width: none;
  }
  .hero-panels {
    max-width: none;
  }
}
/* Layout polish: March 2026 text-contact cleanup */
.hero-title::after,
#projects .section-heading h2::after,
#about .section-heading h2::after {
  display: none;
}
.hero-copy:hover .hero-title::after,
#about .section-heading:hover h2::after {
  opacity: 0;
  transform: none;
}
#about .section-heading .section-eyebrow,
#projects .section-heading .section-eyebrow {
  position: relative;
  display: inline-block;
  padding-bottom: 0.7rem;
}
#about .section-heading .section-eyebrow::after,
#projects .section-heading .section-eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--violet) 52%, var(--blue));
  opacity: 0.82;
}
.contact-grid {
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: start;
  gap: 14px;
  max-width: min(520px, 100%);
}
.contact-card-primary {
  width: min(100%, 520px);
}
.contact-photo-card {
  justify-self: start;
  width: min(368px, 72vw);
  max-width: 368px;
  margin-top: 2px;
  padding: 10px;
  aspect-ratio: 1 / 1;
}
.contact-photo-frame {
  border-radius: 18px;
}
@media (max-width: 980px) {
  .contact-grid {
    max-width: 100%;
  }
  .contact-photo-card {
    width: min(352px, 80vw);
    max-width: 352px;
  }
}
/* Layout polish: March 2026 header top cleanup */
.site-header {
  isolation: isolate;
  overflow: visible;
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #05030b;
  pointer-events: none;
  z-index: 3;
}
.topbar {
  overflow: visible;
}
/* Layout polish: March 2026 badge alignment */
.skill-highlight,
.project-highlight,
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  line-height: 1.1;
}
.status-pill {
  justify-content: center;
  min-height: 30px;
  line-height: 1;
}
/* Layout polish: March 2026 logo top clip */
.brand-mark-shell {
  overflow: clip;
}
.brand-mark {
  transform: translateY(1px);
  clip-path: inset(1px 0 0 0);
}
/* Optimization pass: March 2026 semantics and rendering */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sr-only::after {
  display: none !important;
}
.section-intro:empty,
.section-heading h2:empty,
.section-eyebrow:empty,
.caption-label:empty {
  display: none;
}
.contact-link {
  overflow-wrap: anywhere;
}
.page-atmosphere-shot,
.contact-photo,
.brand-mark {
  backface-visibility: hidden;
}
/* Optimization pass: March 2026 editorial refinement */
html {
  scroll-padding-top: 104px;
}
.hero-copy {
  display: grid;
  align-content: start;
}
.hero-subheadline {
  margin-top: 20px;
  max-width: 37ch;
  font-size: clamp(1.08rem, 1.34vw, 1.22rem);
  line-height: 1.58;
}
.hero-actions {
  gap: 12px;
}
.button {
  min-width: 168px;
}
.button-ghost {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.info-panel,
.skill-item,
.project-card,
.contact-card {
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.28);
}
.info-panel {
  padding: 26px 26px 24px;
}
.hero-list-item {
  padding-left: 20px;
  font-size: 0.98rem;
}
.about-grid {
  gap: clamp(26px, 4vw, 56px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}
.about-body {
  max-width: 58ch;
}
.about-body p {
  font-size: calc(1.02rem + 2px);
}
.skills-grid,
.projects-grid {
  align-items: stretch;
}
.skill-item,
.project-card {
  height: 100%;
}
.skill-item {
  gap: 20px;
}
.skill-content {
  gap: 12px;
}
.skill-content h3,
.project-main h3 {
  text-wrap: balance;
}
.project-card {
  gap: 20px;
  min-height: 388px;
  padding: 28px;
}
.project-top {
  min-height: 30px;
}
.project-main {
  gap: 14px;
}
.project-main h3 {
  max-width: 16ch;
}
.project-link {
  background: rgba(255, 255, 255, 0.1);
}
.contact-card-primary {
  gap: 10px;
}
.contact-link {
  line-height: 1.08;
}
@media (max-width: 980px) {
  .nav-panel {
    padding: 20px;
    gap: 16px;
  }
  .nav a,
  .topbar-cta {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
@media (max-width: 720px) {
  html {
    scroll-padding-top: 90px;
  }
  .hero-subheadline {
    max-width: none;
    font-size: 1.02rem;
  }
  .project-card {
    min-height: 0;
    padding: 22px;
  }
}

/* Footer simplification: copyright-only */
.footer {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 0;
  padding-top: 34px;
  padding-bottom: 30px;
}

.footer-meta-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 720px) {
  .footer-meta-minimal {
    flex-wrap: wrap;
  }
}

/* Responsive galleries for card sections */
.carousel-shell {
  position: relative;
}

.carousel-track {
  min-width: 0;
}

.carousel-arrow {
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background-color 160ms ease;
  opacity: 0.8;
}

.carousel-arrow:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.05);
  background: transparent;
  opacity: 1;
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  opacity: 1;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.carousel-arrow-icon {
  position: relative;
  display: block;
  line-height: 1;
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--pink) 6%, var(--violet) 56%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(0);
  pointer-events: none;
}

.carousel-arrow-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(10px);
  opacity: 0.46;
  background: linear-gradient(135deg, var(--pink) 6%, var(--violet) 56%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.carousel-arrow-prev .carousel-arrow-icon::after {
  content: "‹";
}

.carousel-arrow-next .carousel-arrow-icon::after {
  content: "›";
}

@media (max-width: 1500px) {
  .carousel-shell.is-carousel {
    position: relative;
    display: block;
  }

  .carousel-shell.is-carousel .carousel-arrow {
    display: inline-flex;
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
  }

  .carousel-shell.is-carousel .carousel-arrow-prev {
    left: clamp(-2px, 0.2vw, 2px);
  }

  .carousel-shell.is-carousel .carousel-arrow-next {
    right: clamp(-2px, 0.2vw, 2px);
  }

  .carousel-shell.is-carousel .carousel-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.08);
  }

  .carousel-shell.is-carousel:not(.can-scroll) .carousel-arrow {
    display: none;
  }

  .carousel-track.skills-grid,
  .carousel-track.projects-grid,
  .carousel-track.contact-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: auto;
    scrollbar-width: none;
    margin-inline: 0;
    padding-inline: 0;
    padding-top: 2px;
    padding-bottom: 10px;
    max-width: none;
  }

  .carousel-track.skills-grid::-webkit-scrollbar,
  .carousel-track.projects-grid::-webkit-scrollbar,
  .carousel-track.contact-grid::-webkit-scrollbar {
    display: none;
  }

  .carousel-track.skills-grid > *,
  .carousel-track.projects-grid > *,
  .carousel-track.contact-grid > * {
    flex: 0 0 min(84vw, 420px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-width: 0;
    height: auto;
  }

  .info-panel,
  .skill-item,
  .project-card,
  .contact-card,
  .contact-card-primary,
  .contact-photo-card {
    width: 100%;
    max-width: none;
  }

  .project-card {
    min-height: 0;
  }

  .carousel-track.contact-grid > .contact-photo-card {
    flex-basis: min(70vw, 380px);
    max-width: min(70vw, 380px);
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 900px) {
  .carousel-shell.is-carousel .carousel-arrow {
    width: 72px;
    height: 72px;
    opacity: 0.9;
  }

  .carousel-shell.is-carousel .carousel-arrow-icon {
    font-size: 56px;
  }

  .carousel-shell.is-carousel .carousel-arrow-prev {
    left: clamp(-8px, -0.8vw, 2px);
  }

  .carousel-shell.is-carousel .carousel-arrow-next {
    right: clamp(-8px, -0.8vw, 2px);
  }
}

@media (max-width: 720px) {
  .carousel-shell.is-carousel .carousel-arrow {
    width: 84px;
    height: 84px;
    opacity: 0.96;
  }

  .carousel-shell.is-carousel .carousel-arrow-icon {
    font-size: 66px;
  }
  .carousel-track.skills-grid > *,
  .carousel-track.projects-grid > *,
  .carousel-track.contact-grid > * {
    flex-basis: min(88vw, 390px);
  }

  .carousel-track.contact-grid > .contact-photo-card {
    flex-basis: min(82vw, 348px);
    max-width: min(82vw, 348px);
  }
}

/* Badge consistency: keep keyword pills at one visual height */
.skill-highlights,
.project-highlights {
  align-items: center;
}

.skill-highlight,
.project-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  padding: 0 13px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* About heading fluid width */
#about .section-heading h2 {
  display: block;
  width: 100%;
  max-width: none;
  text-wrap: pretty;
  white-space: normal;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

@media (max-width: 720px) {
  #about .section-heading h2 {
    font-size: clamp(1.82rem, 8vw, 2.58rem);
  }
}

/* About copy fluid width */
#about .about-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 24px);
}

#about .about-lead,
#about .about-body,
#about .about-body p,
#about .about-signature {
  width: 100%;
  max-width: none;
}

#about .about-body p,
#about .about-signature {
  font-size: calc(1.02rem + 4px);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}


#about .about-body {
  gap: 10px;
  max-width: min(58ch, 52vw);
  justify-self: start;
}

@media (max-width: 980px) {
  #about .about-body {
    max-width: 100%;
  }
}

/* Project link arrow removed */
.project-link::after {
  content: none !important;
}









/* Hide empty hero caption shell */
.portrait-caption.is-empty {
  display: none !important;
}

/* About section full-bleed background */
#about {
  padding-inline: 0;
  overflow: hidden;
  background:
    linear-gradient(96deg, rgba(5, 3, 11, 0.56) 0%, rgba(5, 3, 11, 0.36) 46%, rgba(5, 3, 11, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 3, 11, 0.24) 0%, rgba(5, 3, 11, 0.62) 100%),
    url("assets/ambient-tech-a.jpg?v=20260314-1") center / cover no-repeat;
}

#about::before,
#about::after {
  content: none;
}

#about .section-heading,
#about .about-grid {
  position: relative;
  z-index: 1;
  padding-inline: var(--page-gutter);
}

@media (max-width: 720px) {
  #about {
    background:
      linear-gradient(180deg, rgba(5, 3, 11, 0.52) 0%, rgba(5, 3, 11, 0.38) 46%, rgba(5, 3, 11, 0.72) 100%),
      url("assets/ambient-tech-a.jpg?v=20260314-1") center / cover no-repeat;
  }
}

/* Hero section full-bleed photo (no framed card) */
.hero {
  padding-inline: 0;
  overflow: hidden;
  background:
    linear-gradient(96deg, rgba(5, 3, 11, 0.56) 0%, rgba(5, 3, 11, 0.36) 46%, rgba(5, 3, 11, 0.56) 100%),
    linear-gradient(180deg, rgba(5, 3, 11, 0.24) 0%, rgba(5, 3, 11, 0.62) 100%),
    url("assets/about-photo-ann.jpg?v=20260401-10") center 6% / cover no-repeat;
}

.hero .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  grid-template-areas:
    "copy ."
    "panels .";
  gap: clamp(26px, 2.6vw, 34px);
  padding-inline: var(--page-gutter);
}

.hero .hero-copy,
.hero .hero-panels {
  position: relative;
  z-index: 1;
}

.hero .hero-copy {
  max-width: 760px;
}

.hero .hero-visual {
  display: none !important;
}

@media (max-width: 980px) {
  .hero {
    background-position: center 4%;
  }

  .hero .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "panels";
  }

  .hero .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(5, 3, 11, 0.52) 0%, rgba(5, 3, 11, 0.38) 46%, rgba(5, 3, 11, 0.72) 100%),
      url("assets/about-photo-ann.jpg?v=20260401-13") 74% 2% / cover no-repeat;
  }
}







