:root {
  color-scheme: dark;
  --page-max-width: 1200px;
  --text: #ffffff;
  --muted: #d0d0d0;
  --muted-strong: #eeeeee;
  --panel: rgb(0 0 0 / 72%);
  --panel-strong: rgb(0 0 0 / 82%);
  --line: rgb(255 255 255 / 14%);
  --cyber-blue: #00ffff;
  --cyber-magenta: #ff00ff;
  --cyber-blue-soft: rgb(0 255 255 / 18%);
  --cyber-magenta-soft: rgb(255 0 255 / 18%);
  --focus: #00ffff;
  --radius: 10px;
  --shadow: 0 20px 70px rgb(0 0 0 / 36%);
  --cyber-shadow: 0 0 24px rgb(255 0 255 / 38%);
}

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

html {
  min-height: 100%;
  background-color: #000000;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: var(--text);
  --page-background-image: url("../images/space_background.jpg");
  background:
    linear-gradient(rgb(0 0 0 / 24%), rgb(0 0 0 / 36%)),
    #000000 var(--page-background-image) center / cover fixed no-repeat;
}

body[data-cv-page] {
  background: #000000;
}

body[data-cv-page] .site-shell {
  position: relative;
  z-index: 1;
}

.developer-vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
  pointer-events: none;
  background: #000000;
  transition: opacity 220ms ease, visibility 220ms ease;
  visibility: visible;
}

.developer-vanta-bg canvas {
  opacity: 0.72;
}

.developer-vanta-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 24% 18%, rgb(0 255 255 / 12%), transparent 34%),
    radial-gradient(circle at 74% 24%, rgb(255 0 255 / 8%), transparent 30%),
    linear-gradient(180deg, rgb(0 0 0 / 12%), rgb(0 0 0 / 44%));
}

.developer-light-gradient-bg {
  --developer-gradient-scroll: 0px;
  position: fixed;
  inset: -18vmax;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  contain: paint;
  transform: translate3d(0, var(--developer-gradient-scroll), 0);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.developer-light-gradient-bg::before,
.developer-light-gradient-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.developer-light-gradient-bg::before {
  background:
    radial-gradient(circle at 16% 28%, rgb(0 183 255 / 34%), transparent 28%),
    radial-gradient(circle at 78% 18%, rgb(255 58 167 / 32%), transparent 25%),
    radial-gradient(circle at 60% 76%, rgb(255 199 71 / 22%), transparent 31%),
    radial-gradient(circle at 24% 86%, rgb(103 232 249 / 20%), transparent 24%),
    linear-gradient(135deg, #f4fcff 0%, #ffffff 46%, #fff1fa 72%, #ecfbff 100%);
}

.developer-light-gradient-bg::after {
  opacity: 0.32;
  background:
    repeating-linear-gradient(115deg, rgb(0 183 255 / 8%) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(24deg, rgb(255 58 167 / 7%) 0 1px, transparent 1px 42px);
}

body[data-cv-page][data-studio-theme="light"] .developer-light-gradient-bg {
  visibility: visible;
  opacity: 1;
}

body[data-cv-page][data-studio-theme="light"] .developer-light-gradient-bg::before {
  animation: developer-light-gradient-drift 34s ease-in-out infinite alternate;
}

body[data-cv-page][data-studio-theme="light"] .developer-light-gradient-bg::after {
  animation: developer-light-gradient-lines 46s linear infinite;
}

@keyframes developer-light-gradient-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.04);
  }

  50% {
    transform: translate3d(2%, 1.5%, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-1%, 2%, 0) scale(1.05);
  }
}

@keyframes developer-light-gradient-lines {
  from {
    transform: translate3d(-2%, -1%, 0);
  }

  to {
    transform: translate3d(2%, 1%, 0);
  }
}

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

a {
  color: inherit;
}

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

button {
  border: 0;
}

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

.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;
}

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 1.1rem 1.25rem;
  text-align: center;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 96%), rgb(7 12 18 / 98%), rgb(0 0 0 / 96%));
  border-bottom: 1px solid rgb(0 255 255 / 28%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 46%), 0 0 30px rgb(255 0 255 / 14%);
}

.site-header-with-back {
  min-height: 5rem;
}

.header-back-button {
  position: absolute;
  top: 50%;
  left: clamp(0.8rem, 2vw, 1.5rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  background-color: rgb(0 0 0 / 54%);
  border: 1px solid rgb(0 255 255 / 34%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgb(0 255 255 / 10%);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-back-button:hover,
.header-back-button:focus-visible {
  color: #ffffff;
  background-color: rgb(0 255 255 / 13%);
  border-color: var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 34%);
}

.logo-link {
  display: inline-flex;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius);
  transition: filter 180ms ease, transform 180ms ease;
}

.logo-link:hover {
  filter: drop-shadow(0 0 12px rgb(255 0 255 / 65%));
  transform: translateY(-1px);
}

.site-logo {
  width: min(150px, 45vw);
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.9rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-nav a,
.site-nav .nav-placeholder {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.product-site-header,
.site-header:has(.product-top-nav) {
  gap: 0.75rem;
}

.product-top-nav {
  gap: 0.45rem;
  align-items: center;
}

.product-top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.82rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.product-top-nav a:hover,
.product-top-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
  background-color: rgb(0 255 255 / 8%);
  border-color: rgb(0 255 255 / 24%);
  box-shadow: 0 0 18px rgb(0 255 255 / 16%);
}

.nav-placeholder {
  opacity: 0.75;
  cursor: default;
}

.container,
.about-page,
.contact-page {
  width: min(100% - 2rem, var(--page-max-width));
  margin-inline: auto;
  flex: 1;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 15px;
  justify-content: center;
  margin-block: 0.9rem 2rem;
}

.company-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  padding: 1.55rem;
  overflow: hidden;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  background-color: var(--panel);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.company-card:hover {
  background-color: rgb(18 0 28 / 92%);
  border-color: var(--cyber-magenta);
  box-shadow: var(--shadow), var(--cyber-shadow), inset 0 0 28px var(--cyber-blue-soft);
  transform: translateY(-3px);
}

.company-card:hover .company-image {
  opacity: 0.84;
}

.company-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid #444444;
  transition: opacity 180ms ease;
}

.company-copy {
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem 0.6rem 0;
  color: var(--muted);
}

.company-copy h2,
.company-title {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.company-copy p {
  margin: 0;
  font-size: 0.9rem;
}

.foods-page {
  display: grid;
  gap: 1.25rem;
  align-content: center;
  justify-items: center;
  width: min(100% - 2rem, var(--page-max-width));
  padding: 2rem 0;
  margin-inline: auto;
  flex: 1;
}

.foods-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.foods-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  color: var(--cyber-blue);
  text-decoration: none;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.foods-breadcrumb a:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgb(0 255 255 / 70%);
}

.foods-breadcrumb a[aria-current="page"] {
  color: var(--cyber-magenta);
}

.foods-breadcrumb a[aria-current="page"]:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgb(255 0 255 / 70%);
}

.foods-back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.8rem;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  background-color: rgb(0 0 0 / 54%);
  border: 1px solid rgb(0 255 255 / 34%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgb(0 255 255 / 10%);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.foods-back-button:hover,
.foods-back-button:focus-visible {
  color: #ffffff;
  background-color: rgb(0 255 255 / 13%);
  border-color: var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 34%);
  transform: translateY(-1px);
}

.food-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  justify-content: center;
  width: 100%;
  max-width: 1060px;
}

.food-brand-grid-single {
  grid-template-columns: minmax(0, 360px);
  max-width: 420px;
}

.food-brand-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  align-content: start;
  min-width: 0;
  padding: 1.55rem;
  color: var(--text);
  text-align: center;
  background-color: var(--panel);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.food-brand-card:hover {
  background-color: rgb(18 0 28 / 92%);
  border-color: var(--cyber-magenta);
  box-shadow: var(--shadow), var(--cyber-shadow), inset 0 0 28px var(--cyber-blue-soft);
  transform: translateY(-3px);
}

.food-brand-card:hover .food-brand-image {
  opacity: 0.84;
}

.food-brand-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid #444444;
  border-radius: 8px;
  transition: opacity 180ms ease;
}

.food-brand-copy {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.food-brand-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
}

.food-brand-copy p {
  margin: 0;
  font-size: 0.9rem;
}

.panel {
  color: var(--muted);
  background-color: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-page {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding-bottom: 2rem;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  margin-top: 1rem;
  overflow: hidden;
}

.about-hero-stacked {
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
}

.about-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  border: 1px solid rgb(0 255 255 / 18%);
  box-shadow: 0 0 34px rgb(255 0 255 / 10%);
  object-fit: cover;
  object-position: center;
}

.about-copy h1,
.page-title,
.terms-content h1,
.terms-content h2,
.client-logos h2 {
  color: var(--text);
}

.about-copy h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.05;
}

.about-copy-centered {
  max-width: 900px;
  margin-inline: auto;
  color: var(--muted);
  text-align: center;
}

.about-copy-centered p {
  margin: 0 auto 1rem;
}

.about-copy-centered p:last-child {
  margin-bottom: 0;
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-info-panel {
  padding: clamp(1rem, 2.3vw, 1.35rem);
}

.about-info-panel h2 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.08rem;
}

.about-info-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0.85rem 0 0;
  list-style: none;
}

.project-list li {
  color: var(--muted-strong);
  font-size: 0.84rem;
  background-color: rgb(0 255 255 / 9%);
  border: 1px solid rgb(255 0 255 / 18%);
  border-radius: 999px;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.project-list a,
.project-list span {
  display: block;
  padding: 0.38rem 0.65rem;
  color: inherit;
  text-decoration: none;
}

.project-list li:hover,
.project-list li:focus-within {
  color: #ffffff;
  background-color: rgb(0 183 255 / 18%);
  border-color: rgb(0 183 255 / 78%);
  box-shadow: 0 0 18px rgb(0 183 255 / 38%);
  transform: translateY(-1px);
}

.project-list li:nth-child(even):hover,
.project-list li:nth-child(even):focus-within {
  background-color: rgb(255 0 255 / 20%);
  border-color: rgb(255 0 255 / 72%);
  box-shadow: 0 0 18px rgb(255 0 255 / 34%);
}

.project-list li:hover a,
.project-list li:hover span,
.project-list li:focus-within a,
.project-list li:focus-within span,
.project-list a:hover {
  color: var(--text);
  text-shadow: 0 0 12px rgb(0 183 255 / 72%);
}

.project-list li:nth-child(even):hover a,
.project-list li:nth-child(even):hover span,
.project-list li:nth-child(even):focus-within a {
  text-shadow: 0 0 12px rgb(255 0 255 / 70%);
}

.project-list-feature-pink:hover,
.project-list-feature-pink:focus-within {
  color: #ffffff;
  background-color: rgb(255 0 255 / 28%);
  border-color: rgb(255 0 255 / 72%);
  box-shadow: 0 0 18px rgb(255 0 255 / 34%);
  transform: translateY(-1px);
}

.project-list-feature-blue:hover,
.project-list-feature-blue:focus-within {
  color: #ffffff;
  background-color: rgb(0 183 255 / 22%);
  border-color: rgb(0 183 255 / 82%);
  box-shadow: 0 0 18px rgb(0 255 255 / 38%);
  transform: translateY(-1px);
}

.recruitment-panel {
  background-color: rgb(0 0 0 / 58%);
}

.recruitment-panel a {
  color: var(--cyber-blue);
  text-decoration: none;
}

.recruitment-panel a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.client-logos {
  padding: 1.25rem;
  text-align: center;
}

.client-logos-only {
  background-color: rgb(0 0 0 / 58%);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.logo-strip img {
  width: auto;
  max-width: 150px;
  height: auto;
  opacity: 0.32;
  filter: grayscale(1);
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.logo-strip img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

.contact-page {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-bottom: 2rem;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.9rem);
  margin-top: 1rem;
  overflow: hidden;
}

.contact-hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: var(--radius);
  box-shadow: 0 0 34px rgb(255 0 255 / 10%);
}

.contact-intro {
  max-width: 820px;
  margin-inline: auto;
  color: var(--muted);
  text-align: center;
}

.contact-intro h1 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.05;
}

.contact-intro p {
  margin: 0;
}

.page-title {
  margin: 0.5rem 0;
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(280px, 420px);
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

.contact-image {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.contact-form {
  display: grid;
  gap: 0.5rem;
  padding: 1.25rem;
  color: var(--muted);
  background-color: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-form-panel {
  width: min(100%, 860px);
  padding: clamp(1.25rem, 3vw, 1.9rem);
  margin-inline: auto;
}

.secure-contact-form {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.35;
}

.form-field label span {
  color: #9c9c9c;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.72rem 0.75rem;
  color: var(--text);
  background-color: #333333;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
}

.contact-form select {
  appearance: none;
  padding-right: 2.7rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--cyber-blue) 50%),
    linear-gradient(135deg, var(--cyber-blue) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.contact-form input[type="file"] {
  padding: 0.72rem;
  color: var(--muted);
}

.contact-form input[type="file"]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.7rem;
  color: var(--text);
  background-color: #151515;
  border: 1px solid rgb(0 255 255 / 24%);
  border-radius: 5px;
  cursor: pointer;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 12px rgb(0 255 255 / 18%);
}

.word-counter {
  margin: -0.05rem 0 0;
  color: #aeb6bd;
  font-size: 0.82rem;
  text-align: right;
}

.word-counter.is-over-limit {
  color: #ff3b5c;
  font-weight: 700;
}

.form-consent label {
  display: flex;
  gap: 0.55rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.05rem;
  min-height: 0;
  height: 1.05rem;
  padding: 0;
  margin: 0.12rem 0 0;
  accent-color: var(--cyber-blue);
  background-color: transparent;
}

.form-consent span {
  display: block;
  min-width: 0;
}

.form-consent a {
  color: var(--cyber-blue);
  text-decoration: none;
}

.form-consent a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-note {
  margin: 0.85rem 0 0.35rem;
  color: #aeb6bd;
  font-size: 0.84rem;
}

.protected-email-link {
  color: var(--cyber-blue);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  font-weight: 700;
}

.protected-email-link:hover,
.protected-email-link:focus-visible {
  color: var(--text);
}

.form-field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-response-page {
  display: grid;
  place-items: center;
}

.contact-response {
  width: min(100%, 760px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-block: 2rem;
  text-align: center;
}

.contact-response h1 {
  margin-top: 0;
  color: var(--text);
}

.contact-response p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.65rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  background-color: #151515;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button:hover {
  background-color: #26002f;
  box-shadow: var(--cyber-shadow);
  transform: translateY(-1px);
}

.contact-submit-button {
  justify-self: center;
  min-width: min(100%, 220px);
  color: #001416;
  font-weight: 700;
  background-color: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 34%);
}

.contact-submit-button:hover {
  color: var(--text);
  background-color: #00383d;
  border-color: var(--cyber-blue);
  box-shadow: 0 0 24px rgb(0 255 255 / 62%), inset 0 0 18px rgb(0 255 255 / 18%);
}

.contact-submit-button:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.supporting-companies {
  text-align: center;
}

.supporting-companies a {
  display: inline-flex;
  border-radius: var(--radius);
}

.supporting-companies img {
  width: min(100px, 30vw);
  height: auto;
  margin: 0.65rem;
  opacity: 0.72;
  transition: opacity 160ms ease;
}

.supporting-companies img:hover {
  opacity: 1;
}

.legal-disclaimer {
  color: #bbbbbb;
  font-style: normal;
  text-align: center;
  font-size: 0.85rem;
}

.terms-content {
  padding: clamp(1.25rem, 3vw, 1.9rem);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.terms-content h1,
.terms-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.terms-content h2 {
  margin-top: 1.6rem;
}

.terms-content a {
  color: var(--cyber-blue);
  text-decoration: none;
}

.terms-content a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.useful-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0;
  margin: 1rem 0 1.5rem;
  list-style: none;
}

.useful-links span {
  color: #aaaaaa;
}

.signature-image {
  display: flex;
  justify-content: center;
  margin: 2.5rem 0;
}

.signature-image img {
  max-width: 200px;
  height: auto;
}

.terms-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

body.farm-software-body {
  --software-ink: #101611;
  --software-muted: #5b665f;
  --software-soft: #eef3e8;
  --software-paper: #fbfcf7;
  --software-panel: #ffffff;
  --software-line: rgb(16 22 17 / 12%);
  --software-dark: #07100d;
  --software-green: #b9ff4a;
  --software-teal: #0b766f;
  --software-amber: #f6b73c;
  color: var(--software-ink);
  background:
    linear-gradient(135deg, #f7f9f1 0%, #ffffff 46%, #e8f2eb 100%);
}

.farm-software-body .software-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.software-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem max(1rem, calc((100vw - 1180px) / 2));
  background: rgb(7 16 13 / 94%);
  border-bottom: 1px solid rgb(185 255 74 / 18%);
  box-shadow: 0 12px 34px rgb(7 16 13 / 18%);
  backdrop-filter: blur(14px);
}

.software-logo-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.software-logo {
  width: min(118px, 34vw);
  height: auto;
}

.software-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.software-nav a,
.software-footer a {
  color: inherit;
  text-decoration: none;
}

.software-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.38rem 0.72rem;
  color: rgb(255 255 255 / 78%);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
}

