:root {
  --bg: #05080d;
  --bg-2: #090f17;
  --panel: #121922;
  --panel-2: #171f2a;
  --text: #f7f8fb;
  --muted: #9aa7b7;
  --line: rgba(255, 255, 255, 0.1);
  --green: #4adea0;
  --red: #ff2c55;
  --yellow: #ffed25;
  --blue: #4ea7ff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(74, 222, 160, 0.08), transparent 32%),
    linear-gradient(225deg, rgba(255, 44, 85, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 50;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--yellow);
  color: #111;
  padding: 10px 14px;
  transition: transform 180ms ease;
}

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

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: 84px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 0;
  background: var(--green);
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: #07100d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: rgba(247, 248, 251, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  color: rgba(247, 248, 251, 0.82);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  display: grid;
  width: 250px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 25, 34, 0.98);
  box-shadow: var(--shadow);
  padding: 10px;
}

.nav-dropdown-panel a {
  display: block;
  border-radius: 6px;
  padding: 11px 12px;
}

.nav-dropdown-panel a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--green);
}

.nav-links a::after,
.nav-dropdown summary::after {
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after,
.nav-dropdown[open] summary::after,
.nav-dropdown summary[aria-current="page"]::after {
  width: 100%;
}

.auth-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-menu {
  position: relative;
}

.auth-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c121b;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 10px 13px;
  text-transform: uppercase;
}

.auth-menu summary::-webkit-details-marker {
  display: none;
}

.auth-menu-register summary {
  border-color: transparent;
  background: var(--red);
  color: white;
}

.auth-box {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(330px, calc(100vw - 32px));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 25, 34, 0.98);
  box-shadow: var(--shadow);
  padding: 18px;
}

.auth-box h2 {
  margin: 0;
  font-size: 1.05rem;
}

.auth-box label,
.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.auth-box input,
.auth-box select,
.contact-form input,
.contact-form textarea,
.contact-form select,
.ticket-reply-form textarea,
.ticket-status-form select,
.product-form select,
.mini-panel input,
.mini-panel textarea,
.mini-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a1017;
  color: var(--text);
  padding: 12px 13px;
}

.auth-box button,
.contact-form button,
.product-form button,
.mini-panel button {
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #06100c;
  font-weight: 950;
  padding: 12px 15px;
}

.auth-box a {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 760;
}

.account-box {
  gap: 10px;
}

.account-box a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a1017;
  color: var(--text);
  padding: 10px 12px;
}

.account-box .admin-link {
  border-color: rgba(255, 237, 37, 0.36);
  color: var(--yellow);
}

.flash-area {
  display: grid;
  gap: 10px;
  padding: 18px 0 0;
}

.flash {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1620;
  color: var(--text);
  font-weight: 800;
  padding: 12px 14px;
}

.flash-success {
  border-color: rgba(74, 222, 160, 0.42);
}

.flash-error {
  border-color: rgba(255, 44, 85, 0.5);
}

.flash-warning {
  border-color: rgba(255, 237, 37, 0.5);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 710px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px),
    linear-gradient(30deg, transparent 0 58%, rgba(74, 222, 160, 0.08) 58% 72%, transparent 72%),
    var(--bg-2);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.25));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 710px;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--green);
}

.hero-lead {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 950;
  padding: 12px 18px;
}

.button-primary {
  background: var(--green);
  color: #06100c;
}

.button-ghost,
.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.full-button {
  width: 100%;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.social-row a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111821;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li {
  min-width: 120px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 1.8rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.vertical-logo {
  position: absolute;
  left: 14px;
  top: 22px;
  z-index: 2;
  margin: 0;
  color: white;
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-orientation: mixed;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
}

.portrait-frame {
  position: absolute;
  right: 0;
  top: 68px;
  width: min(430px, 85%);
  aspect-ratio: 1;
  padding: 9px;
  background: var(--green);
  clip-path: polygon(50% 0, 92% 24%, 92% 76%, 50% 100%, 8% 76%, 8% 24%);
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.46));
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0, 91% 24%, 91% 76%, 50% 100%, 9% 76%, 9% 24%);
}

.lander-frame {
  top: 62px;
  width: min(620px, 100%);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(78, 167, 255, 0.35);
  border-radius: 8px;
  background: #0a1017;
  clip-path: none;
  overflow: hidden;
  padding: 0;
}

.lander-frame img {
  object-fit: cover;
  clip-path: none;
}

.quick-menu {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  min-width: 250px;
  gap: 3px;
  background: var(--yellow);
  color: #151515;
  padding: 30px 28px;
  text-transform: uppercase;
}

