/* FLOXOV — monochrome design system */
:root {
  color-scheme: dark;
  --bg: #080808;
  --bg-soft: #101010;
  --surface: #141414;
  --surface-raised: #191919;
  --text: #f4f4f4;
  --muted: #a0a0a0;
  --muted-2: #777777;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --surface-glass: rgba(255,255,255,.035);
  --inverse: #080808;
  --accent: #c7c7c7;
  --shadow: 0 30px 90px rgba(0,0,0,.28);
  --ease: cubic-bezier(.22,.72,.2,1);
  --font: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  background: var(--bg);
}
body {
  min-width: 320px;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color .3s var(--ease), background-color .3s var(--ease);
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 3%, rgba(255,255,255,.045), transparent 34%),
    radial-gradient(ellipse at 8% 65%, rgba(255,255,255,.02), transparent 36%);
}

::selection { color: var(--bg); background: var(--text); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}
img, svg { display: block; }
[hidden] { display: none !important; }
.shell { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 12px;
  padding: 12px 16px; color: var(--inverse); background: var(--text);
  transform: translateY(-160%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
.scroll-progress {
  position: fixed; z-index: 120; top: 0; left: 0; width: 100%; height: 2px;
  pointer-events: none; background: transparent;
}
.scroll-progress span {
  display: block; width: 0; height: 100%; background: var(--text);
  transform-origin: left center;
}

/* Header and navigation */
.site-header {
  position: sticky; z-index: 100; top: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background .28s ease, border-color .28s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: var(--header-height);
  display: flex; align-items: center; gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 27px; height: 27px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); transform: rotate(45deg);
  font-size: 12px; font-weight: 800;
}
.brand-mark span { transform: rotate(-45deg); }
.brand-mark.has-custom-logo {
  transform: none;
  border: 0;
  overflow: hidden;
}
.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.brand-logo-image[hidden],
.brand-mark-fallback[hidden] { display: none !important; }
.brand-name { font-size: 13px; font-weight: 800; letter-spacing: .24em; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin-left: auto; }
.nav-link {
  position: relative; padding: 10px 0; color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  transition: color .2s ease;
}
.nav-link::after {
  content: ""; position: absolute; right: 100%; bottom: 2px; left: 0;
  height: 1px; background: var(--text); transition: right .28s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted-2); font: 10px var(--mono); letter-spacing: .08em;
}
.language-option {
  padding: 7px 2px; border: 0; background: transparent; color: var(--muted-2);
  cursor: pointer; font: inherit; transition: color .2s ease;
}
.language-option:hover, .language-option.is-active { color: var(--text); }
.icon-button {
  width: 39px; height: 39px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface-glass);
  cursor: pointer; transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.icon-button:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface); }
.icon-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-toggle { display: none; }
.menu-lines { width: 16px; display: grid; gap: 5px; }
.menu-lines i { height: 1px; width: 100%; background: currentColor; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero-section {
  position: relative; isolation: isolate; min-height: min(790px, calc(100svh - var(--header-height)));
  display: flex; align-items: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 77% 48%, rgba(255,255,255,.065), transparent 34%),
    linear-gradient(125deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero-noise {
  position: absolute; inset: 0; z-index: -1; opacity: .16; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center; gap: clamp(44px, 8vw, 120px);
  padding-top: 74px; padding-bottom: 106px;
}
.hero-copy-column { position: relative; z-index: 2; }
.eyebrow, .section-kicker {
  display: flex; align-items: center; gap: 11px;
  color: var(--muted); font: 10px var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.hero-eyebrow { margin: 0 0 34px; }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #9aa99b;
  box-shadow: 0 0 0 4px rgba(154,169,155,.1);
}
.eyebrow-index { color: var(--muted-2); }
.hero-title {
  margin: 0 0 25px; font-size: clamp(76px, 12.5vw, 174px);
  line-height: .82; letter-spacing: -.105em; font-weight: 800;
  white-space: nowrap;
}
.hero-period { color: var(--muted-2); }
.hero-statement {
  max-width: 600px; margin: 0 0 14px; font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.25; letter-spacing: -.055em; font-weight: 600;
}
.hero-description {
  max-width: 500px; margin: 0; color: var(--muted);
  font-size: 14px; line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button {
  min-height: 49px; display: inline-flex; align-items: center; justify-content: center;
  gap: 16px; padding: 0 19px; border: 1px solid var(--line-strong);
  font-size: 10px; font-weight: 800; letter-spacing: .025em;
  transition: transform .28s var(--ease), background .25s ease, color .25s ease, border-color .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--inverse); background: var(--text); border-color: var(--text); }
.button-primary:hover { background: transparent; color: var(--text); }
.button-quiet { color: var(--text); background: transparent; border-color: transparent; }
.button-quiet:hover { border-color: var(--line); background: var(--surface-glass); }
.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  perspective: 1000px;
  isolation: isolate;
}
.profile-tile {
  position: relative;
  z-index: 2;
  width: min(100%, 370px);
  aspect-ratio: .83;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(ellipse at 52% 35%, rgba(255,255,255,.12), transparent 46%),
    linear-gradient(145deg, #242424 0%, #151515 54%, #090909 100%);
  box-shadow: 0 38px 100px rgba(0,0,0,.38);
  translate: var(--parallax-x, 0px) var(--parallax-y, 0px);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform .55s var(--ease), translate .35s var(--ease), border-color .3s ease;
}

.hero-visual:hover .profile-tile {
  transform: rotateY(0) rotateX(0) translateY(-4px);
}
.profile-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .65s var(--ease), transform .9s var(--ease);
}
.profile-photo.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.hero-visual:hover .profile-photo.is-loaded {
  transform: scale(1.035);
}
.profile-tile.is-image-missing {
  background:
    radial-gradient(ellipse at 52% 35%, rgba(255,255,255,.12), transparent 46%),
    linear-gradient(145deg, #242424 0%, #151515 54%, #090909 100%);
}

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; display: flex; align-items: center; gap: 14px;
  color: var(--muted-2); font: 9px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  transform: translateX(-50%);
}
.scroll-line { width: 38px; height: 1px; background: var(--muted-2); transform-origin: left; animation: scroll-line 2.2s ease-in-out infinite; }
@keyframes scroll-line { 0%,100% { transform: scaleX(.35); opacity: .35; } 50% { transform: scaleX(1); opacity: 1; } }

/* Shared sections */
.section { position: relative; padding: clamp(88px, 10vw, 142px) 0; }

.focus-section { background: var(--bg-soft); border-block: 1px solid var(--line); }
.projects-section { background: var(--bg); }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 50px;
  margin-bottom: clamp(48px, 6vw, 76px);
}
.section-kicker { margin: 0 0 24px; }
.section-kicker span:first-child { color: var(--muted-2); }
.section-title {
  margin: 0; font-size: clamp(42px, 6.5vw, 82px); line-height: .99;
  letter-spacing: -.075em; font-weight: 600;
}
.title-muted { color: var(--muted-2); }
.section-aside {
  max-width: 330px; margin: 0 0 6px; color: var(--muted);
  font-size: 12px; line-height: 1.9;
}
.compact-heading { margin-bottom: 55px; }