.software-nav a:hover {
  color: #ffffff;
  background-color: rgb(185 255 74 / 10%);
  border-color: rgb(185 255 74 / 28%);
}

.software-sales {
  flex: 1;
}

.software-hero,
.software-proof,
.software-split,
.software-process,
.software-purchase {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.software-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(320px, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  min-height: clamp(560px, 76vh, 760px);
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 3rem);
}

.software-hero-copy {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.software-eyebrow {
  margin: 0;
  color: var(--software-teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.software-hero h1,
.software-section-copy h2,
.software-purchase h2 {
  margin: 0;
  color: var(--software-ink);
  line-height: 1;
  letter-spacing: 0;
}

.software-hero h1 {
  max-width: 9.5ch;
  font-size: clamp(3.25rem, 7.2vw, 6.25rem);
}

.software-hero-copy > p:not(.software-eyebrow),
.software-purchase > div > p {
  max-width: 33rem;
  margin: 0;
  color: var(--software-muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.software-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.45rem;
}

.software-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1.08rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 7px;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.software-button:hover {
  transform: translateY(-1px);
}

.software-button-primary {
  color: var(--software-dark);
  background-color: var(--software-green);
  border: 1px solid rgb(16 22 17 / 12%);
  box-shadow: 0 16px 34px rgb(185 255 74 / 22%);
}

.software-button-primary:hover {
  background-color: #ceff75;
  box-shadow: 0 18px 38px rgb(185 255 74 / 30%);
}

.software-button-secondary {
  color: var(--software-ink);
  background-color: rgb(255 255 255 / 72%);
  border: 1px solid var(--software-line);
}

.software-preview {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background-color: var(--software-dark);
  border: 1px solid rgb(16 22 17 / 12%);
  border-radius: 8px;
  box-shadow: 0 34px 80px rgb(7 16 13 / 22%);
}

.software-preview img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.software-preview figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.15rem;
  min-width: 13rem;
  padding: 0.85rem;
  color: #ffffff;
  background-color: rgb(7 16 13 / 78%);
  border: 1px solid rgb(185 255 74 / 24%);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.software-preview figcaption span {
  color: rgb(255 255 255 / 68%);
  font-size: 0.78rem;
}

.software-preview figcaption strong {
  font-size: 1.3rem;
}

.software-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background-color: var(--software-panel);
  border: 1px solid var(--software-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgb(7 16 13 / 8%);
}

.software-proof article {
  padding: clamp(1rem, 2.4vw, 1.45rem);
  border-right: 1px solid var(--software-line);
}

.software-proof article:last-child {
  border-right: 0;
}

.software-proof span,
.software-plan-grid span,
.software-process li::before {
  color: var(--software-teal);
  font-size: 0.75rem;
  font-weight: 800;
}

.software-proof h2,
.software-feature-list h3,
.software-plan-grid h3 {
  margin: 0.35rem 0 0;
  color: var(--software-ink);
  font-size: 1.05rem;
}

.software-proof p,
.software-feature-list p,
.software-process span,
.software-plan-grid p {
  margin: 0.45rem 0 0;
  color: var(--software-muted);
}

.software-split,
.software-process,
.software-purchase {
  padding-block: clamp(2.4rem, 6vw, 4.6rem);
}

.software-split,
.software-process {
  display: grid;
  grid-template-columns: minmax(250px, 0.52fr) minmax(320px, 1fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

.software-section-copy {
  display: grid;
  gap: 0.7rem;
}

.software-section-copy h2,
.software-purchase h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.software-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.software-feature-list article,
.software-plan-grid article,
.software-process li {
  min-width: 0;
  padding: 1rem;
  background-color: var(--software-panel);
  border: 1px solid var(--software-line);
  border-radius: 8px;
}

.software-process {
  border-top: 1px solid var(--software-line);
  border-bottom: 1px solid var(--software-line);
}

.software-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: software-process;
}

.software-process li {
  position: relative;
  padding-top: 3rem;
}

.software-process li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  content: counter(software-process, decimal-leading-zero);
  counter-increment: software-process;
}

.software-process strong,
.software-process span {
  display: block;
}

.software-process strong {
  color: var(--software-ink);
  font-size: 1.08rem;
}

.software-purchase {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-inline: clamp(1rem, 3vw, 1.5rem);
  background:
    linear-gradient(135deg, rgb(185 255 74 / 18%), rgb(11 118 111 / 12%)),
    var(--software-panel);
  border: 1px solid var(--software-line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(7 16 13 / 10%);
}

.software-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.software-footer {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  padding: 1.4rem 1rem;
  color: rgb(255 255 255 / 68%);
  background-color: var(--software-dark);
}

.software-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.software-footer p {
  margin: 0;
  text-align: center;
}

.locust-page {
  flex: 1;
}

.locust-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(510px, 66vh, 660px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgb(0 255 255 / 24%);
  box-shadow: inset 0 -54px 92px rgb(0 0 0 / 52%);
}

.locust-hero::before,
.locust-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.locust-hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 72%) 42%, rgb(0 0 0 / 46%) 72%, rgb(0 0 0 / 62%) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 22%), rgb(0 0 0 / 44%));
}

.locust-hero::after {
  z-index: -1;
  background:
    linear-gradient(rgb(0 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 0 255 / 4%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 70%), transparent 62%);
}

.locust-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.locust-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(260px, 0.44fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  align-items: center;
  width: min(100% - 2rem, var(--page-max-width));
  margin-inline: auto;
}

.locust-hero-copy {
  width: 100%;
  max-width: 590px;
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  margin: 0;
}

.locust-kicker {
  margin: 0 0 0.75rem;
  color: var(--cyber-blue);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgb(0 255 255 / 56%);
}

.locust-hero h1,
.locust-section-heading h2,
.locust-workflow-copy h2,
.locust-purchase-copy h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.03;
}

.locust-hero h1 {
  max-width: 10ch;
  font-size: clamp(2.65rem, 6.2vw, 5rem);
  text-shadow: 0 0 24px rgb(0 255 255 / 16%), 0 0 28px rgb(255 0 255 / 10%);
}

.locust-lede {
  max-width: 35rem;
  margin: 0.95rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.locust-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.locust-button-primary {
  color: #001416;
  font-weight: 700;
  background-color: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);
  box-shadow: 0 0 22px rgb(0 255 255 / 38%);
}

.locust-button-primary:hover {
  color: var(--text);
  background-color: #00383d;
  border-color: var(--cyber-blue);
  box-shadow: 0 0 28px rgb(0 255 255 / 64%), inset 0 0 18px rgb(0 255 255 / 18%);
}

.locust-button-secondary {
  color: var(--text);
  background-color: rgb(0 0 0 / 38%);
  border: 1px solid rgb(255 255 255 / 22%);
  backdrop-filter: blur(10px);
}

.locust-signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.locust-signal-list li {
  padding: 0.42rem 0.62rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  background-color: rgb(0 0 0 / 52%);
  border: 1px solid rgb(0 255 255 / 22%);
  border-radius: 999px;
  box-shadow: 0 0 18px rgb(0 255 255 / 8%);
}

.locust-command-panel {
  justify-self: end;
  width: min(100%, 380px);
  padding: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--muted);
  background:
    linear-gradient(145deg, rgb(0 255 255 / 8%), rgb(255 0 255 / 5%)),
    rgb(0 0 0 / 54%);
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 32%), inset 0 0 28px rgb(0 255 255 / 5%);
  backdrop-filter: blur(14px);
}

.locust-command-panel strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.locust-command-panel dl {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  overflow: hidden;
}

.locust-command-panel div {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  background-color: rgb(0 0 0 / 30%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.locust-command-panel div:last-child {
  border-bottom: 0;
}

.locust-command-panel dt,
.locust-command-panel dd {
  margin: 0;
}

.locust-command-panel dt {
  color: var(--cyber-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.locust-command-panel dd {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.locust-operator-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100% - 2rem, var(--page-max-width));
  margin: 1rem auto 0;
  overflow: hidden;
  background-color: rgb(0 255 255 / 20%);
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.locust-operator-strip article {
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 0%)), rgb(0 0 0 / 76%);
}

.locust-operator-strip span,
.locust-plan span {
  color: var(--cyber-magenta);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgb(255 0 255 / 45%);
}

.locust-operator-strip h2,
.locust-feature h3,
.locust-plan h3 {
  margin: 0.45rem 0 0;
  color: var(--text);
}

.locust-operator-strip h2 {
  font-size: 1rem;
}

.locust-operator-strip p,
.locust-feature p,
.locust-workflow-copy p,
.locust-purchase-copy p,
.locust-plan p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.locust-section {
  display: grid;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--page-max-width));
  margin: clamp(1.25rem, 4vw, 2.5rem) auto;
}

.locust-section-heading,
.locust-workflow-copy,
.locust-purchase-copy {
  max-width: 760px;
}

.locust-section-heading h2,
.locust-workflow-copy h2,
.locust-purchase-copy h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.locust-section-heading p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.locust-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.locust-feature,
.locust-plan {
  min-width: 0;
  padding: clamp(1rem, 2.3vw, 1.35rem);
  background:
    linear-gradient(145deg, rgb(0 255 255 / 8%), transparent 38%),
    linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 0%)),
    var(--panel-strong);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.locust-feature:hover {
  border-color: rgb(0 255 255 / 36%);
  box-shadow: var(--shadow), inset 0 0 28px rgb(0 255 255 / 6%);
}

.locust-operations-band,
.locust-purchase-band {
  display: grid;
  width: 100%;
  padding: clamp(1.7rem, 5vw, 3.25rem) max(1rem, calc((100vw - var(--page-max-width)) / 2));
  background:
    linear-gradient(90deg, rgb(0 255 255 / 8%), transparent 38%, rgb(255 0 255 / 9%)),
    rgb(0 0 0 / 76%);
  border-block: 1px solid rgb(255 255 255 / 10%);
}

.locust-operations-band {
  grid-template-columns: minmax(280px, 0.86fr) minmax(280px, 1.14fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
}

.locust-workflow-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: locust-workflow;
}

.locust-workflow-list li {
  position: relative;
  min-width: 0;
  padding: 1rem 1rem 1rem 3.4rem;
  background-color: rgb(0 0 0 / 58%);
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: 8px;
}

.locust-workflow-list li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #001416;
  font-size: 0.8rem;
  font-weight: 700;
  content: counter(locust-workflow);
  counter-increment: locust-workflow;
  background-color: var(--cyber-blue);
  border-radius: 50%;
  box-shadow: 0 0 18px rgb(0 255 255 / 42%);
}

.locust-workflow-list strong,
.locust-workflow-list span {
  display: block;
}

.locust-workflow-list strong {
  color: var(--text);
}

.locust-workflow-list span {
  margin-top: 0.2rem;
  color: var(--muted);
}

.locust-purchase-band {
  gap: 1.25rem;
}

.locust-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.locust-plan-primary {
  border-color: rgb(0 255 255 / 34%);
  box-shadow: var(--shadow), 0 0 32px rgb(0 255 255 / 12%);
}

.locust-purchase-button {
  justify-self: start;
  margin-top: 0.25rem;
}

.security-body {
  --security-amber: #f5b642;
  --security-amber-soft: rgb(245 182 66 / 18%);
  --security-red: #ff4d5d;
  --security-steel: #a8b3bd;
  --security-pattern: url("../images/space_background.jpg");
  background:
    linear-gradient(rgb(0 0 0 / 60%), rgb(0 0 0 / 72%)),
    #000000 var(--security-pattern) center top / 420px auto repeat;
}

html:has(body.security-body) {
  scroll-behavior: smooth;
}

.security-body [id] {
  scroll-margin-top: 7rem;
}

.security-vanta-bg {
  background:
    linear-gradient(rgb(0 0 0 / 30%), rgb(0 0 0 / 48%)),
    #000000 var(--security-pattern) center top / 420px auto repeat;
}

.security-vanta-bg canvas {
  opacity: 0.58;
  transition: opacity 220ms ease, filter 220ms ease;
}

.security-vanta-bg.is-momentum canvas {
  opacity: 0.72;
  filter: saturate(1.18);
}

.security-body .developer-vanta-bg::after {
  background:
    linear-gradient(180deg, rgb(0 0 0 / 20%), rgb(0 0 0 / 56%)),
    radial-gradient(circle at 18% 16%, rgb(245 182 66 / 10%), transparent 32rem),
    radial-gradient(circle at 82% 20%, rgb(0 255 255 / 8%), transparent 28rem);
}

.security-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 86%), rgb(10 12 15 / 88%), rgb(0 0 0 / 86%));
  backdrop-filter: blur(16px);
  border-bottom-color: rgb(245 182 66 / 24%);
}

.security-top-nav a {
  color: rgb(245 182 66 / 78%);
}

.security-top-nav a:hover,
.security-top-nav a[aria-current="page"] {
  color: var(--security-amber);
  background-color: rgb(245 182 66 / 10%);
  border-color: rgb(245 182 66 / 34%);
  box-shadow: 0 0 18px rgb(245 182 66 / 18%);
}

