/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--color-deep-space);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ash);
  background:
    radial-gradient(900px 420px at 85% -50px, rgba(255, 140, 66, 0.06), transparent 70%),
    linear-gradient(165deg, var(--color-deep-space) 0%, var(--color-faint) 65%, #071323 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-cream);
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 0.75em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.25rem + 2vw, 3.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 1rem + 0.4vw, 1.5rem);
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--color-data);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: rgba(255, 140, 66, 0.25);
  color: var(--color-cream);
}

/* ===== Variables ===== */
:root {
  --color-deep-space: #0A1A2F;
  --color-surface: #10233A;
  --color-vital: #FF8C42;
  --color-ash: #A7B7C8;
  --color-moss: #9AB87A;
  --color-terracotta: #D17A5A;
  --color-cream: #F2EFE8;
  --color-data: #4A9EFF;
  --color-faint: #1C3045;
  --font-heading: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-body: "JetBrains Mono", "Noto Sans Mono CJK SC", "Cascadia Mono", Consolas, monospace;
  --container-w: 1200px;
  --header-h: 72px;
  --rail-w: 260px;
}

@media (max-width: 1023px) {
  :root {
    --header-h: 60px;
  }
}

/* ===== Skip Link ===== */
.skip-link {
  position: fixed;
  top: 0;
  left: 0.75rem;
  z-index: 1000;
  background: var(--color-vital);
  color: var(--color-deep-space);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 6px 6px;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

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

/* ===== Scroll Progress ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 210;
  background: linear-gradient(90deg, var(--color-vital), var(--color-data));
  pointer-events: none;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(90deg, var(--color-deep-space) 0%, #0C1E35 60%, rgba(10, 26, 47, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 140, 66, 0.16);
}

.header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
  min-width: 0;
  padding: 0 1.25rem 0 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 30px;
  padding: 0 0.5rem;
  background: var(--color-vital);
  color: var(--color-deep-space);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-cream);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-slogan {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  color: var(--color-ash);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  padding-left: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--color-vital);
  color: var(--color-deep-space);
  border-color: var(--color-vital);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-vital);
  box-shadow: 0 0 0 1px var(--color-vital) inset;
}

.btn:focus-visible {
  outline-color: var(--color-vital);
}

.btn-icon {
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1;
}

/* ===== Header Nav Toggle ===== */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(167, 183, 200, 0.25);
  border-radius: 4px;
  color: var(--color-cream);
  background: rgba(10, 26, 47, 0.6);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--color-vital);
  color: var(--color-vital);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Site Nav ===== */
.site-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 220;
  width: min(320px, 86vw);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0.75rem 1.25rem;
  background:
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(74, 158, 255, 0.05) 22px 23px),
    linear-gradient(180deg, #0B1B30 0%, var(--color-faint) 100%);
  border-left: 1px solid rgba(255, 140, 66, 0.14);
  box-shadow: -14px 0 40px rgba(2, 8, 18, 0.45);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(102%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.28s;
}

.site-nav[data-open="true"] {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.nav-drawer-head {
  display: none;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 0.25rem 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-ash);
  border-left: 3px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.nav-link:hover {
  color: var(--color-cream);
  background: rgba(255, 140, 66, 0.08);
  border-left-color: var(--color-vital);
  padding-left: 1.25rem;
}

.nav-link[aria-current="page"] {
  color: var(--color-cream);
  background: linear-gradient(90deg, rgba(255, 140, 66, 0.16), transparent);
  border-left-color: var(--color-vital);
}

.nav-link::after {
  content: "→";
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-vital);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(0);
}

.nav-index {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--color-data);
  opacity: 0.7;
  min-width: 1.75em;
}

.nav-label {
  line-height: 1;
}

.nav-rail-foot {
  margin-top: auto;
  padding: 1.25rem 1rem 0.5rem;
}

.nav-rail-line {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--color-vital), transparent);
  margin-bottom: 0.625rem;
}

.nav-rail-caption {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ash);
  opacity: 0.65;
}

/* ===== Nav Backdrop ===== */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(5, 12, 22, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  pointer-events: none;
}

.nav-backdrop[data-open="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== Desktop Rail ===== */
@media (min-width: 1024px) {
  .site-header {
    padding-left: var(--rail-w);
  }

  .brand {
    width: var(--rail-w);
    flex-shrink: 0;
    padding: 0 1.25rem;
    border-right: 1px solid rgba(255, 140, 66, 0.16);
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    top: var(--header-h);
    right: auto;
    left: 0;
    width: var(--rail-w);
    padding: 1.5rem 0.5rem 1rem;
    background:
      repeating-linear-gradient(-45deg, transparent 0 22px, rgba(74, 158, 255, 0.05) 22px 23px),
      linear-gradient(180deg, var(--color-deep-space) 0%, var(--color-faint) 120%);
    border-left: none;
    border-right: 1px solid rgba(255, 140, 66, 0.14);
    box-shadow: none;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .site-nav[data-open="true"] {
    transform: none;
    transition: none;
  }

  .nav-backdrop {
    display: none;
  }

  #main-content {
    padding-left: var(--rail-w);
  }

  .site-footer {
    padding-left: var(--rail-w);
  }
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #091523 0%, #060E1B 100%);
  border-top: 1px solid rgba(255, 140, 66, 0.14);
  color: var(--color-ash);
}

.footer-watermark {
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(167, 183, 200, 0.08);
  pointer-events: none;
  user-select: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 0.4rem;
  background: var(--color-vital);
  color: var(--color-deep-space);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.8125rem;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 100%, 7px 100%);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-cream);
  letter-spacing: 0.04em;
}