.body-copy { margin: 0 0 18px; color: var(--muted); font-size: 13px; line-height: 2; }






/* Focus cards */
.focus-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.focus-item {
  position: relative; min-height: 245px; padding: 25px 27px 28px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .3s ease, transform .3s var(--ease);
}
.focus-item:hover { z-index: 1; background: var(--surface-glass); }
.focus-number { color: var(--muted-2); font: 9px var(--mono); letter-spacing: .1em; }
.focus-symbol {
  height: 70px; display: flex; align-items: center; justify-content: flex-start;
  color: var(--muted); font: 24px var(--mono);
}
.symbol-grid { display: grid; grid-template-columns: repeat(2,10px); grid-template-rows: repeat(2,10px); gap: 5px; align-content: center; }
.symbol-grid i { border: 1px solid var(--muted-2); }
.symbol-motion { gap: 5px; align-items: center; }
.symbol-motion i { display: block; width: 4px; border: 1px solid var(--muted-2); border-radius: 8px; }
.symbol-motion i:nth-child(1) { height: 16px; }
.symbol-motion i:nth-child(2) { height: 28px; }
.symbol-motion i:nth-child(3) { height: 42px; }
.symbol-orbit { position: relative; width: 58px; height: 58px; border: 1px solid var(--line-strong); border-radius: 50%; transform: scaleY(.65); }
.symbol-orbit i { position: absolute; width: 8px; height: 8px; top: 4px; left: 10px; border-radius: 50%; background: var(--muted); }
.symbol-frame { width: 52px; height: 44px; margin: 13px 0; border: 1px solid var(--line-strong); }
.symbol-frame i { display: block; width: 19px; height: 19px; margin: 11px auto; border: 1px solid var(--muted-2); }
.symbol-plus { font-size: 34px; font-weight: 300; }
.focus-item h3 { margin: 0 0 9px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.focus-item p { max-width: 260px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* Editable toolset */
.toolset-block {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line);
}
.toolset-heading {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
}
.toolset-heading .section-kicker { margin: 0; }
.toolset-heading h3 {
  margin: 0; font-size: clamp(22px, 3vw, 34px);
  font-weight: 600; letter-spacing: -.055em;
}
.toolset-aside {
  max-width: 540px; margin: 14px 0 25px auto; color: var(--muted);
  font-size: 10px; line-height: 1.8;
}
.toolset-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.tool-group {
  min-width: 0; padding: 17px 15px 18px; border: 1px solid var(--line);
  background: var(--surface-glass);
}
.tool-group h4 { margin: 0 0 14px; font-size: 11px; font-weight: 700; }
.tool-group .project-tags { gap: 6px; }
.tool-group .project-tags span { padding: 5px 7px; font-size: 8px; }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 56px 26px; }
.project-card { min-width: 0; }
.project-art {
  position: relative; min-height: 330px; aspect-ratio: 1.58;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid var(--line);
  background: #141414; isolation: isolate;
  transition: transform .45s var(--ease), border-color .3s ease;
}
.project-card:hover .project-art { transform: translateY(-3px) scale(1.006); border-color: var(--line-strong); }
.project-art::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 48%, rgba(255,255,255,.1), transparent 58%);
}


.art-index, .art-caption {
  position: absolute; z-index: 2; color: rgba(255,255,255,.56);
  font: 9px var(--mono); letter-spacing: .12em;
}
.art-index { top: 20px; left: 21px; }
.art-caption { right: 21px; bottom: 20px; }

.preview-note {
  position: absolute; right: 18px; top: 18px; z-index: 5;
  padding: 7px 9px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.28); color: rgba(255,255,255,.72);
  font: 8px var(--mono); letter-spacing: .1em; text-transform: uppercase;
}

