:root {
  --bg: #000000;
  --bg-card: #101010;
  --bg-section: #080808;
  --line: rgba(0, 255, 200, 0.16);
  --text: #f7f1e6;
  --muted: #9ca0aa;
  --faint: #5c616a;
  --teal: #00a896;
  --teal-soft: #25c8c2;
  --gold: #f2a900;
  --orange: #e67e22;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --font-body: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
}

.meta--spaced {
  margin-top: 10px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(0, 145, 130, 0.07) 0%, transparent 32%),
    #000000;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--teal-soft);
  text-decoration: none;
}

a:hover {
  color: #00fff0;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding-inline: 28px;
}

/* Skip link — invisible until keyboard-focused (a11y) */
.skip-link {
  position: absolute;
  left: 0;
  top: -40px;
  background: var(--accent, #00a896);
  color: #000;
  padding: 8px 14px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* NAV */

nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 60px;
}

.nav-current {
  margin-left: auto;
  margin-right: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal-soft);
  padding: 6px 4px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Courier New", monospace;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-transform: uppercase;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.nav-brand span.accent {
  color: var(--teal-soft);
}

.nav-links {
  display: flex;
  gap: 10px;
  font-family: "Courier New", monospace;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: all 0.18s ease-out;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal-soft);
  border-color: rgba(0, 255, 200, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.28s ease-out;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  padding: 84px 0 60px;
  background: linear-gradient(
    to right,
    rgba(0, 152, 136, 0.17) 0%,
    rgba(0, 80, 70, 0.06) 44%,
    transparent 56%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-family: "Courier New", monospace;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: 1.04;
  text-transform: uppercase;
  margin-bottom: 24px;
}

span.gradient {
  background: linear-gradient(120deg, var(--teal-soft), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.28rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--faint);
  margin-bottom: 14px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 26px;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-badge-row > span:not(.dot) {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .hero-badge-row > span:not(.dot) {
    white-space: normal;
  }

  .btn-primary,
  .btn-ghost {
    white-space: normal;
  }
}

.hero-badge-row span.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-soft);
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-actions .btn-primary,
.hero-actions .btn-ghost {
  font-size: 1rem;
  padding: 16px 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #061210;
  background: linear-gradient(135deg, #00998c, #00c4b8);
  box-shadow: 0 8px 22px rgba(0, 155, 136, 0.28);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, color 0.16s ease-out;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 155, 136, 0.38);
  color: #061210;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, color 0.18s ease-out;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 200, 0.28);
  color: var(--text);
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 3px;
}

.hero-microgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.micro-card {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: var(--muted);
}

.micro-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--teal-soft);
  margin-bottom: 2px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.hero-logo-wrap img {
  width: 100%;
  max-width: clamp(400px, 42vw, 620px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(0, 168, 150, 0.18));
}

.hero-chip-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.hero-chip {
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--muted);
  transition: border-color 0.18s ease-out, transform 0.18s ease-out;
}

.hero-chip:hover {
  border-color: rgba(0, 255, 200, 0.3);
  transform: translateY(-3px);
}

.hero-chip span.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 255, 200, 0.12);
  color: var(--teal-soft);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.hero-chip strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 4px;
}

/* STATUS STRIP */

.status-strip {
  background: var(--bg-section);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 18px;
}

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

.status-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(242, 169, 0, 0.7);
  animation: pulse 2s infinite;
}

.status-label {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.status-value {
  font-size: 0.86rem;
  color: var(--text);
  font-weight: 600;
}

.status-item.ready .status-dot {
  background: #00ff7f;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.8);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.84);
  }
}

/* MASCOT BAND */

.mascot-band {
  padding: 56px 0;
  background: var(--bg-section);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.mascot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 26px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Courier New", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal-soft), transparent);
}

.mascot-text h2 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text);
}

.mascot-text h2::after {
  content: "_";
  color: var(--teal-soft);
  animation: pulse 1.4s steps(2) infinite;
}

.mascot-text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 12px;
  max-width: 58ch;
}

.mascot-note {
  font-size: 0.8rem;
  color: var(--faint);
  margin-top: 8px;
}

.mascot-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 10px;
}

.mascot-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(0, 255, 200, 0.28);
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0, 168, 150, 0.14), transparent 65%),
    rgba(8, 8, 8, 0.6);
  padding: 22px 22px 0;
  overflow: hidden;
}

.mascot-panel img {
  width: 100%;
  height: auto;
  display: block;
}

.mascot-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-inline: -22px;
  padding: 10px 14px;
  border-top: 1px solid rgba(0, 255, 200, 0.16);
  background: rgba(0, 0, 0, 0.55);
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--teal-soft);
  text-transform: uppercase;
}

.mascot-caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00ff7f;
  box-shadow: 0 0 8px rgba(0, 255, 127, 0.7);
  animation: pulse 2s infinite;
}

.mascot-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.mascot-tags span {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}

/* SECTIONS */

.section {
  padding: 55px 0;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-header .line {
  width: 72px;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--teal-soft), transparent);
}

.section-header p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 60ch;
}

/* SERVICES */

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

.service-card {
  position: relative;
  padding: 24px 20px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 255, 200, 0.18), transparent 60%),
    rgba(10, 10, 10, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  transform: translateY(0) scale(1);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -35% auto;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.18s ease-out;
}

