:root {
  --white: #ffffff;
  --black: #000000;
  --panel: rgba(0, 0, 0, 0.46);
  --line: rgba(255, 255, 255, 0.72);
  --font-display: 'Monoton', cursive;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Oswald', sans-serif;
  --nav-height: 86px;
  --page-inline: clamp(18px, 4vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  background: var(--black);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
}

html.viewport-locked,
html.viewport-locked body {
  height: 100%;
  overflow: hidden;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.bg-photo {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(0) brightness(1);
  will-change: filter;
  transition: filter 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.bg-photo.blurred {
  filter: blur(7px) brightness(0.68);
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 52px);
  min-height: var(--nav-height);
  padding: max(18px, env(safe-area-inset-top)) var(--page-inline) 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent);
}

.nav-logo {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.8);
}

.nav-menu-toggle {
  display: none;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2.6vw, 32px);
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  flex: 0 0 auto;
  padding: 8px 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(0.68rem, 1.2vw, 0.82rem);
  letter-spacing: 0.06em;
  opacity: 0.58;
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  opacity: 1;
}

.nav-links a[aria-current='page'] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

main {
  position: relative;
  z-index: 2;
}

.screen {
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-height) + 24px) var(--page-inline) max(32px, env(safe-area-inset-bottom));
  place-items: center;
}

.screen-home {
  min-height: 100vh;
  min-height: 100dvh;
}

.screen-content {
  width: min(900px, 100%);
  margin: auto;
  text-align: center;
}

.screen-content-wide {
  width: min(1160px, 100%);
}

.screen-content-home {
  min-height: 1px;
}

.page-title {
  margin: 0 0 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

.page-title:focus {
  outline: none;
}

.page-sub {
  max-width: 540px;
  margin: 0 auto 18px;
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  line-height: 1.45;
  opacity: 0.92;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.page-sub-contact {
  margin-bottom: 22px;
}

.section-intro {
  max-width: 620px;
  margin-bottom: clamp(14px, 2.2vh, 22px);
}

.bio-screen {
  display: block;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  overflow: clip;
}

.bio-story {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

.bio-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.bio-hero-visual,
.bio-parallax-image,
.bio-final-image {
  position: absolute;
  z-index: 3;
  margin: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54);
  will-change: transform, opacity;
}

.bio-hero-visual {
  top: 50%;
  left: 50%;
  width: clamp(230px, 30vw, 440px);
  height: clamp(320px, 60vh, 590px);
  opacity: 0;
  visibility: hidden;
  translate: -50% -50%;
}

.bio-hero-visual img,
.bio-parallax-image img,
.bio-final-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-copy-track {
  position: absolute;
  top: 50%;
  left: 100%;
  z-index: 5;
  width: max-content;
  pointer-events: none;
  translate: 0 -50%;
  will-change: transform, opacity;
}

.bio-copy-line {
  margin: 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 6.8rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.92);
  text-transform: uppercase;
  white-space: nowrap;
}

.bio-parallax-image {
  left: 100%;
  z-index: 4;
  width: clamp(190px, 22vw, 330px);
  opacity: 0;
}

.bio-parallax-image-top {
  top: clamp(94px, 12vh, 132px);
  aspect-ratio: 3 / 2;
}

.bio-parallax-image-bottom {
  bottom: clamp(72px, 10vh, 118px);
  aspect-ratio: 4 / 3;
}

.bio-final {
  position: absolute;
  inset: calc(var(--nav-height) + 18px) var(--page-inline) 72px;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(150px, 22vw) minmax(340px, 640px) minmax(150px, 22vw);
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 54px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bio-final-image {
  position: relative;
  z-index: 1;
  width: min(22vw, 340px);
  height: min(52vh, 500px);
  opacity: 0;
  border-radius: 0;
}

.bio-final-image-left {
  justify-self: end;
}

.bio-final-image-right {
  justify-self: start;
}

.bio-final-center {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border: 0;
  background: transparent;
  will-change: transform, opacity;
}

.bio-long-copy {
  margin: 0;
  font-size: clamp(0.76rem, 0.95vw, 0.96rem);
  hyphens: auto;
  letter-spacing: 0.035em;
  line-height: 1.55;
  text-align: justify;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.94);
  white-space: normal;
}

.bio-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  margin-top: clamp(16px, 2.4vh, 24px);
}