.quick-menu a {
  width: max-content;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
}

.section {
  padding: 94px 0;
  background: var(--bg);
}

.intro-strip {
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: #0a0f16;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
}

.strip-grid p {
  margin: 0;
  color: rgba(247, 248, 251, 0.7);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 780px;
  text-align: center;
}

.section-heading h2,
.contact-grid h2,
.store-hero h1,
.checkout-grid h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-grid p,
.store-hero p,
.checkout-grid p {
  color: var(--muted);
  font-size: 1.02rem;
}

.align-left {
  text-align: left;
}

.split-section,
.resume-section,
.checkout-section {
  background: #080d14;
}

.split-grid,
.contact-grid,
.checkout-grid,
.store-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card,
.project-card,
.product-card,
.resume-grid article,
.contact-form,
.store-summary,
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
}

.service-card {
  min-height: 230px;
  padding: 24px;
}

.service-card span,
.resume-grid article > p:first-child {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card h3,
.project-card h3,
.product-card h3,
.resume-grid h3 {
  margin: 18px 0 9px;
  font-size: 1.38rem;
}

.service-card p,
.project-card p,
.product-card p,
.resume-grid p {
  margin: 0;
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  margin-top: 38px;
}

.project-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.card-link {
  width: max-content;
  margin-top: 18px;
  border-radius: 6px;
  background: var(--yellow);
  color: #111;
  font-size: 0.82rem;
  font-weight: 950;
  padding: 9px 12px;
}

.project-card-large {
  grid-row: span 2;
  min-height: 616px;
  background:
    linear-gradient(145deg, rgba(5, 8, 13, 0.92), rgba(5, 8, 13, 0.48)),
    url("../assets/home-lander.png") center / cover;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.resume-grid article {
  padding: 24px;
}

.resume-grid span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.8rem;
  font-weight: 900;
}

.store-preview {
  background: #05080d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.product-card {
  min-height: 300px;
  padding: 24px;
}

.store-product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-featured {
  border-color: rgba(74, 222, 160, 0.42);
  background:
    linear-gradient(145deg, rgba(74, 222, 160, 0.16), rgba(255, 44, 85, 0.09)),
    var(--panel-2);
}

.product-type {
  margin: 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
}

.product-meta strong {
  font-size: 1.28rem;
}

.product-meta a {
  border-radius: 6px;
  background: var(--yellow);
  color: #111;
  font-weight: 950;
  padding: 9px 12px;
}

.contact-section {
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(255, 237, 37, 0.08) 58% 73%, transparent 73%),
    #080d14;
}