.art-orbit {
  position: absolute; width: 55%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%; transform: rotate(28deg) scaleY(.55);
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.018);
}
.art-monogram { position: relative; z-index: 1; color: #eee; font-size: clamp(90px, 13vw, 170px); font-weight: 800; letter-spacing: -.14em; line-height: .8; }
.art-monogram span { color: #777; }
.art-identity { background: radial-gradient(circle at 50% 45%, #393939, #171717 54%, #0b0b0b); }
.art-motion { background: radial-gradient(ellipse at 48% 50%, #333, #131313 65%, #090909); }
.motion-rings { position: absolute; width: 44%; aspect-ratio: 1; }
.motion-rings i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; transform: scaleX(.55) rotate(25deg); }
.motion-rings i:nth-child(2) { transform: scaleX(.78) rotate(-25deg); }
.motion-rings i:nth-child(3) { transform: scale(.56) rotate(60deg); }
.motion-word, .interface-word, .tools-word {
  white-space: pre-line; position: relative; z-index: 1; color: #f1f1f1; font-size: clamp(25px, 4vw, 48px);
  font-weight: 800; line-height: .88; letter-spacing: -.08em; text-align: center;
}
.art-interface { background: linear-gradient(145deg, #333, #171717 55%, #090909); }
.interface-window {
  position: absolute; left: 15%; top: 20%; width: 48%; height: 59%;
  display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: 8px repeat(2,1fr);
  gap: 8px; padding: 13px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.045); transform: perspective(600px) rotateY(-17deg) rotateX(5deg);
  box-shadow: 20px 24px 50px rgba(0,0,0,.2);
}
.interface-window i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.58); }
.interface-window b { border: 1px solid rgba(255,255,255,.19); background: rgba(255,255,255,.055); }
.interface-word { position: absolute; right: 9%; bottom: 25%; text-align: right; font-size: clamp(22px, 3.4vw, 40px); }
.art-tools { background: radial-gradient(circle at 50% 50%, #3b3b3b, #161616 60%, #090909); }
.tool-shapes { position: absolute; width: 58%; height: 60%; }
.tool-shapes i { position: absolute; display: block; border: 1px solid rgba(255,255,255,.35); }
.tool-shapes i:nth-child(1) { width: 43%; aspect-ratio: 1; left: 5%; top: 10%; transform: rotate(18deg); }
.tool-shapes i:nth-child(2) { width: 48%; aspect-ratio: 1; right: 7%; top: 0; border-radius: 50%; }
.tool-shapes i:nth-child(3) { width: 56%; height: 45%; left: 24%; bottom: 0; transform: skew(-18deg); }
.tools-word { font-size: clamp(24px, 3.8vw, 44px); text-shadow: 0 4px 24px rgba(0,0,0,.7); }

.project-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 20px; }
.project-card-heading h3 { margin: 0; font-size: clamp(15px, 1.5vw, 18px); font-weight: 700; letter-spacing: -.035em; }
.project-card-heading > span { flex: 0 0 auto; color: var(--muted-2); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project-card > p { max-width: 520px; margin: 12px 0 17px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.project-tags span {
  padding: 6px 9px; border: 1px solid var(--line); color: var(--muted);
  font: 8px var(--mono); letter-spacing: .04em;
}
.project-card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--line);
  color: var(--muted-2); font: 9px var(--mono); letter-spacing: .05em;
}
.project-card-foot > span:last-child { font-size: 13px; }
.project-card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.projects-footnote {
  max-width: 720px; margin: 42px 0 0; padding-left: 15px; border-left: 1px solid var(--line-strong);
  color: var(--muted-2); font-size: 10px; line-height: 1.8;
}















.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); transition: color .2s,border-color .2s; }
.social-links a:hover { color: var(--text); border-color: var(--line-strong); }













.site-footer { padding: 27px 0; background: var(--bg); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.footer-brand span { color: var(--muted-2); }
.footer-inner p { margin: 0; color: var(--muted-2); font: 9px var(--mono); letter-spacing: .04em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 19px; }
.footer-links a, .back-top { color: var(--muted); font-size: 10px; transition: color .2s ease; }
.footer-links a:hover, .back-top:hover { color: var(--text); }
.back-top { display: inline-flex; align-items: center; gap: 9px; }

/* Motion: content is visible by default; JS only adds the reveal state after setup. */
[data-reveal] { opacity: 1; transform: none; }
.motion-ready [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.motion-ready [data-reveal].reveal-delay { transition-delay: .12s; }
@media (hover: hover) and (pointer: fine) {
  body::after {
    content: ""; position: fixed; z-index: 0; top: var(--pointer-y, -1000px); left: var(--pointer-x, -1000px);
    width: 280px; height: 280px; border-radius: 50%; pointer-events: none;
    transform: translate(-50%,-50%); opacity: .11;
    background: radial-gradient(circle, var(--text), transparent 68%);
    mix-blend-mode: soft-light;
  }
}

/* Responsive layouts */
@media (min-width: 1500px) {
  .shell { width: min(1320px, calc(100% - 120px)); }
  .hero-grid { gap: 130px; }
  .hero-visual { min-height: 520px; }
  .profile-tile { width: 390px; }
}
@media (max-width: 1100px) {
  .shell { width: min(100% - 56px, 1000px); }
  .hero-grid { grid-template-columns: minmax(0,1fr) minmax(280px,.78fr); gap: 38px; }
  .hero-title { font-size: clamp(72px, 12vw, 136px); }
  .hero-visual { min-height: 390px; }
  .profile-tile { width: min(100%, 310px); }
  
  
  .project-art { min-height: 280px; }
}
@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .shell { width: calc(100% - 44px); }
  .header-inner { gap: 18px; }
  .primary-nav { gap: 20px; }
  .nav-link { font-size: 10px; }
  .header-actions { gap: 8px; }
  .hero-section { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr .75fr; gap: 22px; padding-top: 82px; padding-bottom: 104px; }
  .hero-title { font-size: clamp(64px, 11vw, 104px); }
  .hero-visual { min-height: 330px; }
  .profile-tile { width: min(100%, 260px); padding: 17px; }
  .profile-monogram { font-size: 170px; }
  .visual-coordinate { display: none; }
  .section { padding: 90px 0; }
  .section-heading { gap: 30px; }
  .section-aside { max-width: 270px; font-size: 11px; }
  
  
  
  .focus-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .focus-item { min-height: 220px; }
  .toolset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-grid { gap: 42px 20px; }
  .project-art { min-height: 240px; }
  .project-card-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  
}
@media (max-width: 640px) {
  :root { --header-height: 68px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: var(--header-height); gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 24px; height: 24px; }
  .brand-name { font-size: 12px; letter-spacing: .2em; }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; gap: 8px; }
  .language-switch { gap: 5px; font-size: 9px; }
  .icon-button { width: 36px; height: 36px; }
  .menu-toggle { display: grid; }
  .mobile-nav:not([hidden]) {
    display: flex; flex-direction: column; gap: 0; padding: 8px 18px 17px;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  .mobile-nav a { padding: 13px 2px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }
  .mobile-nav a[aria-current="location"] { color: var(--text); }
  
  
  
  
  
  .hero-actions { gap: 8px; margin-top: 27px; }
  .button { min-height: 46px; padding-inline: 14px; gap: 10px; font-size: 9px; }
  
  
  
  
  
  
  
  
  
  .section { padding: 76px 0; }
  .section-heading { display: block; margin-bottom: 42px; }
  .section-kicker { margin-bottom: 18px; font-size: 9px; }
  .section-title { font-size: clamp(40px, 11vw, 58px); }
  .section-aside { max-width: 390px; margin-top: 22px; font-size: 11px; }
  
  
  
  
  .body-copy { font-size: 12px; }
  
  
  
  
  .compact-heading { margin-bottom: 35px; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
  .focus-item { min-height: 205px; padding: 18px 15px 20px; }
  .focus-symbol { height: 58px; }
  .focus-item h3 { font-size: 12px; }
  .focus-item p { font-size: 10px; }
  .toolset-block { margin-top: 52px; }
  .toolset-heading { display: block; }
  .toolset-heading h3 { margin-top: 14px; }
  .toolset-aside { margin: 12px 0 20px; }
  .toolset-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-group { padding: 14px 11px; }
  .tool-group h4 { font-size: 10px; }
  .project-grid { grid-template-columns: 1fr; gap: 38px; }
  .project-art { min-height: 0; aspect-ratio: 1.38; }
  .project-card-heading { flex-direction: row; align-items: baseline; gap: 10px; }
  .project-card-heading h3 { font-size: 15px; }
  .project-card-heading > span { font-size: 8px; }
  .project-card > p { font-size: 11px; }
  .projects-footnote { margin-top: 32px; font-size: 9px; }
  
  
  
  
  
  .footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { justify-content: flex-end; gap: 12px; }
  .footer-links a { font-size: 9px; }
  .back-top { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 30px); }
  .header-actions { gap: 5px; }
  .language-switch { gap: 3px; }
  .icon-button { width: 33px; height: 33px; }
  
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 auto; }
  
  .project-card-heading { flex-direction: column; gap: 6px; }
  .focus-item { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
}



.hero-statement {
  min-height: 2.4em;
  max-width: 620px;
  font-size: clamp(23px, 3.35vw, 40px);
  text-wrap: balance;
}
.hero-description {
  font-size: 14.7px;
  max-width: 520px;
  min-height: 3.8em;
  text-wrap: pretty;
}
html[lang="ru"] .hero-statement {
  letter-spacing: -.045em;
}
html[lang="en"] .hero-statement {
  letter-spacing: -.055em;
}



.nav-link {
  font-size: 11.5px;
}
.section-title{
  text-wrap: balance;
}






















.footer-inner p {
  font-size: 9.5px;
}
@media (max-width: 1100px) {
  .profile-tile { width: min(100%, 330px); }
  
}
@media (max-width: 820px) {
  
  
  .profile-tile { width: min(100%, 280px); }
  
}
@media (max-width: 640px) {
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
@media (max-width: 380px) {
  
  
  
  
  
  
}


/* FLOXOV — refined collaboration and copy interactions */
.button-contact {
  min-height: 53px;
  padding-inline: 23px;
  gap: 19px;
  font-size: 10.5px;
}
.button-contact svg {
  width: 16px;
  height: 16px;
  transition: transform .28s var(--ease);
}
.button-contact:hover svg {
  transform: translateX(4px);
}

.contact-section {
  position: relative;
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--bg);
}

.contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr);
  align-items: center;
  gap: clamp(36px, 5.8vw, 82px);
  min-height: 350px;
  padding: clamp(28px, 5vw, 66px);
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 91% 14%, rgba(255,255,255,.065), transparent 40%),
    linear-gradient(135deg, var(--surface-raised), var(--bg));
}

.contact-video-poster,
.contact-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.contact-video-poster {
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.contact-background-video {
  z-index: 1;
  display: block;
  object-fit: cover;
  object-position: center;
}
.contact-background-video[hidden],
.contact-video-poster[hidden],
.contact-video-overlay[hidden] { display: none !important; }
.contact-video-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: rgba(5, 5, 5, var(--contact-video-overlay-dark, .66));
}

.contact-copy,
.contact-actions {
  position: relative;
  z-index: 3;
}

.contact-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(58px, 7vw, 84px);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(14px, 2.3vw, 30px);
  min-width: 0;
}
.contact-copy h2 {
  grid-column: 1;
  grid-row: 1;
  max-width: 650px;
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: .99;
  letter-spacing: -.075em;
  font-weight: 600;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.contact-copy > p {
  grid-column: 1;
  grid-row: 2;
  max-width: 460px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 13px);
  line-height: 1.8;
  text-wrap: pretty;
}
.contact-direction {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  min-width: 0;
  min-height: 24px;
  color: var(--muted-2);
}
.contact-direction svg {
  display: block;
  width: 100%;
  max-width: 84px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: floxov-contact-arrow 1.85s cubic-bezier(.22,.61,.36,1) infinite;
  will-change: transform, opacity;
}
@keyframes floxov-contact-arrow {
  0%, 100% { transform: translateX(0); opacity: .58; }
  50% { transform: translateX(7px); opacity: 1; }
}