.security-page {
  position: relative;
  z-index: 1;
  flex: 1;
}

.security-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(520px, 68vh, 700px);
  overflow: hidden;
  isolation: isolate;
}

.security-hero::before,
.security-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.security-hero::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 72%) 0%, rgb(0 0 0 / 54%) 44%, rgb(0 0 0 / 18%) 100%),
    linear-gradient(180deg, rgb(0 0 0 / 12%), rgb(0 0 0 / 44%));
}

.security-hero::after {
  z-index: -1;
  background:
    linear-gradient(rgb(245 182 66 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 255 255 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 78%), transparent 76%);
}

.security-hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(260px, 0.46fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  align-items: center;
  width: min(100% - 2rem, var(--page-max-width));
  margin-inline: auto;
}

.security-hero-copy {
  width: 100%;
  max-width: 660px;
  padding: clamp(1.7rem, 4vw, 3.1rem) 0;
}

.security-kicker {
  margin: 0 0 0.75rem;
  color: var(--security-amber);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgb(245 182 66 / 42%);
}

.security-hero h1,
.security-section-heading h2,
.security-operations-copy h2,
.security-standards h2,
.security-cta h2 {
  margin: 0;
  color: var(--text);
  line-height: 1.03;
}

.security-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.55rem, 6.1vw, 5rem);
  text-shadow: 0 0 24px rgb(245 182 66 / 14%), 0 0 28px rgb(0 255 255 / 10%);
}

.security-hero-copy > p:not(.security-kicker) {
  max-width: 38rem;
  margin: 0.95rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.security-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.security-button-primary {
  color: #151006;
  font-weight: 700;
  background-color: var(--security-amber);
  border: 1px solid var(--security-amber);
  box-shadow: 0 0 22px rgb(245 182 66 / 34%);
}

.security-button-primary:hover {
  color: var(--text);
  background-color: #5a3200;
  border-color: var(--security-amber);
  box-shadow: 0 0 28px rgb(245 182 66 / 46%), inset 0 0 18px rgb(245 182 66 / 14%);
}

.security-button-secondary {
  color: var(--text);
  background-color: rgb(0 0 0 / 38%);
  border: 1px solid rgb(255 255 255 / 22%);
  backdrop-filter: blur(10px);
}

.security-button-secondary:hover {
  color: var(--text);
  background-color: #5a3200;
  border-color: var(--security-amber);
  box-shadow: 0 0 28px rgb(245 182 66 / 42%), inset 0 0 18px rgb(245 182 66 / 12%);
}

.security-status-panel {
  justify-self: end;
  width: min(100%, 390px);
  padding: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--muted);
  background:
    linear-gradient(145deg, rgb(245 182 66 / 10%), rgb(0 255 255 / 5%)),
    rgb(4 6 9 / 76%);
  border: 1px solid rgb(245 182 66 / 22%);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 34%), inset 0 0 28px rgb(245 182 66 / 6%);
  backdrop-filter: blur(14px);
}

.security-status-panel > span {
  color: var(--security-amber);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.security-status-panel strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.05;
}

.security-status-panel dl {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
}

.security-status-panel div {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 0.8rem;
  padding: 0.7rem 0.85rem;
  background-color: rgb(0 0 0 / 30%);
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.security-status-panel div:last-child {
  border-bottom: 0;
}

.security-status-panel dt,
.security-status-panel dd {
  margin: 0;
}

.security-status-panel dt {
  color: var(--cyber-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.security-status-panel dd {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.security-capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100% - 2rem, var(--page-max-width));
  margin: 1rem auto 0;
  overflow: hidden;
  background-color: rgb(245 182 66 / 20%);
  border: 1px solid rgb(245 182 66 / 18%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.security-capability-strip article {
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 0%)),
    rgb(5 7 10 / 84%);
}

.security-capability-strip span,
.security-sector span {
  color: var(--security-amber);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgb(245 182 66 / 44%);
}

.security-capability-strip h2,
.security-sector h3,
.security-standards h3 {
  margin: 0.45rem 0 0;
  color: var(--text);
}

.security-capability-strip h2 {
  font-size: 1rem;
}

.security-capability-strip p,
.security-sector p,
.security-section-heading p,
.security-operations-copy p,
.security-workflow-list span,
.security-standards p,
.security-cta p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.security-section {
  display: grid;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--page-max-width));
  margin: clamp(1.25rem, 4vw, 2.5rem) auto;
}

.security-section-heading,
.security-operations-copy {
  max-width: 780px;
}

.security-section-heading h2,
.security-operations-copy h2,
.security-standards h2,
.security-cta h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.security-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.security-sector,
.security-standards-grid article {
  min-width: 0;
  padding: clamp(1rem, 2.3vw, 1.35rem);
  background:
    linear-gradient(145deg, rgb(245 182 66 / 9%), transparent 38%),
    linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 0%)),
    var(--panel-strong);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.security-sector:hover {
  border-color: rgb(245 182 66 / 42%);
  box-shadow: var(--shadow), inset 0 0 28px rgb(245 182 66 / 7%);
}

.security-tech-band,
.security-operations-band,
.security-standards,
.security-cta {
  display: grid;
  width: 100%;
  padding: clamp(1.7rem, 5vw, 3.25rem) max(1rem, calc((100vw - var(--page-max-width)) / 2));
  background:
    linear-gradient(90deg, rgb(245 182 66 / 9%), transparent 38%, rgb(0 255 255 / 8%)),
    rgb(0 0 0 / 78%);
  border-block: 1px solid rgb(255 255 255 / 10%);
}

.security-tech-band {
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 320px);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  margin-top: clamp(1.25rem, 4vw, 2.5rem);
  background:
    linear-gradient(90deg, rgb(0 255 255 / 8%), transparent 42%, rgb(245 182 66 / 8%)),
    rgb(2 5 8 / 74%);
}

.security-tech-image {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgb(245 182 66 / 12%), rgb(0 255 255 / 5%)),
    rgb(5 7 10 / 78%);
  border: 1px solid rgb(245 182 66 / 24%);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgb(0 0 0 / 28%);
}

.security-tech-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.72;
  filter: grayscale(0.35) contrast(1.08);
}

.security-tech-image figcaption {
  position: absolute;
  right: 0.65rem;
  bottom: 0.6rem;
  padding: 0.28rem 0.45rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  background-color: rgb(0 0 0 / 62%);
  border: 1px solid rgb(245 182 66 / 22%);
  border-radius: 6px;
}

.security-tech-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.security-tech-data article {
  min-width: 0;
  padding: 0.85rem;
  background-color: rgb(0 0 0 / 42%);
  border: 1px solid rgb(245 182 66 / 18%);
  border-radius: 8px;
}

.security-tech-data span {
  color: var(--security-amber);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.security-tech-data strong {
  display: block;
  margin-top: 0.28rem;
  color: var(--text);
}

.security-tech-data p {
  margin-top: 0.35rem;
  font-size: 0.84rem;
}

.security-operations-band {
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
}

.security-approach-media {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.security-approach-media figure {
  position: relative;
  min-width: 0;
  min-height: clamp(8.5rem, 16vw, 12rem);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgb(245 182 66 / 12%), rgb(0 255 255 / 5%)),
    rgb(5 7 10 / 78%);
  border: 1px solid rgb(245 182 66 / 22%);
  border-radius: 8px;
}

.security-approach-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.62;
  filter: grayscale(0.45) contrast(1.08);
}

.security-approach-media figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.6rem;
  z-index: 1;
  padding: 0.28rem 0.45rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  background-color: rgb(0 0 0 / 62%);
  border: 1px solid rgb(245 182 66 / 22%);
  border-radius: 6px;
}

.security-workflow-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: security-workflow;
}

.security-workflow-list li {
  position: relative;
  min-width: 0;
  padding: 1rem 1rem 1rem 3.4rem;
  background-color: rgb(0 0 0 / 58%);
  border: 1px solid rgb(245 182 66 / 20%);
  border-radius: 8px;
}

.security-workflow-list li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #151006;
  font-size: 0.8rem;
  font-weight: 700;
  content: counter(security-workflow);
  counter-increment: security-workflow;
  background-color: var(--security-amber);
  border-radius: 50%;
  box-shadow: 0 0 18px rgb(245 182 66 / 42%);
}

.security-workflow-list strong,
.security-workflow-list span {
  display: block;
}

.security-workflow-list strong {
  color: var(--text);
}

.security-standards {
  gap: 1.25rem;
  background:
    linear-gradient(90deg, rgb(0 255 255 / 7%), transparent 40%, rgb(255 77 93 / 7%)),
    rgb(0 0 0 / 72%);
}

.security-standards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.security-standards-grid article {
  background:
    linear-gradient(145deg, rgb(0 255 255 / 7%), transparent 38%),
    linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 0%)),
    var(--panel-strong);
}

.security-cta {
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: clamp(1.25rem, 4vw, 2.5rem);
}

.security-cta .button {
  justify-self: end;
}

.security-about-page {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  width: min(100% - 2rem, var(--page-max-width));
  padding-block: clamp(1.25rem, 4vw, 2.5rem);
  margin-inline: auto;
}

.security-about-hero,
.security-about-band {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 380px);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 4vw, 2.2rem);
  background:
    linear-gradient(135deg, rgb(245 182 66 / 9%), transparent 42%),
    rgb(0 0 0 / 78%);
  border: 1px solid rgb(245 182 66 / 18%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.security-about-hero h1,
.security-about-band h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
}

.security-about-hero p:not(.security-kicker),
.security-about-band p:not(.security-kicker),
.security-about-timeline p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.security-about-hero figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(245 182 66 / 22%);
  border-radius: 8px;
}

.security-about-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: 0.72;
  filter: grayscale(0.3) contrast(1.08);
}

.security-about-hero figcaption {
  position: absolute;
  left: 0.65rem;
  bottom: 0.6rem;
  padding: 0.28rem 0.45rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  background-color: rgb(0 0 0 / 62%);
  border: 1px solid rgb(245 182 66 / 22%);
  border-radius: 6px;
}

.security-about-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.security-about-timeline article {
  min-width: 0;
  padding: clamp(1rem, 2.3vw, 1.35rem);
  background:
    linear-gradient(145deg, rgb(245 182 66 / 9%), transparent 38%),
    var(--panel-strong);
  border: 1px solid rgb(245 182 66 / 18%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.security-about-timeline span {
  color: var(--security-amber);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.security-about-timeline h2 {
  margin: 0.45rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
}

.security-about-band {
  grid-template-columns: minmax(280px, 1fr) auto;
}

.security-about-band .button {
  justify-self: end;
}

.security-back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  display: none;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  color: #151006;
  cursor: pointer;
  background-color: var(--security-amber);
  border: 1px solid rgb(245 182 66 / 72%);
  border-radius: 999px;
  box-shadow: 0 0 22px rgb(245 182 66 / 34%), 0 16px 34px rgb(0 0 0 / 34%);
  transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.security-back-to-top span {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.security-back-to-top.is-visible {
  display: grid;
}

.security-back-to-top:hover {
  color: var(--text);
  background-color: #5a3200;
  box-shadow: 0 0 28px rgb(245 182 66 / 46%), 0 16px 34px rgb(0 0 0 / 34%);
  transform: translateY(-1px);
}

.security-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  margin-bottom: 0.75rem;
}

.security-footer-nav a {
  color: inherit;
  text-decoration: none;
}

.security-footer-nav a:hover {
  color: var(--security-amber);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .security-hero-inner,
  .security-capability-strip,
  .security-tech-band,
  .security-sector-grid,
  .security-operations-band,
  .security-approach-media,
  .security-tech-data,
  .security-about-hero,
  .security-about-timeline,
  .security-about-band,
  .security-standards-grid,
  .security-cta {
    grid-template-columns: 1fr;
  }

  .security-status-panel,
  .security-cta .button,
  .security-about-band .button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .security-hero {
    min-height: auto;
  }

  .security-hero::before {
    background:
      linear-gradient(180deg, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 76%) 58%, rgb(0 0 0 / 64%) 100%),
      linear-gradient(90deg, rgb(0 0 0 / 66%), rgb(0 0 0 / 24%));
  }

  .security-hero-copy {
    padding: 1.35rem 0 1.55rem;
  }

  .security-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.05rem, 11vw, 3.25rem);
  }

  .security-status-panel {
    display: none;
  }

  .security-hero-actions {
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .security-hero-actions .button,
  .security-cta .button {
    width: 100%;
    min-height: 2.35rem;
    padding: 0.55rem 0.9rem;
  }

  .security-back-to-top {
    right: 0.8rem;
    bottom: 0.8rem;
    width: 2.65rem;
    height: 2.65rem;
  }
}

body[data-studio-theme] {
  --studio-accent-warm: #d9b054;
  --studio-surface: rgb(0 0 0 / 78%);
  --studio-surface-raised: rgb(255 255 255 / 5%);
  --studio-surface-soft: rgb(0 0 0 / 34%);
  --studio-field-bg: rgb(18 22 28 / 94%);
  --studio-field-border: rgb(255 255 255 / 22%);
  --studio-panel-line: rgb(255 255 255 / 12%);
}

body[data-studio-theme="light"] {
  color-scheme: light;
  --text: #111827;
  --muted: #3f4856;
  --muted-strong: #1f2937;
  --panel: rgb(255 255 255 / 88%);
  --panel-strong: rgb(255 255 255 / 94%);
  --line: rgb(15 23 42 / 14%);
  --focus: #087f8c;
  --cyber-blue: #087f8c;
  --cyber-magenta: #6d3fd9;
  --cyber-blue-soft: rgb(8 127 140 / 12%);
  --cyber-magenta-soft: rgb(109 63 217 / 10%);
  --shadow: 0 18px 44px rgb(15 23 42 / 14%);
  --cyber-shadow: 0 0 20px rgb(8 127 140 / 18%);
  --studio-accent-warm: #7b5a12;
  --studio-surface: rgb(255 255 255 / 90%);
  --studio-surface-raised: rgb(255 255 255 / 72%);
  --studio-surface-soft: rgb(255 255 255 / 64%);
  --studio-field-bg: rgb(255 255 255 / 92%);
  --studio-field-border: rgb(15 23 42 / 20%);
  --studio-panel-line: rgb(15 23 42 / 14%);
  color: var(--text);
  background:
    linear-gradient(rgb(255 255 255 / 82%), rgb(255 255 255 / 90%)),
    #f4f7fb var(--page-background-image) center / cover fixed no-repeat;
}

.studio-header {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
  border-bottom-color: rgb(217 176 84 / 32%);
}

.studio-welcome {
  justify-self: start;
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.studio-theme-control {
  justify-self: end;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted-strong);
  font-size: 0.78rem;
}

.studio-theme-text {
  color: inherit;
  font-weight: 700;
}

.studio-theme-switch {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.studio-theme-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.studio-theme-track {
  display: block;
  width: 3.35rem;
  height: 1.75rem;
  background-color: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  box-shadow: inset 0 0 10px rgb(0 0 0 / 28%);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.studio-theme-track::after {
  position: absolute;
  top: 0.26rem;
  left: 0.28rem;
  width: 1.18rem;
  height: 1.18rem;
  content: "";
  background-color: var(--cyber-blue);
  border-radius: 50%;
  box-shadow: 0 0 14px rgb(0 255 255 / 46%);
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.studio-theme-switch input:checked + .studio-theme-track {
  background-color: rgb(217 176 84 / 18%);
  border-color: rgb(217 176 84 / 56%);
}

.studio-theme-switch input:checked + .studio-theme-track::after {
  background-color: var(--studio-accent-warm);
  box-shadow: 0 0 14px rgb(217 176 84 / 34%);
  transform: translateX(1.58rem);
}

.studio-theme-switch input:focus-visible + .studio-theme-track {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.studio-top-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 92%), rgb(7 12 18 / 96%), rgb(0 0 0 / 92%));
  border-bottom: 1px solid rgb(0 255 255 / 16%);
  box-shadow: 0 10px 28px rgb(0 0 0 / 34%);
}

.studio-top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.82rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.studio-top-nav a:hover,
.studio-top-nav a[aria-current="page"] {
  color: var(--text);
  background-color: rgb(0 255 255 / 8%);
  border-color: rgb(0 255 255 / 24%);
  box-shadow: 0 0 18px rgb(0 255 255 / 16%);
}

.studio-main {
  display: grid;
  flex: 1;
  gap: 1rem;
  width: min(100% - 2rem, 1280px);
  padding: 1rem 0 2rem;
  margin-inline: auto;
}

.studio-entry {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  align-items: stretch;
}

.studio-login-panel,
.studio-command-panel,
.studio-section,
.studio-brand-card,
.studio-thread-panel {
  color: var(--muted);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 0%)),
    var(--studio-surface);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.studio-login-panel {
  display: grid;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.studio-kicker,
.studio-date,
.studio-status,
.studio-stat span,
.studio-ledger-item span {
  margin: 0;
  color: #d9b054;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0;
}

.studio-login-panel h1,
.studio-command-panel h2,
.studio-section-heading h2,
.studio-brand-card h3,
.studio-ledger-item h3,
.studio-project-picker h3,
.studio-thread-panel h3 {
  margin: 0;
  color: var(--text);
}

.studio-login-panel h1 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.studio-intro {
  margin: 0.85rem 0 1.35rem;
  max-width: 36rem;
}

.studio-login-form {
  display: grid;
  gap: 0.85rem;
}

.studio-login-form input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.72rem 0.75rem;
  color: var(--text);
  background-color: var(--studio-field-bg);
  border: 1px solid var(--studio-field-border);
  border-radius: 5px;
}

.studio-login-form input:focus {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 14px rgb(0 255 255 / 18%);
}

.studio-device-check {
  margin-top: 0.2rem;
}

.studio-button {
  width: 100%;
  margin-top: 0.25rem;
  color: #001416;
  font-weight: 700;
  background-color: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 34%);
}