.service-card:hover,
.service-card:focus {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(0, 255, 200, 0.42);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.8);
  background:
    radial-gradient(circle at 80% 0%, rgba(242, 169, 0, 0.24), transparent 68%),
    rgba(8, 8, 8, 1);
}

.service-card:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 3px;
}

.service-card:hover::before,
.service-card:focus::before {
  opacity: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.service-title {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.service-summary {
  font-size: 0.86rem;
  color: var(--muted);
}

.service-deep {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.18s ease-out,
    max-height 0.18s ease-out,
    margin-top 0.18s ease-out;
}

.service-card:hover .service-deep,
.service-card:focus .service-deep {
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
}

/* ABOUT */

.about-strip {
  background: var(--bg-section);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  padding: 52px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: center;
}

.about-grid h2 {
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-grid p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.about-grid a.read-more {
  display: inline-block;
  margin-top: 6px;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.about-stats {
  display: grid;
  gap: 12px;
}

.stat-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-card);
  border-left: 3px solid var(--teal-soft);
}

.stat-number {
  font-size: 1.3rem;
  color: var(--teal-soft);
  font-weight: 700;
}

.stat-label {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
}

/* QUOTE FORM */

.quote-section {
  padding: 55px 0 40px;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: flex-start;
}

.quote-copy p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.quote-copy ul {
  margin-top: 10px;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--faint);
}

.quote-copy li {
  margin-bottom: 5px;
}

.quote-form-wrap {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background: radial-gradient(circle at 0% 0%, rgba(0, 255, 200, 0.18), transparent 60%), #050505;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.quote-form-wrap h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.quote-form-wrap p.small {
  font-size: 0.8rem;
  color: var(--faint);
  margin-bottom: 12px;
}

form.quote-form {
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

label {
  display: block;
  font-size: 0.8rem;
  color: var(--faint);
  margin-bottom: 3px;
}

input,
select,
textarea {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 10, 0.96);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(0, 255, 200, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 255, 200, 0.4);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.quote-form button {
  margin-top: 6px;
  justify-self: flex-start;
}

.quote-success {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 255, 127, 0.1);
  border: 1px solid rgba(0, 255, 127, 0.4);
  font-size: 0.82rem;
  color: #00ff7f;
}

/* MAILING LIST */

/* FOOTER */

footer {
  padding: 36px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  transition: all 0.16s ease-out;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--teal-soft);
  border-color: rgba(0, 255, 200, 0.4);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 2px;
}

.footer-links a svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.16s ease-out;
}

.footer-links a:hover svg {
  opacity: 1;
}

.footer-icon-label {
  font-size: 0.68rem;
}

.footer-email {
  font-size: 0.75rem;
  color: var(--faint);
  margin-bottom: 6px;
}

.footer-copy {
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  color: var(--muted);
}

.footer-legal {
  font-family: "Courier New", monospace;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.footer-legal a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.16s ease-out;
}

.footer-legal a:hover {
  color: var(--teal-soft);
}

/* UTILITY NAV */

/* Quick links in the bar itself — burger stays for the full list */
.nav-quick {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

/* When the current-page label precedes the quick links, it carries the auto margin */
.nav-current + .nav-quick {
  margin-left: 0;
}

.nav-quick a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}

.nav-quick a:hover {
  color: var(--teal-soft);
}

.nav-quick a.active {
  color: var(--teal-soft);
  border-bottom-color: var(--teal-soft);
}

/* Instant Quote quick link — the funnel CTA, styled as a pill */
.nav-quick a.nav-cta {
  color: #061210;
  background: linear-gradient(135deg, #00998c, #00c4b8);
  border-radius: 999px;
  padding: 7px 16px;
  border-bottom: none;
  font-weight: 700;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.nav-quick a.nav-cta:hover {
  color: #061210;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 155, 136, 0.35);
}

.nav-quick a.nav-cta.active {
  border-bottom: none;
}

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

/* MY ACCOUNT — coming-soon gate (accounts land with the Studio) */
html.portal-gated .page-wrap .panel {
  display: none !important;
}

.nav-util {
  position: relative;
  margin-left: 4px;
}

.nav-util-toggle {
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 8px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.18s ease-out;
}

.nav-util-toggle:hover {
  border-color: rgba(0, 255, 200, 0.22);
}

.nav-util-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--muted);
  border-radius: 1px;
  transition: background 0.18s ease-out, transform 0.22s ease, opacity 0.18s ease;
}

.nav-util-toggle:hover span {
  background: var(--teal-soft);
}

.nav-util-toggle:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 2px;
  border-color: rgba(0, 255, 200, 0.4);
}