.bio-social-link {
  display: inline-grid;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--white);
  opacity: 0.7;
  place-items: center;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.bio-social-link:hover,
.bio-social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transform: translateY(-2px);
}

.bio-social-link svg {
  width: 23px;
  height: 23px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.bio-social-link .icon-dot {
  fill: currentColor;
  stroke: none;
}

.bio-mark {
  display: block;
  width: clamp(26px, 3vw, 38px);
  height: auto;
  margin: 13px auto 0;
  opacity: 0.68;
}

.scroll-banner {
  position: absolute;
  right: 0;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 0;
  z-index: 10;
  height: 44px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: #000;
  color: #fff;
}

.scroll-banner-track,
.scroll-banner-group {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
}

.scroll-banner-track {
  will-change: transform;
}

.scroll-banner-group {
  flex: 0 0 auto;
}

.scroll-banner span {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 clamp(12px, 2vw, 28px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.scroll-banner-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-inline: clamp(4px, 0.7vw, 10px);
  object-fit: contain;
  opacity: 0.82;
}

.bio-fallback .bio-story {
  min-height: auto;
}

.bio-fallback .bio-stage {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--nav-height) + 32px) var(--page-inline) 70px;
  gap: 22px;
  align-items: center;
}

.bio-fallback .bio-hero-visual,
.bio-fallback .bio-parallax-image,
.bio-fallback .bio-copy-track {
  position: relative;
  inset: auto;
  width: min(520px, 100%);
  height: auto;
  opacity: 1;
  visibility: visible;
  aspect-ratio: 4 / 3;
  translate: none;
  transform: none !important;
}

.bio-fallback .bio-parallax-image {
  width: min(440px, 86%);
}

.bio-fallback .bio-copy-track {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.5);
  padding-block: 18px;
}

.bio-fallback .bio-copy-line {
  font-size: clamp(1.7rem, 7vw, 3.2rem);
  line-height: 1.05;
  text-align: center;
  white-space: normal;
}

.bio-fallback .bio-final {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(280px, 2fr) minmax(150px, 1fr);
  width: min(1120px, 100%);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none !important;
}

.bio-fallback .bio-final-image,
.bio-fallback .bio-final-center {
  opacity: 1;
  visibility: visible;
  transform: none !important;
}

.bio-fallback .scroll-banner {
  position: relative;
  inset: auto;
  flex: 0 0 44px;
  width: 100vw;
  transform: none !important;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 14px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.card,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  text-align: center;
  backdrop-filter: blur(6px);
}

.card {
  transition: transform 0.2s ease, background 0.2s ease;
}

.card:hover {
  background: rgba(0, 0, 0, 0.62);
  transform: translateY(-3px);
}

.card-soon {
  border-style: dashed;
  opacity: 0.72;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
}

.card-price {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.card-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  opacity: 0.88;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 17px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.card-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 120px;
  justify-content: center;
  border-style: dashed;
  line-height: 1.5;
}

.aparato-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(600px, 100%);
  margin: 0 auto;
}

.gear-screen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.gear-center {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
}

.gear-more-note {
  margin: 14px 0 0;
  font-size: clamp(0.66rem, 0.9vw, 0.76rem);
  letter-spacing: 0.045em;
  opacity: 0.66;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.92);
}