.studio-button:hover {
  color: var(--text);
  background-color: #00383d;
  border-color: var(--cyber-blue);
  box-shadow: 0 0 24px rgb(0 255 255 / 62%), inset 0 0 18px rgb(0 255 255 / 18%);
}

.studio-command-panel,
.studio-section {
  padding: clamp(1rem, 2.5vw, 1.45rem);
}

.studio-command-topline,
.studio-section-heading {
  display: flex;
  gap: 1rem;
  align-items: start;
  justify-content: space-between;
}

.studio-command-panel h2,
.studio-section-heading h2 {
  margin-top: 0.25rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.12;
}

.studio-date {
  padding: 0.45rem 0.6rem;
  color: var(--text);
  background-color: rgb(0 255 255 / 10%);
  border: 1px solid rgb(0 255 255 / 24%);
  border-radius: 999px;
  white-space: nowrap;
}

.studio-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 1.2rem;
  border-block: 1px solid rgb(255 255 255 / 12%);
}

.studio-stat {
  min-width: 0;
  padding: 1rem 0.75rem;
  border-right: 1px solid rgb(255 255 255 / 12%);
}

.studio-stat:last-child {
  border-right: 0;
}

.studio-stat strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}

.studio-briefing {
  margin-top: 1.15rem;
}

.studio-briefing h3 {
  margin: 0 0 0.6rem;
  color: var(--text);
  font-size: 1rem;
}

.studio-briefing ul {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.studio-briefing li {
  padding-left: 0.85rem;
  border-left: 2px solid rgb(217 176 84 / 72%);
}

.studio-section {
  display: grid;
  gap: 1rem;
}

.studio-ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  overflow: hidden;
}

.studio-ledger-item {
  min-width: 0;
  padding: 1rem;
  background-color: rgb(0 0 0 / 28%);
  border-right: 1px solid rgb(255 255 255 / 12%);
}

.studio-ledger-item:last-child {
  border-right: 0;
}

.studio-ledger-item h3 {
  margin-top: 0.35rem;
  font-size: 1rem;
}

.studio-tree {
  display: grid;
  gap: 1rem;
}

.studio-tree-root {
  display: grid;
  gap: 0.55rem;
  justify-content: center;
  justify-items: center;
}

.studio-tree-root a,
.studio-tree-node,
.studio-tree-leaves a {
  color: var(--text);
  text-decoration: none;
}

.studio-tree-root a {
  display: inline-flex;
  min-height: 2.5rem;
  padding: 0.62rem 1rem;
  font-weight: 700;
  background:
    linear-gradient(145deg, rgb(0 255 255 / 10%), rgb(217 176 84 / 9%)),
    var(--studio-surface-raised);
  border: 1px solid rgb(0 255 255 / 26%);
  border-radius: 8px;
}

.studio-tree-root span {
  display: inline-flex;
  max-width: min(100%, 32rem);
  min-height: 2rem;
  align-items: center;
  padding: 0.42rem 0.7rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  text-align: center;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 999px;
}

.studio-tree-branches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.studio-tree-branch,
.studio-tree-branch-nested {
  position: relative;
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  padding: 1rem;
  background-color: var(--studio-surface-soft);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.studio-tree-node {
  display: inline-flex;
  width: fit-content;
  min-height: 2.1rem;
  align-items: center;
  padding: 0.45rem 0.68rem;
  color: var(--cyber-blue);
  font-size: 0.88rem;
  font-weight: 700;
  background-color: rgb(0 255 255 / 8%);
  border: 1px solid rgb(0 255 255 / 22%);
  border-radius: 999px;
}

.studio-tree-leaves {
  display: grid;
  gap: 0.45rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgb(217 176 84 / 34%);
}

.studio-tree-leaves a {
  display: inline-flex;
  min-height: 1.95rem;
  align-items: center;
  padding: 0.35rem 0.55rem;
  color: var(--muted-strong);
  font-size: 0.82rem;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 6px;
}

.studio-tree-root a:hover,
.studio-tree-node:hover,
.studio-tree-leaves a:hover {
  color: var(--text);
  border-color: var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 16%);
}

.studio-ledger-item p,
.studio-brand-card p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
}

.studio-subsection-heading {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.3rem;
}

.studio-subsection-heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.studio-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.studio-brand-card {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
}

.studio-brand-card img {
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
}

.studio-brand-card-selected {
  border-color: rgb(0 255 255 / 34%);
  box-shadow: var(--shadow), inset 0 0 24px rgb(0 255 255 / 7%);
}

.studio-brand-copy {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1rem;
}

.studio-side-company-grid,
.studio-tool-grid {
  padding-top: 0.15rem;
}

.studio-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-tool-card img {
  min-height: 148px;
}

.studio-status {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.48rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.studio-status-active {
  color: #63d89a;
}

.studio-status-review {
  color: #d9b054;
}

.studio-status-planning {
  color: var(--cyber-blue);
}

.studio-project-workspace {
  gap: 1.15rem;
  border-color: rgb(0 255 255 / 20%);
  box-shadow: var(--shadow), inset 0 0 36px rgb(0 255 255 / 5%);
}

.studio-header-hero {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: 8px;
  box-shadow: inset 0 0 36px rgb(0 255 255 / 8%);
}

.studio-header-hero img {
  display: block;
  width: 100%;
  height: clamp(14rem, 30vw, 24rem);
  object-fit: cover;
  object-position: center;
}

.studio-workspace-layout {
  display: grid;
  grid-template-columns: minmax(280px, 370px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.studio-project-picker {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  background-color: var(--studio-surface-soft);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.studio-picker-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.studio-picker-heading span,
.studio-thread-metrics span,
.studio-note-meta span {
  color: #aeb6bd;
  font-size: 0.8rem;
}

.studio-picker-group {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--studio-panel-line);
}

.studio-selected-workspace {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
  background:
    linear-gradient(145deg, rgb(0 255 255 / 8%), rgb(217 176 84 / 7%)),
    var(--studio-surface-raised);
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: 8px;
}

.studio-selected-workspace h4,
.studio-picker-group h4 {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
}

.studio-selected-workspace p {
  margin: 0;
  font-size: 0.84rem;
}

.studio-project-nav {
  display: grid;
  gap: 0.7rem;
}

.studio-project-link {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  padding: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.studio-project-link:hover,
.studio-project-link-active {
  color: var(--text);
  border-color: var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 18%);
  transform: translateY(-1px);
}

.studio-project-link span {
  color: var(--text);
  font-weight: 700;
}

.studio-project-link strong {
  color: #d9b054;
  font-size: 0.82rem;
}

.studio-project-link small {
  color: #aeb6bd;
  font-size: 0.78rem;
  line-height: 1.35;
}

body:has(#peak-harvest-notes:target) .studio-project-link-ksa {
  color: var(--muted);
  border-color: var(--studio-panel-line);
  box-shadow: none;
  transform: none;
}

body:has(#peak-harvest-notes:target) .studio-project-link-peak {
  color: var(--text);
  border-color: var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 18%);
  transform: translateY(-1px);
}

.studio-workspace-search {
  display: grid;
  gap: 0.7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--studio-panel-line);
}

.studio-workspace-search label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.studio-workspace-search input {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.68rem 0.72rem;
  color: var(--text);
  background-color: var(--studio-field-bg);
  border: 1px solid var(--studio-field-border);
  border-radius: 6px;
}

.studio-workspace-search input:focus {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 14px rgb(0 255 255 / 18%);
}

.studio-search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.studio-search-filters button {
  --note-rgb: 174 182 189;
  --note-color: var(--muted-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0.35rem 0.56rem;
  color: var(--note-color);
  font-size: 0.78rem;
  font-weight: 700;
  background-color: rgb(var(--note-rgb) / 12%);
  border: 1px solid rgb(var(--note-rgb) / 38%);
  border-radius: 999px;
  cursor: pointer;
}

.studio-search-filters button:hover {
  color: var(--text);
  background-color: rgb(var(--note-rgb) / 19%);
  border-color: rgb(var(--note-rgb) / 60%);
}

.studio-search-filters .studio-note-tag-comment {
  --note-rgb: 0 255 255;
  --note-color: var(--cyber-blue);
}

.studio-search-filters .studio-note-tag-task {
  --note-rgb: 99 216 154;
  --note-color: #63d89a;
}

.studio-search-filters .studio-note-tag-required {
  --note-rgb: 255 107 107;
  --note-color: #ff6b6b;
}

.studio-search-filters .studio-note-tag-important {
  --note-rgb: 217 176 84;
  --note-color: #d9b054;
}

.studio-search-filters .studio-note-tag-decision {
  --note-rgb: 255 0 255;
  --note-color: var(--cyber-magenta);
}

.studio-search-filters .studio-note-tag-correction {
  --note-rgb: 185 148 255;
  --note-color: #b994ff;
}

.studio-search-filters .studio-note-tag-upload {
  --note-rgb: 120 191 255;
  --note-color: #78bfff;
}

.studio-note-attachments span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.35rem 0.55rem;
  color: var(--muted-strong);
  font-size: 0.78rem;
  background-color: rgb(0 255 255 / 7%);
  border: 1px solid rgb(0 255 255 / 16%);
  border-radius: 6px;
}

.studio-thread-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.studio-thread-panel {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  scroll-margin-top: 1rem;
}

.studio-thread-panel-compact {
  background-color: var(--studio-surface);
}

.studio-thread-panel-deferred {
  display: none;
}

.studio-thread-panel-deferred:target {
  display: grid;
}

body:has(.studio-thread-panel-deferred:target) #ksa-cafe-notes {
  display: none;
}

.studio-thread-header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: start;
}

.studio-thread-header h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.studio-thread-header p {
  max-width: 46rem;
  margin: 0.45rem 0 0;
}

.studio-thread-action {
  flex: 0 0 auto;
  min-height: 2.2rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.86rem;
}

.studio-thread-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.studio-thread-metrics div {
  padding: 0.85rem;
  background-color: var(--studio-surface-soft);
  border-right: 1px solid var(--studio-panel-line);
}

.studio-thread-metrics div:last-child {
  border-right: 0;
}

.studio-thread-metrics strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--text);
  font-size: 1.15rem;
}

.studio-thread-metrics .studio-metric-live {
  background-color: rgb(99 216 154 / 12%);
}

.studio-thread-metrics .studio-metric-live span,
.studio-thread-metrics .studio-metric-live strong {
  color: #63d89a;
}

.studio-note-thread {
  display: grid;
  gap: 0.75rem;
}

.studio-note {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 0.75rem;
}

.studio-note-avatar {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  color: #001416;
  font-size: 0.78rem;
  font-weight: 700;
  background-color: var(--cyber-blue);
  border-radius: 50%;
  box-shadow: 0 0 18px rgb(0 255 255 / 28%);
}

.studio-note-avatar-alt {
  color: var(--text);
  background-color: rgb(217 176 84 / 38%);
  box-shadow: 0 0 18px rgb(217 176 84 / 20%);
}

.studio-note-body {
  min-width: 0;
  padding: 0.85rem;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.studio-note-latest .studio-note-body {
  background:
    linear-gradient(145deg, rgb(99 216 154 / 12%), rgb(0 255 255 / 5%)),
    var(--studio-surface-raised);
  border-color: rgb(99 216 154 / 46%);
  box-shadow: 0 0 22px rgb(99 216 154 / 14%);
}

.studio-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
}

.studio-note-meta strong {
  color: var(--text);
}

.studio-note-actions {
  display: inline-flex;
  gap: 0.35rem;
  margin-left: auto;
}

.studio-note-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0.24rem 0.48rem;
  color: var(--cyber-blue);
  font-size: 0.72rem;
  font-weight: 700;
  background-color: rgb(0 255 255 / 9%);
  border: 1px solid rgb(0 255 255 / 26%);
  border-radius: 999px;
  cursor: pointer;
}

.studio-note-actions button:hover {
  color: var(--text);
  border-color: rgb(0 255 255 / 54%);
}

.studio-note-actions .studio-note-delete {
  color: #ff6b6b;
  background-color: rgb(255 107 107 / 9%);
  border-color: rgb(255 107 107 / 28%);
}

.studio-note-actions .studio-note-delete:hover {
  border-color: rgb(255 107 107 / 58%);
}