.nav-util-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-util-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-util-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-util-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(8, 8, 8, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px;
  min-width: 150px;
  z-index: 300;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.nav-util-menu.open {
  display: flex;
}

.nav-util-menu a {
  color: var(--muted);
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  padding: 9px 14px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.nav-util-menu a:hover,
.nav-util-menu a.active {
  color: var(--teal-soft);
  background: rgba(0, 168, 150, 0.08);
}

/* RESPONSIVE */

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    padding: 8px 14px 12px;
    gap: 2px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 4px;
    border-radius: 4px;
    border: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    height: 56px;
  }

  .hero-grid,
  .mascot-layout,
  .services-grid,
  .about-grid,
  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 40px 0 28px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-wrap img {
    max-width: 380px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-tagline {
    font-size: 0.85rem;
  }

  .hero-sub {
    font-size: 0.78rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-microgrid,
  .hero-chip-row,
  .status-inner,
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .mascot-figure {
    justify-content: center;
  }

  .footer-links a {
    font-size: 0.68rem;
  }
}
/* SERVICES PAGE */

.svc-hero {
  padding: 60px 0 36px;
  background: linear-gradient(
    to right,
    rgba(0, 152, 136, 0.12) 0%,
    rgba(0, 80, 70, 0.04) 44%,
    transparent 56%
  );
}

.svc-hero h1 {
  font-family: "Courier New", monospace;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.svc-hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}

/* "Who this page is for" qualifier under the instant-quote hero (front-end audit) */
.iq-hero-for {
  margin-top: 12px;
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.6;
}

.iq-hero-for a {
  color: var(--teal-soft);
}

/* Contact box on the instant-quote page (replaces the removed free-quote form) */
.iq-contact {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.iq-contact p {
  color: var(--muted);
  margin: 0;
  max-width: 50ch;
  line-height: 1.6;
}

.svc-intro {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 28px;
  align-items: flex-start;
}

.svc-intro h2 {
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.svc-intro p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
  max-width: 56ch;
}

.svc-intro-details {
  display: grid;
  gap: 10px;
}

.svc-detail-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--muted);
}

.svc-detail-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--teal-soft);
  margin-bottom: 2px;
}

.svc-list {
  padding: 40px 0 20px;
}

.svc-block {
  padding: 28px 24px;
  margin-bottom: 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 255, 200, 0.1), transparent 60%),
    rgba(10, 10, 10, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.svc-block-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.svc-block-header h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.svc-block-tag {
  font-size: 0.82rem;
  color: var(--faint);
}

.svc-block-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
  max-width: 72ch;
}

.svc-examples {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-examples strong {
  display: block;
  font-size: 0.82rem;
  color: var(--teal-soft);
  margin-bottom: 8px;
}

.svc-examples ul {
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.svc-examples li {
  margin-bottom: 4px;
}

.svc-process {
  padding: 44px 0;
  background: var(--bg-section);
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.svc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.svc-step {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-step-num {
  font-family: "Courier New", monospace;
  font-size: 1.4rem;
  color: var(--teal-soft);
  font-weight: 700;
  margin-bottom: 8px;
}

.svc-step strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.svc-step p {
  font-size: 0.8rem;
  color: var(--muted);
}

.svc-bring {
  padding: 44px 0;
}

.svc-bring-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
}

.svc-bring h2 {
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.svc-bring > .container > .svc-bring-grid > div:first-child > p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 48ch;
}

.svc-bring-list {
  display: grid;
  gap: 8px;
}

.svc-bring-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--muted);
}

.svc-bring-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--teal-soft);
  margin-bottom: 2px;
}

.svc-cta {
  padding: 46px 0 44px;
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.svc-cta-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.svc-cta h2 {
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.svc-cta p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.svc-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .svc-hero h1 {
    font-size: 1.4rem;
  }

  .svc-intro-grid,
  .svc-bring-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-block {
    padding: 20px 16px;
  }
}

/* FILAMENT WALL */

.svc-matwall {
  padding: 44px 0;
  background: var(--bg-section);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.svc-matwall-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.svc-mat {
  position: relative;
  border-radius: 18px;
  background: rgba(10, 10, 10, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.22s ease-out;
  outline: none;
}

.svc-mat-swatch {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: radial-gradient(
    ellipse at 30% 20%,
    hsl(var(--mat-hue) 70% 55%),
    transparent 70%
  );
  transition: opacity 0.3s ease-out;
  pointer-events: none;
}

.svc-mat-front {
  position: relative;
  z-index: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  transition: opacity 0.22s ease-out;
}

.svc-mat-name {
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--mat-accent);
}

.svc-mat-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Courier New", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.svc-mat-back {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.22s ease-out,
    transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 20% 10%, hsla(var(--mat-hue), 50%, 30%, 0.3), transparent 60%),
    rgba(6, 6, 6, 0.97);
}

.svc-mat-back strong {
  font-size: 0.85rem;
  color: var(--mat-accent);
}

.svc-mat-back p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

.svc-mat-example {
  font-size: 0.72rem;
  color: var(--teal-soft);
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 255, 200, 0.05);
  border: 1px solid rgba(0, 255, 200, 0.1);
}

.svc-mat-note {
  font-size: 0.7rem;
  color: var(--faint);
  font-style: italic;
}

/* Hover / focus reveal */
.svc-mat:hover,
.svc-mat:focus,
.svc-mat.active {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--mat-accent);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.6),
    0 0 24px hsla(var(--mat-hue), 60%, 50%, 0.15);
}

.svc-mat:hover .svc-mat-swatch,
.svc-mat:focus .svc-mat-swatch,
.svc-mat.active .svc-mat-swatch {
  opacity: 0.18;
}

.svc-mat:hover .svc-mat-front,
.svc-mat:focus .svc-mat-front,
.svc-mat.active .svc-mat-front {
  opacity: 0;
}

.svc-mat:hover .svc-mat-back,
.svc-mat:focus .svc-mat-back,
.svc-mat.active .svc-mat-back {
  opacity: 1;
  transform: translateY(0);
}

.svc-mat:focus-visible {
  outline: 2px solid var(--mat-accent);
  outline-offset: 3px;
}

