/* Military-Modern Design System */
:root {
  color-scheme: dark;
  --bg: #0a0c0b;
  --bg-elevated: #121514;
  --fg: #f5f5f4;
  --sub: rgba(245, 245, 244, 0.7);
  --line: rgba(245, 245, 244, 0.12);
  --accent: #1a7f7f;
  --accent-light: #2ca3a3;
  --accent-glow: rgba(26, 127, 127, 0.25);
  --coyote: #9f8170;
  --coyote-light: #bfa692;
  --red: #8b3a3a;
  --red-light: #b34d4d;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
}

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

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

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 11, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.chip {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(26, 127, 127, 0.15);
  border: 1px solid var(--line);
}

.chip svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-light);
}

nav .links {
  display: flex;
  gap: 1.5rem;
  color: var(--sub);
  font-weight: 500;
}

nav .links a:hover {
  color: var(--fg);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn.primary {
  background: var(--accent);
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.btn.primary:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn.small {
  font-size: 0.85rem;
  padding: 0.5rem 0.9rem;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Grid */
.grid {
  display: grid;
  gap: 1.25rem;
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media (max-width: 860px) {
  .cols-3, .cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--fg);
}

/* Typography */
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--coyote);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.h1 {
  font-size: 2.6rem;
  margin: 0.5rem 0 0;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.sub {
  color: var(--sub);
  text-align: center;
  margin: 0.5rem auto 2.5rem;
  max-width: 48rem;
}

.small {
  font-size: 0.9rem;
  color: var(--sub);
}

/* Badge */
.badge {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.badge svg {
  width: 16px;
  height: 16px;
  stroke: var(--coyote);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero .blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: 0.15;
}

.blob.one {
  left: -120px;
  top: -120px;
  width: 20rem;
  height: 20rem;
  background: var(--accent);
}

.blob.two {
  right: -120px;
  bottom: -120px;
  width: 20rem;
  height: 20rem;
  background: var(--coyote);
}

.hero-banner {
  margin-top: 1rem;
}

.hero-banner img {
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.accent-text {
  display: block;
  color: var(--accent-light);
}

/* Gallery */
.gallery-tile {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0d1514, #0a0c0b);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tile .overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  transition: 0.2s;
}

.gallery-tile:hover .overlay {
  background: rgba(0, 0, 0, 0.4);
  opacity: 1;
}

/* Forms */
input.input, textarea.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input.input:focus, textarea.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

input.input::placeholder, textarea.input::placeholder {
  color: var(--sub);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

/* Toast */
#thanks-toast {
  display: none;
}

#thanks:target ~ #thanks-toast {
  display: block;
}

.toast {
  position: fixed;
  inset: auto 16px 16px 16px;
  margin: 0 auto;
  max-width: 640px;
  background: rgba(18, 21, 20, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  z-index: 50;
  backdrop-filter: blur(8px);
}

/* Logo */
.logo {
  height: 28px;
  width: auto;
  border-radius: 6px;
}

@media (min-width: 861px) {
  .logo {
    height: 32px;
  }
}

/* Contact Grid */
.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

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

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    grid-template-columns: 1fr;
  }
}

/* Kit Card Styling */
.kit-card .gallery-tile {
  margin-bottom: 0.75rem;
}

.kit-card h3 {
  margin: 0 0 0.25rem;
}

.kit-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

/* Form Layout */
.form-row {
  grid-column: 1 / -1;
}

.form-footer {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

/* Active Nav Link */
nav .links a.active {
  color: var(--fg);
}

/* Page Hero (subpages) */
.page-hero {
  padding: 4rem 0 2rem;
}

.page-hero .h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
}

.cta-section .sub {
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Services Page */
.service-grid {
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.2s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--sub);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Work Page */
.gallery-grid {
  gap: 1rem;
}

.client-types {
  gap: 1rem;
  margin-top: 1rem;
}

.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .cols-4 {
    grid-template-columns: 1fr;
  }
}

.client-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}

.client-type svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-light);
}