.contact-actions {
  width: min(100%, 390px);
  min-width: 0;
  justify-self: end;
}
.contact-methods,
.contact-channel-list {
  width: 100%;
  min-width: 0;
}
.contact-channel-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}
.contact-channel {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgba(255,255,255,.02);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    transform .24s var(--ease),
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.contact-channel:hover {
  transform: translateY(-2px);
  background: var(--surface-glass);
  border-color: var(--line-strong);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.contact-channel:active {
  transform: translateY(0) scale(.992);
}
.contact-channel:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}
.contact-channel:disabled {
  cursor: wait;
  opacity: .72;
}
.contact-channel-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255,255,255,.025);
}

.contact-channel-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.contact-channel-name {
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-channel-handle {
  color: var(--text);
  font-size: clamp(14px, 1.15vw, 15px);
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.contact-channel-copy-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--muted-2);
  opacity: .76;
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
}
.contact-channel-copy-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-channel:hover .contact-channel-copy-icon,
.contact-channel:focus-visible .contact-channel-copy-icon {
  color: var(--text);
  opacity: 1;
  transform: translateY(-1px);
}
.contact-unavailable {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* Localized copy feedback */
.copy-toast {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 12px 36px rgba(0,0,0,.24);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(-50%, 10px, 0);
  transition:
    opacity .22s ease,
    transform .22s var(--ease),
    visibility 0s linear .22s;
}

.copy-toast[hidden] {
  display: none;
}
.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
  transition-delay: 0s;
}
.copy-toast-icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--text);
}
.copy-toast-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.copy-toast[data-status="error"] .copy-toast-icon {
  color: #b86a6a;
}

@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
    gap: 28px;
    padding: clamp(24px, 4vw, 40px);
  }
  .contact-copy {
    grid-template-columns: minmax(0, 1fr) 58px;
    column-gap: 13px;
  }
  .contact-copy h2 {
    font-size: clamp(34px, 4.6vw, 48px);
  }
  .contact-direction svg {
    max-width: 58px;
  }
}

@media (max-width: 760px) {
  .contact-section {
    padding-block: clamp(48px, 11vw, 72px);
  }
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 25px;
    min-height: 0;
    padding: clamp(22px, 5.5vw, 34px);
  }
  .contact-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .contact-copy h2 {
    max-width: 620px;
    font-size: clamp(32px, 8.7vw, 54px);
    line-height: 1.02;
    letter-spacing: -.067em;
  }
  .contact-copy > p {
    max-width: 100%;
    margin-top: 14px;
    font-size: 12.5px;
  }
  .contact-direction {
    align-self: flex-end;
    width: clamp(56px, 16vw, 72px);
    min-height: 20px;
    margin-top: 14px;
  }
  .contact-direction svg {
    width: 100%;
    max-width: none;
  }
  .contact-actions {
    justify-self: stretch;
    width: 100%;
  }
  .contact-channel {
    min-height: 72px;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 11px;
    padding: 10px 12px;
  }
  .contact-channel-icon {
    width: 46px;
    height: 46px;
  }
  .contact-channel-handle {
    font-size: 14px;
  }
  .copy-toast {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .contact-panel {
    padding: 20px 17px;
  }
  .contact-copy h2 {
    font-size: clamp(29px, 8.7vw, 36px);
    letter-spacing: -.06em;
  }
  .contact-channel {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 9px;
    padding-inline: 10px;
  }
  .contact-channel-icon {
    width: 42px;
    height: 42px;
  }
  .contact-channel-copy-icon,
  .contact-channel-copy-icon svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 760px) and (max-height: 680px) {
  .hero-grid {
    gap: 22px;
    padding-top: 48px;
    padding-bottom: 68px;
  }
  .hero-visual {
    min-height: 230px;
  }
  .profile-tile {
    width: min(62%, 220px);
  }
  .contact-section {
    padding-block: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-direction svg {
    animation: none !important;
    will-change: auto;
  }
  .contact-channel,
  .contact-channel-copy-icon,
  .copy-toast,
  .button-contact,
  .button-contact svg {
    transition: none !important;
  }
}


@supports (padding: env(safe-area-inset-left)) {
  body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
}


/* FLOXOV responsive hardening — iOS Safari, Android Chrome and narrow viewports */
html, body { width: 100%; max-width: 100%; }
body { overflow-x: hidden; overflow-x: clip; }
.site-header { padding-top: env(safe-area-inset-top, 0px); }
.site-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }
.hero-section { min-height: min(790px, calc(100vh - var(--header-height))); min-height: min(790px, calc(100svh - var(--header-height))); }
.hero-grid > *, .contact-panel > *, .header-inner > * { min-width: 0; }
.profile-photo { max-width: none; }
.contact-background-video { max-width: none; }
@media (max-width: 640px) {
  
  
  
  
  
  .contact-panel { width: 100%; }
  .contact-copy h2 { overflow-wrap: anywhere; }
  .contact-channel { min-height: 72px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { gap: 7px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 10px; letter-spacing: .16em; }
  .header-actions { gap: 4px; }
  .language-switch { gap: 3px; font-size: 8px; }
  .icon-button { width: 32px; height: 32px; }
  
  
  .contact-panel { padding: 19px 15px; }
}
@media (orientation: landscape) and (max-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, .72fr); align-items: center; gap: 24px; padding-block: 38px 62px; }
  .hero-title { font-size: clamp(48px, 9vw, 82px); }
  .hero-visual { min-height: 250px; }
  .profile-tile { width: min(78%, 230px); }
}