/* Shimmer variant for silk/specialty */
.svc-mat--shimmer .svc-mat-swatch {
  background:
    linear-gradient(135deg,
      hsla(330, 70%, 55%, 0.12) 0%,
      hsla(280, 70%, 60%, 0.08) 40%,
      hsla(45, 80%, 60%, 0.1) 70%,
      transparent 100%
    );
}

/* Multi-color variant */
.svc-mat--multi {
  --mat-hue: 170;
  --mat-accent: var(--teal-soft);
}

.svc-mat--multi .svc-mat-swatch {
  background:
    linear-gradient(135deg,
      hsla(0, 70%, 55%, 0.08) 0%,
      hsla(120, 70%, 50%, 0.08) 33%,
      hsla(210, 70%, 55%, 0.08) 66%,
      hsla(45, 80%, 55%, 0.08) 100%
    );
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .svc-mat,
  .svc-mat-back,
  .svc-mat-swatch,
  .svc-mat-front {
    transition: none;
  }

  .svc-mat:hover,
  .svc-mat:focus,
  .svc-mat.active {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .svc-matwall-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .svc-matwall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-mat {
    min-height: 170px;
  }
}

@media (max-width: 480px) {
  .svc-matwall-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Shop standard card variant */
.svc-mat--shop {
  border-style: dashed;
  --mat-hue: 174;
  --mat-accent: var(--teal-soft);
}

.svc-mat--shop .svc-mat-swatch {
  background:
    radial-gradient(ellipse at 80% 70%, rgba(178, 34, 34, 0.06), transparent 50%),
    radial-gradient(ellipse at 30% 20%, rgba(37, 200, 194, 0.1), transparent 60%),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 18px,
      rgba(37, 200, 194, 0.03) 18px,
      rgba(37, 200, 194, 0.03) 19px
    );
  opacity: 0.3;
}

.svc-mat--shop .svc-mat-name {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-mat--shop .svc-mat-name::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal-soft) 55%, #B22222 55%);
  box-shadow:
    0 0 6px rgba(37, 200, 194, 0.3),
    0 0 4px rgba(178, 34, 34, 0.2);
}