.aparato-row {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(170px, 24vh, 230px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #111;
  cursor: pointer;
  text-align: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.aparato-row:disabled {
  cursor: progress;
}

.aparato-row:hover,
.aparato-row:focus-visible {
  filter: brightness(1.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  transform: translateY(-2px) scale(1.012);
}

.aparato-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aparato-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 18px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
  place-items: center;
  pointer-events: none;
}

.aparato-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

.aparato-detail-screen {
  display: block;
  min-height: 100vh;
  padding: 0;
}

.aparato-process {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 28px) var(--page-inline) clamp(100px, 18vh, 190px);
}

.aparato-process-back {
  position: sticky;
  top: calc(var(--nav-height) + 8px);
  z-index: 5;
  display: inline-flex;
  margin-bottom: clamp(52px, 8vh, 90px);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.72;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.96);
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.aparato-process-back:hover,
.aparato-process-back:focus-visible {
  opacity: 1;
}

.aparato-process-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(46px, 7vh, 76px);
}

.aparato-process-step {
  display: grid;
  grid-template-columns: minmax(260px, 1.08fr) minmax(260px, 0.92fr);
  min-height: auto;
  padding-block: clamp(22px, 4vh, 40px);
  align-items: center;
  gap: clamp(36px, 7vw, 104px);
}

.aparato-process-image {
  width: 100%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.58);
}

.aparato-process-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aparato-process-copy {
  max-width: 500px;
  margin: 0;
  font-size: clamp(0.94rem, 1.25vw, 1.08rem);
  hyphens: auto;
  letter-spacing: 0.018em;
  line-height: 1.72;
  text-align: justify;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.96);
}

.aparato-process-step.is-reversed .aparato-process-image {
  grid-column: 2;
  grid-row: 1;
}

.aparato-process-step.is-reversed .aparato-process-copy {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
}

.portfolio-screen,
.contact-screen {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--nav-height) + 18px);
  padding-bottom: 18px;
  overflow: hidden;
  align-items: center;
  overscroll-behavior: none;
}

.portfolio-content {
  width: min(720px, 100%);
  margin: auto;
}

.portfolio-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 16px);
  width: 100%;
  height: min(620px, calc(100dvh - var(--nav-height) - 112px));
  min-height: 0;
}

.portfolio-row {
  flex: 1 1 0;
  min-height: 0;
}

.contact-content {
  width: min(520px, 100%);
}

.contact-mark {
  display: block;
  width: clamp(82px, 9vw, 112px);
  height: auto;
  margin: 0 auto 16px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.52));
}

.funk-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  width: min(420px, 100%);
  margin: 0 auto;
  text-align: left;
}

.funk-form label {
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
}

.funk-form input,
.funk-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--white);
  font-size: 1rem;
  resize: none;
  backdrop-filter: blur(5px);
}

.funk-form input::placeholder,
.funk-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.funk-form input:focus,
.funk-form textarea:focus {
  border-color: var(--white);
  outline: 3px solid rgba(255, 255, 255, 0.25);
}

.funk-form button[type='submit'] {
  justify-self: center;
  min-width: 126px;
  min-height: 44px;
  margin-top: 10px;
  padding: 9px 26px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--panel);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, opacity 0.2s ease;
}

.funk-form button[type='submit']:hover {
  background: rgba(255, 255, 255, 0.2);
}

.funk-form button[type='submit']:disabled {
  cursor: wait;
  opacity: 0.58;
}