.client-type span {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Kits Page */
.kit-includes {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.kit-includes li {
  font-size: 0.85rem;
  color: var(--sub);
  padding: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.kit-includes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.kit-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.kit-features {
  gap: 1rem;
  margin-top: 1rem;
}

.kit-feature {
  text-align: center;
  padding: 1.5rem 1rem;
}

.kit-feature svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-light);
  margin: 0 auto 0.75rem;
}

.kit-feature h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.contact-form .form-footer {
  margin-top: 0.5rem;
}

select.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
}

select.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.contact-info-wrapper h2 {
  margin-bottom: 1.5rem;
}

.contact-method {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-light);
}

.contact-method h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.contact-link {
  color: var(--fg);
  font-weight: 500;
}

.contact-link:hover {
  color: var(--accent-light);
}

.contact-note {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(159, 129, 112, 0.1);
  border: 1px solid rgba(159, 129, 112, 0.2);
  border-radius: 8px;
}

.contact-note h4 {
  margin: 0 0 0.25rem;
  color: var(--coyote-light);
}

/* =====================================================
   HOMEPAGE REDESIGN STYLES
   ===================================================== */

/* Screen reader only */
.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;
}

/* Hero Section - Redesigned */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--sub);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Capability Stack */
.capability-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sub);
}

.capability-stack span:not(.divider) {
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.capability-stack .divider {
  width: 4px;
  height: 4px;
  background: var(--coyote);
  border-radius: 50%;
}

@media (max-width: 600px) {
  .capability-stack .divider {
    display: none;
  }
  .capability-stack {
    gap: 0.5rem;
  }
}

/* Segmentation Section */
.segment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .segment-grid {
    grid-template-columns: 1fr;
  }
}

.segment-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: all 0.2s ease;
}

.segment-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.segment-card.featured {
  border-color: var(--accent);
  background: rgba(26, 127, 127, 0.08);
}

.segment-card.featured:hover {
  background: rgba(26, 127, 127, 0.12);
}

.segment-badge {
  position: absolute;
  top: -10px;
  right: 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.segment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.segment-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  border-radius: 10px;
  flex-shrink: 0;
}

.segment-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

.segment-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.segment-desc {
  color: var(--sub);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.segment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.segment-list li {
  font-size: 0.9rem;
  color: var(--sub);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.segment-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Services Grid (Homepage) */
.services-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.service-tile:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.service-tile-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.service-tile-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-light);
}

.service-tile h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.service-tile p {
  font-size: 0.85rem;
  color: var(--sub);
  margin: 0;
  line-height: 1.5;
}

/* Metrics Section */
.metrics-section {
  padding: 4rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--sub);
}

/* Client Logos */
.client-logos {
  text-align: center;
}

.logos-label {
  font-size: 0.8rem;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
}

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

.logo-placeholder {
  width: 100px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: var(--sub);
}

/* Case Studies */
.cases-grid {
  gap: 1.5rem;
}

.case-card {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.case-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.case-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0d1514, #0a0c0b);
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.case-content {
  padding: 1.25rem;
}

.case-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--coyote);
  margin-bottom: 0.5rem;
}

.case-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--fg);
}

.case-card p {
  font-size: 0.9rem;
  color: var(--sub);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
}

.case-link svg {
  width: 14px;
  height: 14px;
}

/* Highlight Section (Fulfillment Portal) */
.highlight-section {
  background: linear-gradient(135deg, rgba(26, 127, 127, 0.08) 0%, transparent 50%);
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.highlight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coyote);
  margin-bottom: 0.75rem;
}

.highlight-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.highlight-desc {
  font-size: 1.05rem;
  color: var(--sub);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.highlight-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.highlight-features li {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: var(--sub);
}

.highlight-features li svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-features strong {
  color: var(--fg);
}

.highlight-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Portal Preview Mockup */
.highlight-visual {
  display: flex;
  justify-content: center;
}

.portal-preview {
  width: 100%;
  max-width: 400px;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.portal-dots {
  display: flex;
  gap: 6px;
}

.portal-dots span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.portal-url {
  font-size: 0.75rem;
  color: var(--sub);
  font-family: monospace;
}

.portal-body {
  padding: 1rem;
}

.portal-nav {
  height: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  margin-bottom: 1rem;
}

.portal-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.portal-product {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(26, 127, 127, 0.15), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* Process Section - Redesigned */
.process-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .process-grid {
    flex-direction: column;
    align-items: center;
  }
}

.process-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 0 1rem;
}

.process-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--sub);
  margin: 0;
  line-height: 1.5;
}