.studio-latest-badge {
  display: inline-flex;
  min-height: 1.55rem;
  align-items: center;
  padding: 0.18rem 0.45rem;
  color: #63d89a;
  font-size: 0.72rem;
  font-weight: 700;
  background-color: rgb(99 216 154 / 12%);
  border: 1px solid rgb(99 216 154 / 42%);
  border-radius: 999px;
}

.studio-note-body p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
}

.studio-note-tag {
  --note-rgb: 174 182 189;
  --note-color: var(--muted-strong);
  display: inline-flex;
  padding: 0.18rem 0.42rem;
  color: var(--note-color);
  background-color: rgb(var(--note-rgb) / 11%);
  border: 1px solid rgb(var(--note-rgb) / 42%);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.studio-note-tag-market {
  --note-rgb: 0 255 255;
  --note-color: var(--cyber-blue);
}

.studio-note-tag-shop {
  --note-rgb: 217 176 84;
  --note-color: #d9b054;
}

.studio-note-tag-task {
  --note-rgb: 99 216 154;
  --note-color: #63d89a;
}

.studio-note-tag-decision {
  --note-rgb: 255 0 255;
  --note-color: var(--cyber-magenta);
}

.studio-note-tag-comment {
  --note-rgb: 0 255 255;
  --note-color: var(--cyber-blue);
}

.studio-note-tag-required {
  --note-rgb: 255 107 107;
  --note-color: #ff6b6b;
}

.studio-note-tag-important {
  --note-rgb: 217 176 84;
  --note-color: #d9b054;
}

.studio-note-tag-correction {
  --note-rgb: 185 148 255;
  --note-color: #b994ff;
}

.studio-note-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.studio-image-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.studio-image-preview-grid span {
  display: grid;
  place-items: end start;
  min-height: 7rem;
  padding: 0.65rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0%), rgb(0 0 0 / 72%)),
    linear-gradient(135deg, rgb(0 255 255 / 24%), rgb(217 176 84 / 16%));
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
}

.studio-note-checklist {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0.65rem 0 0;
  list-style: none;
}

.studio-note-checklist li {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.studio-note-checklist input {
  flex: 0 0 auto;
  accent-color: var(--cyber-blue);
}

.studio-note-composer {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background-color: var(--studio-surface-soft);
  border: 1px solid rgb(0 255 255 / 18%);
  border-radius: 8px;
  box-shadow: inset 0 0 24px rgb(0 255 255 / 5%);
}

.studio-note-composer label {
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.studio-note-composer textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.75rem;
  color: var(--text);
  background-color: var(--studio-field-bg);
  border: 1px solid var(--studio-field-border);
  border-radius: 5px;
  resize: vertical;
}

.studio-note-composer textarea:focus {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 14px rgb(0 255 255 / 18%);
}

.studio-upload-dropzone {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem;
  background-color: rgb(0 0 0 / 24%);
  border: 1px dashed rgb(0 255 255 / 28%);
  border-radius: 8px;
}

.studio-upload-dropzone strong,
.studio-upload-dropzone span {
  display: block;
}

.studio-upload-dropzone strong {
  color: var(--text);
  font-size: 0.9rem;
}

.studio-upload-dropzone span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.studio-upload-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.studio-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.75rem;
  color: #111827;
  font-size: 0.82rem;
  font-weight: 700;
  background-color: #d7dde2;
  border: 1px solid rgb(255 255 255 / 52%);
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 0 14px rgb(0 255 255 / 12%);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.studio-note-composer .studio-upload-button {
  color: #111827;
}

.studio-upload-button:hover {
  background-color: #f2f5f7;
  border-color: rgb(0 255 255 / 38%);
  box-shadow: 0 0 18px rgb(0 255 255 / 18%);
}

.studio-note-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.studio-note-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.studio-note-tags button {
  --note-rgb: 174 182 189;
  --note-color: var(--muted-strong);
  min-height: 2rem;
  padding: 0.38rem 0.6rem;
  color: var(--note-color);
  background-color: rgb(var(--note-rgb) / 12%);
  border: 1px solid rgb(var(--note-rgb) / 38%);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: inset 0 0 12px rgb(var(--note-rgb) / 4%);
}

.studio-note-tags button:hover {
  color: var(--text);
  background-color: rgb(var(--note-rgb) / 19%);
  border-color: rgb(var(--note-rgb) / 60%);
}

.studio-note-tags .studio-note-tag-comment {
  --note-rgb: 0 255 255;
  --note-color: var(--cyber-blue);
}

.studio-note-tags .studio-note-tag-task {
  --note-rgb: 99 216 154;
  --note-color: #63d89a;
}

.studio-note-tags .studio-note-tag-required {
  --note-rgb: 255 107 107;
  --note-color: #ff6b6b;
}

.studio-note-tags .studio-note-tag-important {
  --note-rgb: 217 176 84;
  --note-color: #d9b054;
}

.studio-note-tags .studio-note-tag-decision {
  --note-rgb: 255 0 255;
  --note-color: var(--cyber-magenta);
}

.studio-note-tags .studio-note-tag-correction {
  --note-rgb: 185 148 255;
  --note-color: #b994ff;
}

.studio-post-button {
  width: auto;
  min-width: 130px;
  margin-top: 0;
}

.studio-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.studio-doc-card {
  min-width: 0;
  padding: 1rem;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.studio-doc-card h3 {
  margin: 0.7rem 0 0;
  color: var(--text);
  font-size: 1rem;
}

.studio-doc-card p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
}

.director-cv-main {
  gap: 1rem;
}

.director-cv-starfield,
.murzo-starfield {
  --star-x: 0px;
  --star-y: 0px;
  --star-x-slow: 0px;
  --star-y-slow: 0px;
  position: fixed;
  inset: -8vmax;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translate3d(var(--star-x), var(--star-y), 0);
  will-change: transform;
  background:
    radial-gradient(circle at 20% 18%, rgb(0 255 255 / 16%), transparent 30%),
    radial-gradient(circle at 82% 28%, rgb(255 0 255 / 12%), transparent 28%),
    radial-gradient(circle at 48% 88%, rgb(217 176 84 / 12%), transparent 32%),
    #01030a;
}

.director-cv-starfield::before,
.director-cv-starfield::after,
.murzo-starfield::before,
.murzo-starfield::after {
  position: absolute;
  inset: 0;
  content: "";
  will-change: transform;
}

.director-cv-starfield::before,
.murzo-starfield::before {
  opacity: 0.95;
  background-image:
    radial-gradient(circle at 18px 34px, rgb(255 255 255 / 92%) 0 1.3px, transparent 2px),
    radial-gradient(circle at 112px 72px, rgb(0 255 255 / 82%) 0 1.2px, transparent 2px),
    radial-gradient(circle at 156px 132px, rgb(255 255 255 / 72%) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72px 148px, rgb(255 255 255 / 86%) 0 1.1px, transparent 1.9px);
  background-size: 190px 170px;
  animation: director-cv-star-drift 38s linear infinite;
}

.director-cv-starfield::after,
.murzo-starfield::after {
  opacity: 0.78;
  background-image:
    radial-gradient(circle at 44px 64px, rgb(255 255 255 / 82%) 0 1.2px, transparent 2px),
    radial-gradient(circle at 168px 28px, rgb(255 0 255 / 64%) 0 1.2px, transparent 2px),
    radial-gradient(circle at 218px 156px, rgb(255 255 255 / 70%) 0 1px, transparent 1.8px),
    radial-gradient(circle at 102px 196px, rgb(217 176 84 / 58%) 0 1px, transparent 1.8px);
  background-size: 260px 220px;
  animation: director-cv-star-drift-slow 64s linear infinite;
}

.director-cv-starfield + .site-shell,
.murzo-starfield + .site-shell {
  position: relative;
  z-index: 1;
}

@keyframes director-cv-star-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(190px, 170px, 0);
  }
}

@keyframes director-cv-star-drift-slow {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-260px, 220px, 0);
  }
}

.director-cv-wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.9rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgb(255 255 255 / 6%);
  border: 1px solid rgb(0 255 255 / 24%);
  border-radius: 8px;
  box-shadow: 0 0 18px rgb(0 255 255 / 13%);
}

.director-cv-download,
.developer-translate-button {
  cursor: pointer;
}

.director-cv-download {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  color: var(--muted-strong);
  text-align: left;
  background-color: rgb(255 255 255 / 6%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.director-cv-download:hover {
  color: var(--text);
  border-color: rgb(0 255 255 / 28%);
  box-shadow: 0 0 16px rgb(0 255 255 / 12%);
}

.director-cv-header-actions {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: end;
}

.developer-translate-button {
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  color: #001416;
  font-size: 0.78rem;
  font-weight: 800;
  background-color: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);
  border-radius: 8px;
  box-shadow: 0 0 14px rgb(0 255 255 / 24%);
}

.developer-translate-button:hover {
  color: var(--text);
  background-color: #00383d;
}

.director-cv-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: 1rem;
  align-items: stretch;
}

.director-cv-identity,
.director-cv-snapshot,
.director-cv-card {
  color: var(--muted);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 4%), rgb(255 255 255 / 0%)),
    var(--studio-surface);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.director-cv-identity {
  display: grid;
  align-content: center;
  min-height: clamp(24rem, 48vw, 34rem);
  padding: clamp(1.35rem, 5vw, 3.2rem);
}

.director-cv-identity h1 {
  margin: 0.35rem 0 0;
  color: var(--text);
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
}

.director-cv-role {
  margin: 0.7rem 0 0;
  color: var(--studio-accent-warm);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 700;
}

.director-cv-summary {
  max-width: 52rem;
  margin: 1rem 0 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 2.2vw, 1.18rem);
}

.director-cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.4rem;
}

.director-cv-primary-action {
  width: auto;
  min-height: 2.6rem;
  padding: 0.66rem 1rem;
  text-decoration: none;
}

.director-cv-secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.62rem 1rem;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  background-color: rgb(255 255 255 / 6%);
  border: 1px solid var(--studio-panel-line);
  border-radius: 999px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.director-cv-secondary-action:hover {
  border-color: rgb(217 176 84 / 55%);
  box-shadow: 0 0 18px rgb(217 176 84 / 16%);
  transform: translateY(-1px);
}

.director-cv-snapshot {
  display: grid;
  align-content: space-between;
  gap: 1.2rem;
  padding: clamp(1.15rem, 3vw, 1.65rem);
}

.director-cv-signature {
  width: min(100%, 240px);
  max-height: 120px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 0 18px rgb(0 255 255 / 20%));
}

.director-cv-code-mark {
  display: grid;
  width: min(100%, 240px);
  min-height: 8.5rem;
  place-items: center;
  color: var(--text);
  background:
    linear-gradient(135deg, rgb(0 255 255 / 18%), rgb(255 0 255 / 12%)),
    rgb(255 255 255 / 5%);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgb(0 255 255 / 10%);
}

.director-cv-code-mark span {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 1;
}

.developer-profile-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  place-items: stretch;
  overflow: hidden;
  color: var(--muted-strong);
  background-color: #030507;
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
  box-shadow: inset 0 0 34px rgb(0 255 255 / 10%);
  cursor: default;
  transform: translateZ(0);
}

.developer-profile-photo:focus-visible {
  outline: 2px solid var(--studio-accent);
  outline-offset: 4px;
}

.developer-profile-photo::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgb(0 255 255 / 0%), rgb(0 255 255 / 20%), rgb(255 0 255 / 0%)),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0%) 0 3px, rgb(255 255 255 / 7%) 4px 5px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 180ms ease;
}

.developer-profile-photo:hover::after,
.developer-profile-photo:focus-visible::after {
  opacity: 0.58;
}

.developer-profile-photo-image,
.developer-profile-photo-glitch {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.developer-profile-photo-image {
  position: relative;
  z-index: 1;
  transition: opacity 260ms ease, transform 520ms ease;
}

.developer-profile-photo-image-light {
  opacity: 0;
}

.developer-profile-photo:hover .developer-profile-photo-image,
.developer-profile-photo:focus-visible .developer-profile-photo-image {
  transform: scale(1.035);
}

.developer-profile-photo-glitch {
  position: absolute;
  inset: -1.5%;
  z-index: 2;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: clip-path, opacity, transform;
}

.developer-profile-photo-glitch-dark {
  background-image: url("../images/private_zr_profile_pic_01.jpg");
}

.developer-profile-photo-glitch-light {
  background-image: url("../images/private_zr_profile_pic_02.jpg");
  display: none;
}

.developer-glitch-layer-1 {
  clip-path: inset(0 0 72% 0);
}

.developer-glitch-layer-2 {
  clip-path: inset(24% 0 44% 0);
}

.developer-glitch-layer-3 {
  clip-path: inset(48% 0 25% 0);
}

.developer-glitch-layer-4 {
  clip-path: inset(72% 0 0 0);
}

.developer-profile-photo:hover .developer-profile-photo-glitch,
.developer-profile-photo:focus-visible .developer-profile-photo-glitch {
  animation-duration: 720ms;
  animation-iteration-count: 1;
  animation-timing-function: steps(2, end);
  opacity: 0.7;
}

.developer-profile-photo:hover .developer-glitch-layer-1,
.developer-profile-photo:focus-visible .developer-glitch-layer-1 {
  animation-name: developer-glitch-one;
}

.developer-profile-photo:hover .developer-glitch-layer-2,
.developer-profile-photo:focus-visible .developer-glitch-layer-2 {
  animation-name: developer-glitch-two;
}

.developer-profile-photo:hover .developer-glitch-layer-3,
.developer-profile-photo:focus-visible .developer-glitch-layer-3 {
  animation-name: developer-glitch-three;
}

.developer-profile-photo:hover .developer-glitch-layer-4,
.developer-profile-photo:focus-visible .developer-glitch-layer-4 {
  animation-name: developer-glitch-four;
}

body[data-cv-page][data-studio-theme="light"] .developer-profile-photo-image-dark {
  opacity: 0;
}

body[data-cv-page][data-studio-theme="light"] .developer-profile-photo-image-light {
  opacity: 1;
}

body[data-cv-page][data-studio-theme="light"] .developer-profile-photo-glitch-dark {
  display: none;
}

body[data-cv-page][data-studio-theme="light"] .developer-profile-photo-glitch-light {
  display: block;
}

@keyframes developer-glitch-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  18% {
    transform: translate3d(-10px, 2px, 0);
  }

  36% {
    transform: translate3d(8px, -2px, 0);
  }

  54% {
    transform: translate3d(-5px, 1px, 0);
  }
}

@keyframes developer-glitch-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  20% {
    transform: translate3d(12px, -1px, 0);
  }

  44% {
    transform: translate3d(-8px, 3px, 0);
  }

  66% {
    transform: translate3d(6px, -2px, 0);
  }
}

@keyframes developer-glitch-three {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  16% {
    transform: translate3d(-7px, 1px, 0);
  }

  42% {
    transform: translate3d(11px, -3px, 0);
  }

  70% {
    transform: translate3d(-4px, 2px, 0);
  }
}

@keyframes developer-glitch-four {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  22% {
    transform: translate3d(9px, 2px, 0);
  }

  48% {
    transform: translate3d(-11px, -2px, 0);
  }

  68% {
    transform: translate3d(5px, 1px, 0);
  }
}