/* -------------------------------------------------------------------------
   FLOXOV PREMIUM HERO + BRAND CONTROLS
   Final responsive layer for the current vanilla implementation.
   ------------------------------------------------------------------------- */

/* Custom header logo */
.brand-mark {
  width: var(--brand-logo-size, 34px);
  height: var(--brand-logo-size, 34px);
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  transform: none;
  background: transparent;
}
.brand-mark.has-custom-logo {
  border: 0;
  border-radius: 50%;
  transform: none;
}
.brand-logo-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
}
.brand-mark[hidden] { display: none !important; }

/* EN / RU segmented control */
.language-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  width: 92px;
  height: 44px;
  padding: 3px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-glass);
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: .08em;
}
.language-switch-indicator {
  position: absolute;
  z-index: -1;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  pointer-events: none;
  transition: transform .32s var(--ease);
}
:root[data-language="ru"] .language-switch-indicator {
  transform: translateX(100%);
}
.language-option {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 700 10px var(--mono);
  letter-spacing: .08em;
  transition: color .22s ease;
}
.language-option:hover,
.language-option.is-active { color: var(--inverse); }

/* Language selector */











/* New two-line professional hero title */
.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: clamp(42px, 7vw, 104px);
}
.hero-copy-column { min-width: 0; max-width: 680px; }
.hero-title.hero-role-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .055em;
  max-width: 100%;
  margin: 0 0 28px;
  white-space: normal;
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: 1.02;
  letter-spacing: -.068em;
  font-weight: 700;
  text-wrap: balance;
}
.hero-role-title span {
  display: block;
  max-width: 100%;
}
.hero-role-title span:first-child { color: var(--text); }

.hero-description {
  max-width: 540px;
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.85;
  text-wrap: pretty;
}
.hero-visual {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  justify-self: end;
  perspective: none;
}
.profile-tile {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255,255,255,.12), transparent 52%),
    linear-gradient(145deg, #252525 0%, #151515 56%, #080808 100%);
  box-shadow: 0 34px 90px rgba(0,0,0,.28);
  transform: none;
  translate: none;
  transition: border-color .35s ease, box-shadow .35s ease;
}

.profile-media-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 52% 45%, rgba(255,255,255,.14), transparent 42%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,.045), transparent 68%),
    linear-gradient(145deg, #242424 0%, #111 62%, #070707 100%);
  transition: opacity .45s ease;
}

.profile-media-fallback::before,
.profile-media-fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.profile-media-fallback::before {
  width: 68%;
  aspect-ratio: 1;
}
.profile-media-fallback::after {
  width: 88%;
  aspect-ratio: 1;
  border-color: rgba(255,255,255,.055);
}


.profile-photo,
.profile-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity .6s var(--ease), transform .85s var(--ease);
}
.profile-photo.is-loaded,
.profile-video.is-loaded {
  opacity: 1;
  transform: scale(1);
}
.profile-photo[hidden],
.profile-video[hidden] { display: none !important; }
.profile-tile.is-media-missing {
  border-color: transparent;
  box-shadow: none;
}
.profile-tile.is-media-missing .profile-media-fallback {
  opacity: 1;
}
.hero-visual:hover .profile-photo.is-loaded,
.hero-visual:hover .profile-video.is-loaded {
  transform: scale(1.035);
}
.hero-visual:hover .profile-tile { border-color: var(--line-strong); }

/* Mobile / tablet alignment and safe touch targets */
@media (max-width: 1100px) {
  .hero-grid { gap: clamp(28px, 5vw, 58px); }
  .hero-visual { max-width: 390px; }
  .hero-title.hero-role-title { font-size: clamp(28px, 3.9vw, 34px); }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 44px); }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .78fr);
    gap: 28px;
    padding-top: 66px;
    padding-bottom: 92px;
  }
  .hero-visual { max-width: 320px; }
  .hero-title.hero-role-title { font-size: clamp(28px, 3.9vw, 32px); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .hero-section { min-height: auto; }
  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: clamp(54px, 10vw, 76px);
    padding-bottom: 88px;
  }
  .hero-title.hero-role-title {
    margin-bottom: 20px;
    font-size: clamp(22px, 7.1vw, 36px);
    line-height: 1.04;
    letter-spacing: -.06em;
  }
  .hero-description { max-width: 620px; font-size: 13px; }
  .hero-visual {
    justify-self: center;
    width: min(100%, 440px);
    max-width: 440px;
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin-top: 2px;
  }
  .profile-tile { width: 100%; height: 100%; }
  .hero-scroll { bottom: 20px; }
}
@media (max-width: 640px) {
  :root { --header-height: 66px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: var(--header-height); gap: 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-name { font-size: 11px; letter-spacing: .16em; }
  .header-actions { margin-left: auto; gap: 6px; }
  .language-switch { width: 82px; height: 44px; }
  
  .menu-toggle { width: 36px; height: 40px; }
  
  
  
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { gap: 5px; }
  .brand { gap: 6px; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-name { font-size: 9px; letter-spacing: .12em; }
  .header-actions { gap: 4px; }
  .language-switch { width: 72px; height: 44px; }
  
  .menu-toggle { width: 36px; height: 44px; }
  
  
  
}
@media (orientation: landscape) and (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
    padding-block: 42px 64px;
  }
  .hero-visual { max-width: 280px; }
  .hero-title.hero-role-title { font-size: clamp(28px, 3.9vw, 32px); }
}
@media (prefers-reduced-motion: reduce) {
  .language-switch-indicator, .profile-photo, .profile-video, .profile-tile{
    transition: none !important;
  }
}



/* FLOXOV — full-bleed Flipper Zero homepage hero background */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080808;
}