.contact-grid {
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #070b11;
  color: var(--text);
  padding: 24px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-grid p {
  margin: 0;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-grid a {
  color: var(--muted);
  font-weight: 800;
}

.store-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 82px;
  background:
    linear-gradient(35deg, rgba(74, 222, 160, 0.12) 0 34%, transparent 34%),
    linear-gradient(125deg, transparent 0 58%, rgba(255, 237, 37, 0.12) 58% 76%, transparent 76%),
    #080d14;
}

.store-summary,
.checkout-panel {
  padding: 26px;
}

.store-summary p,
.checkout-panel p {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-summary h2 {
  margin: 0 0 16px;
  font-size: 2.2rem;
  line-height: 1;
}

.store-summary span {
  display: block;
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: 2.7rem;
  font-weight: 950;
}

.checkout-panel {
  display: grid;
  gap: 16px;
}

.checkout-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.checkout-panel hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 102px 0 72px;
  background:
    linear-gradient(120deg, rgba(74, 222, 160, 0.12), transparent 32%),
    linear-gradient(30deg, transparent 0 60%, rgba(255, 237, 37, 0.08) 60% 76%, transparent 76%),
    #080d14;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-page-hero {
  min-height: 540px;
  display: grid;
  align-items: center;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: 32px;
  align-items: center;
}

.project-hero-card {
  border: 1px solid rgba(78, 167, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(78, 167, 255, 0.14), rgba(74, 222, 160, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
}

.project-hero-card span {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-hero-card h2 {
  margin: 14px 0 12px;
  font-size: 2.35rem;
  line-height: 0.98;
}

.project-hero-card p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-pills,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.category-pills a,
.admin-tabs a {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 950;
  padding: 10px 13px;
  text-transform: uppercase;
}

.category-pills a.active,
.admin-tabs a:hover {
  border-color: transparent;
  background: var(--yellow);
  color: #111;
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 18px;
  object-fit: cover;
}

.product-image-empty {
  background:
    linear-gradient(135deg, rgba(74, 222, 160, 0.24), transparent 45%),
    linear-gradient(45deg, rgba(255, 44, 85, 0.18), transparent 50%),
    #0a1017;
}

.product-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.product-form label,
.mini-panel label,
.ticket-reply-form label,
.ticket-status-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

.product-form .product-meta {
  margin-top: 0;
}

.product-form .product-meta button,
.product-actions button {
  min-height: 42px;
}

.product-actions {
  display: grid;
}

.link-button {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0a1017;
  color: var(--text);
  font-weight: 950;
  padding: 10px 12px;
}

.auth-page-grid,
.dashboard-grid,
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: start;
}

.panel-list {
  display: grid;
  gap: 16px;
}

.ticket-card {
  gap: 14px;
}

.ticket-card .button {
  width: max-content;
}

.ticket-thread {
  align-content: start;
}

.message-card {
  border-color: rgba(74, 222, 160, 0.22);
}

.message-admin {
  border-color: rgba(255, 237, 37, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 237, 37, 0.09), rgba(78, 167, 255, 0.06)),
    var(--panel);
}

.message-body {
  margin-top: 14px;
  color: var(--text);
  white-space: normal;
}

.ticket-reply-form,
.ticket-status-form {
  display: grid;
  gap: 14px;
}

.compact-list {
  align-content: start;
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
    var(--panel);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
  padding: 22px;
}

.mini-panel p {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mini-panel h3,
.contact-form h2,
.contact-form h3 {
  margin: 0 0 14px;
}

.mini-panel span,
.muted {
  display: block;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.panel-heading-row,
.purchase-lines div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.purchase-lines {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.purchase-lines small {
  color: var(--muted);
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

.admin-card {
  display: grid;
  gap: 12px;
}

.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wide-field {
  grid-column: 1 / -1;
}

.check-row {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

.check-row input {
  width: auto;
}

.danger-button {
  border: 1px solid rgba(255, 44, 85, 0.45) !important;
  background: rgba(255, 44, 85, 0.14) !important;
  color: #ffd8df !important;
}

.admin-subsection {
  margin-top: 28px;
}

.extension-toggle {
  position: fixed;
  opacity: 0;
  pointer-events: none;
}

.extension-button {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 35;
  display: flex;
  width: 46px;
  height: 56px;
  transform: translateY(-50%);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 0;
  background: var(--green);
}

.extension-button span {
  width: 18px;
  height: 2px;
  background: #07100d;
}

.extension-drawer {
  position: fixed;
  left: 0;
  top: 64px;
  z-index: 34;
  display: grid;
  width: min(360px, calc(100vw - 48px));
  max-height: calc(100vh - 64px);
  gap: 16px;
  overflow-y: auto;
  transform: translateX(-100%);
  border-right: 1px solid var(--line);
  background: rgba(8, 13, 20, 0.98);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: transform 180ms ease;
}

.extension-toggle:checked ~ .extension-drawer {
  transform: translateX(0);
}

.extension-drawer h2 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
}

.drawer-list {
  display: grid;
  gap: 12px;
}

.drawer-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101822;
  padding: 14px;
}

.drawer-list span {
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drawer-list h3 {
  margin: 8px 0;
}

.drawer-list p {
  color: var(--muted);
}

.drawer-list a {
  color: var(--yellow);
  font-weight: 950;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links,
  .auth-cluster {
    display: none;
    width: 100%;
  }

  .nav-toggle:checked ~ .nav-links,
  .nav-toggle:checked ~ .auth-cluster {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
  }

  .nav-links a,
  .nav-dropdown summary {
    padding: 12px 0;
  }

  .nav-dropdown-panel {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
  }

  .auth-cluster {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-box {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .checkout-grid,
  .store-hero-grid,
  .project-hero-grid,
  .auth-page-grid,
  .dashboard-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-stage {
    min-height: 560px;
  }

  .project-grid,
  .resume-grid,
  .service-list,
  .product-grid,
  .store-product-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    min-height: 420px;
  }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cart-line,
  .admin-card-grid {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .hero-grid {
    padding: 48px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 4.4rem);
  }

  .section {
    padding: 66px 0;
  }

  .hero-stage {
    min-height: 500px;
  }

  .portrait-frame {
    width: 94%;
    top: 40px;
  }

  .quick-menu {
    right: auto;
    left: 0;
    min-width: min(250px, 100%);
  }

  .hero-metrics {
    gap: 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .extension-button {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .page-hero {
    padding: 74px 0 54px;
  }
}