.process-connector {
  width: 60px;
  height: 2px;
  background: var(--line);
  margin-top: 2.5rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .process-connector {
    width: 2px;
    height: 40px;
    margin: 1rem 0;
  }
}

/* Final CTA Section */
.cta-final {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(26, 127, 127, 0.08) 100%);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--sub);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Quick Quote Teaser */
.teaser-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}

.teaser-card h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.teaser-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.teaser-card .btn {
  width: 100%;
}

.teaser-note {
  font-size: 0.8rem;
  color: var(--sub);
  margin: 0.75rem 0 0;
  text-align: center;
}

/* =====================================================
   WORK PAGE STYLES
   ===================================================== */

/* Client Logo Strip */
.client-strip-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.strip-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.5rem;
}

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

.client-logo-item {
  flex-shrink: 0;
}

.client-logo-placeholder {
  width: 100px;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Case Study Cards */
.case-study {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.case-study-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coyote);
  background: rgba(159, 129, 112, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.case-study-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.case-study-client {
  font-size: 0.95rem;
  color: var(--sub);
  margin: 0;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

.case-study-detail {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  padding: 1.25rem;
}

.case-study-detail.full-width {
  grid-column: 1 / -1;
}

.case-study-detail h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin: 0 0 0.75rem;
}

.case-study-detail p {
  font-size: 0.95rem;
  color: var(--sub);
  margin: 0;
  line-height: 1.6;
}

.case-study-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-detail ul li {
  font-size: 0.9rem;
  color: var(--sub);
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.case-study-detail ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Case Study Outcomes */
.case-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .case-outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .case-outcomes {
    grid-template-columns: 1fr;
  }
}

.case-outcome {
  text-align: center;
  padding: 1rem;
  background: rgba(26, 127, 127, 0.08);
  border-radius: 8px;
}

.outcome-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-light);
  letter-spacing: -0.02em;
}

.outcome-label {
  font-size: 0.8rem;
  color: var(--sub);
}

/* Gallery Grid with Modal */
.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .gallery-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0d1514, #0a0c0b);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: inherit;
  transition: all 0.2s ease;
}

.gallery-item:hover,
.gallery-item:focus {
  border-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}

.gallery-item:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.gallery-item:hover img {
  opacity: 1;
}

.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.modal-close:hover,
.modal-close:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.modal-close svg {
  width: 24px;
  height: 24px;
  stroke: var(--fg);
}

.modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.modal-nav:hover,
.modal-nav:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.modal-nav svg {
  width: 24px;
  height: 24px;
  stroke: var(--fg);
}

.modal-prev {
  left: 1rem;
}

.modal-next {
  right: 1rem;
}

.modal-figure {
  margin: 0;
  text-align: center;
}

.modal-figure img {
  max-width: 80vw;
  max-height: 75vh;
  border-radius: 8px;
  background: var(--bg-elevated);
}

.modal-caption {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
}

@media (max-width: 768px) {
  .modal-nav {
    width: 40px;
    height: 40px;
  }

  .modal-prev {
    left: 0.5rem;
  }

  .modal-next {
    right: 0.5rem;
  }

  .modal-figure img {
    max-width: 95vw;
  }
}

/* =====================================================
   CONTACT PAGE - FILE UPLOAD & TOAST
   ===================================================== */

/* Required/Optional labels */
.required {
  color: var(--accent-light);
}

.optional {
  color: var(--sub);
  font-weight: 400;
}

/* File Upload */
.file-upload-wrapper {
  position: relative;
}

.file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 2px dashed var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.file-upload-label svg {
  width: 32px;
  height: 32px;
  stroke: var(--sub);
  transition: stroke 0.2s ease;
}

.file-upload-label span {
  color: var(--sub);
}