.director-cv-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-block: 1px solid var(--studio-panel-line);
}

.director-cv-facts div {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--studio-panel-line);
}

.director-cv-facts div:last-child {
  border-bottom: 0;
}

.director-cv-facts dt,
.director-cv-timeline-item span {
  color: var(--studio-accent-warm);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.director-cv-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.director-cv-grid,
.director-cv-split {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.director-cv-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.director-cv-card {
  min-width: 0;
  padding: clamp(1rem, 2.3vw, 1.35rem);
}

.director-cv-card h2,
.director-cv-section h2,
.director-cv-timeline-item h3,
.director-cv-portfolio h3,
.director-cv-contact h2 {
  margin: 0.55rem 0 0;
  color: var(--text);
}

.director-cv-card p,
.director-cv-timeline-item p,
.director-cv-portfolio p,
.director-cv-contact p {
  margin: 0.55rem 0 0;
}

.director-cv-timeline {
  display: grid;
  gap: 0;
  margin-top: 1.2rem;
  border-block: 1px solid var(--studio-panel-line);
}

.director-cv-timeline-item {
  display: grid;
  grid-template-columns: minmax(8rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--studio-panel-line);
}

.director-cv-timeline-item:last-child {
  border-bottom: 0;
}

.developer-position-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.developer-position-grid article {
  min-width: 0;
  padding: 1rem;
  color: var(--muted);
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.developer-position-grid span {
  color: var(--studio-accent-warm);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.developer-position-grid h3 {
  margin: 0.55rem 0 0;
  color: var(--text);
  font-size: 1rem;
}

.developer-position-grid p {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
}

.director-cv-portfolio {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.director-cv-portfolio article {
  min-width: 0;
  overflow: hidden;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.director-cv-portfolio img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--studio-panel-line);
}

.director-cv-project-visual {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: var(--text);
  background:
    linear-gradient(135deg, rgb(0 255 255 / 20%), rgb(255 0 255 / 10%)),
    rgb(255 255 255 / 5%);
  border-bottom: 1px solid var(--studio-panel-line);
}

.director-cv-project-visual span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5rem;
  min-height: 2.6rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background-color: rgb(0 0 0 / 36%);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
}

.director-cv-project-visual-alt {
  background:
    linear-gradient(135deg, rgb(217 176 84 / 20%), rgb(0 255 255 / 10%)),
    rgb(255 255 255 / 5%);
}

.director-cv-project-visual-warm {
  background:
    linear-gradient(135deg, rgb(255 0 255 / 18%), rgb(217 176 84 / 14%)),
    rgb(255 255 255 / 5%);
}

.director-cv-project-visual-cool {
  background:
    linear-gradient(135deg, rgb(0 255 255 / 18%), rgb(255 255 255 / 8%)),
    rgb(255 255 255 / 5%);
}

.director-cv-portfolio h3,
.director-cv-portfolio p {
  padding-inline: 1rem;
}

.director-cv-portfolio p {
  padding-bottom: 1rem;
}

.director-cv-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.director-cv-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 1rem;
  align-items: center;
}

.director-cv-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.director-cv-contact-grid span {
  display: grid;
  min-height: 5rem;
  place-items: center;
  padding: 0.85rem;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.developer-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: 1rem;
}

.developer-contact-links,
.developer-qr-grid {
  display: grid;
  gap: 0.65rem;
}

.developer-contact-links a,
.developer-qr-card {
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  background-color: var(--studio-surface-raised);
  border: 1px solid var(--studio-panel-line);
  border-radius: 8px;
}

.developer-contact-links a {
  display: grid;
  gap: 0.35rem;
  min-height: 5rem;
  align-content: center;
  padding: 0.9rem;
}

.developer-contact-links a:hover,
.developer-qr-card:hover {
  border-color: rgb(0 255 255 / 36%);
  box-shadow: 0 0 18px rgb(0 255 255 / 12%);
}

.developer-contact-links span,
.developer-qr-card > span:first-child {
  color: var(--studio-accent-warm);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.developer-contact-links strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.95rem;
}

.developer-qr-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.developer-qr-card {
  display: grid;
  gap: 0.65rem;
  justify-items: center;
  padding: 0.9rem;
  text-align: center;
}

.developer-qr-image {
  display: block;
  width: min(100%, 9rem);
  aspect-ratio: 1;
  padding: 0.35rem;
  object-fit: contain;
  background-color: #ffffff;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgb(0 255 255 / 10%), 0 12px 24px rgb(0 0 0 / 18%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.developer-qr-card:hover .developer-qr-image {
  transform: scale(1.015);
  box-shadow: 0 0 0 1px rgb(255 0 255 / 16%), 0 14px 28px rgb(0 0 0 / 22%);
}

.developer-back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  color: #001416;
  cursor: pointer;
  background:
    linear-gradient(135deg, var(--cyber-blue), var(--cyber-magenta));
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 999px;
  box-shadow: 0 0 22px rgb(0 255 255 / 22%), 0 16px 34px rgb(0 0 0 / 30%);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0.65rem, 0);
  transition: opacity 180ms ease, box-shadow 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.developer-back-to-top span {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.developer-back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.developer-back-to-top:hover,
.developer-back-to-top:focus-visible {
  color: #ffffff;
  box-shadow: 0 0 24px rgb(255 58 167 / 32%), 0 18px 38px rgb(0 0 0 / 32%);
  transform: translate3d(0, -1px, 0);
}

body[data-studio-theme="light"] .site-header {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 94%), rgb(246 248 252 / 98%), rgb(255 255 255 / 94%));
  border-bottom-color: rgb(8 127 140 / 24%);
  box-shadow: 0 10px 30px rgb(15 23 42 / 10%);
}

body[data-studio-theme="light"] .site-logo {
  filter: invert(1);
}

body[data-studio-theme="light"] .director-cv-wordmark,
body[data-studio-theme="light"] .director-cv-code-mark,
body[data-studio-theme="light"] .director-cv-project-visual {
  color: var(--text);
  background:
    linear-gradient(135deg, rgb(8 127 140 / 10%), rgb(109 63 217 / 7%)),
    rgb(255 255 255 / 72%);
  border-color: rgb(15 23 42 / 14%);
  box-shadow: 0 10px 24px rgb(15 23 42 / 8%);
}

body[data-studio-theme="light"] .director-cv-project-visual span {
  background-color: rgb(255 255 255 / 58%);
  border-color: rgb(15 23 42 / 14%);
}

body[data-cv-page][data-studio-theme="light"] {
  --text: #102033;
  --muted: #496078;
  --muted-strong: #24384f;
  --cyber-blue: #00b7ff;
  --cyber-magenta: #ff3aa7;
  --focus: #ff3aa7;
  --studio-accent-warm: #ff3aa7;
  --studio-surface: rgb(255 255 255 / 88%);
  --studio-surface-raised: rgb(255 255 255 / 94%);
  --studio-surface-soft: rgb(255 255 255 / 72%);
  --studio-panel-line: rgb(0 183 255 / 22%);
  background:
    radial-gradient(circle at 12% 10%, rgb(0 183 255 / 20%), transparent 25rem),
    radial-gradient(circle at 88% 12%, rgb(255 58 167 / 22%), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgb(255 199 71 / 16%), transparent 28rem),
    linear-gradient(135deg, #f4fcff 0%, #ffffff 42%, #fff3fb 72%, #eefaff 100%);
}

body[data-cv-page][data-studio-theme="light"] .developer-vanta-bg {
  opacity: 0;
  visibility: hidden;
}

body[data-cv-page][data-studio-theme="light"] .site-header,
body[data-cv-page][data-studio-theme="light"] .studio-top-nav {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 84%), rgb(239 251 255 / 88%), rgb(255 241 250 / 88%), rgb(255 255 255 / 84%));
  border-color: rgb(0 183 255 / 20%);
  box-shadow: 0 14px 38px rgb(0 81 128 / 10%);
  backdrop-filter: blur(18px);
}

body[data-cv-page][data-studio-theme="light"] .director-cv-identity,
body[data-cv-page][data-studio-theme="light"] .director-cv-snapshot,
body[data-cv-page][data-studio-theme="light"] .director-cv-card,
body[data-cv-page][data-studio-theme="light"] .studio-section {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 96%), rgb(255 255 255 / 78%)),
    var(--studio-surface);
  border-color: var(--studio-panel-line);
  box-shadow: 0 18px 44px rgb(0 81 128 / 10%);
}

body[data-cv-page][data-studio-theme="light"] .developer-profile-photo,
body[data-cv-page][data-studio-theme="light"] .developer-position-grid article,
body[data-cv-page][data-studio-theme="light"] .director-cv-portfolio article,
body[data-cv-page][data-studio-theme="light"] .developer-contact-links a,
body[data-cv-page][data-studio-theme="light"] .developer-qr-card {
  background-color: rgb(255 255 255 / 88%);
  border-color: var(--studio-panel-line);
  box-shadow: 0 12px 26px rgb(0 81 128 / 8%);
}

body[data-cv-page][data-studio-theme="light"] .director-cv-download,
body[data-cv-page][data-studio-theme="light"] .director-cv-secondary-action {
  color: var(--text);
  background-color: rgb(255 255 255 / 78%);
  border-color: var(--studio-panel-line);
  box-shadow: 0 8px 20px rgb(0 183 255 / 8%);
}

body[data-cv-page][data-studio-theme="light"] .developer-translate-button,
body[data-cv-page][data-studio-theme="light"] .studio-button {
  color: #ffffff;
  background:
    linear-gradient(135deg, #00b7ff, #ff3aa7);
  border-color: rgb(255 255 255 / 70%);
  box-shadow: 0 14px 28px rgb(255 58 167 / 22%);
}

body[data-cv-page][data-studio-theme="light"] .director-cv-wordmark {
  color: #ffffff;
  background:
    linear-gradient(135deg, #00b7ff, #ff3aa7 64%, #ffc747);
  border-color: rgb(255 255 255 / 72%);
  box-shadow: 0 14px 32px rgb(255 58 167 / 24%);
}

body[data-cv-page][data-studio-theme="light"] .studio-kicker,
body[data-cv-page][data-studio-theme="light"] .director-cv-role,
body[data-cv-page][data-studio-theme="light"] .director-cv-facts dt,
body[data-cv-page][data-studio-theme="light"] .director-cv-timeline-item span,
body[data-cv-page][data-studio-theme="light"] .developer-position-grid span,
body[data-cv-page][data-studio-theme="light"] .developer-contact-links span,
body[data-cv-page][data-studio-theme="light"] .developer-qr-card > span:first-child {
  color: #ff3aa7;
}

body[data-cv-page][data-studio-theme="light"] .studio-date,
body[data-cv-page][data-studio-theme="light"] .studio-status {
  color: #0077c8;
  background-color: rgb(0 183 255 / 10%);
  border-color: rgb(0 183 255 / 24%);
}

body[data-cv-page][data-studio-theme="light"] .studio-status-review {
  color: #ff3aa7;
  background-color: rgb(255 58 167 / 10%);
  border-color: rgb(255 58 167 / 24%);
}

body[data-cv-page][data-studio-theme="light"] .studio-status-planning {
  color: #b87900;
  background-color: rgb(255 199 71 / 18%);
  border-color: rgb(255 199 71 / 42%);
}

body[data-cv-page][data-studio-theme="light"] .director-cv-project-visual,
body[data-cv-page][data-studio-theme="light"] .director-cv-code-mark,
body[data-cv-page][data-studio-theme="light"] .developer-profile-photo {
  color: var(--text);
  background:
    linear-gradient(135deg, rgb(0 183 255 / 24%), rgb(255 58 167 / 18%)),
    #ffffff;
  border-color: rgb(0 183 255 / 22%);
  box-shadow: inset 0 0 24px rgb(255 255 255 / 58%), 0 12px 26px rgb(0 81 128 / 10%);
}

body[data-cv-page][data-studio-theme="light"] .director-cv-project-visual-alt {
  background:
    linear-gradient(135deg, rgb(0 183 255 / 22%), rgb(255 199 71 / 22%)),
    #ffffff;
}

body[data-cv-page][data-studio-theme="light"] .director-cv-project-visual-warm {
  background:
    linear-gradient(135deg, rgb(255 58 167 / 22%), rgb(255 199 71 / 22%)),
    #ffffff;
}

body[data-cv-page][data-studio-theme="light"] .director-cv-project-visual-cool {
  background:
    linear-gradient(135deg, rgb(0 183 255 / 24%), rgb(103 232 249 / 20%)),
    #ffffff;
}

body[data-cv-page][data-studio-theme="light"] .director-cv-project-visual span {
  color: #102033;
  background-color: rgb(255 255 255 / 68%);
  border-color: rgb(0 183 255 / 18%);
}

body[data-cv-page][data-studio-theme="light"] .studio-top-nav a:hover,
body[data-cv-page][data-studio-theme="light"] .studio-top-nav a[aria-current="page"],
body[data-cv-page][data-studio-theme="light"] .developer-contact-links a:hover,
body[data-cv-page][data-studio-theme="light"] .developer-qr-card:hover {
  border-color: rgb(255 58 167 / 34%);
  background-color: rgb(255 58 167 / 8%);
  box-shadow: 0 12px 24px rgb(255 58 167 / 12%);
}

body[data-cv-page][data-studio-theme="light"] .site-footer {
  color: var(--muted);
  background:
    linear-gradient(90deg, rgb(239 251 255 / 94%), rgb(255 241 250 / 94%));
  border-top-color: rgb(0 183 255 / 18%);
}

body[data-studio-theme="light"] .director-cv-starfield,
body[data-studio-theme="light"] .murzo-starfield {
  opacity: 0.72;
}

@media (prefers-reduced-motion: reduce) {
  .director-cv-starfield,
  .murzo-starfield,
  .director-cv-starfield::before,
  .director-cv-starfield::after,
  .murzo-starfield::before,
  .murzo-starfield::after,
  .developer-vanta-bg canvas,
  .developer-light-gradient-bg,
  .developer-light-gradient-bg::before,
  .developer-light-gradient-bg::after,
  .developer-profile-photo-image,
  .developer-profile-photo-glitch {
    animation: none;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .developer-vanta-bg canvas,
  .developer-light-gradient-bg,
  .developer-profile-photo-glitch {
    display: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .developer-light-gradient-bg {
    display: none;
  }

  .developer-profile-photo:hover::after,
  .developer-profile-photo:hover .developer-profile-photo-glitch {
    animation: none;
    opacity: 0;
  }

  .developer-profile-photo:hover .developer-profile-photo-image,
  .developer-qr-card:hover .developer-qr-image {
    transform: none;
  }
}

@media (max-width: 768px) {
  .developer-light-gradient-bg {
    display: none;
  }
}

body[data-studio-theme="light"] .studio-theme-track {
  background-color: rgb(15 23 42 / 8%);
  border-color: rgb(15 23 42 / 18%);
  box-shadow: inset 0 0 8px rgb(15 23 42 / 10%);
}

body[data-studio-theme="light"] .studio-login-panel,
body[data-studio-theme="light"] .studio-command-panel,
body[data-studio-theme="light"] .studio-section,
body[data-studio-theme="light"] .studio-brand-card,
body[data-studio-theme="light"] .studio-thread-panel,
body[data-studio-theme="light"] .director-cv-identity,
body[data-studio-theme="light"] .director-cv-snapshot,
body[data-studio-theme="light"] .director-cv-card {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 70%), rgb(255 255 255 / 42%)),
    var(--studio-surface);
  border-color: rgb(15 23 42 / 14%);
}

body[data-studio-theme="light"] .studio-date {
  color: var(--text);
  background-color: rgb(8 127 140 / 10%);
  border-color: rgb(8 127 140 / 22%);
}

body[data-studio-theme="light"] .studio-kicker,
body[data-studio-theme="light"] .studio-stat span,
body[data-studio-theme="light"] .studio-ledger-item span {
  color: var(--studio-accent-warm);
}

body[data-studio-theme="light"] .studio-ledger {
  border-color: var(--studio-panel-line);
}

body[data-studio-theme="light"] .studio-ledger-item {
  background-color: rgb(255 255 255 / 42%);
  border-right-color: var(--studio-panel-line);
}

body[data-studio-theme="light"] .studio-stat-grid {
  border-color: var(--studio-panel-line);
}

body[data-studio-theme="light"] .studio-stat,
body[data-studio-theme="light"] .studio-thread-metrics div {
  border-right-color: var(--studio-panel-line);
}

body[data-studio-theme="light"] .studio-note-avatar,
body[data-studio-theme="light"] .studio-button {
  box-shadow: 0 0 16px rgb(8 127 140 / 18%);
}

body[data-studio-theme="light"] .studio-upload-dropzone {
  background-color: rgb(255 255 255 / 48%);
  border-color: rgb(8 127 140 / 22%);
}

body[data-studio-theme="light"] .studio-image-preview-grid span {
  color: #ffffff;
}

body[data-studio-theme="light"] .site-footer {
  color: var(--muted);
  background-color: rgb(255 255 255 / 92%);
}

body[data-studio-theme="light"] .pre-footer-nav {
  color: var(--muted);
  background-color: rgb(255 255 255 / 88%);
  border-top-color: rgb(8 127 140 / 16%);
  border-bottom-color: rgb(109 63 217 / 10%);
}

body[data-studio-theme="light"] .studio-top-nav {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 90%), rgb(246 248 252 / 96%), rgb(255 255 255 / 90%));
  border-bottom-color: rgb(8 127 140 / 14%);
  box-shadow: 0 10px 24px rgb(15 23 42 / 10%);
}