.form-status {
  min-height: 1.35em;
  margin: 3px 0 0;
  font-size: 0.84rem;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.contact-socials {
  margin-top: 22px;
  opacity: 1;
  transform: none;
}

.noscript-message {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 50;
  padding: 16px;
  border: 1px solid var(--white);
  border-radius: 12px;
  background: #000;
  text-align: center;
}

.noscript-message a {
  color: inherit;
}

@media (max-width: 720px) {
  :root {
    --nav-height: 76px;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 20px;
    padding: max(14px, env(safe-area-inset-top)) 18px 12px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.08));
  }

  .nav-logo {
    justify-self: start;
  }

  .nav-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin: 0 -8px 0 0;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .nav-menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
    transform-origin: center;
    transition: opacity 0.2s ease, transform 0.24s ease;
  }

  .nav-menu-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 6px);
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: min(210px, calc(100vw - 32px));
    padding: 10px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.88);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.24s ease, visibility 0.2s;
    backdrop-filter: blur(12px);
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 42px;
    padding: 12px 0;
    text-align: right;
  }

  .screen {
    align-items: start;
    padding-top: calc(var(--nav-height) + 28px);
  }

  .contact-screen,
  .portfolio-screen {
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: 12px;
    align-items: center;
  }

  .bio-screen {
    padding: 0;
  }

  .bio-hero-visual {
    width: min(64vw, 340px);
    height: min(56vh, 480px);
  }

  .bio-copy-line {
    font-size: clamp(2.2rem, 11vw, 4.6rem);
  }

  .bio-parallax-image {
    width: min(46vw, 230px);
  }

  .bio-parallax-image-top {
    top: 14vh;
  }

  .bio-parallax-image-bottom {
    bottom: 12vh;
  }

  .bio-final {
    inset: calc(var(--nav-height) + 8px) 12px 58px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bio-final-image {
    display: none;
  }

  .bio-final-center {
    width: min(100%, 620px);
    padding: 14px clamp(8px, 3vw, 18px);
    background: transparent;
  }

  .bio-long-copy {
    font-size: clamp(0.68rem, 2.7vw, 0.78rem);
    letter-spacing: 0.015em;
    line-height: 1.4;
  }

  .bio-socials {
    gap: 3px;
    margin-top: 12px;
  }

  .bio-social-link {
    width: 30px;
    height: 30px;
  }

  .bio-social-link svg {
    width: 18px;
    height: 18px;
  }

  .bio-mark {
    width: 25px;
    margin-top: 8px;
  }

  .scroll-banner {
    bottom: max(8px, env(safe-area-inset-bottom));
    height: 40px;
  }

  .screen-home {
    align-items: center;
  }

  .gear-screen {
    align-items: center;
    padding-top: calc(var(--nav-height) + 18px);
  }

  .gear-center {
    width: min(600px, 100%);
    min-width: 0;
  }

  .contact-mark {
    width: 82px;
  }

  .aparato-row {
    min-height: 145px;
  }

  .aparato-detail-screen {
    padding: 0;
  }

  .aparato-process {
    padding: calc(var(--nav-height) + 22px) 18px 110px;
  }

  .aparato-process-back {
    top: calc(var(--nav-height) + 6px);
    margin-bottom: 58px;
  }

  .aparato-process-flow {
    gap: 52px;
  }

  .aparato-process-step {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    padding-block: 12px;
    gap: 26px;
  }

  .aparato-process-step.is-reversed .aparato-process-image,
  .aparato-process-image {
    grid-column: 1;
    grid-row: 1;
  }

  .aparato-process-step.is-reversed .aparato-process-copy,
  .aparato-process-copy {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    max-width: none;
  }

  .portfolio-screen {
    padding-top: calc(var(--nav-height) + 12px);
  }

  .portfolio-stack {
    gap: 10px;
    height: calc(100dvh - var(--nav-height) - 104px);
  }

  .portfolio-row {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .aparato-process-copy {
    font-size: 0.9rem;
    line-height: 1.65;
  }
}

@media (max-height: 760px) {
  .contact-screen {
    padding-top: calc(var(--nav-height) + 8px);
    padding-bottom: 8px;
  }

  .contact-mark {
    width: 56px;
    margin-bottom: 6px;
  }

  .page-sub-contact {
    margin-bottom: 8px;
  }

  .funk-form {
    gap: 3px;
  }

  .funk-form label {
    margin-top: 2px;
    font-size: 0.7rem;
  }

  .funk-form input,
  .funk-form textarea {
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .funk-form textarea {
    height: 62px;
  }

  .funk-form button[type='submit'] {
    min-height: 36px;
    margin-top: 4px;
    padding-block: 6px;
  }

  .form-status {
    min-height: 1.15em;
    margin-top: 0;
    font-size: 0.76rem;
  }

  .contact-socials {
    margin-top: 8px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  :root {
    --nav-height: 70px;
  }

  .navbar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    padding: 10px 24px;
  }

  .nav-logo {
    justify-self: start;
  }

  .screen {
    padding-top: calc(var(--nav-height) + 18px);
  }

  .bio-screen {
    padding: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