.file-upload-label .small {
  color: var(--sub);
  opacity: 0.7;
}

.file-upload-wrapper:hover .file-upload-label,
.file-upload-wrapper.drag-over .file-upload-label {
  border-color: var(--accent);
  background: rgba(26, 127, 127, 0.05);
}

.file-upload-wrapper:hover .file-upload-label svg,
.file-upload-wrapper.drag-over .file-upload-label svg {
  stroke: var(--accent-light);
}

/* File List */
.file-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-light);
  flex-shrink: 0;
}

.file-name {
  flex: 1;
  font-size: 0.875rem;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  font-size: 0.75rem;
  color: var(--sub);
  flex-shrink: 0;
}

.file-remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.file-remove:hover {
  background: rgba(255, 255, 255, 0.1);
}

.file-remove svg {
  width: 16px;
  height: 16px;
  stroke: var(--sub);
}

.file-remove:hover svg {
  stroke: var(--fg);
}

/* Urgent Note */
.urgent-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--sub);
}

.urgent-note svg {
  width: 16px;
  height: 16px;
  stroke: var(--coyote);
  flex-shrink: 0;
}

.urgent-note a {
  color: var(--coyote-light);
  font-weight: 600;
}

.urgent-note a:hover {
  color: var(--fg);
}

/* Submit Button Loading State */
#submit-btn {
  min-width: 140px;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.spinner {
  width: 18px;
  height: 18px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 320px;
}

.toast-icon {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-content strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--fg);
}

.toast-content .small {
  color: var(--sub);
}

@media (max-width: 600px) {
  .toast {
    top: auto;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }

  .toast-content {
    max-width: none;
  }
}

/* Thanks Banner (shown after Netlify form submission) */
.thanks-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--accent);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.thanks-banner.show {
  transform: translateY(0);
}

.thanks-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  color: var(--fg);
}

.thanks-content svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.thanks-content strong {
  margin-right: 0.5rem;
}

/* File note */
.file-note {
  margin-top: 0.5rem;
  color: var(--sub);
  font-style: italic;
}

/* =====================================================
   PRODUCTS PAGE - CATEGORY GROUPS
   ===================================================== */

.category-group {
  margin-bottom: 3rem;
}

.category-group:last-child {
  margin-bottom: 0;
}

.category-group-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coyote);
  margin: 0 0 1.25rem;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 2px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-group-title::before {
  content: "";
  width: 3px;
  height: 1em;
  background: var(--coyote);
  border-radius: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.625rem;
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.category-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

.category-card:hover {
  background: rgba(26, 127, 127, 0.08);
  border-color: var(--line);
  border-left-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(26, 127, 127, 0.15);
}

.category-card:active {
  transform: translateX(2px);
  box-shadow: 0 1px 6px rgba(26, 127, 127, 0.1);
}

.category-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.category-card:hover .category-title {
  color: var(--accent-light);
}

.category-label {
  font-size: 0.8rem;
  color: var(--sub);
  white-space: nowrap;
}

.category-label::before {
  content: ": ";
  opacity: 0.5;
}

.category-arrow {
  width: 16px;
  height: 16px;
  stroke: var(--sub);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: translateX(0);
  stroke: var(--accent-light);
}

/* Helper text */
.helper-text {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--sub);
  opacity: 0.8;
}

/* Category card expanded structure */
.category-card-content {
  flex: 1;
  min-width: 0;
}

.category-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.category-blurb {
  font-size: 0.8rem;
  color: var(--sub);
  margin: 0 0 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.category-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.45rem;
  background: rgba(159, 129, 112, 0.15);
  color: var(--coyote-light);
  border-radius: 4px;
}

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.filter-search {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.filter-search svg {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--sub);
  pointer-events: none;
}

.filter-search input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.15s ease;
}

.filter-search input::placeholder {
  color: var(--sub);
}

.filter-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  padding: 0.45rem 0.875rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--sub);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.filter-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--fg);
}

.filter-count {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--sub);
}

@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-search {
    max-width: none;
  }

  .filter-count {
    margin-left: 0;
    text-align: center;
  }
}