body[data-studio-theme="light"] .studio-top-nav a:hover,
body[data-studio-theme="light"] .studio-top-nav a[aria-current="page"] {
  background-color: rgb(8 127 140 / 8%);
  border-color: rgb(8 127 140 / 22%);
  box-shadow: 0 0 16px rgb(8 127 140 / 10%);
}

.language-switcher {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10;
  padding: 5px;
  color: var(--text);
  background-color: #333333;
  border-radius: 5px;
  opacity: 0.9;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.language-switcher.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.language-select {
  max-width: 9rem;
  padding: 5px;
  color: var(--text);
  background-color: #222222;
  border: 0;
  border-radius: 3px;
  font-size: 0.75rem;
}

.language-switcher-compact .language-select {
  padding: 2px;
  font-size: 0.65rem;
}

.site-footer {
  padding: 1.25rem;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  background-color: rgb(0 0 0 / 82%);
}

.pre-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 2rem;
  width: 100%;
  padding: 1rem;
  color: var(--muted);
  text-align: center;
  background-color: rgb(0 0 0 / 86%);
  border-top: 1px solid rgb(0 255 255 / 18%);
  border-bottom: 1px solid rgb(255 0 255 / 12%);
}

.pre-footer-nav a {
  color: inherit;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.pre-footer-nav a:hover,
.pre-footer-nav a[aria-current="page"] {
  color: var(--cyber-magenta);
  text-shadow: 0 0 14px rgb(255 0 255 / 75%);
}

.site-footer p {
  margin: 0.45rem 0;
}

.site-footer-disclaimer {
  width: min(100%, 54rem);
  max-width: 54rem;
  margin-right: auto;
  margin-left: auto;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.site-footer-disclaimer small {
  display: block;
  text-align: center;
}

body[data-cv-page] .site-footer {
  display: grid;
  justify-items: center;
  text-align: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyber-magenta);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.media-pack-page {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  width: min(100% - 2rem, var(--page-max-width));
  margin-inline: auto;
  padding: 1rem 0 2.2rem;
}

.media-pack-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(0 255 255 / 10%), transparent 34%),
    linear-gradient(315deg, rgb(255 0 255 / 11%), transparent 36%),
    rgb(0 0 0 / 78%);
}

.media-pack-hero-copy,
.media-pack-section-heading,
.media-pack-panel,
.media-pack-legal {
  min-width: 0;
}

.media-pack-kicker {
  margin: 0 0 0.55rem;
  color: var(--cyber-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-pack-hero h1,
.media-pack-section h2,
.media-pack-panel h2,
.media-pack-legal h2 {
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
}

.media-pack-hero h1 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.98;
}

.media-pack-hero p:not(.media-pack-kicker),
.media-pack-section-heading p,
.media-pack-panel p,
.media-pack-legal p {
  color: var(--muted);
}

.media-pack-hero-copy > p:not(.media-pack-kicker) {
  max-width: 42rem;
  margin: 1rem 0 0;
  font-size: 1rem;
}

.media-pack-actions,
.media-pack-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.2rem;
}

.media-pack-button-primary {
  color: #001416;
  font-weight: 800;
  background-color: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);
  box-shadow: 0 0 22px rgb(0 255 255 / 34%);
}

.media-pack-button-primary:hover {
  color: var(--text);
  background-color: #00383d;
  border-color: var(--cyber-blue);
  box-shadow: 0 0 28px rgb(0 255 255 / 62%), inset 0 0 18px rgb(0 255 255 / 18%);
}

.media-pack-button-secondary {
  color: var(--text);
  background-color: rgb(0 0 0 / 42%);
  border: 1px solid rgb(255 255 255 / 22%);
}

.media-pack-button-secondary:hover {
  color: var(--text);
  background-color: #26002f;
  border-color: var(--cyber-magenta);
  box-shadow: 0 0 24px rgb(255 0 255 / 38%);
}

.media-pack-hero-preview {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  margin: 0;
  background-color: #000000;
  border: 1px solid rgb(0 255 255 / 26%);
  border-radius: 8px;
  box-shadow: 0 0 32px rgb(255 0 255 / 14%);
}

.media-pack-hero-preview img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
}

.media-pack-hero-preview figcaption,
.media-pack-palette-preview figcaption {
  color: #aeb6bd;
  font-size: 0.82rem;
  text-align: center;
}

.media-pack-section {
  display: grid;
  gap: 1rem;
}

.media-pack-section-heading {
  width: min(100%, 760px);
}

.media-pack-section-heading h2,
.media-pack-panel h2,
.media-pack-legal h2 {
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  line-height: 1.05;
}

.media-pack-section-heading p {
  margin: 0.75rem 0 0;
}