/* The video stage covers the complete homepage hero slide, not a separate side card. */
.hero-flipper-stage {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  background: #171615;
}


.hero-flipper-poster,
.hero-flipper-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.035);
}
.hero-flipper-poster {
  z-index: 0;
  opacity: 1;
  transition: opacity var(--hero-video-transition, 450ms) cubic-bezier(.22,.72,.2,1);
}
.hero-flipper-poster.is-covered { opacity: 0; }
.hero-flipper-video {
  z-index: 1;
  opacity: 0;
  transition: opacity var(--hero-video-transition, 450ms) cubic-bezier(.22,.72,.2,1);
  will-change: opacity;
}
.hero-flipper-video.is-playing { opacity: 1; }

/* Dark overlay keeps the original hero copy legible while leaving the device visible. */
.hero-flipper-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(8,8,8,.42) 0%,
      rgba(8,8,8,.24) 28%,
      rgba(8,8,8,.06) 58%,
      rgba(8,8,8,0) 100%),
    linear-gradient(0deg, rgba(8,8,8,.10), transparent 30%, transparent 78%, rgba(8,8,8,.08));
  transition: background .35s ease;
}


/* Restore the original FLOXOV avatar tile in front of the moving background. */
.hero-grid {
  position: relative;
  z-index: 3;
}
.hero-copy-column { max-width: 500px; }
.hero-visual {
  position: relative;
  z-index: 3;
  min-height: 360px;
  display: grid;
  place-items: center end;
  perspective: 1000px;
  isolation: isolate;
}
.profile-tile {
  width: min(100%, 285px);
  aspect-ratio: 1 / 1;
  border-color: rgba(255,255,255,.28);
  background: rgba(12,12,12,.78);
  box-shadow: 0 28px 80px rgba(0,0,0,.34), 0 0 0 1px rgba(255,255,255,.04) inset;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.profile-photo { object-fit: cover; object-position: 50% 50%; }
.hero-scroll { z-index: 4; }

@media (max-width: 1100px) {
  .hero-visual { min-height: 320px; }
  .profile-tile { width: min(100%, 245px); }
  .hero-flipper-poster,
  .hero-flipper-video { object-fit: contain; transform: none; }
  .hero-flipper-stage::after {
    background: linear-gradient(90deg, rgba(8,8,8,.82), rgba(8,8,8,.30) 55%, rgba(8,8,8,.12));
  }
  
}
@media (max-width: 900px) and (min-width: 761px) {
  .hero-visual { min-height: 280px; }
  .profile-tile { width: min(100%, 210px); }
}
@media (max-width: 760px) {
  .hero-section {
    min-height: auto;
    background: #080808;
  }
  
  .hero-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding-top: 76px;
    padding-bottom: 74px;
  }
  .hero-copy-column { max-width: none; }
  .hero-visual {
    min-height: 0;
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
  }
  .profile-tile { width: min(48vw, 190px); }
  .hero-flipper-stage { inset: 0; }
  .hero-flipper-poster,
  .hero-flipper-video {
    inset: auto 0 0;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center bottom;
    transform: none;
  }
  .hero-flipper-stage::after {
    background: linear-gradient(180deg,
      rgba(8,8,8,.96) 0%,
      rgba(8,8,8,.86) 34%,
      rgba(8,8,8,.30) 68%,
      rgba(8,8,8,.08) 100%);
  }
  
  .hero-scroll { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-flipper-video { transition: none; }
  .hero-flipper-poster { transition: none; }
}


/* FLOXOV — refined Flipper hero, square profile and reputation widget */
:root { --hero-bg-rgb: 8, 8, 8; }

.hero-section { background: var(--bg); }

.hero-flipper-stage { background: var(--bg); }

.hero-flipper-poster,
.hero-flipper-video {
  transform: scale(.90);
  transform-origin: center center;
}
.hero-flipper-stage::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--hero-bg-rgb), 1) 0%, rgba(var(--hero-bg-rgb), 0) 7%, rgba(var(--hero-bg-rgb), 0) 93%, rgba(var(--hero-bg-rgb), 1) 100%),
    linear-gradient(0deg, rgba(var(--hero-bg-rgb), .72) 0%, transparent 13%, transparent 87%, rgba(var(--hero-bg-rgb), .42) 100%);
}
.hero-flipper-stage::after {
  z-index: 3;
  background: linear-gradient(90deg,
    rgba(var(--hero-bg-rgb), .82) 0%,
    rgba(var(--hero-bg-rgb), .54) 24%,
    rgba(var(--hero-bg-rgb), .12) 54%,
    transparent 76%);
}
.hero-grid { z-index: 4; }
.hero-copy-column { max-width: 610px; }
.hero-visual {
  width: min(100%, 360px);
  max-width: 360px;
  min-height: 0;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  gap: 16px;
  perspective: none;
}
.profile-tile {
  width: min(100%, 232px);
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  border-color: var(--line-strong);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0,0,0,.24), 0 0 0 1px rgba(255,255,255,.035) inset;
  overflow: hidden;
}

.profile-photo { object-fit: cover; object-position: 50% 50%; }

.reputation-widget {
  width: 100%;
  padding: 17px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(20,20,20,.82);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: 0 18px 48px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.035) inset;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--text);
  text-align: left;
}