/* No results state */
.no-results {
  text-align: center;
  padding: 0 1rem;
  color: var(--sub);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, max-height 0.25s ease, padding 0.25s ease;
}

.no-results.visible {
  opacity: 1;
  max-height: 200px;
  padding: 3rem 1rem;
  pointer-events: auto;
}

.no-results p {
  margin: 0 0 1rem;
}

/* =====================================================
   CATEGORY PAGE
   ===================================================== */

.back-link {
  color: var(--sub);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}

.back-link:hover {
  color: var(--accent-light);
  background: rgba(26, 127, 127, 0.1);
  border-color: var(--accent);
  transform: translateX(-2px);
}

/* Gallery placeholders */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-placeholder {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--sub);
  opacity: 0.5;
}

.placeholder-inner svg {
  width: 32px;
  height: 32px;
}

/* Decoration methods */
.decoration-methods {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
}

.decoration-methods h3 {
  margin: 0 0 1.5rem;
  text-align: center;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .methods-grid {
    grid-template-columns: 1fr;
  }
}

.method-card {
  text-align: center;
}

.method-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  background: var(--accent-glow);
  border-radius: 12px;
}

.method-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
}

.method-card h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.method-card .small {
  color: var(--sub);
}

/* =====================================================
   CATEGORY SHOWROOM PAGE
   ===================================================== */

/* Hero enhancements */
.hero-blurb {
  font-size: 1.05rem;
  color: var(--sub);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  text-align: center;
  line-height: 1.6;
}

.hero-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-tag {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  background: rgba(159, 129, 112, 0.15);
  color: var(--coyote-light);
  border: 1px solid rgba(159, 129, 112, 0.25);
  border-radius: 4px;
}

/* Hero actions centered */
.page-hero .hero-actions {
  justify-content: center;
}

/* Category hero enhancements */
.category-hero {
  padding-bottom: 3rem;
}

.category-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.category-subtitle {
  margin-top: 0;
}

/* Tier badge */
.tier-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.875rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--sub);
}

.tier-badge.tier-value {
  background: rgba(139, 58, 58, 0.15);
  border-color: rgba(139, 58, 58, 0.3);
  color: var(--red-light);
}

.tier-badge.tier-core {
  background: rgba(26, 127, 127, 0.15);
  border-color: rgba(26, 127, 127, 0.3);
  color: var(--accent-light);
}

.tier-badge.tier-premium {
  background: rgba(159, 129, 112, 0.15);
  border-color: rgba(159, 129, 112, 0.3);
  color: var(--coyote-light);
}

/* Showroom grid */
.showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1000px) {
  .showroom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .showroom-grid {
    grid-template-columns: 1fr;
  }
}

.showroom-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
}

.showroom-card-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.showroom-card-title svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-light);
  flex-shrink: 0;
}

/* Popular Picks */
.picks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pick-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.625rem 0.875rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: background 0.15s ease;
}

.pick-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.pick-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.pick-note {
  font-size: 0.8rem;
  color: var(--sub);
}

/* Decoration Guide */
.decoration-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.decoration-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.decoration-list strong {
  font-size: 0.9rem;
  color: var(--fg);
}

.decoration-list span {
  font-size: 0.8rem;
  color: var(--sub);
  line-height: 1.4;
}

/* Operational Notes */
.ops-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ops-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ops-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.ops-label {
  font-size: 0.8rem;
  color: var(--sub);
  flex-shrink: 0;
}

.ops-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
  text-align: right;
}

/* Catalog Preview */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.catalog-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
}

.catalog-item-image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--line);
  border-radius: 6px;
}

.catalog-item-image svg {
  width: 24px;
  height: 24px;
  stroke: var(--sub);
  opacity: 0.5;
}

.catalog-item-content {
  flex: 1;
  min-width: 0;
}

.catalog-item-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.catalog-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
}

.catalog-item-sku {
  font-size: 0.7rem;
  color: var(--sub);
  font-family: monospace;
}

.catalog-item-desc {
  font-size: 0.8rem;
  color: var(--sub);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.catalog-item-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--sub);
}

.catalog-item-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.catalog-footer {
  text-align: center;
}