.media-pack-asset-grid,
.media-pack-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.media-pack-asset-card,
.media-pack-link-card,
.media-pack-panel {
  background-color: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-pack-asset-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.media-pack-asset-card:hover {
  border-color: rgb(0 255 255 / 42%);
  box-shadow: var(--shadow), 0 0 22px rgb(0 255 255 / 18%);
  transform: translateY(-2px);
}

.media-pack-asset-preview {
  display: grid;
  place-items: center;
  min-height: 12rem;
  padding: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.media-pack-preview-white {
  background-color: #ffffff;
}

.media-pack-preview-black {
  background-color: #000000;
}

.media-pack-asset-preview img {
  width: 100%;
  max-height: 10rem;
  object-fit: contain;
}

.media-pack-asset-copy {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.media-pack-asset-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.media-pack-asset-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.media-pack-download {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  margin-top: 0.25rem;
  padding: 0.48rem 0.72rem;
  color: var(--cyber-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  background-color: rgb(0 255 255 / 8%);
  border: 1px solid rgb(0 255 255 / 24%);
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.media-pack-download:hover,
.media-pack-download:focus-visible {
  color: var(--text);
  background-color: rgb(255 0 255 / 14%);
  border-color: var(--cyber-magenta);
  box-shadow: 0 0 18px rgb(255 0 255 / 34%);
  transform: translateY(-1px);
}

.media-pack-split,
.media-pack-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.media-pack-palette-preview {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.media-pack-palette-preview img,
.media-pack-video-preview {
  width: 100%;
  background-color: #000000;
  border: 1px solid rgb(0 255 255 / 22%);
  border-radius: 8px;
  box-shadow: 0 0 28px rgb(255 0 255 / 12%);
}

.media-pack-palette-preview img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-pack-panel,
.media-pack-legal {
  padding: clamp(1.1rem, 2.7vw, 1.6rem);
}

.media-pack-panel p:last-child,
.media-pack-legal p:last-child {
  margin-bottom: 0;
}

.media-pack-swatch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}

.media-pack-swatch {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.75rem;
  color: var(--muted);
  background-color: rgb(0 0 0 / 34%);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-pack-swatch strong {
  color: var(--text);
  font-size: 0.94rem;
}

.media-pack-swatch span:last-child {
  font-size: 0.82rem;
}

.media-pack-swatch-chip {
  display: block;
  width: 100%;
  height: 2.6rem;
  border-radius: 6px;
}

.media-pack-swatch-pink {
  background-color: var(--cyber-magenta);
  box-shadow: 0 0 18px rgb(255 0 255 / 38%);
}

.media-pack-swatch-blue {
  background-color: var(--cyber-blue);
  box-shadow: 0 0 18px rgb(0 255 255 / 38%);
}

.media-pack-panel blockquote {
  margin: 0.9rem 0 0.8rem;
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--muted-strong);
  border-left: 3px solid var(--cyber-magenta);
}

.media-pack-audio {
  width: 100%;
  margin-top: 1rem;
}

.media-pack-video-preview {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 0.9rem;
}

.media-pack-link-card {
  display: grid;
  gap: 0.3rem;
  min-height: 7.8rem;
  align-content: end;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.media-pack-link-card span {
  color: var(--cyber-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-pack-link-card strong {
  color: var(--text);
  font-size: 1.05rem;
}

.media-pack-link-card:hover,
.media-pack-link-card:focus-visible {
  color: inherit;
  text-decoration: none;
  border-color: var(--cyber-magenta);
  box-shadow: var(--shadow), 0 0 20px rgb(255 0 255 / 30%);
  transform: translateY(-2px);
}

.media-pack-legal {
  background:
    linear-gradient(135deg, rgb(255 0 255 / 9%), transparent 32%),
    rgb(0 0 0 / 78%);
}

@media (max-width: 980px) {
  .media-pack-hero,
  .media-pack-split,
  .media-pack-two-column {
    grid-template-columns: 1fr;
  }

  .media-pack-asset-grid,
  .media-pack-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-pack-hero h1 {
    max-width: 14ch;
  }
}

@media (max-width: 620px) {
  .media-pack-page {
    width: min(100% - 1rem, var(--page-max-width));
  }

  .media-pack-hero h1 {
    font-size: clamp(2rem, 12vw, 3.15rem);
  }

  .media-pack-actions .button,
  .media-pack-download {
    width: 100%;
  }

  .media-pack-asset-grid,
  .media-pack-link-grid,
  .media-pack-swatch-grid {
    grid-template-columns: 1fr;
  }

  .media-pack-asset-preview {
    min-height: 10rem;
  }
}

.directory-body {
  --directory-green: #0a6b2e;
  --directory-green-dark: #00391f;
  --directory-lime: #84d900;
  --directory-lime-bright: #b7f21b;
  --directory-lime-soft: rgb(132 217 0 / 15%);
  --directory-green-soft: rgb(10 107 46 / 10%);
  --directory-ink: #052818;
  --directory-muted: #4b604e;
  --directory-line: rgb(10 107 46 / 18%);
  --directory-paper: rgb(255 255 255 / 88%);
  color: var(--directory-ink);
  background:
    radial-gradient(circle at 18% 13%, rgb(183 242 27 / 34%), transparent 28rem),
    radial-gradient(circle at 84% 22%, rgb(10 107 46 / 12%), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, #f3fbe8 46%, #ffffff 100%);
}

.directory-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.directory-body .site-header {
  background:
    linear-gradient(90deg, rgb(255 255 255 / 94%), rgb(248 255 235 / 95%), rgb(255 255 255 / 94%));
  border-bottom: 1px solid var(--directory-line);
  box-shadow: 0 12px 30px rgb(5 40 24 / 10%);
}

.directory-body .logo-link:hover {
  filter: drop-shadow(0 0 12px rgb(132 217 0 / 34%));
}

.directory-shell {
  position: relative;
  z-index: 1;
}

.directory-header {
  gap: 0.65rem;
}

.directory-logo {
  width: min(360px, 72vw);
  max-height: 92px;
  object-fit: contain;
}

.directory-page {
  flex: 1;
  width: min(100% - 2rem, var(--page-max-width));
  margin-inline: auto;
}

.directory-search-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58vh;
  padding: 3rem 0 2.4rem;
}

.directory-title-block {
  width: min(100%, 820px);
  margin-inline: auto;
  text-align: center;
}

.directory-kicker {
  margin: 0 0 0.75rem;
  color: var(--directory-green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.directory-title-block h1 {
  margin: 0;
  color: var(--directory-green-dark);
  font-size: 3.15rem;
  line-height: 1;
  letter-spacing: 0;
}

.directory-title-block p:last-child {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--directory-muted);
  font-size: 1.02rem;
}

.directory-search {
  width: min(100%, 860px);
  margin: 2.1rem auto 0;
  overflow: hidden;
  background: rgb(255 255 255 / 95%);
  border: 1px solid rgb(10 107 46 / 24%);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgb(5 40 24 / 12%), 0 0 24px rgb(132 217 0 / 12%);
  backdrop-filter: blur(14px);
}

.directory-search-main {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto auto auto;
  min-height: 4.1rem;
}

.directory-search input {
  min-width: 0;
  padding: 1rem 1.15rem;
  color: #101611;
  font-size: 1rem;
  font-weight: 400;
  background: transparent;
  border: 0;
  outline: 0;
}

.directory-search input::placeholder {
  color: rgb(16 22 17 / 58%);
  font-weight: 400;
}

.directory-search button {
  min-width: 6.4rem;
  padding: 0.9rem 1.1rem;
  color: #101611;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  background: rgb(245 250 246);
  border-left: 1px solid rgb(16 22 17 / 12%);
  transition: filter 160ms ease, transform 160ms ease;
}

.directory-search button[type="submit"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--directory-green-dark), var(--directory-green));
}

.directory-all-button {
  background: #ffffff;
}

.directory-farm-button {
  background: var(--directory-lime-soft);
}

.directory-search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.directory-search button[aria-pressed="true"],
.directory-search.is-farm-only .directory-farm-button {
  box-shadow: inset 0 -4px 0 rgb(132 217 0 / 72%);
}

.directory-glossary {
  width: min(100%, 1080px);
  margin: 0 auto 3rem;
  padding: 1.15rem;
  background: var(--directory-paper);
  border: 1px solid var(--directory-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgb(5 40 24 / 10%);
}

.directory-section-heading {
  margin-bottom: 1rem;
  text-align: center;
}

.directory-section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.directory-glossary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.directory-glossary article {
  min-height: 8.5rem;
  padding: 0.9rem;
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(132 217 0 / 24%);
  border-radius: 8px;
}

.directory-glossary h3 {
  margin: 0 0 0.45rem;
  color: var(--directory-green-dark);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.directory-glossary p {
  margin: 0;
  color: var(--directory-muted);
  font-size: 0.82rem;
}

.directory-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding-bottom: 3rem;
}

.directory-results-summary {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 0.1rem;
}

.directory-results-summary h2 {
  margin: 0;
  color: var(--directory-green-dark);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.directory-results-summary p {
  margin: 0;
  color: var(--directory-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.directory-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  width: min(100%, 1080px);
  margin: 0 auto 3rem;
  padding: 1.2rem;
  background: linear-gradient(135deg, rgb(255 255 255 / 90%), rgb(248 255 235 / 88%));
  border: 1px solid var(--directory-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgb(5 40 24 / 10%);
}

.directory-submit h2 {
  margin: 0 0 0.55rem;
  color: var(--directory-green-dark);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.directory-submit p {
  max-width: 48rem;
  margin: 0.45rem 0 0;
  color: var(--directory-muted);
}

.directory-submit-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--directory-green-dark), var(--directory-green));
  border-radius: 8px;
  box-shadow: 0 14px 30px rgb(5 40 24 / 14%);
}

.directory-submit-link:hover {
  color: #ffffff;
  text-decoration: none;
  background: var(--directory-green);
}

.directory-results:not(.has-results) {
  display: block;
}

.directory-results:not(.has-results) .directory-card {
  display: none;
}

.directory-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 14rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
  background: var(--directory-paper);
  border: 1px solid var(--directory-line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgb(5 40 24 / 10%);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.directory-card:hover {
  color: inherit;
  text-decoration: none;
  border-color: rgb(132 217 0 / 58%);
  box-shadow: 0 22px 58px rgb(5 40 24 / 14%), 0 0 24px rgb(132 217 0 / 14%);
  transform: translateY(-2px);
}

.directory-card-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.5rem;
  color: var(--directory-green-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: var(--directory-lime-soft);
  border: 1px solid rgb(132 217 0 / 28%);
  border-radius: 999px;
}

.directory-card h2 {
  margin: 0 0 0.55rem;
  color: var(--directory-ink);
  font-size: 1.05rem;
  line-height: 1.2;
}

.directory-card p {
  margin: 0;
  color: var(--directory-muted);
  font-size: 0.88rem;
}

.directory-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.directory-card-meta span {
  display: inline-flex;
  padding: 0.28rem 0.48rem;
  color: var(--directory-green-dark);
  font-size: 0.72rem;
  border: 1px solid rgb(132 217 0 / 30%);
  border-radius: 999px;
  background-color: var(--directory-lime-soft);
}

.directory-empty {
  width: min(100%, 720px);
  padding: 1rem;
  margin: 0 auto 3rem;
  color: var(--directory-muted);
  text-align: center;
  background-color: var(--directory-paper);
  border: 1px solid var(--directory-line);
  border-radius: 8px;
}

.directory-top-button {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 20;
  display: none;
  min-height: 2.65rem;
  padding: 0.7rem 0.9rem;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  background-color: var(--directory-green-dark);
  border: 1px solid rgb(15 93 52 / 34%);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgb(5 40 24 / 18%);
}

.directory-top-button.is-visible {
  display: inline-flex;
  align-items: center;
}

.directory-top-button:hover {
  color: #ffffff;
  background: var(--directory-green);
}

.directory-body .site-footer {
  color: var(--directory-muted);
  background-color: rgb(255 255 255 / 82%);
  border-top: 1px solid var(--directory-line);
}

@media (max-width: 980px) {
  .directory-search-main {
    grid-template-columns: 1fr 1fr;
  }

  .directory-search input {
    grid-column: 1 / -1;
    min-height: 3.6rem;
    border-bottom: 1px solid rgb(16 22 17 / 12%);
  }

  .directory-search button {
    min-height: 3.2rem;
  }

  .directory-farm-button {
    grid-column: 1 / -1;
  }

  .directory-glossary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .directory-header {
    padding-inline: 1rem;
  }

  .directory-search-stage {
    min-height: 52vh;
    padding-top: 2rem;
  }

  .directory-title-block h1 {
    font-size: 2.25rem;
  }

  .directory-title-block p:last-child {
    font-size: 0.92rem;
  }

  .directory-search-main,
  .directory-glossary-grid {
    grid-template-columns: 1fr;
  }

  .directory-submit {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .directory-submit-link {
    white-space: normal;
  }

  .directory-top-button {
    opacity: 0.58;
  }

  .directory-top-button:hover,
  .directory-top-button:focus-visible {
    opacity: 0.9;
  }

  .directory-search button {
    border-top: 1px solid rgb(16 22 17 / 12%);
    border-left: 0;
  }

  .directory-results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  .software-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .software-logo {
    width: min(96px, 34vw);
  }

  .software-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: min(100%, 100vw - 1rem);
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
  }

  .software-nav a {
    flex: 0 0 auto;
    min-height: 2rem;
    padding: 0.34rem 0.62rem;
    font-size: 0.72rem;
  }

  .software-hero,
  .software-proof,
  .software-split,
  .software-process,
  .software-purchase,
  .software-plan-grid {
    width: min(100% - 1rem, 1180px);
  }

  .software-hero,
  .software-proof,
  .software-split,
  .software-process,
  .software-process ol,
  .software-feature-list,
  .software-plan-grid {
    grid-template-columns: 1fr;
  }

  .software-hero {
    min-height: auto;
    gap: 1.2rem;
    padding: 1.3rem 0 1rem;
  }

  .software-hero-copy {
    gap: 0.75rem;
  }

  .software-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.65rem, 14vw, 4.2rem);
  }

  .software-hero-copy > p:not(.software-eyebrow) {
    font-size: 1rem;
  }

  .software-actions {
    gap: 0.55rem;
    margin-top: 0.15rem;
  }

  .software-button {
    min-height: 2.45rem;
    padding: 0.58rem 0.82rem;
  }

  .software-preview img {
    aspect-ratio: 16 / 11;
  }

  .software-preview figcaption {
    right: 0.7rem;
    bottom: 0.7rem;
    min-width: 10.5rem;
    padding: 0.65rem;
  }

  .software-preview figcaption strong {
    font-size: 1rem;
  }

  .software-proof article {
    border-right: 0;
    border-bottom: 1px solid var(--software-line);
  }

  .software-proof article:last-child {
    border-bottom: 0;
  }

  .software-split,
  .software-process,
  .software-purchase {
    padding-block: 2rem;
  }

  .software-section-copy h2,
  .software-purchase h2 {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
  }

  .site-logo {
    width: min(120px, 42vw);
  }

  .header-back-button {
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
  }

  .site-header:has(.product-top-nav) {
    padding: 0.75rem;
  }

  .site-header:has(.product-top-nav) .site-logo {
    width: min(96px, 34vw);
  }

  .studio-header {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-bottom: 0.9rem;
  }

  .studio-welcome,
  .studio-theme-control {
    justify-self: center;
  }

  .studio-top-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.45rem;
    overflow-x: auto;
    padding-inline: 0.75rem;
    scrollbar-width: thin;
  }

  .studio-top-nav a {
    flex: 0 0 auto;
  }

  .product-top-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: min(100%, 100vw - 1rem);
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .product-top-nav a {
    flex: 0 0 auto;
    min-height: 2.05rem;
    padding: 0.38rem 0.68rem;
    font-size: 0.74rem;
  }

  .pre-footer-nav {
    gap: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .company-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .company-card {
    width: min(100%, 420px);
    padding: 1.25rem;
    background-color: rgb(18 0 28 / 92%);
    border-color: var(--cyber-magenta);
    box-shadow: var(--shadow), var(--cyber-shadow), inset 0 0 28px var(--cyber-blue-soft);
    transform: translateY(-3px);
  }

  .company-card .company-image {
    opacity: 0.84;
  }

  .foods-page {
    width: min(100% - 1rem, var(--page-max-width));
  }

  .food-brand-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .food-brand-card {
    width: min(100%, 420px);
    padding: 1.25rem;
    background-color: rgb(18 0 28 / 92%);
    border-color: var(--cyber-magenta);
    box-shadow: var(--shadow), var(--cyber-shadow), inset 0 0 28px var(--cyber-blue-soft);
    transform: translateY(-3px);
  }

  .about-panel,
  .about-hero,
  .about-info-grid,
  .contact-layout,
  .locust-hero-inner,
  .locust-operator-strip,
  .locust-feature-grid,
  .locust-operations-band,
  .locust-plan-grid {
    grid-template-columns: 1fr;
  }

  .locust-hero {
    min-height: auto;
  }

  .locust-hero::before {
    background:
      linear-gradient(180deg, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 72%) 55%, rgb(0 0 0 / 58%) 100%),
      linear-gradient(90deg, rgb(0 0 0 / 64%), rgb(0 0 0 / 20%));
  }

  .locust-hero-copy {
    padding: 1.35rem 0 1.55rem;
  }

  .locust-command-panel {
    display: none;
  }

  .locust-kicker {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
  }

  .locust-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.05rem, 11vw, 3.25rem);
    line-height: 1.01;
  }

  .locust-lede {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .locust-hero-actions {
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .locust-hero-actions .button {
    min-height: 2.35rem;
    padding: 0.55rem 0.9rem;
  }

  .locust-signal-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .locust-signal-list li {
    padding: 0.35rem 0.42rem;
    font-size: 0.72rem;
    text-align: center;
  }

  .locust-operator-strip {
    margin-top: 0.75rem;
  }

  .about-image {
    aspect-ratio: 16 / 10;
  }

  .contact-hero-image {
    aspect-ratio: 16 / 10;
  }

  .about-copy-centered {
    text-align: left;
  }

  .contact-layout {
    text-align: center;
  }

  .contact-image {
    width: min(100%, 300px);
    justify-self: center;
  }

  .contact-intro {
    text-align: left;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .studio-main {
    width: min(100% - 1rem, 1280px);
  }

  .studio-entry,
  .studio-ledger,
  .studio-brand-grid,
  .studio-tree-branches,
  .studio-workspace-layout,
  .studio-doc-grid,
  .director-cv-hero,
  .director-cv-grid,
  .director-cv-split,
  .director-cv-portfolio,
  .director-cv-contact,
  .director-cv-contact-grid,
  .developer-position-grid,
  .developer-contact-layout,
  .developer-qr-grid {
    grid-template-columns: 1fr;
  }

  .director-cv-header-actions {
    justify-self: center;
    justify-content: center;
  }

  .director-cv-identity {
    min-height: auto;
  }

  .director-cv-actions a {
    justify-content: center;
    width: 100%;
  }

  .director-cv-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .director-cv-signature {
    width: min(100%, 180px);
  }

  .developer-profile-photo {
    width: min(100%, 280px);
    justify-self: center;
  }

  .developer-contact-links strong,
  .director-cv-facts dd {
    overflow-wrap: anywhere;
  }

  .developer-qr-card {
    padding: 0.85rem;
  }

  .developer-qr-image {
    width: min(100%, 10rem);
  }

  .studio-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-stat:nth-child(2) {
    border-right: 0;
  }

  .studio-stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .studio-ledger-item {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .studio-ledger-item:last-child {
    border-bottom: 0;
  }

  .studio-brand-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .studio-command-topline,
  .studio-section-heading,
  .studio-thread-header {
    align-items: start;
  }

  .studio-thread-header,
  .studio-note-tools {
    flex-direction: column;
  }

  .studio-thread-action,
  .studio-post-button {
    width: 100%;
  }

  .studio-thread-metrics {
    grid-template-columns: 1fr;
  }

  .studio-thread-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
  }

  .studio-thread-metrics div:last-child {
    border-bottom: 0;
  }

  .studio-note {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.6rem;
  }

  .studio-note-avatar {
    width: 2rem;
    height: 2rem;
  }

  .studio-image-preview-grid {
    grid-template-columns: 1fr;
  }

  .studio-header-hero img {
    height: clamp(11rem, 52vw, 15rem);
  }

  .studio-upload-dropzone,
  .studio-note-tools {
    align-items: stretch;
  }

  .studio-upload-dropzone {
    flex-direction: column;
  }

  .studio-upload-dropzone > div {
    width: 100%;
  }

  .studio-note-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-search-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-note-actions {
    width: 100%;
    margin-left: 0;
  }

  .studio-note-actions button,
  .studio-search-filters button {
    justify-content: center;
  }

  .studio-note-tags button {
    justify-content: center;
  }

  .studio-upload-button {
    align-self: stretch;
    width: 100%;
  }

  .language-switcher {
    display: none;
  }
}

@media (max-width: 768px) {
  body[data-studio-theme="light"] .studio-stat:nth-child(-n + 2),
  body[data-studio-theme="light"] .studio-ledger-item,
  body[data-studio-theme="light"] .studio-thread-metrics div {
    border-bottom-color: var(--studio-panel-line);
  }
}

@media (max-width: 520px) {
  .director-cv-header-actions {
    width: 100%;
  }

  .developer-translate-button,
  .director-cv-download {
    width: 100%;
    justify-content: center;
  }

  .studio-theme-control {
    justify-content: center;
    width: 100%;
  }

  .developer-profile-photo {
    width: min(100%, 20rem);
  }

  .developer-contact-links a,
  .developer-qr-card {
    padding: 0.8rem;
  }

  .developer-contact-links strong {
    font-size: clamp(0.82rem, 4.4vw, 0.95rem);
    line-height: 1.35;
  }

  .developer-qr-image {
    width: min(100%, 9.5rem);
  }
}

@media print {
  body {
    color: #000000;
    background: #ffffff;
  }

  .site-header,
  .site-footer,
  .studio-top-nav,
  .studio-theme-control,
  .language-switcher,
  .terms-buttons,
  .developer-vanta-bg {
    display: none;
  }

  .panel {
    color: #000000;
    background: #ffffff;
    border: 0;
    box-shadow: none;
  }

  .director-cv-hero,
  .director-cv-grid,
  .director-cv-split,
  .director-cv-contact,
  .developer-position-grid,
  .developer-contact-layout,
  .developer-qr-grid {
    grid-template-columns: 1fr;
  }

  .director-cv-identity,
  .director-cv-snapshot,
  .director-cv-card,
  .director-cv-section,
  .director-cv-portfolio article,
  .director-cv-contact-grid span,
  .developer-position-grid article,
  .developer-contact-links a,
  .developer-qr-card {
    color: #000000;
    background: #ffffff;
    border-color: #bbbbbb;
    box-shadow: none;
  }

  .terms-content a {
    color: #000000;
    text-decoration: underline;
  }
}