.footer-about {
  margin-top: 0.875rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-ash);
  max-width: 34ch;
}

.footer-slogan {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-vital);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-slogan::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-vital);
}

.footer-check {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-data);
  border: 1px solid rgba(74, 158, 255, 0.35);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-check:hover {
  color: var(--color-vital);
  border-color: var(--color-vital);
  background: rgba(255, 140, 66, 0.06);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-cream);
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(167, 183, 200, 0.12);
  padding-bottom: 0.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.5rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ash);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
  content: "→";
  color: var(--color-vital);
  font-family: var(--font-body);
  font-size: 0.75rem;
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-cream);
  transform: translateX(2px);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(2px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-contact-list a {
  color: var(--color-data);
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: var(--color-vital);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  border-top: 1px solid rgba(167, 183, 200, 0.12);
  padding-top: 1.25rem;
  margin-top: 3rem;
  font-size: 0.75rem;
  color: rgba(167, 183, 200, 0.7);
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-ash);
  padding: 0;
  margin: 0 0 2rem;
}

.breadcrumb a {
  color: var(--color-data);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-vital);
}

.breadcrumb-sep {
  color: rgba(167, 183, 200, 0.5);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-cream);
}

/* ===== Prose ===== */
.prose {
  max-width: 72ch;
  margin-inline: auto;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-ash);
}

.prose a {
  color: var(--color-data);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.prose a:hover {
  color: var(--color-vital);
}

.prose ul,
.prose ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.375em;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose blockquote {
  margin: 0 0 1.25em;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--color-vital);
  background: rgba(255, 140, 66, 0.06);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.prose code {
  font-family: var(--font-body);
  font-size: 0.875em;
  background: rgba(74, 158, 255, 0.1);
  color: var(--color-data);
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

/* ===== Section Titles ===== */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 140, 66, 0.45);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  line-height: 1.2;
  color: var(--color-cream);
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 35, 58, 0.85), rgba(10, 26, 47, 0.92));
  border: 1px solid rgba(167, 183, 200, 0.15);
  border-radius: 4px;
  padding: 1.5rem;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: var(--color-vital);
  transition: width 0.25s ease;
}

.card:hover {
  border-color: rgba(255, 140, 66, 0.4);
  transform: translateY(-2px);
}

.card:hover::before {
  width: 4px;
}

/* ===== Chamfer Panel ===== */
.chamfer-panel {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 35, 58, 0.9), rgba(10, 26, 47, 0.95));
  border: 1px solid rgba(167, 183, 200, 0.16);
  padding: clamp(1.25rem, 3vw, 2rem);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* ===== Tags ===== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.tag-guide {
  color: var(--color-moss);
  border-color: rgba(154, 184, 122, 0.4);
  background: rgba(154, 184, 122, 0.1);
}

.tag-update {
  color: var(--color-terracotta);
  border-color: rgba(209, 122, 90, 0.4);
  background: rgba(209, 122, 90, 0.1);
}

.tag-warn {
  color: var(--color-terracotta);
  border-color: rgba(209, 122, 90, 0.55);
  background: rgba(209, 122, 90, 0.14);
}

/* ===== Image Frame ===== */
.img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-surface), var(--color-deep-space));
  border: 1px solid rgba(167, 183, 200, 0.2);
  border-radius: 4px;
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(74, 158, 255, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(74, 158, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.img-frame::after {
  content: "JBO // VISUAL";
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--color-vital);
  pointer-events: none;
}

.img-frame img,
.img-frame iframe,
.img-frame canvas,
.img-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Decorative ===== */
.track-line {
  display: block;
  height: 1px;
  border: none;
  background: linear-gradient(90deg, var(--color-vital), transparent);
  margin: 2rem 0;
}

.data-stream {
  position: relative;
  overflow: hidden;
  height: 120px;
  background:
    repeating-linear-gradient(90deg, transparent 0 30px, rgba(74, 158, 255, 0.08) 30px 31px),
    linear-gradient(135deg, var(--color-deep-space), var(--color-faint));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .header-inner {
    padding: 0 1rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .header-actions {
    padding-right: 0;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(167, 183, 200, 0.15);
    margin-bottom: 1rem;
  }

  .nav-drawer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    padding: 0 0.4rem;
    background: rgba(255, 140, 66, 0.14);
    color: var(--color-vital);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.8125rem;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
  }

  .nav-drawer-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--color-ash);
    line-height: 1.5;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .brand-slogan {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
}

@media (max-width: 639px) {
  .nav-cta {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