.reputation-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.reputation-kicker {
  margin:0; color:var(--muted); font: 9px var(--mono); letter-spacing:.14em;
}
.reputation-live-indicator {
  width:6px; height:6px; flex:0 0 6px; border-radius:50%;
  background:var(--muted-2); opacity:.7;
}
.reputation-widget.is-connected .reputation-live-indicator {
  background:#7da889; opacity:1; box-shadow:0 0 0 4px rgba(125,168,137,.12);
}
.reputation-score-row { display:flex; align-items:baseline; gap:10px; margin:10px 0 13px; }
.reputation-score {
  font-size:clamp(34px, 4vw, 43px); line-height:1; letter-spacing:-.075em;
  font-weight:700; font-variant-numeric:tabular-nums;
  transition: color .25s ease, transform .25s ease;
}
.reputation-score.is-updated { transform: translateY(-2px); }
.reputation-score-label { color:var(--muted-2); font:9px var(--mono); letter-spacing:.12em; }
.reputation-vote-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.reputation-vote {
  min-width:0; min-height:43px; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:9px 10px; border:1px solid var(--line-strong); border-radius:3px;
  background:var(--surface-glass); color:var(--text); cursor:pointer;
  font-size:10px; font-weight:800; letter-spacing:.07em; text-transform:uppercase;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.reputation-vote svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.reputation-vote:hover:not(:disabled) { transform:translateY(-2px); border-color:var(--text); }
.reputation-vote:active:not(:disabled) { transform:translateY(0) scale(.98); }
.reputation-vote:disabled { opacity:.48; cursor:not-allowed; }
.reputation-vote[data-vote="1"][data-selected="true"] {
  color:#f5a34f; border-color:rgba(245,163,79,.5); background:rgba(245,163,79,.10);
}
.reputation-vote[data-vote="-1"][data-selected="true"] {
  color:#d78a83; border-color:rgba(215,138,131,.48); background:rgba(215,138,131,.10);
}
.reputation-status,
.reputation-cooldown {
  margin:10px 0 0; color:var(--muted-2); font-size:10px; line-height:1.55;
}
.reputation-status:empty,
.reputation-cooldown:empty { display:none; }
.reputation-status[data-kind="error"] { color:#d78a83; }
.reputation-status[data-kind="success"] { color:#8db99a; }
.reputation-cooldown { color:var(--muted); font-variant-numeric:tabular-nums; }
.reputation-toast {
  position:fixed; z-index:250; left:50%; bottom:max(24px, env(safe-area-inset-bottom));
  width:min(440px, calc(100% - 32px)); padding:14px 17px;
  border:1px solid var(--line-strong); border-radius:4px;
  color:var(--text); background:var(--surface-raised); box-shadow:var(--shadow);
  font-size:12px; line-height:1.5; text-align:center;
  opacity:0; transform:translate(-50%, 12px); pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}
.reputation-toast.is-visible { opacity:1; transform:translate(-50%, 0); }
.reputation-toast[hidden] { display:none; }

@media (max-width: 1100px) {
  .hero-flipper-poster, .hero-flipper-video { transform:scale(.92); }
  .hero-visual { width:min(100%, 330px); max-width:330px; }
  .profile-tile { width:min(100%, 216px); }
}
@media (max-width: 760px) {
  .hero-grid {
    display:flex; flex-direction:column; align-items:stretch;
    gap:26px; padding-top:clamp(52px, 10vw, 74px); padding-bottom:90px;
  }
  .hero-copy-column { max-width:none; }
  .hero-visual {
    width:min(100%, 360px); max-width:360px; align-self:center;
    justify-self:center; gap:14px; margin-top:2px;
  }
  .profile-tile { width:min(58vw, 218px); }
  .reputation-widget { width:100%; padding:16px; }
  .hero-flipper-poster,
  .hero-flipper-video {
    inset:auto 0 0; width:100%; height:auto; aspect-ratio:16 / 9;
    object-fit:contain; object-position:center bottom; transform:scale(.94);
    transform-origin:center bottom;
  }
  .hero-flipper-stage::before {
    background:linear-gradient(90deg, rgba(var(--hero-bg-rgb), 1) 0%, transparent 8%, transparent 92%, rgba(var(--hero-bg-rgb), 1) 100%);
  }
  .hero-flipper-stage::after {
    background:linear-gradient(180deg,
      rgba(var(--hero-bg-rgb), .96) 0%,
      rgba(var(--hero-bg-rgb), .84) 32%,
      rgba(var(--hero-bg-rgb), .28) 70%,
      rgba(var(--hero-bg-rgb), .08) 100%);
  }
}
@media (max-width: 380px) {
  
  
}
@media (prefers-reduced-motion: reduce) {
  .reputation-score, .reputation-vote, .reputation-toast { transition:none !important; }
}

/* FLOXOV refinement: avatar-only CRT glitch, minimal reputation and seamless dark hero. */
.profile-tile {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  border-radius: 3px;
  overflow: hidden;
  cursor: default;
  touch-action: manipulation;
  outline-offset: 5px;
}
.profile-tile:focus-visible {
  outline: 2px solid var(--text);
}
.profile-photo {
  z-index: 1;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
  backface-visibility: hidden;
}
.profile-photo.is-loaded,
.hero-visual:hover .profile-photo.is-loaded { transform: none; }
.profile-glitch-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  backface-visibility: hidden;
}
.profile-glitch-layer--cyan {
  z-index: 2;
  filter: saturate(1.55) hue-rotate(158deg) contrast(1.28) brightness(1.12);
  mix-blend-mode: screen;
}
.profile-glitch-layer--red {
  z-index: 3;
  filter: saturate(1.8) hue-rotate(300deg) contrast(1.24) brightness(1.08);
  mix-blend-mode: screen;
}
.profile-tile::before,
.profile-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}
.profile-tile::before {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(225, 239, 255, .13) 4px,
    transparent 5px
  );
}
.profile-tile::after {
  z-index: 5;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,.72) 9%, transparent 12%),
    linear-gradient(90deg, transparent 0 68%, rgba(78,165,255,.46) 69%, transparent 74%),
    repeating-linear-gradient(to bottom, transparent 0 19px, rgba(255,255,255,.10) 20px, transparent 22px);
  mix-blend-mode: screen;
}
.profile-tile.is-glitching .profile-photo {
  animation: floxov-avatar-main-glitch 740ms steps(1, end) both;
}
.profile-tile.is-glitching .profile-glitch-layer--cyan {
  animation: floxov-avatar-cyan-glitch 740ms steps(1, end) both;
}
.profile-tile.is-glitching .profile-glitch-layer--red {
  animation: floxov-avatar-red-glitch 740ms steps(1, end) both;
}
.profile-tile.is-glitching::before {
  animation: floxov-avatar-scanlines 740ms steps(1, end) both;
}
.profile-tile.is-glitching::after {
  animation: floxov-avatar-signal 740ms steps(1, end) both;
}
@keyframes floxov-avatar-main-glitch {
  0%, 100% { clip-path: inset(0); transform: none; filter: none; }
  9% { clip-path: inset(8% 0 76% 0); transform: translateX(-5px) skewX(-.5deg); filter: contrast(1.18); }
  17% { clip-path: inset(35% 0 48% 0); transform: translateX(6px); }
  25% { clip-path: inset(64% 0 20% 0); transform: translateX(-3px); }
  38% { clip-path: inset(0 0 0 0); transform: translateX(1px); }
  52% { clip-path: inset(18% 0 68% 0); transform: translateX(4px); filter: brightness(1.18); }
  61% { clip-path: inset(0); transform: translateX(-1px); }
  72% { clip-path: inset(78% 0 8% 0); transform: translateX(3px); }
  84% { clip-path: inset(0); transform: none; }
}
@keyframes floxov-avatar-cyan-glitch {
  0%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  8% { opacity: .72; transform: translateX(-8px); clip-path: inset(12% 0 73% 0); }
  19% { opacity: .55; transform: translateX(7px); clip-path: inset(39% 0 43% 0); }
  29% { opacity: .72; transform: translateX(-4px); clip-path: inset(70% 0 18% 0); }
  43% { opacity: .12; transform: translateX(2px); clip-path: inset(0); }
  57% { opacity: .62; transform: translateX(-6px); clip-path: inset(22% 0 62% 0); }
  68% { opacity: .3; transform: translateX(4px); clip-path: inset(0 0 0 0); }
  82% { opacity: .42; transform: translateX(-2px); clip-path: inset(82% 0 7% 0); }
}
@keyframes floxov-avatar-red-glitch {
  0%, 100% { opacity: 0; transform: translateX(0); clip-path: inset(0 0 100% 0); }
  12% { opacity: .52; transform: translateX(7px); clip-path: inset(28% 0 54% 0); }
  23% { opacity: .68; transform: translateX(-6px); clip-path: inset(56% 0 26% 0); }
  35% { opacity: .16; transform: translateX(2px); clip-path: inset(0); }
  49% { opacity: .58; transform: translateX(6px); clip-path: inset(8% 0 79% 0); }
  63% { opacity: .32; transform: translateX(-4px); clip-path: inset(0 0 0 0); }
  77% { opacity: .5; transform: translateX(3px); clip-path: inset(73% 0 13% 0); }
}
@keyframes floxov-avatar-scanlines {
  0%, 100% { opacity: 0; }
  10%, 20%, 50%, 64%, 80% { opacity: .45; }
  14%, 27%, 56%, 72%, 90% { opacity: .08; }
}
@keyframes floxov-avatar-signal {
  0%, 100% { opacity: 0; }
  11% { opacity: .65; }
  16% { opacity: .05; }
  31% { opacity: .42; }
  37% { opacity: 0; }
  54% { opacity: .52; }
  60% { opacity: .06; }
  76% { opacity: .34; }
  83% { opacity: 0; }
}