/* Material palette tokens — maps each svc-mat card to its hue + accent */
.svc-mat--pla   { --mat-hue: 142; --mat-accent: #4ade80; }
.svc-mat--petg  { --mat-hue: 199; --mat-accent: #38bdf8; }
.svc-mat--tpu   { --mat-hue: 270; --mat-accent: #a78bfa; }
.svc-mat--asa   { --mat-hue:  25; --mat-accent: #fb923c; }
.svc-mat--cf    { --mat-hue: 220; --mat-accent: #a1a1aa; }
.svc-mat--eng   { --mat-hue:   0; --mat-accent: #f87171; }
.svc-mat--gf    { --mat-hue:  45; --mat-accent: #fbbf24; }
.svc-mat--pp    { --mat-hue:  85; --mat-accent: #a3e635; }
.svc-mat--silk  { --mat-hue: 330; --mat-accent: #f472b6; }
.svc-mat--matte { --mat-hue: 210; --mat-accent: #94a3b8; }

/* ABOUT TEASER (homepage) */

.about-teaser {
  max-width: 720px;
}

.about-teaser h2 {
  font-family: "Courier New", monospace;
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.about-teaser .line {
  width: 72px;
  height: 2px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--teal-soft), transparent);
}

.about-teaser-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.about-teaser-body .btn-ghost {
  margin-top: 8px;
}

/* ABOUT PAGE */

.abt-hero {
  padding: 60px 0 30px;
  background: linear-gradient(
    to right,
    rgba(0, 152, 136, 0.1) 0%,
    rgba(0, 80, 70, 0.04) 40%,
    transparent 56%
  );
}

.abt-hero h1 {
  font-family: "Courier New", monospace;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.abt-story {
  padding: 36px 0 44px;
}

.abt-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.abt-story-body p {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.8;
}

.abt-story-logo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.abt-story-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.abt-cta {
  padding: 46px 0 44px;
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.abt-cta-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.abt-cta h2 {
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.abt-cta p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.abt-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .abt-hero h1 {
    font-size: 1.4rem;
  }

  .abt-story-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .abt-story-logo {
    position: static;
    max-width: 240px;
    margin: 0 auto;
  }
}

/* ABOUT ECOSYSTEM */

.abt-ecosystem {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.abt-ecosystem .section-header {
  margin-bottom: 22px;
}

.abt-ecosystem .section-header h2 {
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.abt-ecosystem .section-header p {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52ch;
}

.abt-eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.abt-eco-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

.abt-eco-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  color: var(--text);
}

.abt-eco-card--ct:hover {
  border-color: rgba(178, 34, 34, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(178, 34, 34, 0.06);
}

.abt-eco-card--big:hover {
  border-color: var(--teal);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 200, 194, 0.08);
}

.abt-eco-logo {
  width: 110px;
  height: 110px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
}

.abt-eco-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.abt-eco-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.abt-eco-name {
  font-family: "Courier New", monospace;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.abt-eco-card--ct .abt-eco-name {
  color: #e04040;
}

.abt-eco-card--big .abt-eco-name {
  color: var(--teal-soft);
}

.abt-eco-body p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.abt-eco-link {
  display: inline-block;
  margin-top: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.abt-eco-card--ct .abt-eco-link {
  color: #c43c3c;
}

.abt-eco-card--ct:hover .abt-eco-link {
  color: #ff5252;
}

.abt-eco-card--big .abt-eco-link {
  color: var(--teal);
}

.abt-eco-card--big:hover .abt-eco-link {
  color: var(--teal-soft);
}

@media (prefers-reduced-motion: reduce) {
  .abt-eco-card {
    transition: none;
  }
}

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

  .abt-eco-card {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 16px 14px;
  }

  .abt-eco-logo {
    width: 80px;
    height: 80px;
    border-radius: 14px;
  }
}

/* FAQ PAGE */

.faq-hero {
  padding: 60px 0 30px;
  background: linear-gradient(
    to right,
    rgba(0, 152, 136, 0.1) 0%,
    rgba(0, 80, 70, 0.04) 40%,
    transparent 56%
  );
}

.faq-hero h1 {
  font-family: "Courier New", monospace;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.faq-hero-sub {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 58ch;
  margin-top: 8px;
  line-height: 1.6;
}

.faq-body {
  padding: 32px 0 44px;
}

.faq-group {
  margin-bottom: 32px;
}

.faq-group-label {
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item {
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.15s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item[open] {
  border-color: rgba(37, 200, 194, 0.2);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  min-height: 44px;
  transition: color 0.15s;
}

.faq-q:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: -2px;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  font-family: "Courier New", monospace;
  font-size: 1.1rem;
  color: var(--teal-soft);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.2s;
}

/* Live-vs-coming-soon FAQ chips (front-end audit: distinguish available now / coming soon) */
.faq-tag {
  display: inline-block;
  font-family: "Courier New", monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
}

.faq-tag-now {
  color: var(--teal-soft);
  border: 1px solid rgba(37, 200, 194, 0.5);
  background: rgba(37, 200, 194, 0.08);
}

.faq-tag-soon {
  color: var(--gold);
  border: 1px solid rgba(242, 169, 0, 0.5);
  background: rgba(242, 169, 0, 0.1);
}

.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-q {
  color: var(--teal-soft);
}

.faq-a {
  padding: 0 18px 16px;
}

.faq-a p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

.faq-cta {
  padding: 44px 0;
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-cta-inner {
  max-width: 580px;
  text-align: center;
  margin: 0 auto;
}

.faq-cta h2 {
  font-family: "Courier New", monospace;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.faq-cta p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.faq-cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .faq-hero h1 {
    font-size: 1.4rem;
  }

  .faq-q {
    padding: 12px 14px;
    font-size: 0.84rem;
  }

  .faq-a {
    padding: 0 14px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-q::after,
  .faq-item {
    transition: none;
  }
}

.faq-container {
  max-width: 820px;
}

.faq-intro {
  font-size: 0.86rem;
  color: var(--faint);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* HOMEPAGE STUDIO CTA STRIP */
.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 32px 28px;
  border-radius: var(--radius-md, 18px);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 200, 0.14), transparent 55%),
    var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.cta-strip-body p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.65;
}

.cta-strip-body p:last-child {
  margin-bottom: 0;
}

.cta-strip-note {
  font-size: 0.82rem !important;
  color: var(--faint) !important;
}

.cta-strip-actions {
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .cta-strip {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 20px;
    gap: 18px;
  }
  .cta-strip-actions {
    width: 100%;
  }
  .cta-strip-actions .btn-primary {
    width: 100%;
  }
}


/* ── VALUE PROPS SECTION (below hero, was in hero) ──────────────────────── */
.value-props {
  padding: 40px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── CTA BAND (replaces broken signup section) ───────────────────────────── */
.cta-band {
  background: var(--bg-section);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 46px 0 40px;
}

.cta-band-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-band-inner h2 {
  font-family: "Courier New", monospace;
  font-size: 1.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-band-inner p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── SCROLL TO TOP BUTTON ─────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 168, 150, 0.88);
  border: 1px solid rgba(0, 255, 200, 0.28);
  color: #061210;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, background 0.15s ease-out;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: rgba(0, 168, 150, 1);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
  }
}

/* ── HOME LOG ENTRIES (moved from inline index.html style block) ─────────── */
.recent-logs-section {
  padding: 60px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.recent-logs-section .sub {
  margin-bottom: 24px;
}

#home-log-entries {
  margin-bottom: 20px;
}

.log-loading {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  color: #5c616a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 20px 0;
}

.home-log-entry {
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.home-log-entry.status-success  { border-left-color: #00ff7f; }
.home-log-entry.status-failure,
.home-log-entry.status-failed,
.home-log-entry.status-error    { border-left-color: #ff4444; }
.home-log-entry.status-warning  { border-left-color: #ffd700; }
.home-log-entry.status-info     { border-left-color: #00ced1; }

.home-log-entry-badge {
  flex-shrink: 0;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: "Courier New", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.home-log-entry-badge.success  { background: rgba(0,255,127,0.12);  color: #00ff7f; }
.home-log-entry-badge.failure,
.home-log-entry-badge.failed,
.home-log-entry-badge.error    { background: rgba(255,68,68,0.12);   color: #ff4444; }
.home-log-entry-badge.warning  { background: rgba(255,215,0,0.12);   color: #ffd700; }
.home-log-entry-badge.info     { background: rgba(0,206,209,0.12);   color: #00ced1; }

.home-log-entry-body   { flex: 1; min-width: 0; }
.home-log-entry-title  { font-family: "Courier New", monospace; font-size: 0.88rem; font-weight: 700; color: #f7f1e6; margin-bottom: 3px; }
.home-log-entry-date   { font-family: "Courier New", monospace; font-size: 0.65rem; color: #5c616a; letter-spacing: 0.06em; }

/* ── FAQ OPEN ANIMATION ───────────────────────────────────────────────────── */
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-item[open] .faq-a {
  animation: faqOpen 0.18s ease-out;
}

/* ── SERVICE CARD — deep content always visible on mobile ─────────────────── */
@media (max-width: 860px) {
  .service-deep {
    opacity: 1;
    max-height: none;
    margin-top: 8px;
    transition: none;
  }
}

/* ── INSTANT QUOTE — before-you-order notice ──────────────────────────────── */
.iq-hero-actions {
  margin-top: 26px;
  margin-bottom: 0;
}

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

@media (max-width: 860px) {
  .iq-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

.iq-notice-wrap {
  padding: 26px 0 0;
}

.iq-notice {
  border: 1px solid rgba(242, 169, 0, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  padding: 20px 24px;
}

.iq-notice-title {
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.iq-notice ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

@media (max-width: 860px) {
  .iq-notice ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

.iq-notice li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.iq-notice li strong {
  color: var(--text);
}

.iq-notice a {
  color: var(--teal-soft);
}

/* ── INSTANT QUOTE — Treatstock embeds ────────────────────────────────────── */
/* Treatstock's own embed-*.css (linked next to each iframe) drives the widget
   internals; these rules just shape the frames to sit on the dark site. */
.ts-widget-wrap {
  margin-top: 8px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.ts-widget-wrap iframe,
.ts-quote-wrap iframe,
.ts-rate-wrap iframe {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

/* Dark-blend the text-only Treatstock embeds (quote form + rating badge).
   The ORDER widget stays unfiltered on purpose: it renders customers' 3D
   model previews, and an invert filter would display wrong colors. */
.ts-quote-wrap iframe,
.ts-rate-wrap iframe {
  filter: invert(0.915) hue-rotate(180deg);
}

.ts-widget-wrap iframe.ts-embed-printservice {
  min-height: 650px;
  /* Dim the white widget to a soft gray without inverting — an invert
     filter would flip filament swatches (white PLA would look black)
     and customers' model previews. Brightness-only keeps colors TRUE. */
  filter: brightness(0.84);
}

.ts-quote-wrap iframe.ts-embed-userwidget {
  min-height: 560px;
}

.ts-rate-wrap {
  max-width: 420px;
  margin: 18px auto 0;
}

.ts-rate-wrap iframe.ts-embed-rate {
  min-height: 140px;
}

/* ── HOMEPAGE POLISH PASS 2 ─────────────────────────────────────────────── */

/* Value props: one strong 4-across row */
.value-props .hero-microgrid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-props .micro-card {
  padding: 16px 16px 14px;
  border-top: 2px solid rgba(0, 255, 200, 0.35);
  border-radius: 6px 6px 14px 14px;
  font-size: 0.82rem;
  transition: border-color 0.18s ease-out, transform 0.18s ease-out;
}

.value-props .micro-card:hover {
  border-top-color: var(--teal-soft);
  transform: translateY(-3px);
}

.value-props .micro-card strong {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

@media (max-width: 1100px) {
  .value-props .hero-microgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .value-props .hero-microgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Service cards: mono index in the corner */
.services-grid {
  counter-reset: svc;
}

.services-grid .service-card::after {
  counter-increment: svc;
  content: "0" counter(svc);
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--faint);
}

/* Recent activity: terminal window frame */
.log-terminal {
  border: 1px solid rgba(0, 255, 200, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #060606;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.log-terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.lt-red { background: #ff5f57; }
.lt-gold { background: #febc2e; }
.lt-green { background: #28c840; }

.log-terminal-bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--faint);
}

.log-terminal #home-log-entries {
  margin-bottom: 0;
  padding: 12px 14px;
}

.log-terminal .home-log-entry {
  background: transparent;
  border: none;
  border-left: 3px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 10px 14px;
  margin-bottom: 4px;
}

.log-terminal .home-log-entry.status-success  { border-left-color: #00ff7f; }
.log-terminal .home-log-entry.status-failure,
.log-terminal .home-log-entry.status-failed,
.log-terminal .home-log-entry.status-error    { border-left-color: #ff4444; }
.log-terminal .home-log-entry.status-warning  { border-left-color: #ffd700; }
.log-terminal .home-log-entry.status-info     { border-left-color: #00ced1; }

/* ── HOMEPAGE "AWESOME" PASS ────────────────────────────────────────────── */

/* Hero terminal prompt */
.hero-prompt {
  display: flex;
  align-items: center;
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin-bottom: 18px;
}

.hero-prompt span {
  color: var(--teal-soft);
  margin-left: 0.5ch;
}

.hero-cursor {
  display: inline-block;
  width: 0.62ch;
  height: 1.05em;
  margin-left: 3px;
  background: var(--teal-soft);
  animation: heroBlink 1.1s steps(2) infinite;
}

@keyframes heroBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Status strip: readout styling */
.status-value {
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-item {
  transition: border-color 0.18s ease-out;
}

.status-item:hover {
  border-color: rgba(0, 255, 200, 0.3);
}

/* About: text + 3D mascot render */
.about-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: center;
}

.about-grid-2 .about-teaser {
  max-width: none;
}

.about-figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.about-figure::before {
  content: "";
  position: absolute;
  inset: 8% 12% 14%;
  background: radial-gradient(ellipse at 50% 55%, rgba(0, 168, 150, 0.22), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}

.about-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6));
}

.about-figure-caption {
  position: relative;
  z-index: 1;
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}

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

  .about-figure img {
    max-width: 220px;
  }
}

/* Final CTA band: big finish */
.cta-band {
  padding: 84px 0 78px;
}

.cta-band-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: 0.12em;
}

.cta-band-inner h2 .cta-prompt {
  color: var(--teal-soft);
}

.cta-band-inner h2 .cta-blink {
  color: var(--teal-soft);
  animation: heroBlink 1.1s steps(2) infinite;
}

.cta-band-inner p {
  font-size: 1.02rem;
  max-width: 54ch;
}

.cta-band-inner .btn-primary {
  font-size: 1rem;
  padding: 16px 36px;
}

/* Scroll reveal (progressive enhancement; disabled for reduced motion) */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-reveal [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-cursor,
  .cta-band-inner h2 .cta-blink {
    animation: none;
  }
}

/* About page: pull quote */
.abt-pullquote {
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  margin-block: 8px 18px;
  background: rgba(242, 169, 0, 0.05);
  border-radius: 0 12px 12px 0;
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
}

/* ── INSTANT QUOTE — terms-acceptance gate ─────────────────────────────── */
.iq-gate-card {
  max-width: 1040px;
  margin: 0 auto 18px;
  border: 1px solid rgba(0, 255, 200, 0.25);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  padding: 18px 22px;
}

.iq-gate-title {
  font-family: "Courier New", monospace;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--teal-soft);
  margin-bottom: 12px;
}

.iq-gate-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0;
}

.iq-gate-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.iq-gate-box {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 2px solid var(--teal-soft);
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: "Courier New", monospace;
  font-weight: 700;
  color: #061210;
  background: transparent;
  transition: background 0.15s ease-out, box-shadow 0.15s ease-out;
}

.iq-gate-check:hover .iq-gate-box {
  box-shadow: 0 0 10px rgba(0, 255, 200, 0.3);
}

.iq-gate-check input:checked ~ .iq-gate-box {
  background: var(--teal-soft);
}

.iq-gate-check input:checked ~ .iq-gate-box::after {
  content: "\2713";
}

.iq-gate-check input:focus-visible ~ .iq-gate-box {
  outline: 2px solid var(--teal-soft);
  outline-offset: 2px;
}

.iq-gate-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.55;
}

.iq-gate-text a {
  text-decoration: underline;
}

.iq-gate-status {
  margin-top: 10px;
  padding-left: 36px;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.iq-gate-status-locked { color: var(--gold); }
.iq-gate-status-open { display: none; color: #00ff7f; }
.iq-gate.accepted .iq-gate-status-locked { display: none; }
.iq-gate.accepted .iq-gate-status-open { display: inline; }

.iq-lock {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

/* Locked state: widget dimmed, blurred, and non-interactive (veil + inert) */
.iq-lock:not(.accepted) .ts-widget-wrap {
  filter: blur(4px) brightness(0.55);
  pointer-events: none;
  user-select: none;
}

.iq-gate-veil {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-md);
}

.iq-lock.accepted .iq-gate-veil {
  display: none;
}

.iq-gate-veil-inner {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 20px;
}

.iq-gate-veil-badge {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px dashed rgba(242, 169, 0, 0.5);
  border-radius: 8px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.72);
}

.iq-gate-veil-inner p {
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  color: var(--text);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Terms line under the order widget */
.ts-terms-note {
  max-width: 1040px;
  margin: 12px auto 0;
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--faint);
  text-align: center;
}

/* ── STUDIO — coming-soon gate ─────────────────────────────────────────── */
html.studio-gated .studio-shell {
  display: none !important;
}

.studio-gate-panel {
  border: 1px dashed rgba(0, 255, 200, 0.3);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 168, 150, 0.12), transparent 60%),
    var(--bg-card);
  padding: 64px 36px 56px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 40px auto;
}

.studio-gate-panel .eyebrow {
  color: var(--gold);
  justify-content: center;
}

.studio-gate-panel .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.studio-gate-panel h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 12px 0 16px;
}

.studio-gate-panel p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 12px;
  line-height: 1.65;
}

.studio-gate-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Guard against page-app stylesheets (portal/studio hidden apps) that
   redefine .btn-primary as width:100% — the gate panel buttons stay pill-sized. */
.studio-gate-actions .btn-primary,
.studio-gate-actions .btn-ghost {
  width: auto;
  padding: 13px 28px;
  border-radius: 999px;
  letter-spacing: 0.15em;
}

.studio-gate-panel .eyebrow {
  white-space: nowrap;
}

/* ── FIRST BATCH signup band ────────────────────────────────────────────── */
/* Terminal-card treatment: the band sits on black (alternating with the
   bg-section cta-band above it) with a faint gold glow — gold is the perk
   color across the site (iq-notice, veil badge). The card reuses the
   log-terminal window vocabulary (title bar + dots). */
.signup-band {
  padding: 72px 0 84px;
  background:
    radial-gradient(ellipse at 50% 115%, rgba(242, 169, 0, 0.07), transparent 62%),
    var(--bg);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.signup-card {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid rgba(242, 169, 0, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 255, 200, 0.09), transparent 52%),
    radial-gradient(circle at 100% 100%, rgba(242, 169, 0, 0.09), transparent 52%),
    var(--bg-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.signup-card-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(242, 169, 0, 0.18);
}
.signup-card-bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.signup-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: 36px 40px 40px;
}
.signup-copy .eyebrow { color: var(--gold); }
.signup-copy .eyebrow::before {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.signup-copy h2 {
  font-family: "Courier New", monospace;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: 0.04em;
  margin: 8px 0 12px;
  color: var(--text);
}
.signup-copy p { color: var(--muted); line-height: 1.65; max-width: 44ch; }
.signup-copy strong { color: var(--gold); }
.signup-form { display: flex; flex-direction: column; gap: 14px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-row input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.98rem;
}
.signup-row input[type="email"]::placeholder {
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.signup-row input[type="email"]:focus {
  outline: none;
  border-color: rgba(0, 255, 200, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 255, 200, 0.4);
}
.signup-row .btn-primary {
  padding: 13px 28px;
  font-size: 0.88rem;
}
.signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.signup-consent input[type="checkbox"] {
  /* override the global `input { width:100% }` rule (style.css line ~915) which
     otherwise stretches this checkbox to fill the row and crushes the consent
     text into a sliver. Keep it a small native checkbox tinted with accent-color. */
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  accent-color: var(--teal);
}
.signup-consent a { color: var(--teal-soft); }
.signup-fine {
  font-family: "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}
.signup-status {
  font-size: 0.92rem;
  color: var(--gold);
  margin: 2px 0 0;
}
.signup-status.ok {
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #00ff7f;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(0, 255, 127, 0.08);
  border: 1px solid rgba(0, 255, 127, 0.35);
}
.signup-status.ok::before {
  content: "> ";
}
.signup-sink { display: none; }

@media (max-width: 780px) {
  .signup-band { padding: 52px 0 60px; }
  .signup-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 20px 28px;
  }
  .signup-card { border-radius: var(--radius-md); }
}

/* ── INSTANT QUOTE — filament shelf (terminal frame + grouped rows) ── */
.iq-shelf {
  max-width: 1040px;
  margin: 0 auto 20px;
  border: 1px solid rgba(0, 255, 200, 0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #060606;
  box-shadow: var(--shadow);
}
.iq-shelf-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.iq-shelf-bar em {
  margin-left: 10px;
  font-style: normal;
  font-family: "Courier New", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.iq-shelf-body { padding: 14px 18px 16px; }

.iq-shelf-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px 18px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.iq-shelf-row:last-of-type { border-bottom: none; }

.iq-shelf-fam {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-soft);
  white-space: nowrap;
}
.iq-shelf-fam em {
  display: block;
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.iq-shelf-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.iq-shelf-chips span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.iq-shelf-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--faint);
  line-height: 1.6;
}
.iq-shelf-note a { color: var(--teal-soft); }

@media (max-width: 640px) {
  .iq-shelf-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}

/* ── finish dots ── */
.fil-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
/* solids */
.sw-black      { background: #1b1b1d; }
.sw-white      { background: #f2f0e6; }
.sw-jadewhite  { background: #ece9dd; }
.sw-gray       { background: #8a8f98; }
.sw-ashgray    { background: #a7adb4; }
.sw-charcoal   { background: #3a3d40; }
.sw-darkbrown  { background: #5b4436; }
.sw-red        { background: #c62828; }
.sw-scarlet    { background: #b0322d; }
.sw-reflexblue { background: #1a3fa8; }
.sw-blue       { background: #1e5aa8; }
.sw-cobalt     { background: #0047ab; }
.sw-iceblue    { background: #a8c8e0; }
.sw-bambugreen { background: #00ae42; }
.sw-orange     { background: #ff6a13; }
.sw-pumpkin    { background: #d35400; }
.sw-yellow     { background: #f5c211; }
.sw-tpugray    { background: #7d848d; }
/* finish effects */
.sw-silk-candyred { background: linear-gradient(135deg, #e04a54 20%, #8f1f27 55%, #ff8a92 90%); }
.sw-silk-gold     { background: linear-gradient(135deg, #f0c24b 20%, #9a6d10 55%, #ffe08a 90%); }
.sw-silk-mint     { background: linear-gradient(135deg, #aee6d4 20%, #4e9c86 55%, #d8fff1 90%); }
.sw-silk-white    { background: linear-gradient(135deg, #ffffff 20%, #b9b9b3 55%, #ffffff 90%); }
.sw-glowblue      { background: #9fd8ea; box-shadow: 0 0 8px rgba(159, 216, 234, 0.8); }
.sw-marble        { background: radial-gradient(circle at 30% 30%, #71767c 8%, transparent 9%),
                                radial-gradient(circle at 65% 60%, #71767c 7%, transparent 8%),
                                radial-gradient(circle at 45% 80%, #71767c 6%, transparent 7%), #e8e6e0; }
.sw-trans-teal    { background: rgba(42, 161, 152, 0.55); border-color: rgba(42, 161, 152, 0.9); }
.sw-trans-iceblue { background: rgba(168, 208, 235, 0.5); border-color: rgba(168, 208, 235, 0.9); }