/* Minimal reputation: score first, then only the plus/minus controls. */
.reputation-widget {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  text-align: center;
}
.reputation-score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 13px;
}
.reputation-score {
  display: block;
  min-width: 1.5em;
  color: var(--text);
  font-size: clamp(42px, 4.6vw, 52px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
  transition: color .22s ease, transform .22s ease;
}
.reputation-vote-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.reputation-vote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface-glass);
  color: var(--text);
  font-family: var(--font);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
}
.reputation-vote span { display: block; transform: translateY(-1px); }
.reputation-vote:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--text); }
.reputation-vote:active:not(:disabled) { transform: translateY(0) scale(.96); }
.reputation-vote:disabled { opacity: .42; cursor: not-allowed; }
.reputation-vote[data-vote="1"][data-selected="true"] {
  color: #e7a45d;
  border-color: rgba(231,164,93,.62);
  background: rgba(231,164,93,.10);
}
.reputation-vote[data-vote="-1"][data-selected="true"] {
  color: #d78a83;
  border-color: rgba(215,138,131,.58);
  background: rgba(215,138,131,.10);
}
.reputation-status,
.reputation-cooldown {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* The dark MP4 is composited to the page canvas, so the frame edges disappear. */
.hero-section,
.hero-flipper-stage {
  background: var(--bg) !important;
  transition: background-color 450ms cubic-bezier(.22,.72,.2,1);
}
.hero-flipper-stage::before {
  background: none !important;
}
.hero-flipper-stage::after {
  background: linear-gradient(90deg,
    rgba(var(--hero-bg-rgb), .34) 0%,
    rgba(var(--hero-bg-rgb), .18) 23%,
    rgba(var(--hero-bg-rgb), .05) 42%,
    transparent 58%) !important;
  transition: background .45s cubic-bezier(.22,.72,.2,1);
}
@media (max-width: 760px) {
  .hero-flipper-stage::before { background: none !important; }
  .hero-flipper-stage::after {
    background: linear-gradient(180deg,
      rgba(var(--hero-bg-rgb), .94) 0%,
      rgba(var(--hero-bg-rgb), .74) 30%,
      rgba(var(--hero-bg-rgb), .24) 58%,
      transparent 78%) !important;
    transition: background .45s cubic-bezier(.22,.72,.2,1);
  }
  .reputation-widget { padding: 0; }
  .reputation-vote { width: 48px; min-width: 48px; height: 48px; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-tile.is-glitching .profile-photo,
  .profile-tile.is-glitching .profile-glitch-layer,
  .profile-tile.is-glitching::before,
  .profile-tile.is-glitching::after { animation: none !important; }
  .profile-glitch-layer { display: none !important; }
  .reputation-score,
  .reputation-vote { transition: none !important; }
}


/* -------------------------------------------------------------------------
   FLOXOV — phone-only hero refinement (320–640px)
   The visual track keeps its original height so the bottom-anchored Flipper
   Zero artwork retains the same size and vertical position.
   ------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* Keep the skip navigation link available on larger screens, but remove
     its visible overlay from the compact phone interface. */
  .skip-link {
    display: none !important;
  }

  .hero-grid {
    width: calc(100% - 36px);
    gap: 20px;
    padding-top: clamp(28px, 7vw, 40px);
    /* Compensates for the higher copy block and tighter spacing above. */
    padding-bottom: calc(152px - clamp(28px, 7vw, 40px));
  }

  .hero-title.hero-role-title {
    margin-bottom: 16px;
    font-size: clamp(22px, 7.1vw, 36px);
    line-height: 1.04;
    letter-spacing: -.06em;
  }

  .hero-description {
    max-width: 620px;
    font-size: 12.5px;
    line-height: 1.8;
  }

  .hero-visual {
    width: min(100%, 360px);
    max-width: 360px;
    min-height: clamp(303px, calc(58vw + 117px), 335px);
    align-self: center;
    justify-self: center;
    gap: 12px;
    margin-top: 0;
  }

  .profile-tile {
    flex: 0 0 auto;
    width: min(49vw, 184px);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .reputation-widget,
  .reputation-score-row,
  .reputation-vote-actions {
    flex: 0 0 auto;
  }

  .reputation-widget {
    width: 100%;
    padding: 0;
  }

  .reputation-vote {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
  }

  .hero-scroll {
    bottom: 18px;
  }
}

@media (max-width: 380px) {
  .hero-grid {
    width: calc(100% - 28px);
  }

  .hero-description {
    font-size: 12px;
  }
}
